# Third-Party Open-Source Software Notices

This project incorporates third-party open-source software. The following libraries are vendored (copied) into this `vendor/` folder and remain under their original licenses. Their copyright notices are reproduced here as required.

## pdf.js (Mozilla) — Apache License 2.0

Files: `pdf.min.js`, `pdf.worker.min.js`, `cmaps/`, `standard_fonts/`

Copyright © Mozilla Contributors

Licensed under the Apache License, Version 2.0. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0

## DOMPurify — Apache License 2.0 / MPL 2.0 (dual-licensed)

File: `dompurify.min.js`

Copyright © 2024 Cure53 and contributors

DOMPurify is dual-licensed under the Apache License 2.0 and the Mozilla Public License 2.0. This project uses it under the Apache License 2.0 terms. You may obtain a copy of the Apache License at http://www.apache.org/licenses/LICENSE-2.0

## marked — MIT License

File: `marked.min.js`

Copyright © 2018 Christopher Jeffrey

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.

## KaTeX (incl. auto-render) — MIT License

Files: `katex.min.js`, `katex.min.css`, `katex-fonts/`, `auto-render.min.js`

Copyright © 2010-2025 Khan Academy and other contributors

KaTeX is licensed under the MIT License:

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.
