# Third-party notices

Our own code in this repository is licensed under MIT-0 (see LICENSE): use it,
remix it, ship it, no attribution needed. The components below are third-party,
or carry third-party code, and keep their original licenses.

## SortableJS 1.15.6 (MIT)

- File: src/vendor/Sortable.vendor.js
- Copyright (c) SortableJS contributors
- https://github.com/SortableJS/Sortable

## Squire 2.4.8 (MIT)

- Carried inside src/vendor/richclay.vendor.js and website/vendor/richclay.min.js
  (richclay bundles Squire)
- Copyright (c) 2011-2023 by Neil Jenkins
- https://github.com/fastmail/Squire

## DOMPurify 3.4.11 (Apache-2.0 OR MPL-2.0)

- Carried inside src/vendor/richclay.vendor.js and website/vendor/richclay.min.js
  (richclay bundles DOMPurify)
- (c) Cure53 and other contributors
- https://github.com/cure53/DOMPurify

## Prism 1.29.0 (MIT)

- File: website/prism.min.js (core + markup, css, clike, javascript, bash), used
  only to highlight the code samples on clayjs.com. Not part of the library.
- Copyright (c) 2012 Lea Verou
- https://github.com/PrismJS/prism

## MicroModal (MIT)

- The modal component in src/ui/modal.js derives its structure and class naming
  from MicroModal.
- Copyright (c) 2017 Indrashish Ghosh
- https://github.com/ghosh/Micromodal

## First-party vendored modules

The remaining files in src/vendor/ (hypercms, hyper-morph, hyper-undo, quickcrop,
control-serialize) and the generated sap.js and clay-data.js are our own sibling
libraries. clayjs also derives from our own hyperclayjs library (MIT); as the
copyright holder of those portions we license them here under MIT-0 with the rest
of our code.
