jpegxr-0.3.0: the WebAssembly decoder of the npm package "jpegxr" 0.3.0 (Brion
Vibber, https://github.com/brion/jpegxr, built from commit c4c7bc8 on
2021-05-12): Microsoft's JPEG XR reference library, jxrlib, as its code drop
on Codeplex, with Brion Vibber's small fixes, and his C wrapper
wasm/wasm_api.c, compiled with Emscripten of May 2021 (the build does not
record the release; MODULARIZE, SINGLE_FILE, ALLOW_MEMORY_GROWTH).

The package carries the .wasm inline in wasm/jpegxr.js, base64 in a data: URL.
jpegxr.wasm here is those bytes, decoded and unchanged. The package's
JavaScript glue is not used: plexora/client/src/js/workers/jpegxr.js starts the
module itself. The website's Python worker uses it for JPEG XR (czifile's CZI
subblocks, tifffile's JPEG XR TIFFs) through plexora/browser/imagecodecs_shim.py.

  https://registry.npmjs.org/jpegxr/-/jpegxr-0.3.0.tgz
  sha256 c7cae9f9e5ebf389f25b91d922c8c4013f0337969a0e4cb1e8b4cf13f85717c0
  (npm integrity sha512-dsr6y88zhRjiuMfvvPdm2dQ2xGA1nDnziznMFPZMrw53TeBjdO1sjpafArZCutdAQsoVUn0ZOw/VPDbZTECWSw==)
  package/wasm/jpegxr.js  sha256 d3bc2e243c4351845b6475f92c7195bb6be101f7dc13bb678bafb15467e7a909
  jpegxr.wasm             sha256 66d97f4d49749150e5a942d7f97d0ceab05624563dd42a63b70ad47bb7432380

To take it out again: the base64 between `wasmBinaryFile="data:application/
octet-stream;base64,` and the next `"` in package/wasm/jpegxr.js, decoded.

--------------------------------------------------------------------------------
jxrlib (Microsoft), compiled into the .wasm -- the 2-clause BSD License, as
the package's license.md and every jxrlib source file carry it:

New BSD License (BSD)

Copyright (c) 2009, Microsoft
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation
  and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
The wrapper and the fixes (Brion Vibber), compiled into the .wasm -- the
3-clause BSD License, as the package declares it ("license": "BSD-3-Clause";
its readme: "BSD-style license; see license.md or the headers in source
files"; wasm_api.c carries no header of its own):

Copyright (c) 2021, Brion Vibber
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors
   may be used to endorse or promote products derived from this software
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

--------------------------------------------------------------------------------
Emscripten's C runtime, compiled into the .wasm (its libc, from musl, and its
allocator, dlmalloc, which is public domain) -- Emscripten is under the MIT
License (or, at your choice, the University of Illinois/NCSA Open Source
License), and musl under the MIT License:

Copyright (c) 2010-2014 Emscripten authors, see AUTHORS file.

Copyright © 2005-2014 Rich Felker, et al.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
