# Third-Party Licenses

SumIt bundles the following open-source libraries locally in the `vendor/` and
`vendor/models/` directories. Their upstream copyright notices are preserved
here to satisfy attribution requirements.

---

## MIT Licensed

### MathLive
Web component for editing mathematical formulas. Powers the equation editor.
<https://cortexjs.io/mathlive>

Copyright © Arno Gourdol and MathLive contributors. Released under the MIT
License.

### KaTeX
Fast math typesetter. Renders the formula library, chemistry tab, and
autocomplete previews. The bundled `mhchem` extension handles chemical equations.
<https://katex.org>

Copyright © Khan Academy and KaTeX contributors. Released under the MIT License.

### function-plot
A 2D function plotter built on D3.js. Powers the graphing calculator.
<https://mauriciopoppe.github.io/function-plot>

Copyright © Mauricio Poppe. Released under the MIT License.

### ONNX Runtime Web
Runs ONNX machine learning models in the browser using WebAssembly. Used to run
the handwriting-recognition model.
<https://onnxruntime.ai>

Copyright © Microsoft Corporation. Released under the MIT License.

---

## Apache 2.0 Licensed

### math.js
Extensive mathematics library for JavaScript and Node.js. Powers the scientific
calculator and graphing engine.
<https://mathjs.org>

Copyright © 2013–present Jos de Jong. Released under the Apache License 2.0.

### pix2text-mfr (handwriting model)
Math formula recognition neural network running fully in-browser via ONNX
Runtime Web.
<https://github.com/breezedeus/pix2text>

Copyright © Breezedeus. Released under the Apache License 2.0.

---

## 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.
```

## The Apache License, Version 2.0

Full text available at <https://www.apache.org/licenses/LICENSE-2.0>.
