# Third-party notices

Portions of this repository are ports of the projects below. Their algorithms,
data tables and, in places, their code have been adapted into `pages/lib/`.
Their MIT copyright and permission notices are reproduced here as the licences
require.

## daimon3332/address

https://github.com/daimon3332/address

Ported into `pages/lib/address.js` (postal-format renderer, per-country address-line
rules, China presentation path, seeded RNG, `chinaGeneratedUnit`),
`pages/lib/countries.js` (country catalog, format templates, cities, regions) and
`pages/lib/rng.js` (`hashSeed`, `randomFromSeed`). The per-country postcode patterns
are also reproduced in `tests/address.test.js`.

```
MIT License

Copyright (c) 2026 daimon

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

## berniechiu/chinese_faker

https://github.com/berniechiu/chinese_faker

Ported into `pages/lib/names.js`: the zh-TW surname, given-name, title and job-title
pools from `lib/locales/zh-tw.yml`, and the format-driven `ChineseFaker::Base.parse`
algorithm from `lib/chinese_faker.rb`.

```
Copyright (c) 2013-2018 Bernie Chiu

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