# 第三方库说明（assets/vendor）

本站所有第三方库均已下载到本目录本地加载，不依赖外部 CDN。修改或升级时请同步更新本文件。

| 文件 | 库 | 版本 | 许可证 | 用途 |
|---|---|---|---|---|
| `qrcode.min.js` | [qrcode-generator](https://www.npmjs.com/package/qrcode-generator) | 1.4.4（含 qrcode_UTF8 插件） | MIT | 二维码生成 |
| `jsQR.min.js` | [jsQR](https://www.npmjs.com/package/jsqr) | 1.4.0 | Apache-2.0 | 二维码解析 |
| `pdfjs/pdf.min.js`、`pdfjs/pdf.worker.min.js` | [pdfjs-dist](https://www.npmjs.com/package/pdfjs-dist) | 3.11.174 | Apache-2.0 | PDF 转图片 |
| `fflate.min.js` | [fflate](https://www.npmjs.com/package/fflate) | 0.8.3 | MIT | 打包下载 ZIP |
| `lunar.min.js` | [lunar-javascript](https://www.npmjs.com/package/lunar-javascript) | 1.7.8 | MIT | 农历、节气、黄历宜忌、八字 |

以上文件由 npm 包内的发布文件经 esbuild 压缩得到，未修改任何逻辑。

## MIT License（qrcode-generator / fflate / lunar-javascript）

qrcode-generator © 2009-2011 Kazuhiko Arase · fflate © Arjun Barrett · lunar-javascript © 6tail

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.

## Apache License 2.0（jsQR / pdfjs-dist）

jsQR © Chris Schulz · pdfjs-dist © Mozilla Foundation

全文见 https://www.apache.org/licenses/LICENSE-2.0 ，各文件头部保留了原始版权声明。
