diff --git a/QQVerLiteBanner.png b/QQVerLiteBanner.png index e422f11..aecf922 100644 Binary files a/QQVerLiteBanner.png and b/QQVerLiteBanner.png differ diff --git a/README.md b/README.md index a9106dd..590d4e9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# QQ 版本列表 Lite for WeChat MiniProgram +# QQ 版本列表 Vigor for WeChat MiniProgram -![QQ 版本列表 Lite Banner](https://raw.githubusercontent.com/ArcticFoxPro/QQVersionListTool-WeChatMiniProgram/main/QQVerLiteBanner.png) +![QQ 版本列表 Vigor Banner](https://raw.githubusercontent.com/ArcticFoxPro/QQVersionListTool-WeChatMiniProgram/main/QQVerLiteBanner.png)
@@ -18,11 +18,11 @@ > 请确保您在使用前充分审慎阅读了[用户协议](https://github.com/ArcticFoxPro/QQVersionListTool-WeChatMiniProgram/blob/main/UserAgreement.md)。鉴于 QQ 测试版可能存在不可预知的稳定性问题,您在下载及使用该测试版本之前,必须明确并确保自身具备足够的风险识别和承受能力。根据相关条款,您使用本软件时应当已了解并同意,因下载或使用 QQ 测试版而可能产生的任何直接或间接损失、损害以及其他不利后果,均由您自行承担全部责任。 > [!WARNING] -> QQ 版本列表 Lite 提供的所有服务及内容均旨在促进合法的学习交流活动,严禁用户将其用于任何非法、违规或侵犯他人权益的目的。敬请所有用户严格遵守相关法律法规,在使用本应用的过程中秉持合法、正当与诚信原则,切勿涉足任何违法用途。如有违反,相关法律责任将由行为人自负,同时,本应用亦保留采取一切必要措施的权利,包括但不限于暂停或终止服务,并追究其法律责任。 +> QQ 版本列表 Vigor 提供的所有服务及内容均旨在促进合法的学习交流活动,严禁用户将其用于任何非法、违规或侵犯他人权益的目的。敬请所有用户严格遵守相关法律法规,在使用本应用的过程中秉持合法、正当与诚信原则,切勿涉足任何违法用途。如有违反,相关法律责任将由行为人自负,同时,本应用亦保留采取一切必要措施的权利,包括但不限于暂停或终止服务,并追究其法律责任。 ## 简介 -QQ 版本列表 Lite for WeChat MiniProgram 是一个使用 TDesign 组件库构建,旨在提供 Android QQ 版本列表查看的微信小程序。QQ 版本列表 Lite 用户可以通过本应用及时获取到 Android QQ 版本更新的最新信息。 +QQ 版本列表 Vigor for WeChat MiniProgram 是一个使用 TDesign 组件库构建,旨在提供 Android QQ 版本列表查看的微信小程序。QQ 版本列表 Vigor 用户可以通过本应用及时获取到 Android QQ 版本更新的最新信息。 ## To Do List @@ -35,7 +35,7 @@ QQ 版本列表 Lite for WeChat MiniProgram 是一个使用 TDesign 组件库构 ### 微信小程序开发者 -微信小程序开发者可通过以下步骤使用 QQ 版本列表 Lite for WeChat MiniProgram: +微信小程序开发者可通过以下步骤使用 QQ 版本列表 Vigor for WeChat MiniProgram: 1. 为本地电脑配置 Node.js 和 NPM 环境。Node.js 官网:https://nodejs.org/ 2. 下载仓库源代码,并解压到本地。 @@ -45,11 +45,11 @@ QQ 版本列表 Lite for WeChat MiniProgram 是一个使用 TDesign 组件库构 https://csydown.ll.tcdnos.com;https://dldir1.qq.com;https://download.z.weixin.qq.com;https://downv6.qq.com;https://im.qq.com;https://imtt.dd.qq.com;https://static.tdesign.tencent.com;https://tcb-api.tencentcloudapi.com;https://upage.html5.qq.com; ``` 5. 下载[微信小程序开发者工具](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html),登录后点击“小程序”-“导入”,填入上一步取得的 `AppID`,将 `<仓库源代码解压目录>/source` 目录选中后导入。 -6. 点击微信小程序开发者工具上方“预览”按钮并使用手机扫码,即可使用 QQ 版本列表 Lite for WeChat MiniProgram。 +6. 点击微信小程序开发者工具上方“预览”按钮并使用手机扫码,即可使用 QQ 版本列表 Vigor for WeChat MiniProgram。 ### 非微信小程序开发者 -由于微信公众平台限制,微信小程序个人开发者所拥有的体验版用户名额上限为 15 个,非微信小程序开发者用户无法使用 QQ 版本列表 Lite for WeChat MiniProgram,请谅解。 +由于微信公众平台限制,微信小程序个人开发者所拥有的体验版用户名额上限为 15 个,非微信小程序开发者用户无法使用 QQ 版本列表 Vigor for WeChat MiniProgram,请谅解。 @@ -57,21 +57,21 @@ QQ 版本列表 Lite for WeChat MiniProgram 是一个使用 TDesign 组件库构 ### 版本列表 -在进入 QQ 版本列表 Lite 时,您首先会看到一系列显示“版本:x.y.z 额定大小:xxx MB”的卡片,这些卡片组成的列表即为 Android QQ 的版本列表,卡片列表展示了已经或即将发布的 Android QQ 版本。QQ 版本信息来源:https://im.qq.com/rainbow/androidQQVersionList +在进入 QQ 版本列表 Vigor 时,您首先会看到一系列显示“版本:x.y.z 额定大小:xxx MB”的卡片,这些卡片组成的列表即为 Android QQ 的版本列表,卡片列表展示了已经或即将发布的 Android QQ 版本。QQ 版本信息来源:https://im.qq.com/rainbow/androidQQVersionList 从右向左滑动版本列表,可切换到 TIM 版本列表。TIM 版本信息来源:https://im.qq.com/rainbow/TIMDownload 点击卡片将弹出弹出层,可查阅到更为详尽的信息和原始 JSON 字符串信息。 -### 猜版 Extended +### 扫版 Extended 在 Android QQ - 首页侧滑菜单 - 设置 - 关于QQ与帮助 中可得知,Android QQ 的版本号通常为 `x.y.z.nnnnn`。其中 `x.y.z` 在这里被称为“主版本号”,而 `nnnnn` 被称为“小版本号”。 -在 QQ 版本列表 Lite 界面,点击右下角“猜版 Extd.”按钮即可进入“猜版 Extended for Android”对话框。 +在 QQ 版本列表 Vigor 界面,点击右下角“扫版 Extd.”按钮即可进入“扫版 Extended for Android”对话框。 -对话框含有两个输入框和一个开关,分别是“主版本号”、“小版本号”和“测试版猜版”开关。“主版本号”已经预填入了版本列表显示的最新版本号,也可自行修改。 +对话框含有两个输入框和一个开关,分别是“主版本号”、“小版本号”和“测试版扫版”开关。“主版本号”已经预填入了版本列表显示的最新版本号,也可自行修改。 -- 若“测试版猜版”开关为关时开始猜版,无需填写小版本号,软件将尝试访问以下链接: +- 若“测试版扫版”开关为关时开始扫版,无需填写小版本号,软件将尝试访问以下链接: - `https://downv6.qq.com/qqweb/QQ_1/android_apk/Android_<主版本号>_64.apk` - `https://downv6.qq.com/qqweb/QQ_1/android_apk/Android_<主版本号>_64_HB.apk` - `https://downv6.qq.com/qqweb/QQ_1/android_apk/Android_<主版本号>_64_HB1.apk` @@ -84,9 +84,9 @@ QQ 版本列表 Lite for WeChat MiniProgram 是一个使用 TDesign 组件库构 - `https://downv6.qq.com/qqweb/QQ_1/android_apk/Android_<主版本号>_HB3_64.apk` - `https://downv6.qq.com/qqweb/QQ_1/android_apk/Android_<主版本号>_BBPJ_64.apk` -- 若“测试版猜版”开关为开时,则需要填写起始小版本号后才可开始猜版。 +- 若“测试版扫版”开关为开时,则需要填写起始小版本号后才可开始扫版。 - 默认情况下,软件将尝试访问 `https://downv6.qq.com/qqweb/QQ_1/android_apk/Android_<主版本号>.<小版本号>_64.apk` ,若当次访问未果,默认情况下将按照设置逻辑自动递增小版本号后再次尝试访问,直到访问成功为止。 - - 在设置中打开扩展测试版猜版格式后,软件将尝试访问以下链接: + - 在设置中打开扩展测试版扫版格式后,软件将尝试访问以下链接:
点击展开 @@ -117,67 +117,69 @@ QQ 版本列表 Lite for WeChat MiniProgram 是一个使用 TDesign 组件库构 访问成功后,软件会弹出成功对话框,对话框下方提供了一系列动作按钮,分别是“仅停止”、“跳过以继续”和“复制并停止”。 > [!TIP] -> QQ 版本列表 Lite 自 1.1.0 版本起实验性支持了 Android 微信和 Android 微信输入法的猜版。 +> QQ 版本列表 Vigor 自 1.1.0 版本起实验性支持了 Android 微信和 Android 微信输入法的扫版。 > -> 若选择微信猜版,对话框将变更为三个输入框,分别是“主版本号”、“真实版本号”和“十六进制代码”,对应的直链为: +> 若选择微信扫版,对话框将变更为三个输入框,分别是“主版本号”、“真实版本号”和“十六进制代码”,对应的直链为: > > `http://dldir1.qq.com/weixin/android/weixin<主版本号>android<真实版本号>_<十六进制代码>_arm64.apk` +> `http://dldir1.qq.com/weixin/android/weixin<主版本号>android<真实版本号>_<十六进制代码>_arm64_1.apk` > > 填入相应输入框内容后,小程序将尝试访问上述链接。若当次访问未果,默认情况下将自动递增十六进制代码后再次尝试访问,直到访问成功为止。 > -> 若选择微信输入法猜版,对话框将变更为两个输入框,分别是“主版本号”和“直链版本号”,对应的直链为: +> 若选择微信输入法扫版,对话框将变更为两个输入框,分别是“主版本号”和“直链版本号”,对应的直链为: > +> `https://download.z.weixin.qq.com/app/android/<主版本号>/wxkb_<直链版本号>.apk` > `https://download.z.weixin.qq.com/app/android/<主版本号>/wxkb_<直链版本号>_32.apk` > > 填入相应输入框内容后,小程序将尝试访问上述链接。若当次访问未果,默认情况下将自动递增直链版本号后再次尝试访问,直到访问成功为止。 > [!TIP] -> QQ 版本列表 Lite 自 1.1.4 版本起实验性支持了 Android TIM 的猜版。 +> QQ 版本列表 Vigor 自 1.1.4 版本起实验性支持了 Android TIM 的扫版。 > -> 若选择 TIM 猜版,对应的直链为: +> 若选择 TIM 扫版,对应的直链为: > > `https://downv6.qq.com/qqweb/QQ_1/android_apk/TIM_<主版本号>.<小版本号><自定义后缀>.apk` > > 填入相应输入框内容后,软件将尝试访问上述链接。若当次访问未果,默认情况下将自动递增小版本号后再次尝试访问,直到访问成功为止。 > [!WARNING] -> 微信猜版功能、微信输入法猜版功能和 TIM 猜版功能为 QQ 版本列表 Lite 附带的实验性功能,可能存在不可预知的稳定性问题。请明确并确保自身具备足够的风险识别和承受能力。 +> 微信扫版功能、微信输入法扫版功能和 TIM 扫版功能为 QQ 版本列表 Vigor 附带的实验性功能,可能存在不可预知的稳定性问题。请明确并确保自身具备足够的风险识别和承受能力。 ### 实验性功能 > [!IMPORTANT] -> QQ 版本列表 Lite 可能以软件实验形式提供一些尚不稳定的服务,此类服务会明确标注“实验性”(或其的其它语言形式)。您使用此类服务即代表您已明确并确保自身具备足够的风险识别和承受能力。因使用此类实验性服务而可能产生的任何直接或间接损失、损害以及其它不利后果,QQ 版本列表 Lite 不承担责任。 +> QQ 版本列表 Vigor 可能以软件实验形式提供一些尚不稳定的服务,此类服务会明确标注“实验性”(或其的其它语言形式)。您使用此类服务即代表您已明确并确保自身具备足够的风险识别和承受能力。因使用此类实验性服务而可能产生的任何直接或间接损失、损害以及其它不利后果,QQ 版本列表 Vigor 不承担责任。 -在 QQ 版本列表 Lite 界面,点击底部锥形瓶按钮即可进入实验性功能对话框。 +在 QQ 版本列表 Vigor 界面,点击底部锥形瓶按钮即可进入实验性功能对话框。 #### 腾讯应用宝更新获取(实验性) -QQ、TIM、微信、企业微信、微信输入法使用腾讯应用宝([腾讯应用开放平台](https://app.open.qq.com/))分发软件最新安装包。可使用 QQ 版本列表 Lite 提供的腾讯应用宝更新获取(实验性)获取 QQ、TIM、微信、企业微信、微信输入法最新腾讯应用宝上架版本安装包下载直链。 +QQ、TIM、微信、企业微信、微信输入法使用腾讯应用宝([腾讯应用开放平台](https://app.open.qq.com/))分发软件最新安装包。可使用 QQ 版本列表 Vigor 提供的腾讯应用宝更新获取(实验性)获取 QQ、TIM、微信、企业微信、微信输入法最新腾讯应用宝上架版本安装包下载直链。 -在 QQ 版本列表 Lite 界面,点击底部三角旗按钮即可看到“腾讯应用宝更新获取(实验性)”选项,点击即可进入“腾讯应用宝更新获取(实验性)”对话框。之后按提示进行操作即可。 +在 QQ 版本列表 Vigor 界面,点击底部三角旗按钮即可看到“腾讯应用宝更新获取(实验性)”选项,点击即可进入“腾讯应用宝更新获取(实验性)”对话框。之后按提示进行操作即可。 ## 常见问题 -### 为什么 QQ 版本列表 Lite for WeChat MiniProgram 不上架到微信? +### 为什么 QQ 版本列表 Vigor for WeChat MiniProgram 不上架到微信? -QQ 版本列表 Lite for WeChat MiniProgram 仅供学习交流使用,不提供任何形式的服务,也不提供任何形式的技术支持。因此,QQ 版本列表 Lite for WeChat MiniProgram 不会上架到微信。 +QQ 版本列表 Vigor for WeChat MiniProgram 仅供学习交流使用,不提供任何形式的服务,也不提供任何形式的技术支持。因此,QQ 版本列表 Vigor for WeChat MiniProgram 不会上架到微信。 ### 为什么默认添加了小版本号必须为 5 的倍数这项限制? -基于对 Android QQ 长期以来的版本号发布规律进行深入观察和分析的结果,我们发现 Android QQ 小版本号更新通常遵循每增加一个有效版本即递增 5 的倍数这一特定模式。为了贴近这一潜在实际规范并确保 QQ 版本列表 Lite 的快捷性,QQ 版本列表 Lite 依据最佳实践原则,默认设置小版本号和猜版必须为 5 的倍数的限制规则。此限制并非强制,用户可随时进入设置解除此限制。 +基于对 Android QQ 长期以来的版本号发布规律进行深入观察和分析的结果,我们发现 Android QQ 小版本号更新通常遵循每增加一个有效版本即递增 5 的倍数这一特定模式。为了贴近这一潜在实际规范并确保 QQ 版本列表 Vigor 的快捷性,QQ 版本列表 Vigor 依据最佳实践原则,默认设置小版本号和扫版必须为 5 的倍数的限制规则。此限制并非强制,用户可随时进入设置解除此限制。 -### 版本列表中已经有新的版本号了,为什么我使用枚举猜版却获取不到下载链接? +### 版本列表中已经有新的版本号了,为什么我使用枚举扫版却获取不到下载链接? 即使版本列表已出现了新的版本号,也并不意味着 QQ 团队已经完成了新版本(含测试版)安装包在腾讯公网服务器的部署和发布。一种可能的情况是,QQ 团队正在进行新版本的内部测试阶段或小范围灰度推送阶段,因而尚未对外提供广泛公网下载渠道。 ### 为什么不提供 Android 微信的版本列表? -目前还没有找到来自官方的可靠且请求次数少而信息密度大的 Android 微信版本列表数据源,因此 QQ 版本列表 Lite 无法提供 Android 微信的版本列表。如果您发现了可靠的 Android 微信版本列表数据源,欢迎提出 Issue(s) 或提交 PR。 +目前还没有找到来自官方的可靠且请求次数少而信息密度大的 Android 微信版本列表数据源,因此 QQ 版本列表 Vigor 无法提供 Android 微信的版本列表。如果您发现了可靠的 Android 微信版本列表数据源,欢迎提出 Issue(s) 或提交 PR。 ## 其它 > [!IMPORTANT] -> QQ 版本列表 Lite 始终坚守法律底线,秉持尊重与保护所有用户及第三方合法权益的原则。我们深切认识到任何可能存在的权益侵犯行为都会对权益方造成潜在影响,对此,我们表示由衷歉意,并承诺,一旦接到权益方的权益受到侵犯的通知,我们将立即依法启动核查程序,并在确认侵权事实后,迅速采取有效措施,以最大程度地消除不良影响,恢复并保障权益方的合法权益。敬请相关权益方在发现 QQ 版本列表 Lite 存在任何侵权内容时,及时与我们取得联系,我们将竭诚为权益方提供必要的协助与支持。 +> QQ 版本列表 Vigor 始终坚守法律底线,秉持尊重与保护所有用户及第三方合法权益的原则。我们深切认识到任何可能存在的权益侵犯行为都会对权益方造成潜在影响,对此,我们表示由衷歉意,并承诺,一旦接到权益方的权益受到侵犯的通知,我们将立即依法启动核查程序,并在确认侵权事实后,迅速采取有效措施,以最大程度地消除不良影响,恢复并保障权益方的合法权益。敬请相关权益方在发现 QQ 版本列表 Vigor 存在任何侵权内容时,及时与我们取得联系,我们将竭诚为权益方提供必要的协助与支持。 > [!NOTE] > “腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“TDesign”等是深圳市腾讯计算机系统有限公司和/或其关联公司的商标。本项目对“腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“TDesign”等的使用旨在注明和指向对应主体,并非表示对“腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“TDesign”等商标的注册和拥有。 @@ -193,19 +195,19 @@ QQ 版本列表 Lite for WeChat MiniProgram 仅供学习交流使用,不提供 ## 开源相关 -QQ 版本列表 Lite 采用 [木兰公共许可证, 第2版](https://github.com/ArcticFoxPro/QQVersionListTool-WeChatMiniProgram/blob/main/LICENSE) 开源许可。 +QQ 版本列表 Vigor 采用 [木兰公共许可证, 第2版](https://github.com/ArcticFoxPro/QQVersionListTool-WeChatMiniProgram/blob/main/LICENSE) 开源许可。 -QQ 版本列表 Lite 的诞生离不开以下开源项目,感谢以下开源项目的作者和贡献者: +QQ 版本列表 Vigor 的诞生离不开以下开源项目,感谢以下开源项目的作者和贡献者: - [TDesign WeChat MiniProgram(Tencent)](https://github.com/Tencent/tdesign-miniprogram),Licensed under [MIT License](https://github.com/Tencent/tdesign-miniprogram/blob/develop/LICENSE) - [TDesign Icons(Tencent)](https://github.com/Tencent/tdesign-icons),Licensed under [MIT License](https://github.com/Tencent/tdesign-icons/blob/develop/LICENSE) - [Node.js®(OpenJS Foundation)](https://nodejs.org/),Licensed under [MIT License](https://github.com/nodejs/node/blob/main/LICENSE) +- [npm](https://www.npmjs.com/),Licensed under [Artistic License 2.0](https://github.com/npm/cli/blob/latest/LICENSE) +- [Yarn](https://yarnpkg.com/),Licensed under [BSD 2-Clause License](https://github.com/yarnpkg/yarn/blob/master/LICENSE) - [Semver(npm)](https://github.com/npm/node-semver),Licensed under [ISC License](https://github.com/npm/node-semver/blob/main/LICENSE) - [extract-urls(Max Ranauro)](https://github.com/huckbit/extract-urls),Licensed under [MIT License](https://github.com/huckbit/extract-urls/blob/master/license) - -## 星标趋势 - -[![星标趋势](https://starchart.cc/ArcticFoxPro/QQVersionListTool-WeChatMiniProgram.svg?variant=adaptive)](https://starchart.cc/ArcticFoxPro/QQVersionListTool-WeChatMiniProgram) +- [JSON5](https://json5.org/),Licensed under [MIT License](https://json5.org/LICENSE.md) +- [Day.js](https://day.js.org/),Licensed under [MIT License](https://github.com/iamkun/dayjs/blob/dev/LICENSE) ## 星标趋势 diff --git a/UserAgreement.md b/UserAgreement.md index f5d8fa9..de02587 100644 --- a/UserAgreement.md +++ b/UserAgreement.md @@ -1,124 +1,126 @@ -# QQ 版本列表 Lite 用户协议 +# QQ 版本列表 Vigor 用户协议 -> 此用户协议于 2024 年 9 月 29 日修订,并于 2024 年 10 月 1 日实施。 +> 此用户协议于 2024 年 11 月 18 日修订,并于 2024 年 11 月 20 日实施。 ## 导言 -欢迎您使用 QQ 版本列表 Lite。 +欢迎您使用 QQ 版本列表 Vigor。 -为使用 QQ 版本列表 Lite 及服务,您应当阅读并遵守《QQ 版本列表 Lite 用户协议》(以下简称“本协议”)。请您务必审慎阅读,充分理解各条款内容,特别是免除或者限制责任的条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。限制、免责条款可能以加粗形式提示您注意。 +为使用 QQ 版本列表 Vigor 及服务,您应当阅读并遵守《QQ 版本列表 Vigor 用户协议》(以下简称“本协议”)。请您务必审慎阅读,充分理解各条款内容,特别是免除或者限制责任的条款,以及开通或使用某项服务的单独协议,并选择接受或不接受。限制、免责条款可能以加粗形式提示您注意。 -除非您已阅读并接受本协议所有条款,否则您无权获取和使用 QQ 版本列表 Lite 及相关服务。您的任何使用本应用行为即视为您已阅读并同意上述协议的约束。如果您未满 18 周岁,请在法定监护人的陪同下阅读本协议及其它上述协议,并特别注意未成年人使用条款。 +除非您已阅读并接受本协议所有条款,否则您无权获取和使用 QQ 版本列表 Vigor 及相关服务。您的任何使用本应用行为即视为您已阅读并同意上述协议的约束。如果您未满 18 周岁,请在法定监护人的陪同下阅读本协议及其它上述协议,并特别注意未成年人使用条款。 ## 一、协议的范围 -本协议是您与 QQ 版本列表 Lite 之间关于您下载,安装,使用,复制 QQ 版本列表 Lite,以及使用 QQ 版本列表 Lite 相关服务所订立的协议。 +本协议是您与 QQ 版本列表 Vigor 之间关于您下载,安装,使用,复制 QQ 版本列表 Vigor,以及使用 QQ 版本列表 Vigor 相关服务所订立的协议。 -## 二、关于 QQ 版本列表 Lite 提供的服务 +## 二、关于 QQ 版本列表 Vigor 提供的服务 -QQ 版本列表 Lite 提供的服务是指提供 Android QQ 和 Android TIM 版本列表的查看和对腾讯服务器提供的 Android QQ 及其它可能存在的腾讯软件产品的下载链接的枚举法猜测。QQ 版本列表 Lite 用户可以通过本应用及时获取到 Android QQ 及其它可能存在的腾讯软件产品的版本更新的最新信息。 +QQ 版本列表 Vigor 提供的服务是指提供 Android QQ 和 Android TIM 版本列表的查看和对腾讯服务器提供的 Android QQ 及其它可能存在的腾讯软件产品的下载链接的枚举法扫描。QQ 版本列表 Vigor 用户可以通过本应用及时获取到 Android QQ 及其它可能存在的腾讯软件产品的版本更新的最新信息。 -此外,QQ 版本列表 Lite 可能以软件实验形式提供一些尚不稳定的服务,您在使用此类服务时,必须明确并确保自身具备足够的风险识别和承受能力。 +此外,QQ 版本列表 Vigor 可能以软件实验形式提供一些尚不稳定的服务,您在使用此类服务时,必须明确并确保自身具备足够的风险识别和承受能力。 ## 三、软件的获取 -您可以直接从 GitHub 平台获取 QQ 版本列表 Lite 本体及其附带开源许可和知识产权相关文本的源代码。获取应用后,您需要按照该应用提示的步骤正确使用。 +您可以直接从 GitHub 平台获取 QQ 版本列表 Vigor 本体及其附带开源许可和知识产权相关文本的源代码。获取应用后,您需要按照该应用提示的步骤正确使用。 -如果您从未经 GitHub 或相关官方平台获取本应用,QQ 版本列表 Lite 无法保证该应用能够正常使用,并对因此给您造成的损失不予负责。 +如果您从未经 GitHub 或相关官方平台获取本应用,QQ 版本列表 Vigor 无法保证该应用能够正常使用,并对因此给您造成的损失不予负责。 -如果您不再需要使用 QQ 版本列表 Lite,可以不再打开应用使用或卸载应用。 +如果您不再需要使用 QQ 版本列表 Vigor,可以不再打开应用使用或卸载应用。 ## 四、软件的更新 -为了改善用户体验,完善服务内容,QQ 版本列表 Lite 将不断努力开发新的服务,并为您不时提供软件更新(这些更新可能会采取软件替换,修改,功能强化,版本升级等形式)。 +为了改善用户体验,完善服务内容,QQ 版本列表 Vigor 将不断努力开发新的服务,并为您不时提供软件更新(这些更新可能会采取软件替换,修改,功能强化,版本升级等形式)。 -为了保证 QQ 版本列表 Lite 及服务的安全性和功能的一致性,QQ 版本列表 Lite 有权不向您特别通知而对软件进行更新,或者对软件的部分功能效果进行改变或限制。 +为了保证 QQ 版本列表 Vigor 及服务的安全性和功能的一致性,QQ 版本列表 Vigor 有权不向您特别通知而对软件进行更新,或者对软件的部分功能效果进行改变或限制。 -QQ 版本列表 Lite 新版本发布后,旧版本的软件可能无法使用,QQ 版本列表 Lite 不保证旧版 QQ 版本列表 Lite 及相应的服务继续可用,请您随时核对并获取最新版本。 +QQ 版本列表 Vigor 新版本发布后,旧版本的软件可能无法使用,QQ 版本列表 Vigor 不保证旧版 QQ 版本列表 Vigor 及相应的服务继续可用,请您随时核对并获取最新版本。 ## 五、用户个人信息保护 -保护用户个人信息是 QQ 版本列表 Lite 的一项基本原则,QQ 版本列表 Lite 本身不会主动获取和存储您的个人信息。 +保护用户个人信息是 QQ 版本列表 Vigor 的一项基本原则,QQ 版本列表 Vigor 本身不会主动获取和存储您的个人信息。 但在您使用过程中,可能会因网络通信的必要性而被软件本体或腾讯服务器自动获取您的 IP 地址等网络相关信息,我们将严格遵守法律法规的规定,并采取适当措施保护您的网络信息安全。 -QQ 版本列表 Lite 可能以软件实验形式提供一些尚不稳定的服务,用户在使用此类实验性服务时可能需要用户手动填写个人信息。QQ 版本列表 Lite 承诺不会获取和存储您填写的任何个人信息。 +QQ 版本列表 Vigor 可能以软件实验形式提供一些尚不稳定的服务,用户在使用此类实验性服务时可能需要用户手动填写个人信息。QQ 版本列表 Vigor 承诺不会获取和存储您填写的任何个人信息。 -QQ 版本列表 Lite 非常重视对未成年人个人信息的保护。若您是 18 周岁(不含)以下的未成年人,在使用 QQ 版本列表 Lite 的服务前,应事先取得您的法定监护人的书面同意。 +QQ 版本列表 Vigor 非常重视对未成年人个人信息的保护。若您是 18 周岁(不含)以下的未成年人,在使用 QQ 版本列表 Vigor 的服务前,应事先取得您的法定监护人的书面同意。 ## 六、主权力义务条款 -您理解并同意,为了向您提供有效的服务,您在此许可 QQ 版本列表 Lite 利用您移动通讯终端设备的处理器和宽带等资源。QQ 版本列表 Lite 使用过程中可能产生的数据流量的费用,您需自行向运营商了解相关资费信息。 +您理解并同意,为了向您提供有效的服务,您在此许可 QQ 版本列表 Vigor 利用您移动通讯终端设备的处理器和宽带等资源。QQ 版本列表 Vigor 使用过程中可能产生的数据流量的费用,您需自行向运营商了解相关资费信息。 -QQ 版本列表 Lite 可能以软件实验形式提供一些尚不稳定的服务,此类服务会明确标注“实验性”(或其的其它语言形式)。您使用此类服务即代表您已明确并确保自身具备足够的风险识别和承受能力。 +QQ 版本列表 Vigor 可能以软件实验形式提供一些尚不稳定的服务,此类服务会明确标注“实验性”(或其的其它语言形式)。您使用此类服务即代表您已明确并确保自身具备足够的风险识别和承受能力。 ## 七、用户行为规范 -您充分了解并同意使用本应用服务时须遵守法律法规,不得利用 QQ 版本列表 Lite 从事违法违规行为,包括但不限于: +您充分了解并同意使用本应用服务时须遵守法律法规,不得利用 QQ 版本列表 Vigor 从事违法违规行为,包括但不限于: 1. 发布、传送、传播、储存危害国家安全统一、破坏社会稳定、违反公序良俗、侮辱、诽谤、淫秽、暴力以及任何违反国家法律法规的内容; 2. 发布、传送、传播、储存侵害他人知识产权、商业秘密等合法权利的内容; 3. 恶意虚构事实、隐瞒真相以误导、欺骗他人; 4. 发布、传送、传播广告信息及垃圾信息; -5. 将 QQ 版本列表 Lite 用于任何未经许可的商业目的,包括但不限于以营利为目的推广、销售产品或服务; +5. 将 QQ 版本列表 Vigor 用于任何未经许可的商业目的,包括但不限于以营利为目的推广、销售产品或服务; 6. 其它法律法规禁止的行为。 -如果用户违反了本条约定,相关国家机关、机构、公司或个人等实体可能会对用户提起诉讼、罚款或采取其它制裁措施,并要求 QQ 版本列表 Lite 给予协助。造成损害的,用户应依法予以赔偿,QQ 版本列表 Lite 不承担任何责任。 +如果用户违反了本条约定,相关国家机关、机构、公司或个人等实体可能会对用户提起诉讼、罚款或采取其它制裁措施,并要求 QQ 版本列表 Vigor 给予协助。造成损害的,用户应依法予以赔偿,QQ 版本列表 Vigor 不承担任何责任。 -如果 QQ 版本列表 Lite 发现或收到他人举报您发布的信息违反本条约定,QQ 版本列表 Lite 有权进行独立判断并采取技术手段予以删除、屏蔽或断开链接。同时,QQ 版本列表 Lite 有权视用户行为性质采取包括但不限于暂停或终止服务,限制、冻结或终止 QQ 版本列表 Lite 使用,追究法律责任等措施。 +如果 QQ 版本列表 Vigor 发现或收到他人举报您发布的信息违反本条约定,QQ 版本列表 Vigor 有权进行独立判断并采取技术手段予以删除、屏蔽或断开链接。同时,QQ 版本列表 Vigor 有权视用户行为性质采取包括但不限于暂停或终止服务,限制、冻结或终止 QQ 版本列表 Vigor 使用,追究法律责任等措施。 -用户违反本条约定,导致任何第三方损害的,用户应当独立承担责任;QQ 版本列表 Lite 因此遭受损失的,用户也应当一并赔偿。 +用户违反本条约定,导致任何第三方损害的,用户应当独立承担责任;QQ 版本列表 Vigor 因此遭受损失的,用户也应当一并赔偿。 ## 八、软件使用规范 -除非法律允许或 QQ 版本列表 Lite 的书面许可,您使用 QQ 版本列表 Lite 过程中不得删除 QQ 版本列表 Lite 及其副本上关于知识产权和开放源代码许可的信息。 +除非法律允许或 QQ 版本列表 Vigor 的书面许可,您使用 QQ 版本列表 Vigor 过程中不得删除 QQ 版本列表 Vigor 及其副本上关于知识产权和开放源代码许可的信息。 ## 九、免责条款 您充分了解并同意: -QQ 版本列表 Lite 仅为用户提供 Android QQ 和 Android TIM 版本信息展示和上述产品及其它可能存在的腾讯软件产品的官方版本获取服务,所有下载链接均来源于腾讯官方服务器。对于链接的有效性、可用性以及任何由腾讯官方服务器产生或导致的任何问题,QQ 版本列表 Lite 不承担责任。 +QQ 版本列表 Vigor 仅为用户提供 Android QQ 和 Android TIM 版本信息展示和上述产品及其它可能存在的腾讯软件产品的官方版本获取服务,所有下载链接均来源于腾讯官方服务器。对于链接的有效性、可用性以及任何由腾讯官方服务器产生或导致的任何问题,QQ 版本列表 Vigor 不承担责任。 -鉴于 QQ、TIM 和其它任意腾讯软件产品的测试版本可能存在不可预知的稳定性问题,您在下载及使用任何腾讯软件产品的任何测试版本即代表您已明确并确保自身具备足够的风险识别和承受能力。您明确并同意其使用任何腾讯软件产品的任何测试版本所存在的风险将完全由其本人和/或其法定责任主体承担,QQ 版本列表 Lite 对此不承担任何责任。 +鉴于 QQ、TIM 和其它任意腾讯软件产品的测试版本可能存在不可预知的稳定性问题,您在下载及使用任何腾讯软件产品的任何测试版本即代表您已明确并确保自身具备足够的风险识别和承受能力。您明确并同意其使用任何腾讯软件产品的任何测试版本所存在的风险将完全由其本人和/或其法定责任主体承担,QQ 版本列表 Vigor 对此不承担任何责任。 -QQ 版本列表 Lite 可能以软件实验形式提供一些尚不稳定的服务,此类服务会明确标注“实验性”(或其的其它语言形式)。您使用此类服务即代表您已明确并确保自身具备足够的风险识别和承受能力。因使用此类实验性服务而可能产生的任何直接或间接损失、损害以及其它不利后果,QQ 版本列表 Lite 不承担责任。 +QQ 版本列表 Vigor 可能以软件实验形式提供一些尚不稳定的服务,此类服务会明确标注“实验性”(或其的其它语言形式)。您使用此类服务即代表您已明确并确保自身具备足够的风险识别和承受能力。因使用此类实验性服务而可能产生的任何直接或间接损失、损害以及其它不利后果,QQ 版本列表 Vigor 不承担责任。 -除 QQ 版本列表 Lite 注明之用户协议外,其它因不当使用本应用而导致的任何意外、疏忽、合约毁坏、诽谤、版权或其它知识产权侵犯及其所造成的任何损失,QQ 版本列表 Lite 概不负责,亦不承担任何法律责任。 +除 QQ 版本列表 Vigor 注明之用户协议外,其它因不当使用本应用而导致的任何意外、疏忽、合约毁坏、诽谤、版权或其它知识产权侵犯及其所造成的任何损失,QQ 版本列表 Vigor 概不负责,亦不承担任何法律责任。 -对于因不可抗力或因黑客攻击、通讯线路中断等 QQ 版本列表 Lite 不能控制的原因造成的网络服务中断或其它缺陷,导致用户不能正常使用本应用,QQ 版本列表 Lite 不承担任何责任,但将尽力减少因此给用户造成的损失或影响。 +对于因不可抗力或因黑客攻击、通讯线路中断等 QQ 版本列表 Vigor 不能控制的原因造成的网络服务中断或其它缺陷,导致用户不能正常使用本应用,QQ 版本列表 Vigor 不承担任何责任,但将尽力减少因此给用户造成的损失或影响。 本协议未涉及的问题请参见中华人民共和国相关适用法律法规,当本协议与中华人民共和国相关适用法律法规冲突时,以中华人民共和国相关适用法律法规为准。本条所述之免责条款并不影响用户根据适用法律享有的法定权利。 ## 十、其它 -您使用 QQ 版本列表 Lite 即视为您已阅读并同意接受 QQ 版本列表 Lite 协议的约束。QQ 版本列表 Lite 有权在必要时修改本协议条款。如果您不接受修改后的条款,应当停止使用 QQ 版本列表 Lite。 +您使用 QQ 版本列表 Vigor 即视为您已阅读并同意接受 QQ 版本列表 Vigor 协议的约束。QQ 版本列表 Vigor 有权在必要时修改本协议条款。如果您不接受修改后的条款,应当停止使用 QQ 版本列表 Vigor。 -QQ 版本列表 Lite 有权随时修改本协议,并将在应用内显著位置弹窗通知用户。修订后的协议自公布之日起在一定期限后生效,请用户定期查看相关公告,继续使用本应用即视为同意接受修订后的协议。 +QQ 版本列表 Vigor 有权随时修改本协议,并将在应用内显著位置弹窗通知用户。修订后的协议自公布之日起在一定期限后生效,请用户定期查看相关公告,继续使用本应用即视为同意接受修订后的协议。 -QQ 版本列表 Lite 基于 木兰公共许可证, 第2版 许可证开放源代码。 +QQ 版本列表 Vigor 基于 木兰公共许可证, 第2版 许可证开放源代码。 本应用与深圳市腾讯计算机系统有限公司和/或其关联公司无关。 -“腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“TDesign”等是深圳市腾讯计算机系统有限公司和/或其关联公司的商标。本项目对“腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“TDesign”等的使用旨在注明和指向对应主体,并非表示对“腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“TDesign”等商标的注册和拥有。 +“腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“腾讯企点”“TDesign”等是深圳市腾讯计算机系统有限公司和/或其关联公司的商标。本项目对“腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“腾讯企点”“TDesign”等的使用旨在注明和指向对应主体,并非表示对“腾讯”“QQ”“腾讯 QQ”“腾讯 TIM”“微信”“WeChat”“Weixin”“腾讯微信”“企业微信”“WeCom”“微信输入法”“WeType”“应用宝”“腾讯应用宝”“腾讯企点”“TDesign”等商标的注册和拥有。 Android™ 是 Google LLC 的商标。 GITHUB® 是 GitHub, Inc. 在美国和其他国家或地区的商标或注册商标。 +Unreal® 及其徽标是 Epic Games, Inc. 在美国及其它国家或地区的商标或注册商标。 + 本协议的签订地是中华人民共和国上海市。 本协议适用中华人民共和国相关适用法律法规。如果双方发生纠纷,应友好协商解决;如协商不成,您同意将纠纷提交给签订地具有管辖权的法院提起诉讼。 本协议中的某些条款因故无法适用,则本协议的其它条款继续适用且无法适用的条款将会被修改,以便其能够依法适用。 -本协议是您和 QQ 版本列表 Lite 之间关于本产品相关事项的最终的、完整的、排他的协议,且取代和合并之前当事人关于此类事项(包括任何形式的最终用户许可、开放源代码许可、服务条款和隐私政策)的讨论和协议。 +本协议是您和 QQ 版本列表 Vigor 之间关于本产品相关事项的最终的、完整的、排他的协议,且取代和合并之前当事人关于此类事项(包括任何形式的最终用户许可、开放源代码许可、服务条款和隐私政策)的讨论和协议。 每部分的标题只为阅读之便而无任何法律或合同义务。 本协议可能存在多种语言版本。各语言版本之间如有不一致之处,以中文版本为准。 -除非我们书面同意,您不得转让本协议所规定的权利义务。任何违反上述规定企图转让的行为均无效。在法律许可的范围内,QQ 版本列表 Lite 对本协议享有最终解释权。 +除非我们书面同意,您不得转让本协议所规定的权利义务。任何违反上述规定企图转让的行为均无效。在法律许可的范围内,QQ 版本列表 Vigor 对本协议享有最终解释权。 -QQ 版本列表 Lite +QQ 版本列表 Vigor -2024 年 9 月 29 日 +2024 年 11 月 18 日 diff --git a/source/app.js b/source/app.js index ac66acf..aa625cc 100644 --- a/source/app.js +++ b/source/app.js @@ -2,7 +2,7 @@ /* Copyright (c) 2024 ArcticFoxPro - QQ Ver. Lite is licensed under Mulan PubL v2. + Qverbow Vigor is licensed under Mulan PubL v2. You can use this software according to the terms and conditions of the Mulan PubL v2. You may obtain a copy of Mulan PubL v2 at: http://license.coscl.org.cn/MulanPubL-2.0 @@ -15,6 +15,11 @@ App({ onLaunch() { }, globalData: { - UA_VERSION: 2, EARLIEST_ACCESSIBILITY_VERSION: false, EARLIEST_QQNT_FRAMEWORK_VERSION_STABLE: "8.9.63" + UA_VERSION: 3, // 用户协议 2024.11.18 第三版 + EARLIEST_ACCESSIBILITY_QQ_VERSION: false, + EARLIEST_ACCESSIBILITY_TIM_VERSION: false, + EARLIEST_QQNT_FRAMEWORK_QQ_VERSION_STABLE: "8.9.63", + EARLIEST_QQNT_FRAMEWORK_TIM_VERSION_STABLE: "4.0.0", + EARLIEST_UNREAL_ENGINE_QQ_VERSION_STABLE: "8.8.55" } }) \ No newline at end of file diff --git a/source/app.json b/source/app.json index 377763c..7f47991 100644 --- a/source/app.json +++ b/source/app.json @@ -7,7 +7,7 @@ "window": { "navigationStyle": "custom", "navigationBarTextStyle":"@navTxtStyle", - "navigationBarTitleText": "QQ 版本列表 Lite", + "navigationBarTitleText": "QQ 版本列表 Vigor", "navigationBarBackgroundColor": "#F6F6F6", "backgroundColor": "#F6F6F6" }, diff --git a/source/app.wxss b/source/app.wxss index e3c81d9..96e9f31 100644 --- a/source/app.wxss +++ b/source/app.wxss @@ -2,7 +2,7 @@ /* Copyright (c) 2024 ArcticFoxPro - QQ Ver. Lite is licensed under Mulan PubL v2. + Qverbow Vigor is licensed under Mulan PubL v2. You can use this software according to the terms and conditions of the Mulan PubL v2. You may obtain a copy of Mulan PubL v2 at: http://license.coscl.org.cn/MulanPubL-2.0 diff --git a/source/miniprogram_npm/dayjs/index.js b/source/miniprogram_npm/dayjs/index.js index dfe1c6e..16d9a70 100644 --- a/source/miniprogram_npm/dayjs/index.js +++ b/source/miniprogram_npm/dayjs/index.js @@ -4,10 +4,10 @@ var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexport var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; }; var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } }; var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; }; -__DEFINE__(1729229924423, function(require, module, exports) { +__DEFINE__(1731673244396, function(require, module, exports) { !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return b},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t) { @@ -28,7 +28,7 @@ module.exports = (str, lower = false) => { }; }, function(modId) {var map = {}; return __REQUIRE__(map[modId], modId); }) -return __REQUIRE__(1729229924424); +return __REQUIRE__(1731673244397); })() //miniprogram-npm-outsideDeps=[] //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/source/miniprogram_npm/json5/index.js b/source/miniprogram_npm/json5/index.js new file mode 100644 index 0000000..a81d429 --- /dev/null +++ b/source/miniprogram_npm/json5/index.js @@ -0,0 +1,1448 @@ +module.exports = (function() { +var __MODS__ = {}; +var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexports: {} }; __MODS__[modId] = { status: 0, func: func, req: req, m: m }; }; +var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; }; +var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } }; +var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; }; +__DEFINE__(1731673244398, function(require, module, exports) { +const parse = require('./parse') +const stringify = require('./stringify') + +const JSON5 = { + parse, + stringify, +} + +module.exports = JSON5 + +}, function(modId) {var map = {"./parse":1731673244399,"./stringify":1731673244402}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244399, function(require, module, exports) { +const util = require('./util') + +let source +let parseState +let stack +let pos +let line +let column +let token +let key +let root + +module.exports = function parse (text, reviver) { + source = String(text) + parseState = 'start' + stack = [] + pos = 0 + line = 1 + column = 0 + token = undefined + key = undefined + root = undefined + + do { + token = lex() + + // This code is unreachable. + // if (!parseStates[parseState]) { + // throw invalidParseState() + // } + + parseStates[parseState]() + } while (token.type !== 'eof') + + if (typeof reviver === 'function') { + return internalize({'': root}, '', reviver) + } + + return root +} + +function internalize (holder, name, reviver) { + const value = holder[name] + if (value != null && typeof value === 'object') { + if (Array.isArray(value)) { + for (let i = 0; i < value.length; i++) { + const key = String(i) + const replacement = internalize(value, key, reviver) + if (replacement === undefined) { + delete value[key] + } else { + Object.defineProperty(value, key, { + value: replacement, + writable: true, + enumerable: true, + configurable: true, + }) + } + } + } else { + for (const key in value) { + const replacement = internalize(value, key, reviver) + if (replacement === undefined) { + delete value[key] + } else { + Object.defineProperty(value, key, { + value: replacement, + writable: true, + enumerable: true, + configurable: true, + }) + } + } + } + } + + return reviver.call(holder, name, value) +} + +let lexState +let buffer +let doubleQuote +let sign +let c + +function lex () { + lexState = 'default' + buffer = '' + doubleQuote = false + sign = 1 + + for (;;) { + c = peek() + + // This code is unreachable. + // if (!lexStates[lexState]) { + // throw invalidLexState(lexState) + // } + + const token = lexStates[lexState]() + if (token) { + return token + } + } +} + +function peek () { + if (source[pos]) { + return String.fromCodePoint(source.codePointAt(pos)) + } +} + +function read () { + const c = peek() + + if (c === '\n') { + line++ + column = 0 + } else if (c) { + column += c.length + } else { + column++ + } + + if (c) { + pos += c.length + } + + return c +} + +const lexStates = { + default () { + switch (c) { + case '\t': + case '\v': + case '\f': + case ' ': + case '\u00A0': + case '\uFEFF': + case '\n': + case '\r': + case '\u2028': + case '\u2029': + read() + return + + case '/': + read() + lexState = 'comment' + return + + case undefined: + read() + return newToken('eof') + } + + if (util.isSpaceSeparator(c)) { + read() + return + } + + // This code is unreachable. + // if (!lexStates[parseState]) { + // throw invalidLexState(parseState) + // } + + return lexStates[parseState]() + }, + + comment () { + switch (c) { + case '*': + read() + lexState = 'multiLineComment' + return + + case '/': + read() + lexState = 'singleLineComment' + return + } + + throw invalidChar(read()) + }, + + multiLineComment () { + switch (c) { + case '*': + read() + lexState = 'multiLineCommentAsterisk' + return + + case undefined: + throw invalidChar(read()) + } + + read() + }, + + multiLineCommentAsterisk () { + switch (c) { + case '*': + read() + return + + case '/': + read() + lexState = 'default' + return + + case undefined: + throw invalidChar(read()) + } + + read() + lexState = 'multiLineComment' + }, + + singleLineComment () { + switch (c) { + case '\n': + case '\r': + case '\u2028': + case '\u2029': + read() + lexState = 'default' + return + + case undefined: + read() + return newToken('eof') + } + + read() + }, + + value () { + switch (c) { + case '{': + case '[': + return newToken('punctuator', read()) + + case 'n': + read() + literal('ull') + return newToken('null', null) + + case 't': + read() + literal('rue') + return newToken('boolean', true) + + case 'f': + read() + literal('alse') + return newToken('boolean', false) + + case '-': + case '+': + if (read() === '-') { + sign = -1 + } + + lexState = 'sign' + return + + case '.': + buffer = read() + lexState = 'decimalPointLeading' + return + + case '0': + buffer = read() + lexState = 'zero' + return + + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + buffer = read() + lexState = 'decimalInteger' + return + + case 'I': + read() + literal('nfinity') + return newToken('numeric', Infinity) + + case 'N': + read() + literal('aN') + return newToken('numeric', NaN) + + case '"': + case "'": + doubleQuote = (read() === '"') + buffer = '' + lexState = 'string' + return + } + + throw invalidChar(read()) + }, + + identifierNameStartEscape () { + if (c !== 'u') { + throw invalidChar(read()) + } + + read() + const u = unicodeEscape() + switch (u) { + case '$': + case '_': + break + + default: + if (!util.isIdStartChar(u)) { + throw invalidIdentifier() + } + + break + } + + buffer += u + lexState = 'identifierName' + }, + + identifierName () { + switch (c) { + case '$': + case '_': + case '\u200C': + case '\u200D': + buffer += read() + return + + case '\\': + read() + lexState = 'identifierNameEscape' + return + } + + if (util.isIdContinueChar(c)) { + buffer += read() + return + } + + return newToken('identifier', buffer) + }, + + identifierNameEscape () { + if (c !== 'u') { + throw invalidChar(read()) + } + + read() + const u = unicodeEscape() + switch (u) { + case '$': + case '_': + case '\u200C': + case '\u200D': + break + + default: + if (!util.isIdContinueChar(u)) { + throw invalidIdentifier() + } + + break + } + + buffer += u + lexState = 'identifierName' + }, + + sign () { + switch (c) { + case '.': + buffer = read() + lexState = 'decimalPointLeading' + return + + case '0': + buffer = read() + lexState = 'zero' + return + + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + buffer = read() + lexState = 'decimalInteger' + return + + case 'I': + read() + literal('nfinity') + return newToken('numeric', sign * Infinity) + + case 'N': + read() + literal('aN') + return newToken('numeric', NaN) + } + + throw invalidChar(read()) + }, + + zero () { + switch (c) { + case '.': + buffer += read() + lexState = 'decimalPoint' + return + + case 'e': + case 'E': + buffer += read() + lexState = 'decimalExponent' + return + + case 'x': + case 'X': + buffer += read() + lexState = 'hexadecimal' + return + } + + return newToken('numeric', sign * 0) + }, + + decimalInteger () { + switch (c) { + case '.': + buffer += read() + lexState = 'decimalPoint' + return + + case 'e': + case 'E': + buffer += read() + lexState = 'decimalExponent' + return + } + + if (util.isDigit(c)) { + buffer += read() + return + } + + return newToken('numeric', sign * Number(buffer)) + }, + + decimalPointLeading () { + if (util.isDigit(c)) { + buffer += read() + lexState = 'decimalFraction' + return + } + + throw invalidChar(read()) + }, + + decimalPoint () { + switch (c) { + case 'e': + case 'E': + buffer += read() + lexState = 'decimalExponent' + return + } + + if (util.isDigit(c)) { + buffer += read() + lexState = 'decimalFraction' + return + } + + return newToken('numeric', sign * Number(buffer)) + }, + + decimalFraction () { + switch (c) { + case 'e': + case 'E': + buffer += read() + lexState = 'decimalExponent' + return + } + + if (util.isDigit(c)) { + buffer += read() + return + } + + return newToken('numeric', sign * Number(buffer)) + }, + + decimalExponent () { + switch (c) { + case '+': + case '-': + buffer += read() + lexState = 'decimalExponentSign' + return + } + + if (util.isDigit(c)) { + buffer += read() + lexState = 'decimalExponentInteger' + return + } + + throw invalidChar(read()) + }, + + decimalExponentSign () { + if (util.isDigit(c)) { + buffer += read() + lexState = 'decimalExponentInteger' + return + } + + throw invalidChar(read()) + }, + + decimalExponentInteger () { + if (util.isDigit(c)) { + buffer += read() + return + } + + return newToken('numeric', sign * Number(buffer)) + }, + + hexadecimal () { + if (util.isHexDigit(c)) { + buffer += read() + lexState = 'hexadecimalInteger' + return + } + + throw invalidChar(read()) + }, + + hexadecimalInteger () { + if (util.isHexDigit(c)) { + buffer += read() + return + } + + return newToken('numeric', sign * Number(buffer)) + }, + + string () { + switch (c) { + case '\\': + read() + buffer += escape() + return + + case '"': + if (doubleQuote) { + read() + return newToken('string', buffer) + } + + buffer += read() + return + + case "'": + if (!doubleQuote) { + read() + return newToken('string', buffer) + } + + buffer += read() + return + + case '\n': + case '\r': + throw invalidChar(read()) + + case '\u2028': + case '\u2029': + separatorChar(c) + break + + case undefined: + throw invalidChar(read()) + } + + buffer += read() + }, + + start () { + switch (c) { + case '{': + case '[': + return newToken('punctuator', read()) + + // This code is unreachable since the default lexState handles eof. + // case undefined: + // return newToken('eof') + } + + lexState = 'value' + }, + + beforePropertyName () { + switch (c) { + case '$': + case '_': + buffer = read() + lexState = 'identifierName' + return + + case '\\': + read() + lexState = 'identifierNameStartEscape' + return + + case '}': + return newToken('punctuator', read()) + + case '"': + case "'": + doubleQuote = (read() === '"') + lexState = 'string' + return + } + + if (util.isIdStartChar(c)) { + buffer += read() + lexState = 'identifierName' + return + } + + throw invalidChar(read()) + }, + + afterPropertyName () { + if (c === ':') { + return newToken('punctuator', read()) + } + + throw invalidChar(read()) + }, + + beforePropertyValue () { + lexState = 'value' + }, + + afterPropertyValue () { + switch (c) { + case ',': + case '}': + return newToken('punctuator', read()) + } + + throw invalidChar(read()) + }, + + beforeArrayValue () { + if (c === ']') { + return newToken('punctuator', read()) + } + + lexState = 'value' + }, + + afterArrayValue () { + switch (c) { + case ',': + case ']': + return newToken('punctuator', read()) + } + + throw invalidChar(read()) + }, + + end () { + // This code is unreachable since it's handled by the default lexState. + // if (c === undefined) { + // read() + // return newToken('eof') + // } + + throw invalidChar(read()) + }, +} + +function newToken (type, value) { + return { + type, + value, + line, + column, + } +} + +function literal (s) { + for (const c of s) { + const p = peek() + + if (p !== c) { + throw invalidChar(read()) + } + + read() + } +} + +function escape () { + const c = peek() + switch (c) { + case 'b': + read() + return '\b' + + case 'f': + read() + return '\f' + + case 'n': + read() + return '\n' + + case 'r': + read() + return '\r' + + case 't': + read() + return '\t' + + case 'v': + read() + return '\v' + + case '0': + read() + if (util.isDigit(peek())) { + throw invalidChar(read()) + } + + return '\0' + + case 'x': + read() + return hexEscape() + + case 'u': + read() + return unicodeEscape() + + case '\n': + case '\u2028': + case '\u2029': + read() + return '' + + case '\r': + read() + if (peek() === '\n') { + read() + } + + return '' + + case '1': + case '2': + case '3': + case '4': + case '5': + case '6': + case '7': + case '8': + case '9': + throw invalidChar(read()) + + case undefined: + throw invalidChar(read()) + } + + return read() +} + +function hexEscape () { + let buffer = '' + let c = peek() + + if (!util.isHexDigit(c)) { + throw invalidChar(read()) + } + + buffer += read() + + c = peek() + if (!util.isHexDigit(c)) { + throw invalidChar(read()) + } + + buffer += read() + + return String.fromCodePoint(parseInt(buffer, 16)) +} + +function unicodeEscape () { + let buffer = '' + let count = 4 + + while (count-- > 0) { + const c = peek() + if (!util.isHexDigit(c)) { + throw invalidChar(read()) + } + + buffer += read() + } + + return String.fromCodePoint(parseInt(buffer, 16)) +} + +const parseStates = { + start () { + if (token.type === 'eof') { + throw invalidEOF() + } + + push() + }, + + beforePropertyName () { + switch (token.type) { + case 'identifier': + case 'string': + key = token.value + parseState = 'afterPropertyName' + return + + case 'punctuator': + // This code is unreachable since it's handled by the lexState. + // if (token.value !== '}') { + // throw invalidToken() + // } + + pop() + return + + case 'eof': + throw invalidEOF() + } + + // This code is unreachable since it's handled by the lexState. + // throw invalidToken() + }, + + afterPropertyName () { + // This code is unreachable since it's handled by the lexState. + // if (token.type !== 'punctuator' || token.value !== ':') { + // throw invalidToken() + // } + + if (token.type === 'eof') { + throw invalidEOF() + } + + parseState = 'beforePropertyValue' + }, + + beforePropertyValue () { + if (token.type === 'eof') { + throw invalidEOF() + } + + push() + }, + + beforeArrayValue () { + if (token.type === 'eof') { + throw invalidEOF() + } + + if (token.type === 'punctuator' && token.value === ']') { + pop() + return + } + + push() + }, + + afterPropertyValue () { + // This code is unreachable since it's handled by the lexState. + // if (token.type !== 'punctuator') { + // throw invalidToken() + // } + + if (token.type === 'eof') { + throw invalidEOF() + } + + switch (token.value) { + case ',': + parseState = 'beforePropertyName' + return + + case '}': + pop() + } + + // This code is unreachable since it's handled by the lexState. + // throw invalidToken() + }, + + afterArrayValue () { + // This code is unreachable since it's handled by the lexState. + // if (token.type !== 'punctuator') { + // throw invalidToken() + // } + + if (token.type === 'eof') { + throw invalidEOF() + } + + switch (token.value) { + case ',': + parseState = 'beforeArrayValue' + return + + case ']': + pop() + } + + // This code is unreachable since it's handled by the lexState. + // throw invalidToken() + }, + + end () { + // This code is unreachable since it's handled by the lexState. + // if (token.type !== 'eof') { + // throw invalidToken() + // } + }, +} + +function push () { + let value + + switch (token.type) { + case 'punctuator': + switch (token.value) { + case '{': + value = {} + break + + case '[': + value = [] + break + } + + break + + case 'null': + case 'boolean': + case 'numeric': + case 'string': + value = token.value + break + + // This code is unreachable. + // default: + // throw invalidToken() + } + + if (root === undefined) { + root = value + } else { + const parent = stack[stack.length - 1] + if (Array.isArray(parent)) { + parent.push(value) + } else { + Object.defineProperty(parent, key, { + value, + writable: true, + enumerable: true, + configurable: true, + }) + } + } + + if (value !== null && typeof value === 'object') { + stack.push(value) + + if (Array.isArray(value)) { + parseState = 'beforeArrayValue' + } else { + parseState = 'beforePropertyName' + } + } else { + const current = stack[stack.length - 1] + if (current == null) { + parseState = 'end' + } else if (Array.isArray(current)) { + parseState = 'afterArrayValue' + } else { + parseState = 'afterPropertyValue' + } + } +} + +function pop () { + stack.pop() + + const current = stack[stack.length - 1] + if (current == null) { + parseState = 'end' + } else if (Array.isArray(current)) { + parseState = 'afterArrayValue' + } else { + parseState = 'afterPropertyValue' + } +} + +// This code is unreachable. +// function invalidParseState () { +// return new Error(`JSON5: invalid parse state '${parseState}'`) +// } + +// This code is unreachable. +// function invalidLexState (state) { +// return new Error(`JSON5: invalid lex state '${state}'`) +// } + +function invalidChar (c) { + if (c === undefined) { + return syntaxError(`JSON5: invalid end of input at ${line}:${column}`) + } + + return syntaxError(`JSON5: invalid character '${formatChar(c)}' at ${line}:${column}`) +} + +function invalidEOF () { + return syntaxError(`JSON5: invalid end of input at ${line}:${column}`) +} + +// This code is unreachable. +// function invalidToken () { +// if (token.type === 'eof') { +// return syntaxError(`JSON5: invalid end of input at ${line}:${column}`) +// } + +// const c = String.fromCodePoint(token.value.codePointAt(0)) +// return syntaxError(`JSON5: invalid character '${formatChar(c)}' at ${line}:${column}`) +// } + +function invalidIdentifier () { + column -= 5 + return syntaxError(`JSON5: invalid identifier character at ${line}:${column}`) +} + +function separatorChar (c) { + console.warn(`JSON5: '${formatChar(c)}' in strings is not valid ECMAScript; consider escaping`) +} + +function formatChar (c) { + const replacements = { + "'": "\\'", + '"': '\\"', + '\\': '\\\\', + '\b': '\\b', + '\f': '\\f', + '\n': '\\n', + '\r': '\\r', + '\t': '\\t', + '\v': '\\v', + '\0': '\\0', + '\u2028': '\\u2028', + '\u2029': '\\u2029', + } + + if (replacements[c]) { + return replacements[c] + } + + if (c < ' ') { + const hexString = c.charCodeAt(0).toString(16) + return '\\x' + ('00' + hexString).substring(hexString.length) + } + + return c +} + +function syntaxError (message) { + const err = new SyntaxError(message) + err.lineNumber = line + err.columnNumber = column + return err +} + +}, function(modId) { var map = {"./util":1731673244400}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244400, function(require, module, exports) { +const unicode = require('../lib/unicode') + +module.exports = { + isSpaceSeparator (c) { + return typeof c === 'string' && unicode.Space_Separator.test(c) + }, + + isIdStartChar (c) { + return typeof c === 'string' && ( + (c >= 'a' && c <= 'z') || + (c >= 'A' && c <= 'Z') || + (c === '$') || (c === '_') || + unicode.ID_Start.test(c) + ) + }, + + isIdContinueChar (c) { + return typeof c === 'string' && ( + (c >= 'a' && c <= 'z') || + (c >= 'A' && c <= 'Z') || + (c >= '0' && c <= '9') || + (c === '$') || (c === '_') || + (c === '\u200C') || (c === '\u200D') || + unicode.ID_Continue.test(c) + ) + }, + + isDigit (c) { + return typeof c === 'string' && /[0-9]/.test(c) + }, + + isHexDigit (c) { + return typeof c === 'string' && /[0-9A-Fa-f]/.test(c) + }, +} + +}, function(modId) { var map = {"../lib/unicode":1731673244401}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244401, function(require, module, exports) { +// This is a generated file. Do not edit. +module.exports.Space_Separator = /[\u1680\u2000-\u200A\u202F\u205F\u3000]/ +module.exports.ID_Start = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uD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E44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/ +module.exports.ID_Continue = /[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\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u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA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0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/ + +}, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244402, function(require, module, exports) { +const util = require('./util') + +module.exports = function stringify (value, replacer, space) { + const stack = [] + let indent = '' + let propertyList + let replacerFunc + let gap = '' + let quote + + if ( + replacer != null && + typeof replacer === 'object' && + !Array.isArray(replacer) + ) { + space = replacer.space + quote = replacer.quote + replacer = replacer.replacer + } + + if (typeof replacer === 'function') { + replacerFunc = replacer + } else if (Array.isArray(replacer)) { + propertyList = [] + for (const v of replacer) { + let item + + if (typeof v === 'string') { + item = v + } else if ( + typeof v === 'number' || + v instanceof String || + v instanceof Number + ) { + item = String(v) + } + + if (item !== undefined && propertyList.indexOf(item) < 0) { + propertyList.push(item) + } + } + } + + if (space instanceof Number) { + space = Number(space) + } else if (space instanceof String) { + space = String(space) + } + + if (typeof space === 'number') { + if (space > 0) { + space = Math.min(10, Math.floor(space)) + gap = ' '.substr(0, space) + } + } else if (typeof space === 'string') { + gap = space.substr(0, 10) + } + + return serializeProperty('', {'': value}) + + function serializeProperty (key, holder) { + let value = holder[key] + if (value != null) { + if (typeof value.toJSON5 === 'function') { + value = value.toJSON5(key) + } else if (typeof value.toJSON === 'function') { + value = value.toJSON(key) + } + } + + if (replacerFunc) { + value = replacerFunc.call(holder, key, value) + } + + if (value instanceof Number) { + value = Number(value) + } else if (value instanceof String) { + value = String(value) + } else if (value instanceof Boolean) { + value = value.valueOf() + } + + switch (value) { + case null: return 'null' + case true: return 'true' + case false: return 'false' + } + + if (typeof value === 'string') { + return quoteString(value, false) + } + + if (typeof value === 'number') { + return String(value) + } + + if (typeof value === 'object') { + return Array.isArray(value) ? serializeArray(value) : serializeObject(value) + } + + return undefined + } + + function quoteString (value) { + const quotes = { + "'": 0.1, + '"': 0.2, + } + + const replacements = { + "'": "\\'", + '"': '\\"', + '\\': '\\\\', + '\b': '\\b', + '\f': '\\f', + '\n': '\\n', + '\r': '\\r', + '\t': '\\t', + '\v': '\\v', + '\0': '\\0', + '\u2028': '\\u2028', + '\u2029': '\\u2029', + } + + let product = '' + + for (let i = 0; i < value.length; i++) { + const c = value[i] + switch (c) { + case "'": + case '"': + quotes[c]++ + product += c + continue + + case '\0': + if (util.isDigit(value[i + 1])) { + product += '\\x00' + continue + } + } + + if (replacements[c]) { + product += replacements[c] + continue + } + + if (c < ' ') { + let hexString = c.charCodeAt(0).toString(16) + product += '\\x' + ('00' + hexString).substring(hexString.length) + continue + } + + product += c + } + + const quoteChar = quote || Object.keys(quotes).reduce((a, b) => (quotes[a] < quotes[b]) ? a : b) + + product = product.replace(new RegExp(quoteChar, 'g'), replacements[quoteChar]) + + return quoteChar + product + quoteChar + } + + function serializeObject (value) { + if (stack.indexOf(value) >= 0) { + throw TypeError('Converting circular structure to JSON5') + } + + stack.push(value) + + let stepback = indent + indent = indent + gap + + let keys = propertyList || Object.keys(value) + let partial = [] + for (const key of keys) { + const propertyString = serializeProperty(key, value) + if (propertyString !== undefined) { + let member = serializeKey(key) + ':' + if (gap !== '') { + member += ' ' + } + member += propertyString + partial.push(member) + } + } + + let final + if (partial.length === 0) { + final = '{}' + } else { + let properties + if (gap === '') { + properties = partial.join(',') + final = '{' + properties + '}' + } else { + let separator = ',\n' + indent + properties = partial.join(separator) + final = '{\n' + indent + properties + ',\n' + stepback + '}' + } + } + + stack.pop() + indent = stepback + return final + } + + function serializeKey (key) { + if (key.length === 0) { + return quoteString(key, true) + } + + const firstChar = String.fromCodePoint(key.codePointAt(0)) + if (!util.isIdStartChar(firstChar)) { + return quoteString(key, true) + } + + for (let i = firstChar.length; i < key.length; i++) { + if (!util.isIdContinueChar(String.fromCodePoint(key.codePointAt(i)))) { + return quoteString(key, true) + } + } + + return key + } + + function serializeArray (value) { + if (stack.indexOf(value) >= 0) { + throw TypeError('Converting circular structure to JSON5') + } + + stack.push(value) + + let stepback = indent + indent = indent + gap + + let partial = [] + for (let i = 0; i < value.length; i++) { + const propertyString = serializeProperty(String(i), value) + partial.push((propertyString !== undefined) ? propertyString : 'null') + } + + let final + if (partial.length === 0) { + final = '[]' + } else { + if (gap === '') { + let properties = partial.join(',') + final = '[' + properties + ']' + } else { + let separator = ',\n' + indent + let properties = partial.join(separator) + final = '[\n' + indent + properties + ',\n' + stepback + ']' + } + } + + stack.pop() + indent = stepback + return final + } +} + +}, function(modId) { var map = {"./util":1731673244400}; return __REQUIRE__(map[modId], modId); }) +return __REQUIRE__(1731673244398); +})() +//miniprogram-npm-outsideDeps=[] +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/source/miniprogram_npm/json5/index.js.map b/source/miniprogram_npm/json5/index.js.map new file mode 100644 index 0000000..d264912 --- /dev/null +++ b/source/miniprogram_npm/json5/index.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["index.js","parse.js","util.js","unicode.js","stringify.js"],"names":[],"mappings":";;;;;;;AAAA;AACA;AACA;AACA,ACHA;ADIA,ACHA;ADIA,ACHA;ADIA,ACHA,ACHA;AFOA,ACHA,ACHA;AFOA,ACHA,ACHA;AFOA,ACHA,AENA,ADGA;ADIA,AENA,ADGA;ADIA,AENA,ADGA;ADIA,AGTA,ADGA,ADGA;ADIA,AGTA,ADGA,ADGA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA,AFMA;ADIA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA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TA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA,AGTA;AHUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"index.js","sourcesContent":["const parse = require('./parse')\nconst stringify = require('./stringify')\n\nconst JSON5 = {\n parse,\n stringify,\n}\n\nmodule.exports = JSON5\n","const util = require('./util')\n\nlet source\nlet parseState\nlet stack\nlet pos\nlet line\nlet column\nlet token\nlet key\nlet root\n\nmodule.exports = function parse (text, reviver) {\n source = String(text)\n parseState = 'start'\n stack = []\n pos = 0\n line = 1\n column = 0\n token = undefined\n key = undefined\n root = undefined\n\n do {\n token = lex()\n\n // This code is unreachable.\n // if (!parseStates[parseState]) {\n // throw invalidParseState()\n // }\n\n parseStates[parseState]()\n } while (token.type !== 'eof')\n\n if (typeof reviver === 'function') {\n return internalize({'': root}, '', reviver)\n }\n\n return root\n}\n\nfunction internalize (holder, name, reviver) {\n const value = holder[name]\n if (value != null && typeof value === 'object') {\n if (Array.isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n const key = String(i)\n const replacement = internalize(value, key, reviver)\n if (replacement === undefined) {\n delete value[key]\n } else {\n Object.defineProperty(value, key, {\n value: replacement,\n writable: true,\n enumerable: true,\n configurable: true,\n })\n }\n }\n } else {\n for (const key in value) {\n const replacement = internalize(value, key, reviver)\n if (replacement === undefined) {\n delete value[key]\n } else {\n Object.defineProperty(value, key, {\n value: replacement,\n writable: true,\n enumerable: true,\n configurable: true,\n })\n }\n }\n }\n }\n\n return reviver.call(holder, name, value)\n}\n\nlet lexState\nlet buffer\nlet doubleQuote\nlet sign\nlet c\n\nfunction lex () {\n lexState = 'default'\n buffer = ''\n doubleQuote = false\n sign = 1\n\n for (;;) {\n c = peek()\n\n // This code is unreachable.\n // if (!lexStates[lexState]) {\n // throw invalidLexState(lexState)\n // }\n\n const token = lexStates[lexState]()\n if (token) {\n return token\n }\n }\n}\n\nfunction peek () {\n if (source[pos]) {\n return String.fromCodePoint(source.codePointAt(pos))\n }\n}\n\nfunction read () {\n const c = peek()\n\n if (c === '\\n') {\n line++\n column = 0\n } else if (c) {\n column += c.length\n } else {\n column++\n }\n\n if (c) {\n pos += c.length\n }\n\n return c\n}\n\nconst lexStates = {\n default () {\n switch (c) {\n case '\\t':\n case '\\v':\n case '\\f':\n case ' ':\n case '\\u00A0':\n case '\\uFEFF':\n case '\\n':\n case '\\r':\n case '\\u2028':\n case '\\u2029':\n read()\n return\n\n case '/':\n read()\n lexState = 'comment'\n return\n\n case undefined:\n read()\n return newToken('eof')\n }\n\n if (util.isSpaceSeparator(c)) {\n read()\n return\n }\n\n // This code is unreachable.\n // if (!lexStates[parseState]) {\n // throw invalidLexState(parseState)\n // }\n\n return lexStates[parseState]()\n },\n\n comment () {\n switch (c) {\n case '*':\n read()\n lexState = 'multiLineComment'\n return\n\n case '/':\n read()\n lexState = 'singleLineComment'\n return\n }\n\n throw invalidChar(read())\n },\n\n multiLineComment () {\n switch (c) {\n case '*':\n read()\n lexState = 'multiLineCommentAsterisk'\n return\n\n case undefined:\n throw invalidChar(read())\n }\n\n read()\n },\n\n multiLineCommentAsterisk () {\n switch (c) {\n case '*':\n read()\n return\n\n case '/':\n read()\n lexState = 'default'\n return\n\n case undefined:\n throw invalidChar(read())\n }\n\n read()\n lexState = 'multiLineComment'\n },\n\n singleLineComment () {\n switch (c) {\n case '\\n':\n case '\\r':\n case '\\u2028':\n case '\\u2029':\n read()\n lexState = 'default'\n return\n\n case undefined:\n read()\n return newToken('eof')\n }\n\n read()\n },\n\n value () {\n switch (c) {\n case '{':\n case '[':\n return newToken('punctuator', read())\n\n case 'n':\n read()\n literal('ull')\n return newToken('null', null)\n\n case 't':\n read()\n literal('rue')\n return newToken('boolean', true)\n\n case 'f':\n read()\n literal('alse')\n return newToken('boolean', false)\n\n case '-':\n case '+':\n if (read() === '-') {\n sign = -1\n }\n\n lexState = 'sign'\n return\n\n case '.':\n buffer = read()\n lexState = 'decimalPointLeading'\n return\n\n case '0':\n buffer = read()\n lexState = 'zero'\n return\n\n case '1':\n case '2':\n case '3':\n case '4':\n case '5':\n case '6':\n case '7':\n case '8':\n case '9':\n buffer = read()\n lexState = 'decimalInteger'\n return\n\n case 'I':\n read()\n literal('nfinity')\n return newToken('numeric', Infinity)\n\n case 'N':\n read()\n literal('aN')\n return newToken('numeric', NaN)\n\n case '\"':\n case \"'\":\n doubleQuote = (read() === '\"')\n buffer = ''\n lexState = 'string'\n return\n }\n\n throw invalidChar(read())\n },\n\n identifierNameStartEscape () {\n if (c !== 'u') {\n throw invalidChar(read())\n }\n\n read()\n const u = unicodeEscape()\n switch (u) {\n case '$':\n case '_':\n break\n\n default:\n if (!util.isIdStartChar(u)) {\n throw invalidIdentifier()\n }\n\n break\n }\n\n buffer += u\n lexState = 'identifierName'\n },\n\n identifierName () {\n switch (c) {\n case '$':\n case '_':\n case '\\u200C':\n case '\\u200D':\n buffer += read()\n return\n\n case '\\\\':\n read()\n lexState = 'identifierNameEscape'\n return\n }\n\n if (util.isIdContinueChar(c)) {\n buffer += read()\n return\n }\n\n return newToken('identifier', buffer)\n },\n\n identifierNameEscape () {\n if (c !== 'u') {\n throw invalidChar(read())\n }\n\n read()\n const u = unicodeEscape()\n switch (u) {\n case '$':\n case '_':\n case '\\u200C':\n case '\\u200D':\n break\n\n default:\n if (!util.isIdContinueChar(u)) {\n throw invalidIdentifier()\n }\n\n break\n }\n\n buffer += u\n lexState = 'identifierName'\n },\n\n sign () {\n switch (c) {\n case '.':\n buffer = read()\n lexState = 'decimalPointLeading'\n return\n\n case '0':\n buffer = read()\n lexState = 'zero'\n return\n\n case '1':\n case '2':\n case '3':\n case '4':\n case '5':\n case '6':\n case '7':\n case '8':\n case '9':\n buffer = read()\n lexState = 'decimalInteger'\n return\n\n case 'I':\n read()\n literal('nfinity')\n return newToken('numeric', sign * Infinity)\n\n case 'N':\n read()\n literal('aN')\n return newToken('numeric', NaN)\n }\n\n throw invalidChar(read())\n },\n\n zero () {\n switch (c) {\n case '.':\n buffer += read()\n lexState = 'decimalPoint'\n return\n\n case 'e':\n case 'E':\n buffer += read()\n lexState = 'decimalExponent'\n return\n\n case 'x':\n case 'X':\n buffer += read()\n lexState = 'hexadecimal'\n return\n }\n\n return newToken('numeric', sign * 0)\n },\n\n decimalInteger () {\n switch (c) {\n case '.':\n buffer += read()\n lexState = 'decimalPoint'\n return\n\n case 'e':\n case 'E':\n buffer += read()\n lexState = 'decimalExponent'\n return\n }\n\n if (util.isDigit(c)) {\n buffer += read()\n return\n }\n\n return newToken('numeric', sign * Number(buffer))\n },\n\n decimalPointLeading () {\n if (util.isDigit(c)) {\n buffer += read()\n lexState = 'decimalFraction'\n return\n }\n\n throw invalidChar(read())\n },\n\n decimalPoint () {\n switch (c) {\n case 'e':\n case 'E':\n buffer += read()\n lexState = 'decimalExponent'\n return\n }\n\n if (util.isDigit(c)) {\n buffer += read()\n lexState = 'decimalFraction'\n return\n }\n\n return newToken('numeric', sign * Number(buffer))\n },\n\n decimalFraction () {\n switch (c) {\n case 'e':\n case 'E':\n buffer += read()\n lexState = 'decimalExponent'\n return\n }\n\n if (util.isDigit(c)) {\n buffer += read()\n return\n }\n\n return newToken('numeric', sign * Number(buffer))\n },\n\n decimalExponent () {\n switch (c) {\n case '+':\n case '-':\n buffer += read()\n lexState = 'decimalExponentSign'\n return\n }\n\n if (util.isDigit(c)) {\n buffer += read()\n lexState = 'decimalExponentInteger'\n return\n }\n\n throw invalidChar(read())\n },\n\n decimalExponentSign () {\n if (util.isDigit(c)) {\n buffer += read()\n lexState = 'decimalExponentInteger'\n return\n }\n\n throw invalidChar(read())\n },\n\n decimalExponentInteger () {\n if (util.isDigit(c)) {\n buffer += read()\n return\n }\n\n return newToken('numeric', sign * Number(buffer))\n },\n\n hexadecimal () {\n if (util.isHexDigit(c)) {\n buffer += read()\n lexState = 'hexadecimalInteger'\n return\n }\n\n throw invalidChar(read())\n },\n\n hexadecimalInteger () {\n if (util.isHexDigit(c)) {\n buffer += read()\n return\n }\n\n return newToken('numeric', sign * Number(buffer))\n },\n\n string () {\n switch (c) {\n case '\\\\':\n read()\n buffer += escape()\n return\n\n case '\"':\n if (doubleQuote) {\n read()\n return newToken('string', buffer)\n }\n\n buffer += read()\n return\n\n case \"'\":\n if (!doubleQuote) {\n read()\n return newToken('string', buffer)\n }\n\n buffer += read()\n return\n\n case '\\n':\n case '\\r':\n throw invalidChar(read())\n\n case '\\u2028':\n case '\\u2029':\n separatorChar(c)\n break\n\n case undefined:\n throw invalidChar(read())\n }\n\n buffer += read()\n },\n\n start () {\n switch (c) {\n case '{':\n case '[':\n return newToken('punctuator', read())\n\n // This code is unreachable since the default lexState handles eof.\n // case undefined:\n // return newToken('eof')\n }\n\n lexState = 'value'\n },\n\n beforePropertyName () {\n switch (c) {\n case '$':\n case '_':\n buffer = read()\n lexState = 'identifierName'\n return\n\n case '\\\\':\n read()\n lexState = 'identifierNameStartEscape'\n return\n\n case '}':\n return newToken('punctuator', read())\n\n case '\"':\n case \"'\":\n doubleQuote = (read() === '\"')\n lexState = 'string'\n return\n }\n\n if (util.isIdStartChar(c)) {\n buffer += read()\n lexState = 'identifierName'\n return\n }\n\n throw invalidChar(read())\n },\n\n afterPropertyName () {\n if (c === ':') {\n return newToken('punctuator', read())\n }\n\n throw invalidChar(read())\n },\n\n beforePropertyValue () {\n lexState = 'value'\n },\n\n afterPropertyValue () {\n switch (c) {\n case ',':\n case '}':\n return newToken('punctuator', read())\n }\n\n throw invalidChar(read())\n },\n\n beforeArrayValue () {\n if (c === ']') {\n return newToken('punctuator', read())\n }\n\n lexState = 'value'\n },\n\n afterArrayValue () {\n switch (c) {\n case ',':\n case ']':\n return newToken('punctuator', read())\n }\n\n throw invalidChar(read())\n },\n\n end () {\n // This code is unreachable since it's handled by the default lexState.\n // if (c === undefined) {\n // read()\n // return newToken('eof')\n // }\n\n throw invalidChar(read())\n },\n}\n\nfunction newToken (type, value) {\n return {\n type,\n value,\n line,\n column,\n }\n}\n\nfunction literal (s) {\n for (const c of s) {\n const p = peek()\n\n if (p !== c) {\n throw invalidChar(read())\n }\n\n read()\n }\n}\n\nfunction escape () {\n const c = peek()\n switch (c) {\n case 'b':\n read()\n return '\\b'\n\n case 'f':\n read()\n return '\\f'\n\n case 'n':\n read()\n return '\\n'\n\n case 'r':\n read()\n return '\\r'\n\n case 't':\n read()\n return '\\t'\n\n case 'v':\n read()\n return '\\v'\n\n case '0':\n read()\n if (util.isDigit(peek())) {\n throw invalidChar(read())\n }\n\n return '\\0'\n\n case 'x':\n read()\n return hexEscape()\n\n case 'u':\n read()\n return unicodeEscape()\n\n case '\\n':\n case '\\u2028':\n case '\\u2029':\n read()\n return ''\n\n case '\\r':\n read()\n if (peek() === '\\n') {\n read()\n }\n\n return ''\n\n case '1':\n case '2':\n case '3':\n case '4':\n case '5':\n case '6':\n case '7':\n case '8':\n case '9':\n throw invalidChar(read())\n\n case undefined:\n throw invalidChar(read())\n }\n\n return read()\n}\n\nfunction hexEscape () {\n let buffer = ''\n let c = peek()\n\n if (!util.isHexDigit(c)) {\n throw invalidChar(read())\n }\n\n buffer += read()\n\n c = peek()\n if (!util.isHexDigit(c)) {\n throw invalidChar(read())\n }\n\n buffer += read()\n\n return String.fromCodePoint(parseInt(buffer, 16))\n}\n\nfunction unicodeEscape () {\n let buffer = ''\n let count = 4\n\n while (count-- > 0) {\n const c = peek()\n if (!util.isHexDigit(c)) {\n throw invalidChar(read())\n }\n\n buffer += read()\n }\n\n return String.fromCodePoint(parseInt(buffer, 16))\n}\n\nconst parseStates = {\n start () {\n if (token.type === 'eof') {\n throw invalidEOF()\n }\n\n push()\n },\n\n beforePropertyName () {\n switch (token.type) {\n case 'identifier':\n case 'string':\n key = token.value\n parseState = 'afterPropertyName'\n return\n\n case 'punctuator':\n // This code is unreachable since it's handled by the lexState.\n // if (token.value !== '}') {\n // throw invalidToken()\n // }\n\n pop()\n return\n\n case 'eof':\n throw invalidEOF()\n }\n\n // This code is unreachable since it's handled by the lexState.\n // throw invalidToken()\n },\n\n afterPropertyName () {\n // This code is unreachable since it's handled by the lexState.\n // if (token.type !== 'punctuator' || token.value !== ':') {\n // throw invalidToken()\n // }\n\n if (token.type === 'eof') {\n throw invalidEOF()\n }\n\n parseState = 'beforePropertyValue'\n },\n\n beforePropertyValue () {\n if (token.type === 'eof') {\n throw invalidEOF()\n }\n\n push()\n },\n\n beforeArrayValue () {\n if (token.type === 'eof') {\n throw invalidEOF()\n }\n\n if (token.type === 'punctuator' && token.value === ']') {\n pop()\n return\n }\n\n push()\n },\n\n afterPropertyValue () {\n // This code is unreachable since it's handled by the lexState.\n // if (token.type !== 'punctuator') {\n // throw invalidToken()\n // }\n\n if (token.type === 'eof') {\n throw invalidEOF()\n }\n\n switch (token.value) {\n case ',':\n parseState = 'beforePropertyName'\n return\n\n case '}':\n pop()\n }\n\n // This code is unreachable since it's handled by the lexState.\n // throw invalidToken()\n },\n\n afterArrayValue () {\n // This code is unreachable since it's handled by the lexState.\n // if (token.type !== 'punctuator') {\n // throw invalidToken()\n // }\n\n if (token.type === 'eof') {\n throw invalidEOF()\n }\n\n switch (token.value) {\n case ',':\n parseState = 'beforeArrayValue'\n return\n\n case ']':\n pop()\n }\n\n // This code is unreachable since it's handled by the lexState.\n // throw invalidToken()\n },\n\n end () {\n // This code is unreachable since it's handled by the lexState.\n // if (token.type !== 'eof') {\n // throw invalidToken()\n // }\n },\n}\n\nfunction push () {\n let value\n\n switch (token.type) {\n case 'punctuator':\n switch (token.value) {\n case '{':\n value = {}\n break\n\n case '[':\n value = []\n break\n }\n\n break\n\n case 'null':\n case 'boolean':\n case 'numeric':\n case 'string':\n value = token.value\n break\n\n // This code is unreachable.\n // default:\n // throw invalidToken()\n }\n\n if (root === undefined) {\n root = value\n } else {\n const parent = stack[stack.length - 1]\n if (Array.isArray(parent)) {\n parent.push(value)\n } else {\n Object.defineProperty(parent, key, {\n value,\n writable: true,\n enumerable: true,\n configurable: true,\n })\n }\n }\n\n if (value !== null && typeof value === 'object') {\n stack.push(value)\n\n if (Array.isArray(value)) {\n parseState = 'beforeArrayValue'\n } else {\n parseState = 'beforePropertyName'\n }\n } else {\n const current = stack[stack.length - 1]\n if (current == null) {\n parseState = 'end'\n } else if (Array.isArray(current)) {\n parseState = 'afterArrayValue'\n } else {\n parseState = 'afterPropertyValue'\n }\n }\n}\n\nfunction pop () {\n stack.pop()\n\n const current = stack[stack.length - 1]\n if (current == null) {\n parseState = 'end'\n } else if (Array.isArray(current)) {\n parseState = 'afterArrayValue'\n } else {\n parseState = 'afterPropertyValue'\n }\n}\n\n// This code is unreachable.\n// function invalidParseState () {\n// return new Error(`JSON5: invalid parse state '${parseState}'`)\n// }\n\n// This code is unreachable.\n// function invalidLexState (state) {\n// return new Error(`JSON5: invalid lex state '${state}'`)\n// }\n\nfunction invalidChar (c) {\n if (c === undefined) {\n return syntaxError(`JSON5: invalid end of input at ${line}:${column}`)\n }\n\n return syntaxError(`JSON5: invalid character '${formatChar(c)}' at ${line}:${column}`)\n}\n\nfunction invalidEOF () {\n return syntaxError(`JSON5: invalid end of input at ${line}:${column}`)\n}\n\n// This code is unreachable.\n// function invalidToken () {\n// if (token.type === 'eof') {\n// return syntaxError(`JSON5: invalid end of input at ${line}:${column}`)\n// }\n\n// const c = String.fromCodePoint(token.value.codePointAt(0))\n// return syntaxError(`JSON5: invalid character '${formatChar(c)}' at ${line}:${column}`)\n// }\n\nfunction invalidIdentifier () {\n column -= 5\n return syntaxError(`JSON5: invalid identifier character at ${line}:${column}`)\n}\n\nfunction separatorChar (c) {\n console.warn(`JSON5: '${formatChar(c)}' in strings is not valid ECMAScript; consider escaping`)\n}\n\nfunction formatChar (c) {\n const replacements = {\n \"'\": \"\\\\'\",\n '\"': '\\\\\"',\n '\\\\': '\\\\\\\\',\n '\\b': '\\\\b',\n '\\f': '\\\\f',\n '\\n': '\\\\n',\n '\\r': '\\\\r',\n '\\t': '\\\\t',\n '\\v': '\\\\v',\n '\\0': '\\\\0',\n '\\u2028': '\\\\u2028',\n '\\u2029': '\\\\u2029',\n }\n\n if (replacements[c]) {\n return replacements[c]\n }\n\n if (c < ' ') {\n const hexString = c.charCodeAt(0).toString(16)\n return '\\\\x' + ('00' + hexString).substring(hexString.length)\n }\n\n return c\n}\n\nfunction syntaxError (message) {\n const err = new SyntaxError(message)\n err.lineNumber = line\n err.columnNumber = column\n return err\n}\n","const unicode = require('../lib/unicode')\n\nmodule.exports = {\n isSpaceSeparator (c) {\n return typeof c === 'string' && unicode.Space_Separator.test(c)\n },\n\n isIdStartChar (c) {\n return typeof c === 'string' && (\n (c >= 'a' && c <= 'z') ||\n (c >= 'A' && c <= 'Z') ||\n (c === '$') || (c === '_') ||\n unicode.ID_Start.test(c)\n )\n },\n\n isIdContinueChar (c) {\n return typeof c === 'string' && (\n (c >= 'a' && c <= 'z') ||\n (c >= 'A' && c <= 'Z') ||\n (c >= '0' && c <= '9') ||\n (c === '$') || (c === '_') ||\n (c === '\\u200C') || (c === '\\u200D') ||\n unicode.ID_Continue.test(c)\n )\n },\n\n isDigit (c) {\n return typeof c === 'string' && /[0-9]/.test(c)\n },\n\n isHexDigit (c) {\n return typeof c === 'string' && /[0-9A-Fa-f]/.test(c)\n },\n}\n","// This is a generated file. Do not edit.\nmodule.exports.Space_Separator = /[\\u1680\\u2000-\\u200A\\u202F\\u205F\\u3000]/\nmodule.exports.ID_Start = /[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u08A0-\\u08B4\\u08B6-\\u08BD\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C88\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312E\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FEA\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\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DCD0-\\uDCE8\\uDD03-\\uDD26\\uDD50-\\uDD72\\uDD76\\uDD83-\\uDDB2\\uDDC1-\\uDDC4\\uDDDA\\uDDDC\\uDE00-\\uDE11\\uDE13-\\uDE2B\\uDE80-\\uDE86\\uDE88\\uDE8A-\\uDE8D\\uDE8F-\\uDE9D\\uDE9F-\\uDEA8\\uDEB0-\\uDEDE\\uDF05-\\uDF0C\\uDF0F\\uDF10\\uDF13-\\uDF28\\uDF2A-\\uDF30\\uDF32\\uDF33\\uDF35-\\uDF39\\uDF3D\\uDF50\\uDF5D-\\uDF61]|\\uD805[\\uDC00-\\uDC34\\uDC47-\\uDC4A\\uDC80-\\uDCAF\\uDCC4\\uDCC5\\uDCC7\\uDD80-\\uDDAE\\uDDD8-\\uDDDB\\uDE00-\\uDE2F\\uDE44\\uDE80-\\uDEAA\\uDF00-\\uDF19]|\\uD806[\\uDCA0-\\uDCDF\\uDCFF\\uDE00\\uDE0B-\\uDE32\\uDE3A\\uDE50\\uDE5C-\\uDE83\\uDE86-\\uDE89\\uDEC0-\\uDEF8]|\\uD807[\\uDC00-\\uDC08\\uDC0A-\\uDC2E\\uDC40\\uDC72-\\uDC8F\\uDD00-\\uDD06\\uDD08\\uDD09\\uDD0B-\\uDD30\\uDD46]|\\uD808[\\uDC00-\\uDF99]|\\uD809[\\uDC00-\\uDC6E\\uDC80-\\uDD43]|[\\uD80C\\uD81C-\\uD820\\uD840-\\uD868\\uD86A-\\uD86C\\uD86F-\\uD872\\uD874-\\uD879][\\uDC00-\\uDFFF]|\\uD80D[\\uDC00-\\uDC2E]|\\uD811[\\uDC00-\\uDE46]|\\uD81A[\\uDC00-\\uDE38\\uDE40-\\uDE5E\\uDED0-\\uDEED\\uDF00-\\uDF2F\\uDF40-\\uDF43\\uDF63-\\uDF77\\uDF7D-\\uDF8F]|\\uD81B[\\uDF00-\\uDF44\\uDF50\\uDF93-\\uDF9F\\uDFE0\\uDFE1]|\\uD821[\\uDC00-\\uDFEC]|\\uD822[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DC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]/\nmodule.exports.ID_Continue = /[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u0860-\\u086A\\u08A0-\\u08B4\\u08B6-\\u08BD\\u08D4-\\u08E1\\u08E3-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u09FC\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\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7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1C80-\\u1C88\\u1CD0-\\u1CD2\\u1CD4-\\u1CF9\\u1D00-\\u1DF9\\u1DFB-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312E\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FEA\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AE\\uA7B0-\\uA7B7\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C5\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA8FD\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2F\\uFE33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E36\\uDE3B-\\uDE6C\\uDE75\\uDE84\\uDE9B-\\uDE9F\\uDEA1-\\uDEAF]|\\uD838[\\uDC00-\\uDC06\\uDC08-\\uDC18\\uDC1B-\\uDC21\\uDC23\\uDC24\\uDC26-\\uDC2A]|\\uD83A[\\uDC00-\\uDCC4\\uDCD0-\\uDCD6\\uDD00-\\uDD4A\\uDD50-\\uDD59]|\\uD83B[\\uDE00-\\uDE03\\uDE05-\\uDE1F\\uDE21\\uDE22\\uDE24\\uDE27\\uDE29-\\uDE32\\uDE34-\\uDE37\\uDE39\\uDE3B\\uDE42\\uDE47\\uDE49\\uDE4B\\uDE4D-\\uDE4F\\uDE51\\uDE52\\uDE54\\uDE57\\uDE59\\uDE5B\\uDE5D\\uDE5F\\uDE61\\uDE62\\uDE64\\uDE67-\\uDE6A\\uDE6C-\\uDE72\\uDE74-\\uDE77\\uDE79-\\uDE7C\\uDE7E\\uDE80-\\uDE89\\uDE8B-\\uDE9B\\uDEA1-\\uDEA3\\uDEA5-\\uDEA9\\uDEAB-\\uDEBB]|\\uD869[\\uDC00-\\uDED6\\uDF00-\\uDFFF]|\\uD86D[\\uDC00-\\uDF34\\uDF40-\\uDFFF]|\\uD86E[\\uDC00-\\uDC1D\\uDC20-\\uDFFF]|\\uD873[\\uDC00-\\uDEA1\\uDEB0-\\uDFFF]|\\uD87A[\\uDC00-\\uDFE0]|\\uD87E[\\uDC00-\\uDE1D]|\\uDB40[\\uDD00-\\uDDEF]/\n","const util = require('./util')\n\nmodule.exports = function stringify (value, replacer, space) {\n const stack = []\n let indent = ''\n let propertyList\n let replacerFunc\n let gap = ''\n let quote\n\n if (\n replacer != null &&\n typeof replacer === 'object' &&\n !Array.isArray(replacer)\n ) {\n space = replacer.space\n quote = replacer.quote\n replacer = replacer.replacer\n }\n\n if (typeof replacer === 'function') {\n replacerFunc = replacer\n } else if (Array.isArray(replacer)) {\n propertyList = []\n for (const v of replacer) {\n let item\n\n if (typeof v === 'string') {\n item = v\n } else if (\n typeof v === 'number' ||\n v instanceof String ||\n v instanceof Number\n ) {\n item = String(v)\n }\n\n if (item !== undefined && propertyList.indexOf(item) < 0) {\n propertyList.push(item)\n }\n }\n }\n\n if (space instanceof Number) {\n space = Number(space)\n } else if (space instanceof String) {\n space = String(space)\n }\n\n if (typeof space === 'number') {\n if (space > 0) {\n space = Math.min(10, Math.floor(space))\n gap = ' '.substr(0, space)\n }\n } else if (typeof space === 'string') {\n gap = space.substr(0, 10)\n }\n\n return serializeProperty('', {'': value})\n\n function serializeProperty (key, holder) {\n let value = holder[key]\n if (value != null) {\n if (typeof value.toJSON5 === 'function') {\n value = value.toJSON5(key)\n } else if (typeof value.toJSON === 'function') {\n value = value.toJSON(key)\n }\n }\n\n if (replacerFunc) {\n value = replacerFunc.call(holder, key, value)\n }\n\n if (value instanceof Number) {\n value = Number(value)\n } else if (value instanceof String) {\n value = String(value)\n } else if (value instanceof Boolean) {\n value = value.valueOf()\n }\n\n switch (value) {\n case null: return 'null'\n case true: return 'true'\n case false: return 'false'\n }\n\n if (typeof value === 'string') {\n return quoteString(value, false)\n }\n\n if (typeof value === 'number') {\n return String(value)\n }\n\n if (typeof value === 'object') {\n return Array.isArray(value) ? serializeArray(value) : serializeObject(value)\n }\n\n return undefined\n }\n\n function quoteString (value) {\n const quotes = {\n \"'\": 0.1,\n '\"': 0.2,\n }\n\n const replacements = {\n \"'\": \"\\\\'\",\n '\"': '\\\\\"',\n '\\\\': '\\\\\\\\',\n '\\b': '\\\\b',\n '\\f': '\\\\f',\n '\\n': '\\\\n',\n '\\r': '\\\\r',\n '\\t': '\\\\t',\n '\\v': '\\\\v',\n '\\0': '\\\\0',\n '\\u2028': '\\\\u2028',\n '\\u2029': '\\\\u2029',\n }\n\n let product = ''\n\n for (let i = 0; i < value.length; i++) {\n const c = value[i]\n switch (c) {\n case \"'\":\n case '\"':\n quotes[c]++\n product += c\n continue\n\n case '\\0':\n if (util.isDigit(value[i + 1])) {\n product += '\\\\x00'\n continue\n }\n }\n\n if (replacements[c]) {\n product += replacements[c]\n continue\n }\n\n if (c < ' ') {\n let hexString = c.charCodeAt(0).toString(16)\n product += '\\\\x' + ('00' + hexString).substring(hexString.length)\n continue\n }\n\n product += c\n }\n\n const quoteChar = quote || Object.keys(quotes).reduce((a, b) => (quotes[a] < quotes[b]) ? a : b)\n\n product = product.replace(new RegExp(quoteChar, 'g'), replacements[quoteChar])\n\n return quoteChar + product + quoteChar\n }\n\n function serializeObject (value) {\n if (stack.indexOf(value) >= 0) {\n throw TypeError('Converting circular structure to JSON5')\n }\n\n stack.push(value)\n\n let stepback = indent\n indent = indent + gap\n\n let keys = propertyList || Object.keys(value)\n let partial = []\n for (const key of keys) {\n const propertyString = serializeProperty(key, value)\n if (propertyString !== undefined) {\n let member = serializeKey(key) + ':'\n if (gap !== '') {\n member += ' '\n }\n member += propertyString\n partial.push(member)\n }\n }\n\n let final\n if (partial.length === 0) {\n final = '{}'\n } else {\n let properties\n if (gap === '') {\n properties = partial.join(',')\n final = '{' + properties + '}'\n } else {\n let separator = ',\\n' + indent\n properties = partial.join(separator)\n final = '{\\n' + indent + properties + ',\\n' + stepback + '}'\n }\n }\n\n stack.pop()\n indent = stepback\n return final\n }\n\n function serializeKey (key) {\n if (key.length === 0) {\n return quoteString(key, true)\n }\n\n const firstChar = String.fromCodePoint(key.codePointAt(0))\n if (!util.isIdStartChar(firstChar)) {\n return quoteString(key, true)\n }\n\n for (let i = firstChar.length; i < key.length; i++) {\n if (!util.isIdContinueChar(String.fromCodePoint(key.codePointAt(i)))) {\n return quoteString(key, true)\n }\n }\n\n return key\n }\n\n function serializeArray (value) {\n if (stack.indexOf(value) >= 0) {\n throw TypeError('Converting circular structure to JSON5')\n }\n\n stack.push(value)\n\n let stepback = indent\n indent = indent + gap\n\n let partial = []\n for (let i = 0; i < value.length; i++) {\n const propertyString = serializeProperty(String(i), value)\n partial.push((propertyString !== undefined) ? propertyString : 'null')\n }\n\n let final\n if (partial.length === 0) {\n final = '[]'\n } else {\n if (gap === '') {\n let properties = partial.join(',')\n final = '[' + properties + ']'\n } else {\n let separator = ',\\n' + indent\n let properties = partial.join(separator)\n final = '[\\n' + indent + properties + ',\\n' + stepback + ']'\n }\n }\n\n stack.pop()\n indent = stepback\n return final\n }\n}\n"]} \ No newline at end of file diff --git a/source/miniprogram_npm/semver/index.js b/source/miniprogram_npm/semver/index.js index 1ddcc9f..9dd1ec0 100644 --- a/source/miniprogram_npm/semver/index.js +++ b/source/miniprogram_npm/semver/index.js @@ -4,7 +4,7 @@ var __DEFINE__ = function(modId, func, req) { var m = { exports: {}, _tempexport var __REQUIRE__ = function(modId, source) { if(!__MODS__[modId]) return require(source); if(!__MODS__[modId].status) { var m = __MODS__[modId].m; m._exports = m._tempexports; var desp = Object.getOwnPropertyDescriptor(m, "exports"); if (desp && desp.configurable) Object.defineProperty(m, "exports", { set: function (val) { if(typeof val === "object" && val !== m._exports) { m._exports.__proto__ = val.__proto__; Object.keys(val).forEach(function (k) { m._exports[k] = val[k]; }); } m._tempexports = val }, get: function () { return m._tempexports; } }); __MODS__[modId].status = 1; __MODS__[modId].func(__MODS__[modId].req, m, m.exports); } return __MODS__[modId].m.exports; }; var __REQUIRE_WILDCARD__ = function(obj) { if(obj && obj.__esModule) { return obj; } else { var newObj = {}; if(obj != null) { for(var k in obj) { if (Object.prototype.hasOwnProperty.call(obj, k)) newObj[k] = obj[k]; } } newObj.default = obj; return newObj; } }; var __REQUIRE_DEFAULT__ = function(obj) { return obj && obj.__esModule ? obj.default : obj; }; -__DEFINE__(1729229924425, function(require, module, exports) { +__DEFINE__(1731673244403, function(require, module, exports) { // just pre-load all the stuff that index.js lazily exports const internalRe = require('./internal/re') const constants = require('./internal/constants') @@ -95,8 +95,8 @@ module.exports = { rcompareIdentifiers: identifiers.rcompareIdentifiers, } -}, function(modId) {var map = {"./internal/re":1729229924426,"./internal/constants":1729229924427,"./classes/semver":1729229924429,"./internal/identifiers":1729229924431,"./functions/parse":1729229924432,"./functions/valid":1729229924433,"./functions/clean":1729229924434,"./functions/inc":1729229924435,"./functions/diff":1729229924436,"./functions/major":1729229924437,"./functions/minor":1729229924438,"./functions/patch":1729229924439,"./functions/prerelease":1729229924440,"./functions/compare":1729229924441,"./functions/rcompare":1729229924442,"./functions/compare-loose":1729229924443,"./functions/compare-build":1729229924444,"./functions/sort":1729229924445,"./functions/rsort":1729229924446,"./functions/gt":1729229924447,"./functions/lt":1729229924448,"./functions/eq":1729229924449,"./functions/neq":1729229924450,"./functions/gte":1729229924451,"./functions/lte":1729229924452,"./functions/cmp":1729229924453,"./functions/coerce":1729229924454,"./classes/comparator":1729229924455,"./classes/range":1729229924456,"./functions/satisfies":1729229924458,"./ranges/to-comparators":1729229924459,"./ranges/max-satisfying":1729229924460,"./ranges/min-satisfying":1729229924461,"./ranges/min-version":1729229924462,"./ranges/valid":1729229924463,"./ranges/outside":1729229924464,"./ranges/gtr":1729229924465,"./ranges/ltr":1729229924466,"./ranges/intersects":1729229924467,"./ranges/simplify":1729229924468,"./ranges/subset":1729229924469}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924426, function(require, module, exports) { +}, function(modId) {var map = {"./internal/re":1731673244404,"./internal/constants":1731673244405,"./classes/semver":1731673244407,"./internal/identifiers":1731673244409,"./functions/parse":1731673244410,"./functions/valid":1731673244411,"./functions/clean":1731673244412,"./functions/inc":1731673244413,"./functions/diff":1731673244414,"./functions/major":1731673244415,"./functions/minor":1731673244416,"./functions/patch":1731673244417,"./functions/prerelease":1731673244418,"./functions/compare":1731673244419,"./functions/rcompare":1731673244420,"./functions/compare-loose":1731673244421,"./functions/compare-build":1731673244422,"./functions/sort":1731673244423,"./functions/rsort":1731673244424,"./functions/gt":1731673244425,"./functions/lt":1731673244426,"./functions/eq":1731673244427,"./functions/neq":1731673244428,"./functions/gte":1731673244429,"./functions/lte":1731673244430,"./functions/cmp":1731673244431,"./functions/coerce":1731673244432,"./classes/comparator":1731673244433,"./classes/range":1731673244434,"./functions/satisfies":1731673244436,"./ranges/to-comparators":1731673244437,"./ranges/max-satisfying":1731673244438,"./ranges/min-satisfying":1731673244439,"./ranges/min-version":1731673244440,"./ranges/valid":1731673244441,"./ranges/outside":1731673244442,"./ranges/gtr":1731673244443,"./ranges/ltr":1731673244444,"./ranges/intersects":1731673244445,"./ranges/simplify":1731673244446,"./ranges/subset":1731673244447}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244404, function(require, module, exports) { const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, @@ -315,8 +315,8 @@ createToken('STAR', '(<|>)?=?\\s*\\*') createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$') createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$') -}, function(modId) { var map = {"./constants":1729229924427,"./debug":1729229924428}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924427, function(require, module, exports) { +}, function(modId) { var map = {"./constants":1731673244405,"./debug":1731673244406}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244405, function(require, module, exports) { // Note: this is the semver.org version of the spec that it implements // Not necessarily the package version of this code. const SEMVER_SPEC_VERSION = '2.0.0' @@ -354,7 +354,7 @@ module.exports = { } }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924428, function(require, module, exports) { +__DEFINE__(1731673244406, function(require, module, exports) { const debug = ( typeof process === 'object' && process.env && @@ -366,7 +366,7 @@ const debug = ( module.exports = debug }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924429, function(require, module, exports) { +__DEFINE__(1731673244407, function(require, module, exports) { const debug = require('../internal/debug') const { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants') const { safeRe: re, t } = require('../internal/re') @@ -670,8 +670,8 @@ class SemVer { module.exports = SemVer -}, function(modId) { var map = {"../internal/debug":1729229924428,"../internal/constants":1729229924427,"../internal/re":1729229924426,"../internal/parse-options":1729229924430,"../internal/identifiers":1729229924431}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924430, function(require, module, exports) { +}, function(modId) { var map = {"../internal/debug":1731673244406,"../internal/constants":1731673244405,"../internal/re":1731673244404,"../internal/parse-options":1731673244408,"../internal/identifiers":1731673244409}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244408, function(require, module, exports) { // parse out just the options we care about const looseOption = Object.freeze({ loose: true }) const emptyOpts = Object.freeze({ }) @@ -689,7 +689,7 @@ const parseOptions = options => { module.exports = parseOptions }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924431, function(require, module, exports) { +__DEFINE__(1731673244409, function(require, module, exports) { const numeric = /^[0-9]+$/ const compareIdentifiers = (a, b) => { const anum = numeric.test(a) @@ -715,7 +715,7 @@ module.exports = { } }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924432, function(require, module, exports) { +__DEFINE__(1731673244410, function(require, module, exports) { const SemVer = require('../classes/semver') const parse = (version, options, throwErrors = false) => { if (version instanceof SemVer) { @@ -733,8 +733,8 @@ const parse = (version, options, throwErrors = false) => { module.exports = parse -}, function(modId) { var map = {"../classes/semver":1729229924429}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924433, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244411, function(require, module, exports) { const parse = require('./parse') const valid = (version, options) => { const v = parse(version, options) @@ -742,8 +742,8 @@ const valid = (version, options) => { } module.exports = valid -}, function(modId) { var map = {"./parse":1729229924432}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924434, function(require, module, exports) { +}, function(modId) { var map = {"./parse":1731673244410}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244412, function(require, module, exports) { const parse = require('./parse') const clean = (version, options) => { const s = parse(version.trim().replace(/^[=v]+/, ''), options) @@ -751,8 +751,8 @@ const clean = (version, options) => { } module.exports = clean -}, function(modId) { var map = {"./parse":1729229924432}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924435, function(require, module, exports) { +}, function(modId) { var map = {"./parse":1731673244410}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244413, function(require, module, exports) { const SemVer = require('../classes/semver') const inc = (version, release, options, identifier, identifierBase) => { @@ -773,8 +773,8 @@ const inc = (version, release, options, identifier, identifierBase) => { } module.exports = inc -}, function(modId) { var map = {"../classes/semver":1729229924429}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924436, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244414, function(require, module, exports) { const parse = require('./parse.js') const diff = (version1, version2) => { @@ -841,26 +841,26 @@ const diff = (version1, version2) => { module.exports = diff -}, function(modId) { var map = {"./parse.js":1729229924432}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924437, function(require, module, exports) { +}, function(modId) { var map = {"./parse.js":1731673244410}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244415, function(require, module, exports) { const SemVer = require('../classes/semver') const major = (a, loose) => new SemVer(a, loose).major module.exports = major -}, function(modId) { var map = {"../classes/semver":1729229924429}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924438, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244416, function(require, module, exports) { const SemVer = require('../classes/semver') const minor = (a, loose) => new SemVer(a, loose).minor module.exports = minor -}, function(modId) { var map = {"../classes/semver":1729229924429}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924439, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244417, function(require, module, exports) { const SemVer = require('../classes/semver') const patch = (a, loose) => new SemVer(a, loose).patch module.exports = patch -}, function(modId) { var map = {"../classes/semver":1729229924429}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924440, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244418, function(require, module, exports) { const parse = require('./parse') const prerelease = (version, options) => { const parsed = parse(version, options) @@ -868,28 +868,28 @@ const prerelease = (version, options) => { } module.exports = prerelease -}, function(modId) { var map = {"./parse":1729229924432}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924441, function(require, module, exports) { +}, function(modId) { var map = {"./parse":1731673244410}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244419, function(require, module, exports) { const SemVer = require('../classes/semver') const compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose)) module.exports = compare -}, function(modId) { var map = {"../classes/semver":1729229924429}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924442, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244420, function(require, module, exports) { const compare = require('./compare') const rcompare = (a, b, loose) => compare(b, a, loose) module.exports = rcompare -}, function(modId) { var map = {"./compare":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924443, function(require, module, exports) { +}, function(modId) { var map = {"./compare":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244421, function(require, module, exports) { const compare = require('./compare') const compareLoose = (a, b) => compare(a, b, true) module.exports = compareLoose -}, function(modId) { var map = {"./compare":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924444, function(require, module, exports) { +}, function(modId) { var map = {"./compare":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244422, function(require, module, exports) { const SemVer = require('../classes/semver') const compareBuild = (a, b, loose) => { const versionA = new SemVer(a, loose) @@ -898,56 +898,56 @@ const compareBuild = (a, b, loose) => { } module.exports = compareBuild -}, function(modId) { var map = {"../classes/semver":1729229924429}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924445, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244423, function(require, module, exports) { const compareBuild = require('./compare-build') const sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose)) module.exports = sort -}, function(modId) { var map = {"./compare-build":1729229924444}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924446, function(require, module, exports) { +}, function(modId) { var map = {"./compare-build":1731673244422}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244424, function(require, module, exports) { const compareBuild = require('./compare-build') const rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose)) module.exports = rsort -}, function(modId) { var map = {"./compare-build":1729229924444}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924447, function(require, module, exports) { +}, function(modId) { var map = {"./compare-build":1731673244422}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244425, function(require, module, exports) { const compare = require('./compare') const gt = (a, b, loose) => compare(a, b, loose) > 0 module.exports = gt -}, function(modId) { var map = {"./compare":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924448, function(require, module, exports) { +}, function(modId) { var map = {"./compare":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244426, function(require, module, exports) { const compare = require('./compare') const lt = (a, b, loose) => compare(a, b, loose) < 0 module.exports = lt -}, function(modId) { var map = {"./compare":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924449, function(require, module, exports) { +}, function(modId) { var map = {"./compare":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244427, function(require, module, exports) { const compare = require('./compare') const eq = (a, b, loose) => compare(a, b, loose) === 0 module.exports = eq -}, function(modId) { var map = {"./compare":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924450, function(require, module, exports) { +}, function(modId) { var map = {"./compare":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244428, function(require, module, exports) { const compare = require('./compare') const neq = (a, b, loose) => compare(a, b, loose) !== 0 module.exports = neq -}, function(modId) { var map = {"./compare":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924451, function(require, module, exports) { +}, function(modId) { var map = {"./compare":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244429, function(require, module, exports) { const compare = require('./compare') const gte = (a, b, loose) => compare(a, b, loose) >= 0 module.exports = gte -}, function(modId) { var map = {"./compare":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924452, function(require, module, exports) { +}, function(modId) { var map = {"./compare":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244430, function(require, module, exports) { const compare = require('./compare') const lte = (a, b, loose) => compare(a, b, loose) <= 0 module.exports = lte -}, function(modId) { var map = {"./compare":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924453, function(require, module, exports) { +}, function(modId) { var map = {"./compare":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244431, function(require, module, exports) { const eq = require('./eq') const neq = require('./neq') const gt = require('./gt') @@ -1001,8 +1001,8 @@ const cmp = (a, op, b, loose) => { } module.exports = cmp -}, function(modId) { var map = {"./eq":1729229924449,"./neq":1729229924450,"./gt":1729229924447,"./gte":1729229924451,"./lt":1729229924448,"./lte":1729229924452}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924454, function(require, module, exports) { +}, function(modId) { var map = {"./eq":1731673244427,"./neq":1731673244428,"./gt":1731673244425,"./gte":1731673244429,"./lt":1731673244426,"./lte":1731673244430}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244432, function(require, module, exports) { const SemVer = require('../classes/semver') const parse = require('./parse') const { safeRe: re, t } = require('../internal/re') @@ -1064,8 +1064,8 @@ const coerce = (version, options) => { } module.exports = coerce -}, function(modId) { var map = {"../classes/semver":1729229924429,"./parse":1729229924432,"../internal/re":1729229924426}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924455, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407,"./parse":1731673244410,"../internal/re":1731673244404}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244433, function(require, module, exports) { const ANY = Symbol('SemVer ANY') // hoisted class for cyclic dependency class Comparator { @@ -1208,8 +1208,8 @@ const debug = require('../internal/debug') const SemVer = require('./semver') const Range = require('./range') -}, function(modId) { var map = {"../internal/parse-options":1729229924430,"../internal/re":1729229924426,"../functions/cmp":1729229924453,"../internal/debug":1729229924428,"./semver":1729229924429,"./range":1729229924456}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924456, function(require, module, exports) { +}, function(modId) { var map = {"../internal/parse-options":1731673244408,"../internal/re":1731673244404,"../functions/cmp":1731673244431,"../internal/debug":1731673244406,"./semver":1731673244407,"./range":1731673244434}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244434, function(require, module, exports) { const SPACE_CHARACTERS = /\s+/g // hoisted class for cyclic dependency @@ -1765,8 +1765,8 @@ const testSet = (set, version, options) => { return true } -}, function(modId) { var map = {"../internal/lrucache":1729229924457,"../internal/parse-options":1729229924430,"./comparator":1729229924455,"../internal/debug":1729229924428,"./semver":1729229924429,"../internal/re":1729229924426,"../internal/constants":1729229924427}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924457, function(require, module, exports) { +}, function(modId) { var map = {"../internal/lrucache":1731673244435,"../internal/parse-options":1731673244408,"./comparator":1731673244433,"../internal/debug":1731673244406,"./semver":1731673244407,"../internal/re":1731673244404,"../internal/constants":1731673244405}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244435, function(require, module, exports) { class LRUCache { constructor () { this.max = 1000 @@ -1809,7 +1809,7 @@ class LRUCache { module.exports = LRUCache }, function(modId) { var map = {}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924458, function(require, module, exports) { +__DEFINE__(1731673244436, function(require, module, exports) { const Range = require('../classes/range') const satisfies = (version, range, options) => { try { @@ -1821,8 +1821,8 @@ const satisfies = (version, range, options) => { } module.exports = satisfies -}, function(modId) { var map = {"../classes/range":1729229924456}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924459, function(require, module, exports) { +}, function(modId) { var map = {"../classes/range":1731673244434}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244437, function(require, module, exports) { const Range = require('../classes/range') // Mostly just for testing and legacy API reasons @@ -1832,8 +1832,8 @@ const toComparators = (range, options) => module.exports = toComparators -}, function(modId) { var map = {"../classes/range":1729229924456}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924460, function(require, module, exports) { +}, function(modId) { var map = {"../classes/range":1731673244434}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244438, function(require, module, exports) { const SemVer = require('../classes/semver') const Range = require('../classes/range') @@ -1860,8 +1860,8 @@ const maxSatisfying = (versions, range, options) => { } module.exports = maxSatisfying -}, function(modId) { var map = {"../classes/semver":1729229924429,"../classes/range":1729229924456}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924461, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407,"../classes/range":1731673244434}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244439, function(require, module, exports) { const SemVer = require('../classes/semver') const Range = require('../classes/range') const minSatisfying = (versions, range, options) => { @@ -1887,8 +1887,8 @@ const minSatisfying = (versions, range, options) => { } module.exports = minSatisfying -}, function(modId) { var map = {"../classes/semver":1729229924429,"../classes/range":1729229924456}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924462, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407,"../classes/range":1731673244434}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244440, function(require, module, exports) { const SemVer = require('../classes/semver') const Range = require('../classes/range') const gt = require('../functions/gt') @@ -1951,8 +1951,8 @@ const minVersion = (range, loose) => { } module.exports = minVersion -}, function(modId) { var map = {"../classes/semver":1729229924429,"../classes/range":1729229924456,"../functions/gt":1729229924447}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924463, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407,"../classes/range":1731673244434,"../functions/gt":1731673244425}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244441, function(require, module, exports) { const Range = require('../classes/range') const validRange = (range, options) => { try { @@ -1965,8 +1965,8 @@ const validRange = (range, options) => { } module.exports = validRange -}, function(modId) { var map = {"../classes/range":1729229924456}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924464, function(require, module, exports) { +}, function(modId) { var map = {"../classes/range":1731673244434}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244442, function(require, module, exports) { const SemVer = require('../classes/semver') const Comparator = require('../classes/comparator') const { ANY } = Comparator @@ -2048,22 +2048,22 @@ const outside = (version, range, hilo, options) => { module.exports = outside -}, function(modId) { var map = {"../classes/semver":1729229924429,"../classes/comparator":1729229924455,"../classes/range":1729229924456,"../functions/satisfies":1729229924458,"../functions/gt":1729229924447,"../functions/lt":1729229924448,"../functions/lte":1729229924452,"../functions/gte":1729229924451}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924465, function(require, module, exports) { +}, function(modId) { var map = {"../classes/semver":1731673244407,"../classes/comparator":1731673244433,"../classes/range":1731673244434,"../functions/satisfies":1731673244436,"../functions/gt":1731673244425,"../functions/lt":1731673244426,"../functions/lte":1731673244430,"../functions/gte":1731673244429}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244443, function(require, module, exports) { // Determine if version is greater than all the versions possible in the range. const outside = require('./outside') const gtr = (version, range, options) => outside(version, range, '>', options) module.exports = gtr -}, function(modId) { var map = {"./outside":1729229924464}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924466, function(require, module, exports) { +}, function(modId) { var map = {"./outside":1731673244442}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244444, function(require, module, exports) { const outside = require('./outside') // Determine if version is less than all the versions possible in the range const ltr = (version, range, options) => outside(version, range, '<', options) module.exports = ltr -}, function(modId) { var map = {"./outside":1729229924464}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924467, function(require, module, exports) { +}, function(modId) { var map = {"./outside":1731673244442}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244445, function(require, module, exports) { const Range = require('../classes/range') const intersects = (r1, r2, options) => { r1 = new Range(r1, options) @@ -2072,8 +2072,8 @@ const intersects = (r1, r2, options) => { } module.exports = intersects -}, function(modId) { var map = {"../classes/range":1729229924456}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924468, function(require, module, exports) { +}, function(modId) { var map = {"../classes/range":1731673244434}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244446, function(require, module, exports) { // given a set of versions and a range, create a "simplified" range // that includes the same versions that the original range does // If the original range is shorter than the simplified one, return that. @@ -2122,8 +2122,8 @@ module.exports = (versions, range, options) => { return simplified.length < original.length ? simplified : range } -}, function(modId) { var map = {"../functions/satisfies.js":1729229924458,"../functions/compare.js":1729229924441}; return __REQUIRE__(map[modId], modId); }) -__DEFINE__(1729229924469, function(require, module, exports) { +}, function(modId) { var map = {"../functions/satisfies.js":1731673244436,"../functions/compare.js":1731673244419}; return __REQUIRE__(map[modId], modId); }) +__DEFINE__(1731673244447, function(require, module, exports) { const Range = require('../classes/range.js') const Comparator = require('../classes/comparator.js') const { ANY } = Comparator @@ -2372,8 +2372,8 @@ const lowerLT = (a, b, options) => { module.exports = subset -}, function(modId) { var map = {"../classes/range.js":1729229924456,"../classes/comparator.js":1729229924455,"../functions/satisfies.js":1729229924458,"../functions/compare.js":1729229924441}; return __REQUIRE__(map[modId], modId); }) -return __REQUIRE__(1729229924425); +}, function(modId) { var map = {"../classes/range.js":1731673244434,"../classes/comparator.js":1731673244433,"../functions/satisfies.js":1731673244436,"../functions/compare.js":1731673244419}; return __REQUIRE__(map[modId], modId); }) +return __REQUIRE__(1731673244403); })() //miniprogram-npm-outsideDeps=[] //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/source/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxml b/source/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxml index b743cad..3928217 100644 --- a/source/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxml +++ b/source/miniprogram_npm/tdesign-miniprogram/action-sheet/action-sheet.wxml @@ -42,7 +42,7 @@ bind:tap="onCancel" aria-role="button" > - {{ cancelText }} + {{ cancelText || '取消' }} diff --git a/source/miniprogram_npm/tdesign-miniprogram/back-top/back-top.wxss b/source/miniprogram_npm/tdesign-miniprogram/back-top/back-top.wxss index 17dd181..7907024 100644 --- a/source/miniprogram_npm/tdesign-miniprogram/back-top/back-top.wxss +++ b/source/miniprogram_npm/tdesign-miniprogram/back-top/back-top.wxss @@ -55,7 +55,7 @@ } .t-back-top--round-dark, .t-back-top--half-round-dark { - color: var(--td-back-top-round-dark-color, var(--td-font-white-1, #ffffff)); + color: var(--td-back-top-round-dark-color, var(--td-text-color-anti, var(--td-font-white-1, #ffffff))); background-color: var(--td-back-top-round-dark-bg-color, var(--td-gray-color-13, #242424)); } .t-back-top--half-round, diff --git a/source/miniprogram_npm/tdesign-miniprogram/badge/badge.wxss b/source/miniprogram_npm/tdesign-miniprogram/badge/badge.wxss index 347280f..5398f03 100644 --- a/source/miniprogram_npm/tdesign-miniprogram/badge/badge.wxss +++ b/source/miniprogram_npm/tdesign-miniprogram/badge/badge.wxss @@ -34,7 +34,7 @@ z-index: 100; padding: 0 var(--td-badge-basic-padding, 8rpx); font-size: var(--td-badge-font-size, var(--td-font-size-xs, var(--td-font-size, 20rpx))); - color: var(--td-badge-text-color, var(--td-font-white-1, #ffffff)); + color: var(--td-badge-text-color, var(--td-text-color-anti, var(--td-font-white-1, #ffffff))); background-color: var(--td-badge-bg-color, var(--td-error-color, var(--td-error-color-6, #d54941))); text-align: center; height: var(--td-badge-basic-height, 32rpx); diff --git a/source/miniprogram_npm/tdesign-miniprogram/button/button.js b/source/miniprogram_npm/tdesign-miniprogram/button/button.js index 24b9f93..5449818 100644 --- a/source/miniprogram_npm/tdesign-miniprogram/button/button.js +++ b/source/miniprogram_npm/tdesign-miniprogram/button/button.js @@ -8,7 +8,7 @@ import { SuperComponent, wxComponent } from '../common/src/index'; import config from '../common/config'; import props from './props'; import { canIUseFormFieldButton } from '../common/version'; -import { setIcon } from '../common/utils'; +import { calcIcon } from '../common/utils'; const { prefix } = config; const name = `${prefix}-button`; let Button = class Button extends SuperComponent { @@ -30,8 +30,9 @@ let Button = class Button extends SuperComponent { this.setClass(); }, icon(icon) { - const obj = setIcon('icon', icon, ''); - this.setData(Object.assign({}, obj)); + this.setData({ + _icon: calcIcon(icon, ''), + }); }, }; this.lifetimes = { diff --git a/source/miniprogram_npm/tdesign-miniprogram/button/button.wxml b/source/miniprogram_npm/tdesign-miniprogram/button/button.wxml index 0187f5f..895b227 100644 --- a/source/miniprogram_npm/tdesign-miniprogram/button/button.wxml +++ b/source/miniprogram_npm/tdesign-miniprogram/button/button.wxml @@ -31,9 +31,9 @@ aria-label="{{ariaLabel}}" >