diff --git a/.cursor/agent/软件测试/evolution/2026-03-15-全站深度测试42问题.md b/.cursor/agent/软件测试/evolution/2026-03-15-全站深度测试42问题.md new file mode 100644 index 00000000..7ef94991 --- /dev/null +++ b/.cursor/agent/软件测试/evolution/2026-03-15-全站深度测试42问题.md @@ -0,0 +1,44 @@ +# 2026-03-15 Soul 创业派对全站深度测试 + +## 问题背景 + +对 Soul 创业派对项目进行首次全站深度测试(只检测不修改),覆盖管理端 20+ 页面、35 个 API 端点、25 个小程序页面、25 张数据库表。 + +## 解决过程 + +### 测试方法 +1. 环境检查:确认后端/前端/数据库运行状态 +2. 管理端浏览器测试:逐页逐按钮截图检查 +3. API 端点测试:curl 逐个测试 35 个端点,含安全边界测试 +4. 小程序代码审查:25 个页面 + 8 个工具文件全量代码阅读 +5. 数据库一致性检查:交叉验证各 API 数据 + +### 关键发现(42 个问题) +- 严重 11 个:OSS 密钥泄露、登录守卫缺失、小程序模块混用、废弃 API +- 高 13 个:硬编码、API 失败伪装成功、分页缺失 +- 中 12 个:调试日志残留、模拟数据未清理 +- 低 6 个:版本号未设置等 + +## 可提炼规则 + +### 安全测试 +1. **密钥脱敏是硬性规则**:任何返回配置的 API,密钥类字段必须脱敏 +2. **SPA 路由守卫必查**:直接访问后台路径测试 +3. **上传接口安全测试**:非图片文件、超大文件、空文件 + +### API 测试 +4. **响应字段名不能假设**:先 print keys() 再解析,不同端点可能用 data/results/orders/records +5. **分页必须翻页验证**:测第一页也测 page=2 +6. **交叉验证**:stats 的总数 vs list API 的实际条数 + +### 小程序测试 +7. **废弃 API 年检制度**:每年核对微信基础库废弃列表 +8. **模块语法统一检查**:grep -rn "export default" 快速排查 +9. **死代码扫描**:utils/ 每个文件是否被 pages/ 引用 + +### 数据库测试 +10. **空表不代表无问题**:空表可能是同步逻辑失效 + +## 适用角色 + +- target_roles: ["软件测试", "团队"] diff --git a/.cursor/agent/软件测试/evolution/索引.md b/.cursor/agent/软件测试/evolution/索引.md index f37d3a03..15cc2779 100644 --- a/.cursor/agent/软件测试/evolution/索引.md +++ b/.cursor/agent/软件测试/evolution/索引.md @@ -2,6 +2,7 @@ | 日期 | 摘要 | 文件 | |------|------|------| +| 2026-03-15 | **全站深度测试(42个问题)**:管理端20+页面截图测试、35个API端点、25个小程序页面代码审查、25张数据库表;严重11/高13/中12/低6;沉淀安全测试/API测试/小程序测试/数据库测试方法论 | [2026-03-15-全站深度测试42问题.md](./2026-03-15-全站深度测试42问题.md) | +| 2026-03-10 | 管理端迁移 Mycontent-temp:菜单一致性、隐藏路由可达性、鉴权与跳转回归 | [2026-03-10.md](./2026-03-10.md) | | 2026-03-05 | 分支合并后回归清单制定;三端联调验证 | [2026-03-05.md](./2026-03-05.md) | | 2026-03-05 | 文章详情@某人:@ 展示与添加好友用例、联调与回归点 | [2026-03-05.md](./2026-03-05.md) | -| 2026-03-10 | 管理端迁移 Mycontent-temp:菜单一致性、隐藏路由可达性、鉴权与跳转回归 | [2026-03-10.md](./2026-03-10.md) | diff --git a/.cursor/skills/testing/SKILL.md b/.cursor/skills/testing/SKILL.md index 6de3822a..42063831 100644 --- a/.cursor/skills/testing/SKILL.md +++ b/.cursor/skills/testing/SKILL.md @@ -1,72 +1,225 @@ --- name: soul-tester -description: Soul 创业派对测试人员。功能测试、回归测试、三端(小程序、管理端、API)联调验证。Use when 测试, 测试用例, 回归测试, 功能测试, QA. +description: Soul 创业派对测试人员。全站深度测试、功能测试、回归测试、三端联调验证、安全审计。Use when 测试, 测试用例, 回归测试, 功能测试, QA, 全站测试, 深度测试. +version: "2.0" +updated: "2026-03-15" --- -# Soul 创业派对 - 测试人员 Skill +# Soul 创业派对 - 测试 Skill v2.0 -当你在**功能测试、回归测试、三端联调验证**时,使用本 Skill。测试人员负责小程序、管理端、API 的功能与集成测试,不参与源码编写。 +> **定位**:Soul 创业派对项目的专业测试规范。基于 2026-03-15 全站深度测试经验沉淀,覆盖管理端、小程序、API、数据库四个维度。 +> +> **核心原则**:逐页逐按钮逐功能,三端隔离验证,数据交叉校验,安全必查。 --- -## 1. 职责范围 +## 1. 测试范围 -| 职责 | 说明 | 产出 | -|------|------|------| -| 功能测试 | 按需求验证功能正确性 | 测试用例、通过/失败记录 | -| 回归测试 | 变更后验证原有功能未破坏 | 回归清单、测试报告 | -| 三端联调 | 小程序↔API、管理端↔API 数据流验证 | 联调记录 | -| Bug 反馈 | 复现步骤、环境、期望 vs 实际 | Bug 列表、复现说明 | +| 端 | 目录 | API 路径 | 数据表 | +|----|------|----------|--------| +| 管理端 | soul-admin/ | /api/admin/*, /api/db/* | 25 张表 | +| 小程序 | miniprogram/ | /api/miniprogram/* | 同上 | +| API 后端 | soul-api/ | 全部 | 同上 | +| 数据库 | MySQL | — | users, chapters, orders 等 25 张 | --- -## 2. 测试范围 +## 2. 测试执行检查清单(每次必做) -| 端 | 目录 | API 路径 | 重点 | -|----|------|----------|------| -| 小程序 | miniprogram/ | /api/miniprogram/* | 登录、支付、推荐码、VIP、阅读、分享 | -| 管理端 | soul-admin/ | /api/admin/*、/api/db/* | 内容管理、用户、订单、提现、VIP 角色、推广设置 | -| API 后端 | soul-api/ | 全部 | 接口契约、鉴权、分润、支付回调 | +### 2.1 环境检查(Step 0) +- [ ] 后端 API 运行(`curl localhost:8080/health`) +- [ ] 管理端前端运行(`curl localhost:5174`) +- [ ] 数据库连接正常(通过 /api/book/stats 间接验证) +- [ ] OSS 配置状态(/api/admin/settings → ossConfig 有值) + +### 2.2 管理端页面检查(24 个页面/子Tab) + +**登录** +- [ ] 登录页 UI 完整(表单、按钮、品牌标识) +- [ ] 错误凭据有明确错误提示 +- [ ] 正确凭据登录成功跳转 +- [ ] **路由守卫**:未登录直接访问 /dashboard 应跳转 /login + +**仪表盘** +- [ ] 4 个统计卡片数据正确(用户数、收入、订单数、转化率) +- [ ] 最近订单列表有数据 +- [ ] 新注册用户列表**用户名不应显示为"-"** +- [ ] 分类标签点击统计有数据或合理空状态提示 + +**内容管理**(5 个 Tab) +- [ ] 章节管理:树结构完整,篇/章/节层级 +- [ ] 内容排行榜:排名、浏览量、付费数、热度完整 +- [ ] 内容搜索:搜索框可用 +- [ ] 链接人与事:AI 列表展示 +- [ ] 链接标签:标签 CRUD + +**用户管理**(2 个 Tab) +- [ ] 用户列表:昵称、手机号、付费状态、分销、分页 +- [ ] 用户旅程:8 阶段漏斗数据 + +**找伙伴**(5 个 Tab) +- [ ] 数据统计:匹配次数、用户数、AI 获客 +- [ ] 匹配记录:列表展示 +- [ ] 匹配池设置:来源池、基础设置 +- [ ] 导师管理:导师列表和价格 +- [ ] 团队招募:招募记录 + +**推广中心**(5 个 Tab) +- [ ] 数据概览:今日/本月/累计统计 +- [ ] 订单管理:订单列表、搜索、分页 +- [ ] 绑定管理:绑定关系列表 +- [ ] 提现审核:提现记录和审核功能 +- [ ] 推广设置:收益率、提现规则 + +**系统设置**(4 个 Tab) +- [ ] 系统设置:功能开关、价格、OSS、小程序配置 +- [ ] 作者详情:基本信息、统计、亮点 +- [ ] 管理员:管理员列表 +- [ ] API 文档:接口文档完整 + +### 2.3 API 端点检查(35+ 端点) + +**公开 API(无需 Token)** +- [ ] GET /health → 200 +- [ ] GET /api/config → 200,配置完整 +- [ ] GET /api/book/all-chapters → 200,章节数与 DB 一致 +- [ ] GET /api/book/hot → 200,热度排行有数据 +- [ ] GET /api/book/recommended → 200 +- [ ] GET /api/book/search?q=创业 → 200,有结果(注意返回字段是 `results` 不是 `data`) +- [ ] GET /api/book/search?q= → 200,空结果 +- [ ] GET /api/book/stats → 200,交叉验证章节数 + +**小程序 API(无需 Token)** +- [ ] GET /api/miniprogram/config → 200 +- [ ] GET /api/miniprogram/book/hot → 200 +- [ ] GET /api/miniprogram/book/stats → 200 +- [ ] GET /api/miniprogram/mentors → 200 +- [ ] GET /api/miniprogram/vip/members → 200 + +**管理端 API(需 Token)** +- [ ] POST /api/admin → 登录获取 token +- [ ] GET /api/admin/dashboard/stats → 200 +- [ ] GET /api/admin/chapters → 200 +- [ ] GET /api/admin/users → 200 +- [ ] GET /api/admin/orders → 200(注意返回字段 `orders` 不是 `data`) +- [ ] GET /api/admin/track/stats → 200 +- [ ] GET /api/admin/settings → 200(**检查 OSS 密钥是否脱敏**) +- [ ] GET /api/admin/referral-settings → 200 +- [ ] GET /api/admin/author-settings → 200 + +**DB API(需 Token)** +- [ ] GET /api/db/book?action=list → 200 +- [ ] GET /api/db/ckb-leads → 200 +- [ ] GET /api/db/ckb-plan-stats → 200 +- [ ] GET /api/db/vip-roles → 200 +- [ ] GET /api/db/mentors → 200 +- [ ] GET /api/db/persons → 200 + +**安全测试** +- [ ] 无 Token → /api/admin/settings → 401 +- [ ] 错误 Token → /api/admin/settings → 401 +- [ ] POST /api/admin 空 body → 错误提示 +- [ ] POST /api/upload 非图片 → 拒绝 + +### 2.4 数据库检查 + +- [ ] 25 张表结构完整(AutoMigrate 无报错) +- [ ] 关键数据量核对:chapters/users/orders 与 API 一致 +- [ ] 无重复订单号 +- [ ] stats vs all-chapters 章节数交叉验证 +- [ ] orders vs dashboard 收入交叉验证 + +### 2.5 小程序代码审查(25 个页面) + +- [ ] 所有页面 API 路径遵循 `/api/miniprogram/*`(不混调 admin/db) +- [ ] 无废弃 API 使用(wx.getUserProfile / wx.createCanvasContext) +- [ ] 模块导入方式统一(不混用 import/require 和 export default/module.exports) +- [ ] 无未使用工具文件(检查 utils/ 下每个文件是否被引用) +- [ ] 无硬编码(baseUrl/appId/mchId/微信号/日期) +- [ ] 无 mock/test/debug 代码残留 +- [ ] 无过多 console.log 调试日志 +- [ ] 核心流程完整:登录→阅读→购买→VIP→分销→提现→匹配 --- -## 3. 测试原则 +## 3. 安全必查项(每次必做) -- **路径隔离**:小程序只调 miniprogram;管理端只调 admin/db;不得混用。 -- **鉴权**:需登录接口需带 token;401 时正确跳转登录。 -- **数据流**:下单→支付→回调→分润;推荐码绑定→访问记录;VIP 资料保存→排行展示。 -- **变更检查**:开发完成变更后,可参考 soul-change-checklist 做关联检查,避免遗漏。 +| 检查项 | 方法 | 标准 | +|--------|------|------| +| OSS 密钥脱敏 | GET /api/admin/settings 查 ossConfig | accessKeySecret 不应返回明文 | +| 管理端登录守卫 | 直接访问 /dashboard | 应跳转 /login | +| Token 有效性 | 过期/错误 Token 访问管理 API | 返回 401 | +| 上传文件类型限制 | POST /api/upload 上传 .txt | 应拒绝 | +| 支付参数来源 | 审查小程序支付代码 | 参数必须从后端获取 | +| 小程序敏感信息 | 审查 app.js | appId/mchId 不应硬编码 | --- -## 4. 常用测试场景 +## 4. 经验库(持续沉淀) -| 场景 | 验证点 | -|------|--------| -| 小程序登录 | 微信登录、手机号、token 持久化 | -| 购买与支付 | 下单、微信支付、回调更新、购买状态 | -| 推荐与分润 | 扫码/分享带 ref、绑定、分润计算 | -| VIP 功能 | 开通、资料填写、头像上传、保存、排行展示 | -| 管理端 CRUD | 列表、搜索、分页、新增、编辑、删除 | -| 提现 | 申请、审核、状态流转、到账确认 | +### 4.1 API 响应字段陷阱 + +不同端点返回字段名不一致,测试脚本解析前先确认结构: + +| 端点 | 数据字段 | 总数字段 | +|------|----------|----------| +| /api/book/search | `results` | `total` | +| /api/admin/orders | `orders` | `total` | +| /api/admin/users | `records` | `total` | +| /api/admin/settings | 直接在根层 | — | +| /api/book/hot | `data` | — | +| /api/book/stats | `data` | — | + +### 4.2 OSS 上传测试四步法 + +1. **配置验证**:GET /api/admin/settings → ossConfig 有值 +2. **上传测试**:POST /api/upload -F file=@test.png → 返回 storage=oss +3. **URL 可访问**:curl 返回的 URL → HTTP 200 +4. **ACL 策略**:阿里云新账号默认禁止公共访问,需用签名 URL + +### 4.3 小程序代码审查 grep 命令 + +```bash +# 废弃 API 检查 +grep -rn "getUserProfile\|createCanvasContext" miniprogram/ + +# 模块语法混用 +grep -rn "export default" miniprogram/utils/ + +# 硬编码检查 +grep -rn "apiBase\|hardcode\|28533368\|2025-01-01" miniprogram/ + +# mock/test 残留 +grep -rn "mock\|Mock\|测试模式\|test mode" miniprogram/pages/ + +# console.log 统计 +grep -rc "console.log" miniprogram/pages/ | grep -v ":0$" +``` + +### 4.4 通用经验(2026-03-15 沉淀) + +| 经验 | 详情 | +|------|------| +| 密钥返回前端必须脱敏 | 后端 settings API 返回 ossConfig/apiKey 等时,secret 类字段只返回 `****` | +| SPA 管理端必须有路由守卫 | 未登录用户访问任何管理页面必须跳转 /login | +| API 失败绝不伪装成功 | catch 中不可设置 success=true,必须真实反馈 | +| 上线前清理 mock/test 代码 | `grep -r "mock\|test mode\|测试模式"` | +| 上线前清理 console.log | `grep -rc "console.log"` | +| 微信 API 每年检查废弃 | wx.getUserProfile(2022)、wx.createCanvasContext(即将) | +| 三端路径隔离是底线 | 小程序只调 miniprogram,管理端只调 admin/db | +| 聚合统计必须交叉验证 | stats 的数字要与 list API 返回的实际条数对比 | +| 分页必须实际翻页验证 | 不只测第一页,要测 page=2 和超出范围的 page | +| 签名 URL 有有效期 | OSS 私有 bucket 用签名 URL,注意设置足够长的过期时间 | --- ## 5. 产出与协同 -| 产出 | 说明 | +| 产出 | 路径 | |------|------| -| 测试用例 | 场景、步骤、期望结果 | -| 测试报告 | 通过率、失败用例、环境信息 | -| Bug 列表 | 复现步骤、关联端、严重程度 | +| 测试报告 | `开发文档/全站测试报告_YYYYMMDD.md` | +| 截图存档 | 浏览器测试自动截图 | +| 飞书通知 | 测试完成后发飞书开发群 | +| 经验沉淀 | 本文件 §4 + `.cursor/agent/软件测试/evolution/` | -**协同**:发现 Bug 时与对应开发角色(小程序/管理端/后端)对接;验收前完成测试并输出报告。 - ---- - -## 6. 何时使用本 Skill - -- 编写或执行测试用例时 -- 做回归测试、功能验证时 -- 三端联调、接口契约验证时 -- 说「测试」「测试用例」「回归测试」「功能测试」「QA」时 +**协同**:发现 Bug 时与对应角色对接(小程序/管理端/后端),验收前完成测试并输出报告。 diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..c29ddb86 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# 开发文档不上传 GitHub +开发文档/ + +# 常见忽略 +node_modules/ +.DS_Store +*.log +.env +.env.local diff --git a/miniprogram/app.js b/miniprogram/app.js index 1477d529..e6522742 100644 --- a/miniprogram/app.js +++ b/miniprogram/app.js @@ -5,22 +5,43 @@ const { parseScene } = require('./utils/scene.js') +const DEFAULT_BASE_URL = 'https://soulapi.quwanzhi.com' +const DEFAULT_APP_ID = 'wxb8bbb2b10dec74aa' +const DEFAULT_MCH_ID = '1318592501' +const DEFAULT_WITHDRAW_TMPL_ID = 'u3MbZGPRkrZIk-I7QdpwzFxnO_CeQPaCWF2FkiIablE' + +function getRuntimeBootstrapConfig() { + try { + const extCfg = wx.getExtConfigSync ? (wx.getExtConfigSync() || {}) : {} + return { + baseUrl: extCfg.apiBaseUrl || wx.getStorageSync('apiBaseUrl') || DEFAULT_BASE_URL, + appId: extCfg.appId || DEFAULT_APP_ID, + mchId: extCfg.mchId || DEFAULT_MCH_ID, + withdrawSubscribeTmplId: extCfg.withdrawSubscribeTmplId || DEFAULT_WITHDRAW_TMPL_ID + } + } catch (_) { + return { + baseUrl: DEFAULT_BASE_URL, + appId: DEFAULT_APP_ID, + mchId: DEFAULT_MCH_ID, + withdrawSubscribeTmplId: DEFAULT_WITHDRAW_TMPL_ID + } + } +} + +const bootstrapConfig = getRuntimeBootstrapConfig() + App({ globalData: { - // API基础地址 - 连接真实后端 - baseUrl: 'https://soulapi.quwanzhi.com', - // baseUrl: 'https://souldev.quwanzhi.com', - // baseUrl: 'http://localhost:8080', - - - // 小程序配置 - 真实AppID - appId: 'wxb8bbb2b10dec74aa', + // 运行配置:优先外部配置/缓存,其次默认值 + baseUrl: bootstrapConfig.baseUrl, + appId: bootstrapConfig.appId, // 订阅消息:用户点击「申请提现」→「立即提现」时会先弹出订阅授权窗 - withdrawSubscribeTmplId: 'u3MbZGPRkrZIk-I7QdpwzFxnO_CeQPaCWF2FkiIablE', + withdrawSubscribeTmplId: bootstrapConfig.withdrawSubscribeTmplId, // 微信支付配置 - mchId: '1318592501', // 商户号 + mchId: bootstrapConfig.mchId, // 用户信息 userInfo: null, @@ -29,7 +50,8 @@ App({ // 书籍数据 bookData: null, - totalSections: 62, + totalSections: 0, + supportWechat: '', // 购买记录 purchasedSections: [], @@ -86,6 +108,7 @@ App({ // 检查登录状态 this.checkLoginStatus() + this.loadRuntimeConfig() // 加载书籍数据 this.loadBookData() @@ -328,6 +351,23 @@ App({ } }, + async loadRuntimeConfig() { + try { + const res = await this.request({ url: '/api/miniprogram/config', silent: true, timeout: 5000 }) + const mpConfig = res?.mpConfig || {} + this.globalData.baseUrl = mpConfig.apiDomain || this.globalData.baseUrl + this.globalData.appId = mpConfig.appId || this.globalData.appId + this.globalData.mchId = mpConfig.mchId || this.globalData.mchId + this.globalData.withdrawSubscribeTmplId = mpConfig.withdrawSubscribeTmplId || this.globalData.withdrawSubscribeTmplId + this.globalData.supportWechat = mpConfig.supportWechat || mpConfig.customerWechat || mpConfig.serviceWechat || '' + try { + wx.setStorageSync('apiBaseUrl', this.globalData.baseUrl) + } catch (_) {} + } catch (e) { + console.warn('[App] 加载运行配置失败,继续使用默认配置:', e) + } + }, + // 加载书籍数据 async loadBookData() { try { @@ -342,6 +382,7 @@ App({ if (res && (res.data || res.chapters)) { const chapters = res.data || res.chapters || [] this.globalData.bookData = chapters + this.globalData.totalSections = res.total || chapters.length || 0 wx.setStorageSync('bookData', chapters) } } catch (e) { @@ -595,13 +636,6 @@ App({ return null }, - // 模拟登录已废弃 - 不再使用 - // 现在必须使用真实的微信登录获取openId作为唯一标识 - mockLogin() { - console.warn('[App] mockLogin已废弃,请使用真实登录') - return null - }, - // 手机号登录:需同时传 wx.login 的 code 与 getPhoneNumber 的 phoneCode async loginWithPhone(phoneCode) { if (!this.ensureFullAppForAuth()) { diff --git a/miniprogram/pages/chapters/chapters.js b/miniprogram/pages/chapters/chapters.js index 4265b779..b7762e22 100644 --- a/miniprogram/pages/chapters/chapters.js +++ b/miniprogram/pages/chapters/chapters.js @@ -28,11 +28,7 @@ Page({ expandedPart: null, // 附录 - appendixList: [ - { id: 'appendix-1', title: '附录1|Soul派对房精选对话' }, - { id: 'appendix-2', title: '附录2|创业者自检清单' }, - { id: 'appendix-3', title: '附录3|本书提到的工具和资源' } - ], + appendixList: [], // 每日新增章节 dailyChapters: [] @@ -77,6 +73,7 @@ Page({ const totalSections = res.total ?? rows.length app.globalData.bookData = rows + app.globalData.totalSections = totalSections wx.setStorageSync('bookData', rows) // bookData:过滤序言/尾声/附录,按 part 聚合,篇章顺序按 sort_order 与后台一致(含「2026每日派对干货」等) @@ -134,6 +131,16 @@ Page({ })) const baseSort = 62 + const appendixList = rows + .filter(r => { + const partTitle = String(r.partTitle || r.part_title || '') + return partTitle.includes('附录') + }) + .sort((a, b) => (a.sort_order ?? a.sectionOrder ?? 999999) - (b.sort_order ?? b.sectionOrder ?? 999999)) + .map(c => ({ + id: c.id, + title: c.section_title || c.sectionTitle || c.title || c.chapterTitle || '附录' + })) const daily = rows .filter(r => (r.sectionOrder ?? r.sort_order ?? 0) > baseSort) .sort((a, b) => new Date(b.updatedAt || b.updated_at || 0) - new Date(a.updatedAt || a.updated_at || 0)) @@ -152,6 +159,7 @@ Page({ this.setData({ bookData, totalSections, + appendixList, dailyChapters: daily, expandedPart: this.data.expandedPart }) diff --git a/miniprogram/pages/index/index.js b/miniprogram/pages/index/index.js index 84f6845f..d637900c 100644 --- a/miniprogram/pages/index/index.js +++ b/miniprogram/pages/index/index.js @@ -4,8 +4,6 @@ * 技术支持: 存客宝 */ -console.log('[Index] ===== 首页文件开始加载 =====') - const app = getApp() const { trackClick } = require('../../utils/trackClick') const { checkAndExecute } = require('../../utils/ruleEngine') @@ -22,7 +20,7 @@ Page({ readCount: 0, // 书籍数据 - totalSections: 62, + totalSections: 0, bookData: [], // 精选推荐(按热度排行,默认显示3篇,可展开更多) @@ -64,8 +62,6 @@ Page({ }, onLoad(options) { - console.log('[Index] ===== onLoad 触发 =====') - // 获取系统信息 this.setData({ statusBarHeight: app.globalData.statusBarHeight, @@ -74,7 +70,6 @@ Page({ // 处理分享参数(推荐码绑定) if (options && options.ref) { - console.log('[Index] 检测到推荐码:', options.ref) app.handleReferralCode({ query: options }) } @@ -83,16 +78,11 @@ Page({ }, onShow() { - console.log('[Index] onShow 触发') - // 设置TabBar选中状态 if (typeof this.getTabBar === 'function' && this.getTabBar()) { const tabBar = this.getTabBar() - console.log('[Index] TabBar 组件:', tabBar ? '已找到' : '未找到') - // 主动触发配置加载 if (tabBar && tabBar.loadFeatureConfig) { - console.log('[Index] 主动调用 TabBar.loadFeatureConfig()') tabBar.loadFeatureConfig() } @@ -102,8 +92,6 @@ Page({ } else if (tabBar) { tabBar.setData({ selected: 0 }) } - } else { - console.log('[Index] TabBar 组件未找到或 getTabBar 方法不存在') } // 更新用户状态 @@ -139,13 +127,8 @@ Page({ avatar: u.avatar || '', isVip: true })) - if (members.length > 0) { - console.log('[Index] 超级个体加载成功:', members.length, '人') - } } - } catch (e) { - console.log('[Index] vip/members 请求失败:', e) - } + } catch (e) {} // 不足 4 个则用有头像的普通用户补充 if (members.length < 4) { try { @@ -162,7 +145,6 @@ Page({ } this.setData({ superMembers: members, superMembersLoading: false }) } catch (e) { - console.log('[Index] 加载超级个体失败:', e) this.setData({ superMembersLoading: false }) } }, @@ -192,7 +174,7 @@ Page({ featuredExpanded: false, }) } - } catch (e) { console.log('[Index] book/hot 失败:', e) } + } catch (e) {} // 2. 最新更新:用 book/latest-chapters 取第1条(排除「序言」「尾声」「附录」) try { @@ -233,9 +215,7 @@ Page({ }) } } - } catch (e) { - console.log('[Index] 从服务端加载推荐失败:', e) - } + } catch (e) {} }, async loadBookData() { @@ -246,7 +226,7 @@ Page({ const partIds = new Set(chapters.map(c => c.partId || c.part_id || '').filter(Boolean)) this.setData({ bookData: chapters, - totalSections: res.total || chapters.length || 62, + totalSections: res.total || chapters.length || app.globalData.totalSections || 0, partCount: partIds.size || 5 }) } @@ -258,7 +238,7 @@ Page({ // 更新用户状态(已读数 = 用户实际打开过的章节数,仅统计有权限阅读的) updateUserStatus() { const { isLoggedIn, hasFullBook, purchasedSections } = app.globalData - const readCount = Math.min(app.getReadCount(), this.data.totalSections || 62) + const readCount = Math.min(app.getReadCount(), this.data.totalSections || app.globalData.totalSections || 0) this.setData({ isLoggedIn, hasFullBook, @@ -317,12 +297,6 @@ Page({ return } const userId = app.globalData.userInfo.id - // 2 分钟内只能点一次(与后端限频一致) - const leadLastTs = wx.getStorageSync('lead_last_submit_ts') || 0 - if (Date.now() - leadLastTs < 2 * 60 * 1000) { - wx.showToast({ title: '操作太频繁,请2分钟后再试', icon: 'none' }) - return - } let phone = (app.globalData.userInfo.phone || '').trim() let wechatId = (app.globalData.userInfo.wechatId || app.globalData.userInfo.wechat_id || '').trim() let avatar = (app.globalData.userInfo.avatar || app.globalData.userInfo.avatarUrl || '').trim() @@ -363,8 +337,12 @@ Page({ }) wx.hideLoading() if (res && res.success) { - wx.setStorageSync('lead_last_submit_ts', Date.now()) - wx.showToast({ title: res.message || '提交成功', icon: 'success' }) + wx.showModal({ + title: '提交成功', + content: '卡若会主动添加你微信,请注意你的微信消息', + showCancel: false, + confirmText: '好的' + }) } else { wx.showToast({ title: (res && res.message) || '提交失败', icon: 'none' }) } @@ -427,11 +405,6 @@ Page({ wx.showToast({ title: '请输入正确的手机号', icon: 'none' }) return } - const leadLastTs = wx.getStorageSync('lead_last_submit_ts') || 0 - if (Date.now() - leadLastTs < 2 * 60 * 1000) { - wx.showToast({ title: '操作太频繁,请2分钟后再试', icon: 'none' }) - return - } const app = getApp() const userId = app.globalData.userInfo?.id wx.showLoading({ title: '提交中...', mask: true }) @@ -448,7 +421,6 @@ Page({ wx.hideLoading() this.setData({ showLeadModal: false, leadPhone: '' }) if (res && res.success) { - wx.setStorageSync('lead_last_submit_ts', Date.now()) // 同步手机号到用户资料 try { if (userId) { @@ -492,8 +464,11 @@ Page({ async loadLatestChapters() { try { - const res = await app.request({ url: '/api/miniprogram/book/all-chapters', silent: true }) - const chapters = (res && res.data) || (res && res.chapters) || [] + let chapters = app.globalData.bookData || [] + if (!Array.isArray(chapters) || chapters.length === 0) { + const res = await app.request({ url: '/api/miniprogram/book/all-chapters', silent: true }) + chapters = (res && res.data) || (res && res.chapters) || [] + } const pt = (c) => (c.partTitle || c.part_title || '').toLowerCase() const exclude = c => !pt(c).includes('序言') && !pt(c).includes('尾声') && !pt(c).includes('附录') let candidates = chapters.filter(c => (c.isNew || c.is_new) === true && exclude(c)) @@ -538,7 +513,7 @@ Page({ latestChapters: latestAll.slice(0, 5), latestChaptersExpanded: false, }) - } catch (e) { console.log('[Index] 加载最新新增失败:', e) } + } catch (e) {} }, toggleLatestExpand() { diff --git a/miniprogram/pages/match/match.js b/miniprogram/pages/match/match.js index 2aca5416..813e7e96 100644 --- a/miniprogram/pages/match/match.js +++ b/miniprogram/pages/match/match.js @@ -309,7 +309,7 @@ Page({ confirmText: '去购买', success: (res) => { if (res.confirm) { - wx.switchTab({ url: '/pages/catalog/catalog' }) + wx.switchTab({ url: '/pages/chapters/chapters' }) } } }) @@ -466,35 +466,6 @@ Page({ }, delay) }, - // 生成模拟匹配数据 - generateMockMatch() { - const nicknames = ['创业先锋', '资源整合者', '私域专家', '导师顾问', '连续创业者'] - const concepts = [ - '专注私域流量运营5年,帮助100+品牌实现从0到1的增长。', - '连续创业者,擅长商业模式设计和资源整合。', - '在Soul分享真实创业故事,希望找到志同道合的合作伙伴。' - ] - const wechats = ['soul_partner_1', 'soul_business_2024', 'soul_startup_fan'] - - const index = Math.floor(Math.random() * nicknames.length) - const currentType = MATCH_TYPES.find(t => t.id === this.data.selectedType) - - return { - id: `user_${Date.now()}`, - nickname: nicknames[index], - avatar: `https://picsum.photos/200/200?random=${Date.now()}`, - tags: ['创业者', '私域运营', currentType?.label || '创业合伙'], - matchScore: Math.floor(Math.random() * 20) + 80, - concept: concepts[index % concepts.length], - wechat: wechats[index % wechats.length], - commonInterests: [ - { icon: '📚', text: '都在读《创业派对》' }, - { icon: '💼', text: '对私域运营感兴趣' }, - { icon: '🎯', text: '相似的创业方向' } - ] - } - }, - // 上报匹配行为 async reportMatch(matchedUser) { try { @@ -648,18 +619,16 @@ Page({ this.setData({ showJoinModal: false, joinSuccess: false }) }, 2000) } else { - // 即使API返回失败,也模拟成功(因为已保存本地) - this.setData({ joinSuccess: true }) - setTimeout(() => { - this.setData({ showJoinModal: false, joinSuccess: false }) - }, 2000) + this.setData({ + joinSuccess: false, + joinError: res.error || '提交失败,请稍后重试' + }) } } catch (e) { - // 网络错误时也模拟成功 - this.setData({ joinSuccess: true }) - setTimeout(() => { - this.setData({ showJoinModal: false, joinSuccess: false }) - }, 2000) + this.setData({ + joinSuccess: false, + joinError: e.message || '网络异常,请稍后重试' + }) } finally { this.setData({ isJoining: false }) } @@ -737,19 +706,7 @@ Page({ if (e.errMsg && e.errMsg.includes('cancel')) { wx.showToast({ title: '已取消', icon: 'none' }) } else { - // 测试模式 - wx.showModal({ - title: '支付服务暂不可用', - content: '是否使用测试模式购买?', - success: (res) => { - if (res.confirm) { - const extraMatches = (wx.getStorageSync('extra_match_count') || 0) + 1 - wx.setStorageSync('extra_match_count', extraMatches) - wx.showToast({ title: '测试购买成功', icon: 'success' }) - this.initUserStatus() - } - } - }) + wx.showToast({ title: e.message || '支付失败,请稍后重试', icon: 'none' }) } } }, diff --git a/miniprogram/pages/my/my.js b/miniprogram/pages/my/my.js index ba516a5e..657966d9 100644 --- a/miniprogram/pages/my/my.js +++ b/miniprogram/pages/my/my.js @@ -19,7 +19,7 @@ Page({ userInfo: null, // 统计数据 - totalSections: 62, + totalSections: 0, readCount: 0, referralCount: 0, earnings: '-', @@ -74,6 +74,9 @@ Page({ // 我的余额(wallet 页入口展示) walletBalance: 0, + + // 我的代付链接 + giftList: [], }, onLoad() { @@ -142,6 +145,7 @@ Page({ this.loadPendingConfirm() this.loadVipStatus() this.loadWalletBalance() + this.loadGiftList() } else { this.setData({ isLoggedIn: false, @@ -797,12 +801,6 @@ Page({ wx.navigateTo({ url: '/pages/referral/referral' }) }, - // 跳转到找伙伴 - goToMatch() { - trackClick('my', 'nav_click', '匹配') - wx.switchTab({ url: '/pages/match/match' }) - }, - // 退出登录 handleLogout() { wx.showModal({ @@ -829,6 +827,35 @@ Page({ } catch (e) {} }, + async loadGiftList() { + if (!app.globalData.isLoggedIn || !app.globalData.userInfo) return + const userId = app.globalData.userInfo.id + try { + const res = await app.request({ url: `/api/miniprogram/balance/gifts?userId=${userId}`, silent: true }) + if (res?.success && res.data?.gifts) { + this.setData({ giftList: res.data.gifts }) + } + } catch (e) {} + }, + + onGiftShareTap(e) { + const giftCode = e.currentTarget.dataset.code + const title = e.currentTarget.dataset.title || '精选文章' + const sectionId = e.currentTarget.dataset.sectionId + this._pendingGiftShare = { giftCode, title, sectionId } + wx.showModal({ + title: '分享代付链接', + content: `将「${title}」的免费阅读链接分享给好友`, + confirmText: '立即分享', + cancelText: '取消', + success: (r) => { + if (r.confirm) { + wx.shareAppMessage() + } + } + }) + }, + // VIP状态查询(注意:hasFullBook=9.9 买断,不等同 VIP) async loadVipStatus() { const userId = app.globalData.userInfo?.id @@ -1020,6 +1047,17 @@ Page({ stopPropagation() {}, onShareAppMessage() { + if (this._pendingGiftShare) { + const { giftCode, title, sectionId } = this._pendingGiftShare + this._pendingGiftShare = null + const ref = app.getMyReferralCode() + let path = `/pages/read/read?id=${sectionId}&gift=${giftCode}` + if (ref) path += `&ref=${ref}` + return { + title: `🎁 好友已为你解锁:${title}`, + path + } + } const ref = app.getMyReferralCode() return { title: 'Soul创业派对 - 我的', diff --git a/miniprogram/pages/my/my.wxml b/miniprogram/pages/my/my.wxml index 15ad3c97..54742ec7 100644 --- a/miniprogram/pages/my/my.wxml +++ b/miniprogram/pages/my/my.wxml @@ -142,6 +142,26 @@ + + + + + 我的代付链接 + + + + + {{item.sectionTitle}} + ¥{{item.amount}} · {{item.status === 'pending' ? '待领取' : '已领取'}} · {{item.createdAt}} + + + 分享 + + 已送出 + + + + diff --git a/miniprogram/pages/my/my.wxss b/miniprogram/pages/my/my.wxss index 70818a71..2d351fe9 100644 --- a/miniprogram/pages/my/my.wxss +++ b/miniprogram/pages/my/my.wxss @@ -251,5 +251,14 @@ .modal-btn-cancel { background: rgba(255,255,255,0.1); color: #fff; } .modal-btn-confirm { background: #4FD1C5; color: #000; font-weight: 600; } +/* 代付链接卡片 */ +.gift-list { display: flex; flex-direction: column; gap: 16rpx; } +.gift-item { display: flex; align-items: center; justify-content: space-between; padding: 20rpx 24rpx; background: rgba(255,255,255,0.05); border-radius: 16rpx; } +.gift-left { flex: 1; min-width: 0; } +.gift-title { display: block; font-size: 28rpx; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } +.gift-meta { display: block; font-size: 22rpx; color: #9CA3AF; margin-top: 6rpx; } +.gift-share-btn { display: inline-block; padding: 8rpx 28rpx; background: #4FD1C5; color: #000; font-size: 24rpx; font-weight: 600; border-radius: 20rpx; } +.gift-done { font-size: 24rpx; color: #6B7280; } + /* 底部留白:配合 page padding-bottom,避免内容被 TabBar 遮挡 */ .bottom-space { height: calc(80rpx + env(safe-area-inset-bottom, 0px)); } diff --git a/miniprogram/pages/read/read.js b/miniprogram/pages/read/read.js index ad62f147..0214dce8 100644 --- a/miniprogram/pages/read/read.js +++ b/miniprogram/pages/read/read.js @@ -13,8 +13,8 @@ * - contentSegments 解析每行,mention 高亮可点;点击→确认→登录/资料校验→POST /api/miniprogram/ckb/lead */ -import accessManager from '../../utils/chapterAccessManager' -import readingTracker from '../../utils/readingTracker' +const accessManager = require('../../utils/chapterAccessManager') +const readingTracker = require('../../utils/readingTracker') const { parseScene } = require('../../utils/scene.js') const contentParser = require('../../utils/contentParser.js') @@ -63,7 +63,7 @@ Page({ // 价格 sectionPrice: 1, fullBookPrice: 9.9, - totalSections: 62, + totalSections: 0, // 弹窗 showShareModal: false, @@ -321,49 +321,31 @@ Page({ // 获取章节信息 getSectionInfo(id) { - // 特殊章节 - if (id === 'preface') { - return { id: 'preface', title: '为什么我每天早上6点在Soul开播?', isFree: true, price: 0 } - } - if (id === 'epilogue') { - return { id: 'epilogue', title: '这本书的真实目的', isFree: true, price: 0 } - } - if (id.startsWith('appendix')) { - const appendixTitles = { - 'appendix-1': 'Soul派对房精选对话', - 'appendix-2': '创业者自检清单', - 'appendix-3': '本书提到的工具和资源' + const cachedSection = (app.globalData.bookData || []).find((item) => item.id === id) + if (cachedSection) { + return { + id, + title: cachedSection.sectionTitle || cachedSection.section_title || cachedSection.title || cachedSection.chapterTitle || `章节 ${id}`, + isFree: cachedSection.isFree === true || cachedSection.is_free === true || cachedSection.price === 0, + price: cachedSection.price ?? 1 } - return { id, title: appendixTitles[id] || '附录', isFree: true, price: 0 } } - - // 普通章节 + return { - id: id, + id, title: this.getSectionTitle(id), - isFree: id === '1.1', + isFree: false, price: 1 } }, // 获取章节标题 getSectionTitle(id) { - const titles = { - '1.1': '荷包:电动车出租的被动收入模式', - '1.2': '老墨:资源整合高手的社交方法', - '1.3': '笑声背后的MBTI', - '1.4': '人性的三角结构:利益、情感、价值观', - '1.5': '沟通差的问题:为什么你说的别人听不懂', - '2.1': '相亲故事:你以为找的是人,实际是在找模式', - '2.2': '找工作迷茫者:为什么简历解决不了人生', - '2.3': '撸运费险:小钱困住大脑的真实心理', - '2.4': '游戏上瘾的年轻人:不是游戏吸引他,是生活没吸引力', - '2.5': '健康焦虑(我的糖尿病经历):疾病是人生的第一次清醒', - '3.1': '3000万流水如何跑出来(退税模式解析)', - '8.1': '流量杠杆:抖音、Soul、飞书', - '9.14': '大健康私域:一个月150万的70后' + const cachedSection = (app.globalData.bookData || []).find((item) => item.id === id) + if (cachedSection) { + return cachedSection.sectionTitle || cachedSection.section_title || cachedSection.title || cachedSection.chapterTitle || `章节 ${id}` } - return titles[id] || `章节 ${id}` + return `章节 ${id}` }, // 根据 id/mid 构造章节接口路径(优先使用 mid)。必须带 userId 才能让后端正确判断付费用户并返回完整内容 @@ -679,12 +661,6 @@ Page({ }) return } - // 2 分钟内只能点一次(与后端限频一致,与首页链接卡若共用) - const leadLastTs = wx.getStorageSync('lead_last_submit_ts') || 0 - if (Date.now() - leadLastTs < 2 * 60 * 1000) { - wx.showToast({ title: '操作太频繁,请2分钟后再试', icon: 'none' }) - return - } wx.showLoading({ title: '提交中...', mask: true }) try { const res = await app.request({ @@ -702,8 +678,13 @@ Page({ }) wx.hideLoading() if (res && res.success) { - wx.setStorageSync('lead_last_submit_ts', Date.now()) - wx.showToast({ title: res.message || '提交成功,对方会尽快联系您', icon: 'success' }) + const who = targetNickname || '对方' + wx.showModal({ + title: '提交成功', + content: `${who} 会主动添加你微信,请注意你的微信消息`, + showCancel: false, + confirmText: '好的' + }) } else { wx.showToast({ title: (res && res.message) || '提交失败', icon: 'none' }) } @@ -728,11 +709,6 @@ Page({ return } const userId = app.globalData.userInfo.id - const leadLastTs = wx.getStorageSync('lead_last_submit_ts') || 0 - if (Date.now() - leadLastTs < 2 * 60 * 1000) { - wx.showToast({ title: '操作太频繁,请2分钟后再试', icon: 'none' }) - return - } let phone = (app.globalData.userInfo.phone || '').trim() let wechatId = (app.globalData.userInfo.wechatId || app.globalData.userInfo.wechat_id || '').trim() let avatar = (app.globalData.userInfo.avatar || app.globalData.userInfo.avatarUrl || '').trim() @@ -774,8 +750,12 @@ Page({ }) wx.hideLoading() if (res && res.success) { - wx.setStorageSync('lead_last_submit_ts', Date.now()) - wx.showToast({ title: res.message || '提交成功', icon: 'success' }) + wx.showModal({ + title: '提交成功', + content: '卡若会主动添加你微信,请注意你的微信消息', + showCancel: false, + confirmText: '好的' + }) } else { wx.showToast({ title: (res && res.message) || '提交失败', icon: 'none' }) } @@ -811,16 +791,15 @@ Page({ // 复制分享文案(朋友圈风格) copyShareText() { - const { section } = this.data - - const shareText = `🔥 刚看完这篇《${section?.title || 'Soul创业派对'}》,太上头了! - -62个真实商业案例,每个都是从0到1的实战经验。私域运营、资源整合、商业变现,干货满满。 - -推荐给正在创业或想创业的朋友,搜"Soul创业派对"小程序就能看! - -#创业派对 #私域运营 #商业案例` - + const title = this.data.section?.title || this.data.chapterTitle || '好文推荐' + const raw = (this.data.content || '') + .replace(/<[^>]+>/g, '\n') + .replace(/ /g, ' ') + .replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&').replace(/"/g, '"') + .replace(/[#@]\S+/g, '') + const sentences = raw.split(/[。!?\n]+/).map(s => s.trim()).filter(s => s.length > 4) + const picked = sentences.slice(0, 5) + const shareText = title + '\n\n' + picked.join('\n\n') wx.setClipboardData({ data: shareText, success: () => { @@ -864,13 +843,23 @@ Page({ shareToMoments() { const title = this.data.section?.title || this.data.chapterTitle || '好文推荐' - const raw = (this.data.content || '').replace(/[#@]\S+/g, '').replace(/\s+/g, ' ').trim() - const excerpt = raw.length > 200 ? raw.slice(0, 200) + '……' : raw.length > 100 ? raw + '……' : raw - const copyText = `${title}\n\n${excerpt}\n\n👉 来自「Soul创业派对」` + const raw = (this.data.content || '') + .replace(/<[^>]+>/g, '\n') + .replace(/ /g, ' ') + .replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&').replace(/"/g, '"') + .replace(/[#@]\S+/g, '') + const sentences = raw.split(/[。!?\n]+/).map(s => s.trim()).filter(s => s.length > 4) + const picked = sentences.slice(0, 5) + const copyText = title + '\n\n' + picked.join('\n\n') wx.setClipboardData({ data: copyText, success: () => { - wx.showToast({ title: '文案已复制,去朋友圈粘贴发布', icon: 'none', duration: 2500 }) + wx.showModal({ + title: '文案已复制', + content: '请点击右上角「···」菜单,选择「分享到朋友圈」即可发布', + showCancel: false, + confirmText: '知道了' + }) }, fail: () => { wx.showToast({ title: '复制失败,请手动复制', icon: 'none' }) @@ -1154,15 +1143,18 @@ Page({ console.error('[Pay] API创建订单失败:', apiError) wx.hideLoading() // 支付接口失败时,显示客服联系方式 + const supportWechat = app.globalData.supportWechat || '' wx.showModal({ title: '支付通道维护中', - content: '微信支付正在审核中,请添加客服微信(28533368)手动购买,感谢理解!', - confirmText: '复制微信号', + content: supportWechat + ? `微信支付正在审核中,请添加客服微信(${supportWechat})手动购买,感谢理解!` + : '微信支付正在审核中,请联系管理员手动购买,感谢理解!', + confirmText: supportWechat ? '复制微信号' : '我知道了', cancelText: '稍后再说', success: (res) => { - if (res.confirm) { + if (res.confirm && supportWechat) { wx.setClipboardData({ - data: '28533368', + data: supportWechat, success: () => { wx.showToast({ title: '微信号已复制', icon: 'success' }) } @@ -1202,15 +1194,18 @@ Page({ wx.showToast({ title: '已取消支付', icon: 'none' }) } else if (payErr.errMsg && payErr.errMsg.includes('requestPayment:fail')) { // 支付失败,可能是参数错误或权限问题 + const supportWechat = app.globalData.supportWechat || '' wx.showModal({ title: '支付失败', - content: '微信支付暂不可用,请添加客服微信(28533368)手动购买', - confirmText: '复制微信号', + content: supportWechat + ? `微信支付暂不可用,请添加客服微信(${supportWechat})手动购买` + : '微信支付暂不可用,请稍后重试或联系管理员', + confirmText: supportWechat ? '复制微信号' : '我知道了', cancelText: '取消', success: (res) => { - if (res.confirm) { + if (res.confirm && supportWechat) { wx.setClipboardData({ - data: '28533368', + data: supportWechat, success: () => wx.showToast({ title: '微信号已复制', icon: 'success' }) }) } diff --git a/miniprogram/pages/referral/referral.js b/miniprogram/pages/referral/referral.js index 2f20f357..57cac650 100644 --- a/miniprogram/pages/referral/referral.js +++ b/miniprogram/pages/referral/referral.js @@ -63,9 +63,8 @@ Page({ posterReferralLink: '', posterNickname: '', posterNicknameInitial: '', - posterCaseCount: 62, - - }, + posterCaseCount: 62 + }, onLoad() { this.setData({ statusBarHeight: app.globalData.statusBarHeight }) @@ -94,28 +93,17 @@ Page({ // 生成邀请码 const referralCode = userInfo.referralCode || 'SOUL' + (userInfo.id || Date.now().toString(36)).toUpperCase().slice(-6) - console.log('[Referral] 开始加载分销数据,userId:', userInfo.id) - // 从API获取真实数据 let realData = null try { // app.request 第一个参数是 URL 字符串(会自动拼接 baseUrl) const res = await app.request('/api/miniprogram/referral/data?userId=' + userInfo.id) - console.log('[Referral] API返回:', JSON.stringify(res).substring(0, 200)) if (res && res.success && res.data) { realData = res.data - console.log('[Referral] ✅ 获取推广数据成功') - console.log('[Referral] - bindingCount:', realData.bindingCount) - console.log('[Referral] - paidCount:', realData.paidCount) - console.log('[Referral] - earnings:', realData.earnings) - console.log('[Referral] - expiringCount:', realData.stats?.expiringCount) - } else { - console.log('[Referral] ❌ API返回格式错误:', res?.error || 'unknown') } } catch (e) { - console.log('[Referral] ❌ API调用失败:', e.message || e) - console.log('[Referral] 错误详情:', e) + console.warn('[Referral] 加载分销数据失败:', e && e.message ? e.message : e) } // 使用真实数据或默认值 @@ -123,15 +111,9 @@ Page({ let convertedBindings = realData?.convertedUsers || [] let expiredBindings = realData?.expiredUsers || [] - console.log('[Referral] activeBindings:', activeBindings.length) - console.log('[Referral] convertedBindings:', convertedBindings.length) - console.log('[Referral] expiredBindings:', expiredBindings.length) - // 计算即将过期的数量(7天内) const expiringCount = realData?.stats?.expiringCount || activeBindings.filter(b => b.daysRemaining <= 7 && b.daysRemaining > 0).length - console.log('[Referral] expiringCount:', expiringCount) - // 计算各类统计 const bindingCount = realData?.bindingCount || activeBindings.length const paidCount = realData?.paidCount || convertedBindings.length @@ -153,7 +135,6 @@ Page({ purchaseCount: user.purchaseCount || 0, conversionDate: user.conversionDate ? this.formatDate(user.conversionDate) : '--' } - console.log('[Referral] 格式化用户:', formatted.nickname, formatted.status, formatted.daysRemaining + '天') return formatted } @@ -169,15 +150,6 @@ Page({ const availableEarningsNum = Math.max(0, totalCommissionNum - withdrawnNum - pendingWithdrawNum) const minWithdrawAmount = realData?.minWithdrawAmount || 10 - console.log('=== [Referral] 收益计算(完整版)===') - console.log('累计佣金 (totalCommission):', totalCommissionNum) - console.log('已提现金额 (withdrawnEarnings):', withdrawnNum) - console.log('待审核金额 (pendingWithdrawAmount):', pendingWithdrawNum) - console.log('可提现金额 = 累计 - 已提现 - 待审核 =', totalCommissionNum, '-', withdrawnNum, '-', pendingWithdrawNum, '=', availableEarningsNum) - console.log('最低提现金额 (minWithdrawAmount):', minWithdrawAmount) - console.log('按钮判断:', availableEarningsNum, '>=', minWithdrawAmount, '=', availableEarningsNum >= minWithdrawAmount) - console.log('✅ 按钮应该:', availableEarningsNum >= minWithdrawAmount ? '🟢 启用(绿色)' : '⚫ 禁用(灰色)') - const hasWechatId = !!(userInfo?.wechat || userInfo?.wechatId || wx.getStorageSync('user_wechat')) this.setData({ isLoggedIn: true, @@ -233,21 +205,6 @@ Page({ }) }) - - console.log('[Referral] ✅ 数据设置完成') - console.log('[Referral] - 绑定中:', this.data.bindingCount) - console.log('[Referral] - 即将过期:', this.data.expiringCount) - console.log('[Referral] - 收益:', this.data.earnings) - - console.log('=== [Referral] 按钮状态验证 ===') - console.log('累计佣金 (totalCommission):', this.data.totalCommission) - console.log('待审核金额 (pendingWithdrawAmount):', this.data.pendingWithdrawAmount) - console.log('可提现金额 (availableEarnings 显示):', this.data.availableEarnings) - console.log('可提现金额 (availableEarningsNum 判断):', this.data.availableEarningsNum, typeof this.data.availableEarningsNum) - console.log('最低提现金额 (minWithdrawAmount):', this.data.minWithdrawAmount, typeof this.data.minWithdrawAmount) - console.log('按钮启用条件:', this.data.availableEarningsNum, '>=', this.data.minWithdrawAmount, '=', this.data.availableEarningsNum >= this.data.minWithdrawAmount) - console.log('✅ 最终结果: 按钮应该', this.data.availableEarningsNum >= this.data.minWithdrawAmount ? '🟢 启用' : '⚫ 禁用') - // 隐藏加载提示 wx.hideLoading() } else { diff --git a/miniprogram/pages/search/search.js b/miniprogram/pages/search/search.js index 962f528f..e34e054a 100644 --- a/miniprogram/pages/search/search.js +++ b/miniprogram/pages/search/search.js @@ -13,8 +13,8 @@ Page({ loading: false, searched: false, total: 0, - // 热门搜索关键词 - hotKeywords: ['私域', '电商', '流量', '赚钱', '创业', 'Soul', '抖音', '变现'], + // 热门搜索关键词(运行时根据热门章节/目录动态生成) + hotKeywords: [], // 热门章节推荐 hotChapters: [ { id: '1.1', title: '荷包:电动车出租的被动收入模式', tag: '免费', part: '真实的人' }, @@ -47,13 +47,36 @@ Page({ part: c.part_title || c.partTitle || c.part || '', tag: ['免费', '热门', '推荐', '最新'][i % 4] || '热门' })) - this.setData({ hotChapters }) + this.setData({ + hotChapters, + hotKeywords: this.buildHotKeywords(hotChapters) + }) + } else { + this.setData({ hotKeywords: this.buildHotKeywords(app.globalData.bookData || []) }) } } catch (e) { - console.log('加载热门章节失败,使用默认数据') + this.setData({ hotKeywords: this.buildHotKeywords(app.globalData.bookData || []) }) } }, + buildHotKeywords(sourceList) { + const words = [] + const pushWord = (word) => { + const w = (word || '').trim() + if (!w || w.length < 2 || words.includes(w)) return + words.push(w) + } + + ;(sourceList || []).forEach((item) => { + const title = String(item.title || '').replace(/[||::,.,。!!??]/g, ' ') + const part = String(item.part || '').replace(/[||::,.,。!!??]/g, ' ') + title.split(/\s+/).forEach(pushWord) + part.split(/\s+/).forEach(pushWord) + }) + + return words.slice(0, 8) + }, + // 输入关键词 onInput(e) { this.setData({ keyword: e.detail.value }) @@ -99,7 +122,6 @@ Page({ this.setData({ results: [], total: 0 }) } } catch (e) { - console.error('搜索失败:', e) wx.showToast({ title: '搜索失败', icon: 'none' }) this.setData({ results: [], total: 0 }) } finally { diff --git a/miniprogram/pages/settings/settings.js b/miniprogram/pages/settings/settings.js index 999a064a..eaed55b7 100644 --- a/miniprogram/pages/settings/settings.js +++ b/miniprogram/pages/settings/settings.js @@ -245,85 +245,66 @@ Page({ } }, - // 获取微信头像(新版授权) - async getWechatAvatar() { + // 微信原生 chooseAvatar 回调 + async onChooseAvatar(e) { + const tempAvatarUrl = e.detail?.avatarUrl + if (!tempAvatarUrl) return + wx.showLoading({ title: '上传中...', mask: true }) try { - const res = await wx.getUserProfile({ - desc: '用于完善会员资料' - }) - - if (res.userInfo) { - const { nickName, avatarUrl: tempAvatarUrl } = res.userInfo - - wx.showLoading({ title: '上传中...', mask: true }) - - // 1. 先上传图片到服务器 - console.log('[Settings] 开始上传头像:', tempAvatarUrl) - - const uploadRes = await new Promise((resolve, reject) => { - wx.uploadFile({ - url: app.globalData.baseUrl + '/api/miniprogram/upload', - filePath: tempAvatarUrl, - name: 'file', - formData: { - folder: 'avatars' - }, - success: (uploadResult) => { - try { - const data = JSON.parse(uploadResult.data) - if (data.success) { - resolve(data) - } else { - reject(new Error(data.error || '上传失败')) - } - } catch (err) { - reject(new Error('解析响应失败')) - } - }, - fail: (err) => { - reject(err) + const uploadRes = await new Promise((resolve, reject) => { + wx.uploadFile({ + url: app.globalData.baseUrl + '/api/miniprogram/upload', + filePath: tempAvatarUrl, + name: 'file', + formData: { folder: 'avatars' }, + success: (uploadResult) => { + try { + const data = JSON.parse(uploadResult.data) + if (data.success) resolve(data) + else reject(new Error(data.error || '上传失败')) + } catch (err) { + reject(new Error('解析响应失败')) } - }) + }, + fail: reject }) - - // 2. 获取上传后的完整URL - const avatarUrl = app.globalData.baseUrl + uploadRes.data.url - console.log('[Settings] 头像上传成功:', avatarUrl) - - // 3. 更新本地 - this.setData({ - userInfo: { - ...this.data.userInfo, - nickname: nickName, - avatar: avatarUrl - } + }) + + const rawUrl = uploadRes.data.url || '' + const avatarUrl = rawUrl.startsWith('http://') || rawUrl.startsWith('https://') + ? rawUrl + : app.globalData.baseUrl + rawUrl + const nickname = this.data.userInfo?.nickname || app.globalData.userInfo?.nickname || '' + + this.setData({ + userInfo: { + ...this.data.userInfo, + nickname, + avatar: avatarUrl + } + }) + + const userId = app.globalData.userInfo?.id + if (userId) { + await app.request('/api/miniprogram/user/profile', { + method: 'POST', + data: { userId, nickname, avatar: avatarUrl } }) - - // 4. 同步到服务器数据库 - const userId = app.globalData.userInfo?.id - if (userId) { - await app.request('/api/miniprogram/user/profile', { - method: 'POST', - data: { userId, nickname: nickName, avatar: avatarUrl } - }) - } - - // 5. 更新全局 - if (app.globalData.userInfo) { - app.globalData.userInfo.nickname = nickName - app.globalData.userInfo.avatar = avatarUrl - wx.setStorageSync('userInfo', app.globalData.userInfo) - } - - wx.hideLoading() - wx.showToast({ title: '头像更新成功', icon: 'success' }) } + + if (app.globalData.userInfo) { + app.globalData.userInfo.avatar = avatarUrl + wx.setStorageSync('userInfo', app.globalData.userInfo) + } + + wx.hideLoading() + wx.showToast({ title: '头像更新成功', icon: 'success' }) } catch (e) { wx.hideLoading() - console.error('[Settings] 获取头像失败:', e) - wx.showToast({ - title: e.message || '获取头像失败', - icon: 'none' + console.error('[Settings] 更新头像失败:', e) + wx.showToast({ + title: e.message || '上传失败,请重试', + icon: 'none' }) } }, diff --git a/miniprogram/pages/vip/vip.js b/miniprogram/pages/vip/vip.js index 72d3db77..02ee05b5 100644 --- a/miniprogram/pages/vip/vip.js +++ b/miniprogram/pages/vip/vip.js @@ -1,4 +1,4 @@ -import accessManager from '../../utils/chapterAccessManager' +const accessManager = require('../../utils/chapterAccessManager') const app = getApp() const { trackClick } = require('../../utils/trackClick') const { checkAndExecute } = require('../../utils/ruleEngine') diff --git a/miniprogram/utils/chapterAccessManager.js b/miniprogram/utils/chapterAccessManager.js index 4d2733aa..5ec603c4 100644 --- a/miniprogram/utils/chapterAccessManager.js +++ b/miniprogram/utils/chapterAccessManager.js @@ -206,4 +206,4 @@ class ChapterAccessManager { // 导出单例 const accessManager = new ChapterAccessManager() -export default accessManager +module.exports = accessManager diff --git a/miniprogram/utils/payment.js b/miniprogram/utils/payment.js deleted file mode 100644 index 9e048d1a..00000000 --- a/miniprogram/utils/payment.js +++ /dev/null @@ -1,211 +0,0 @@ -// miniprogram/utils/payment.js -// 微信支付工具类 - -const app = getApp() - -/** - * 发起微信支付 - * @param {Object} options - 支付选项 - * @param {String} options.orderId - 订单ID - * @param {Number} options.amount - 支付金额(元) - * @param {String} options.description - 商品描述 - * @param {Function} options.success - 成功回调 - * @param {Function} options.fail - 失败回调 - */ -function wxPay(options) { - const { orderId, amount, description, success, fail } = options - - wx.showLoading({ - title: '正在支付...', - mask: true - }) - - // 1. 调用后端创建支付订单 - wx.request({ - url: `${app.globalData.apiBase}/payment/create`, - method: 'POST', - header: { - 'Authorization': `Bearer ${wx.getStorageSync('token')}` - }, - data: { - orderId, - amount, - description, - paymentMethod: 'wechat' - }, - success: (res) => { - wx.hideLoading() - - if (res.statusCode === 200) { - const paymentData = res.data - - // 2. 调起微信支付 - wx.requestPayment({ - timeStamp: paymentData.timeStamp, - nonceStr: paymentData.nonceStr, - package: paymentData.package, - signType: paymentData.signType || 'RSA', - paySign: paymentData.paySign, - success: (payRes) => { - console.log('支付成功', payRes) - - // 3. 通知后端支付成功 - notifyPaymentSuccess(orderId, paymentData.prepayId) - - wx.showToast({ - title: '支付成功', - icon: 'success', - duration: 2000 - }) - - success && success(payRes) - }, - fail: (payErr) => { - console.error('支付失败', payErr) - - if (payErr.errMsg.indexOf('cancel') !== -1) { - wx.showToast({ - title: '支付已取消', - icon: 'none' - }) - } else { - wx.showToast({ - title: '支付失败', - icon: 'none' - }) - } - - fail && fail(payErr) - } - }) - } else { - wx.showToast({ - title: res.data.message || '创建订单失败', - icon: 'none' - }) - fail && fail(res) - } - }, - fail: (err) => { - wx.hideLoading() - console.error('请求失败', err) - - wx.showToast({ - title: '网络请求失败', - icon: 'none' - }) - - fail && fail(err) - } - }) -} - -/** - * 通知后端支付成功 - * @param {String} orderId - * @param {String} prepayId - */ -function notifyPaymentSuccess(orderId, prepayId) { - wx.request({ - url: `${app.globalData.apiBase}/payment/notify`, - method: 'POST', - header: { - 'Authorization': `Bearer ${wx.getStorageSync('token')}` - }, - data: { - orderId, - prepayId, - status: 'success' - }, - success: (res) => { - console.log('支付通知成功', res) - }, - fail: (err) => { - console.error('支付通知失败', err) - } - }) -} - -/** - * 查询订单状态 - * @param {String} orderId - * @param {Function} callback - */ -function queryOrderStatus(orderId, callback) { - wx.request({ - url: `${app.globalData.apiBase}/payment/query`, - method: 'GET', - header: { - 'Authorization': `Bearer ${wx.getStorageSync('token')}` - }, - data: { orderId }, - success: (res) => { - if (res.statusCode === 200) { - callback && callback(true, res.data) - } else { - callback && callback(false, null) - } - }, - fail: () => { - callback && callback(false, null) - } - }) -} - -/** - * 购买完整电子书 - * @param {Function} success - * @param {Function} fail - */ -function purchaseFullBook(success, fail) { - // 计算动态价格:9.9 + (天数 * 1元) - const basePrice = 9.9 - const startDate = new Date('2025-01-01') // 书籍上架日期 - const today = new Date() - const daysPassed = Math.floor((today - startDate) / (1000 * 60 * 60 * 24)) - const currentPrice = basePrice + daysPassed - - const orderId = `ORDER_${Date.now()}_${Math.random().toString(36).substr(2, 9)}` - - wxPay({ - orderId, - amount: currentPrice, - description: 'Soul派对·创业实验 完整版', - success: (res) => { - // 更新本地购买状态 - updatePurchaseStatus(true) - success && success(res) - }, - fail - }) -} - -/** - * 更新购买状态 - * @param {Boolean} isPurchased - */ -function updatePurchaseStatus(isPurchased) { - const userInfo = app.getUserInfo() - if (userInfo) { - userInfo.isPurchased = isPurchased - wx.setStorageSync('userInfo', userInfo) - app.globalData.userInfo = userInfo - } -} - -/** - * 检查是否已购买 - * @returns {Boolean} - */ -function checkPurchaseStatus() { - const userInfo = app.getUserInfo() - return userInfo ? userInfo.isPurchased : false -} - -module.exports = { - wxPay, - queryOrderStatus, - purchaseFullBook, - checkPurchaseStatus, - updatePurchaseStatus -} diff --git a/miniprogram/utils/readingTracker.js b/miniprogram/utils/readingTracker.js index 611d154a..2962bb1c 100644 --- a/miniprogram/utils/readingTracker.js +++ b/miniprogram/utils/readingTracker.js @@ -246,4 +246,4 @@ class ReadingTracker { // 导出单例 const readingTracker = new ReadingTracker() -export default readingTracker +module.exports = readingTracker diff --git a/miniprogram/utils/ruleEngine.js b/miniprogram/utils/ruleEngine.js index 9906ed0d..506f787c 100644 --- a/miniprogram/utils/ruleEngine.js +++ b/miniprogram/utils/ruleEngine.js @@ -42,7 +42,10 @@ function isInCooldown(ruleId) { const ts = map[ruleId] if (!ts) return false return Date.now() - ts < COOLDOWN_MS - } catch { return false } + } catch (e) { + console.warn('[RuleEngine] 读取冷却状态失败:', e) + return false + } } function setCooldown(ruleId) { @@ -50,7 +53,9 @@ function setCooldown(ruleId) { const map = wx.getStorageSync(RULE_COOLDOWN_KEY) || {} map[ruleId] = Date.now() wx.setStorageSync(RULE_COOLDOWN_KEY, map) - } catch {} + } catch (e) { + console.warn('[RuleEngine] 写入冷却状态失败:', e) + } } function getUserInfo() { @@ -66,7 +71,9 @@ async function loadRules() { _cacheTs = Date.now() return _cachedRules } - } catch {} + } catch (e) { + console.warn('[RuleEngine] 加载规则失败,继续使用缓存:', e) + } return _cachedRules || [] } diff --git a/soul-admin/dist/assets/index-BHf8KXmF.css b/soul-admin/dist/assets/index-BHf8KXmF.css deleted file mode 100644 index a8b046c0..00000000 --- a/soul-admin/dist/assets/index-BHf8KXmF.css +++ /dev/null @@ -1 +0,0 @@ -.rich-editor-wrapper{border:1px solid #374151;border-radius:.5rem;background:#0a1628;overflow:hidden}.rich-editor-toolbar{display:flex;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid #374151;background:#0f1d32;flex-wrap:wrap}.toolbar-group{display:flex;align-items:center;gap:1px}.toolbar-divider{width:1px;height:20px;background:#374151;margin:0 4px}.rich-editor-toolbar button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer;transition:all .15s}.rich-editor-toolbar button:hover{background:#1f2937;color:#d1d5db}.rich-editor-toolbar button.is-active{background:#38bdac33;color:#38bdac}.rich-editor-toolbar button:disabled{opacity:.3;cursor:not-allowed}.link-tag-select{background:#0a1628;border:1px solid #374151;color:#d1d5db;font-size:12px;padding:2px 6px;border-radius:4px;cursor:pointer;max-width:160px}.link-input-bar{display:flex;align-items:center;gap:4px;padding:4px 8px;border-bottom:1px solid #374151;background:#0f1d32}.link-input{flex:1;background:#0a1628;border:1px solid #374151;color:#fff;padding:4px 8px;border-radius:4px;font-size:13px}.link-confirm,.link-remove{padding:4px 10px;border-radius:4px;border:none;font-size:12px;cursor:pointer}.link-confirm{background:#38bdac;color:#fff}.link-remove{background:#374151;color:#9ca3af}.rich-editor-content{min-height:300px;max-height:500px;overflow-y:auto;padding:12px 16px;color:#e5e7eb;font-size:14px;line-height:1.7}.rich-editor-content:focus{outline:none}.rich-editor-content h1{font-size:1.5em;font-weight:700;margin:.8em 0 .4em;color:#fff}.rich-editor-content h2{font-size:1.3em;font-weight:600;margin:.7em 0 .3em;color:#fff}.rich-editor-content h3{font-size:1.15em;font-weight:600;margin:.6em 0 .3em;color:#fff}.rich-editor-content p{margin:.4em 0}.rich-editor-content strong{color:#fff}.rich-editor-content code{background:#1f2937;padding:2px 6px;border-radius:3px;font-size:.9em;color:#38bdac}.rich-editor-content pre{background:#1f2937;padding:12px;border-radius:6px;overflow-x:auto;margin:.6em 0}.rich-editor-content blockquote{border-left:3px solid #38bdac;padding-left:12px;margin:.6em 0;color:#9ca3af}.rich-editor-content ul,.rich-editor-content ol{padding-left:1.5em;margin:.4em 0}.rich-editor-content li{margin:.2em 0}.rich-editor-content hr{border:none;border-top:1px solid #374151;margin:1em 0}.rich-editor-content img{max-width:100%;border-radius:6px;margin:.5em 0}.rich-editor-content a,.rich-link{color:#38bdac;text-decoration:underline;cursor:pointer}.rich-editor-content table{border-collapse:collapse;width:100%;margin:.5em 0}.rich-editor-content th,.rich-editor-content td{border:1px solid #374151;padding:6px 10px;text-align:left}.rich-editor-content th{background:#1f2937;font-weight:600}.rich-editor-content .ProseMirror-placeholder:before{content:attr(data-placeholder);color:#6b7280;float:left;height:0;pointer-events:none}.mention-tag{background:#38bdac26;color:#38bdac;border-radius:4px;padding:1px 4px;font-weight:500}.link-tag-node{background:#ffd7001f;color:gold;border-radius:4px;padding:1px 4px;font-weight:500;cursor:default;-webkit-user-select:all;user-select:all}.mention-popup{position:fixed;z-index:9999;background:#1a2638;border:1px solid #374151;border-radius:8px;padding:4px;min-width:180px;max-height:240px;overflow-y:auto;box-shadow:0 4px 20px #0006}.mention-item{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;border-radius:4px;cursor:pointer;color:#d1d5db;font-size:13px}.mention-item:hover,.mention-item.is-selected{background:#38bdac26;color:#38bdac}.mention-name{font-weight:500}.mention-id{font-size:11px;color:#6b7280}.bubble-menu{display:flex;gap:2px;background:#1a2638;border:1px solid #374151;border-radius:6px;padding:4px;box-shadow:0 4px 12px #0000004d}.bubble-menu button{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer}.bubble-menu button:hover{background:#1f2937;color:#d1d5db}.bubble-menu button.is-active{color:#38bdac}.mention-trigger-btn{color:#38bdac!important}.mention-trigger-btn:hover{background:#38bdac33!important}.upload-progress-bar{display:flex;align-items:center;gap:8px;padding:4px 10px;background:#0f1d32;border-bottom:1px solid #374151}.upload-progress-track{flex:1;height:4px;background:#1f2937;border-radius:2px;overflow:hidden}.upload-progress-fill{height:100%;background:linear-gradient(90deg,#38bdac,#4ae3ce);border-radius:2px;transition:width .3s ease}.upload-progress-text{font-size:11px;color:#38bdac;white-space:nowrap}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-900:oklch(41.4% .112 45.904);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-rose-400:oklch(71.2% .194 13.428);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-2\.5{top:calc(var(--spacing)*-2.5)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-1\/4{top:25%}.top-4{top:calc(var(--spacing)*4)}.top-16{top:calc(var(--spacing)*16)}.top-\[50\%\]{top:50%}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-1\/4{right:25%}.right-4{right:calc(var(--spacing)*4)}.bottom-1\/4{bottom:25%}.-left-2\.5{left:calc(var(--spacing)*-2.5)}.left-0{left:calc(var(--spacing)*0)}.left-1\/4{left:25%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.-mx-8{margin-inline:calc(var(--spacing)*-8)}.mx-20{margin-inline:calc(var(--spacing)*20)}.mx-auto{margin-inline:auto}.-mt-6{margin-top:calc(var(--spacing)*-6)}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-auto{margin-right:auto}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline\!{display:inline!important}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table\!{display:table!important}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.h-0\.5{height:calc(var(--spacing)*.5)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-96{height:calc(var(--spacing)*96)}.h-auto{height:auto}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-64{max-height:calc(var(--spacing)*64)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.max-h-\[250px\]{max-height:250px}.max-h-\[300px\]{max-height:300px}.max-h-\[400px\]{max-height:400px}.max-h-\[450px\]{max-height:450px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-8{min-height:calc(var(--spacing)*8)}.min-h-\[32px\]{min-height:32px}.min-h-\[40px\]{min-height:40px}.min-h-\[60vh\]{min-height:60vh}.min-h-\[72px\]{min-height:72px}.min-h-\[80px\]{min-height:80px}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[260px\]{min-height:260px}.min-h-\[400px\]{min-height:400px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0\.5{width:calc(var(--spacing)*.5)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-28{width:calc(var(--spacing)*28)}.w-32{width:calc(var(--spacing)*32)}.w-36{width:calc(var(--spacing)*36)}.w-40{width:calc(var(--spacing)*40)}.w-44{width:calc(var(--spacing)*44)}.w-48{width:calc(var(--spacing)*48)}.w-52{width:calc(var(--spacing)*52)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.w-\[200px\]{width:200px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[100px\]{max-width:100px}.max-w-\[120px\]{max-width:120px}.max-w-\[140px\]{max-width:140px}.max-w-\[180px\]{max-width:180px}.max-w-\[200px\]{max-width:200px}.max-w-\[250px\]{max-width:250px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[60px\]{min-width:60px}.min-w-\[120px\]{min-width:120px}.min-w-\[1024px\]{min-width:1024px}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1\/2{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.scale-\[0\.98\]{scale:.98}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[40px_40px_1fr_80px_80px_80px_60px\]{grid-template-columns:40px 40px 1fr 80px 80px 80px 60px}.grid-cols-\[60px_1fr_100px_100px_80px_120px\]{grid-template-columns:60px 1fr 100px 100px 80px 120px}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}.gap-x-8{column-gap:calc(var(--spacing)*8)}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}.gap-y-4{row-gap:calc(var(--spacing)*4)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}:where(.divide-gray-700\/50>:not(:last-child)){border-color:#36415380}@supports (color:color-mix(in lab,red,red)){:where(.divide-gray-700\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}:where(.divide-white\/5>:not(:last-child)){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:where(.divide-white\/5>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-\[\#07C160\]{border-color:#07c160}.border-\[\#07C160\]\/20{border-color:#07c16033}.border-\[\#07C160\]\/30{border-color:#07c1604d}.border-\[\#38bdac\]{border-color:#38bdac}.border-\[\#38bdac\]\/20{border-color:#38bdac33}.border-\[\#38bdac\]\/30{border-color:#38bdac4d}.border-\[\#38bdac\]\/40{border-color:#38bdac66}.border-\[\#38bdac\]\/50{border-color:#38bdac80}.border-amber-400\/60{border-color:#fcbb0099}@supports (color:color-mix(in lab,red,red)){.border-amber-400\/60{border-color:color-mix(in oklab,var(--color-amber-400)60%,transparent)}}.border-amber-500\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/20{border-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.border-amber-500\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/30{border-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.border-amber-500\/40{border-color:#f99c0066}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/40{border-color:color-mix(in oklab,var(--color-amber-500)40%,transparent)}}.border-amber-500\/50{border-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/50{border-color:color-mix(in oklab,var(--color-amber-500)50%,transparent)}}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/30{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.border-blue-500\/40{border-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/40{border-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.border-blue-500\/50{border-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.border-cyan-500\/30{border-color:#00b7d74d}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/30{border-color:color-mix(in oklab,var(--color-cyan-500)30%,transparent)}}.border-cyan-500\/40{border-color:#00b7d766}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/40{border-color:color-mix(in oklab,var(--color-cyan-500)40%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\/30{border-color:#3641534d}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/30{border-color:color-mix(in oklab,var(--color-gray-700)30%,transparent)}}.border-gray-700\/40{border-color:#36415366}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/40{border-color:color-mix(in oklab,var(--color-gray-700)40%,transparent)}}.border-gray-700\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-gray-700\/60{border-color:#36415399}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/60{border-color:color-mix(in oklab,var(--color-gray-700)60%,transparent)}}.border-green-500\/30{border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.border-green-500\/30{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.border-green-500\/40{border-color:#00c75866}@supports (color:color-mix(in lab,red,red)){.border-green-500\/40{border-color:color-mix(in oklab,var(--color-green-500)40%,transparent)}}.border-inherit{border-color:inherit}.border-orange-500\/20{border-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/20{border-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.border-orange-500\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/30{border-color:color-mix(in oklab,var(--color-orange-500)30%,transparent)}}.border-orange-500\/40{border-color:#fe6e0066}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/40{border-color:color-mix(in oklab,var(--color-orange-500)40%,transparent)}}.border-orange-500\/50{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/50{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.border-purple-500\/20{border-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/20{border-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.border-purple-500\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/30{border-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.border-purple-500\/40{border-color:#ac4bff66}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/40{border-color:color-mix(in oklab,var(--color-purple-500)40%,transparent)}}.border-red-500{border-color:var(--color-red-500)}.border-red-500\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.border-red-500\/20{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.border-red-500\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.border-red-500\/30{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.border-red-500\/50{border-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.border-red-500\/50{border-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.border-transparent{border-color:#0000}.border-white\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-yellow-500\/30{border-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/30{border-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.border-yellow-500\/40{border-color:#edb20066}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/40{border-color:color-mix(in oklab,var(--color-yellow-500)40%,transparent)}}.bg-\[\#0a1628\]{background-color:#0a1628}.bg-\[\#0a1628\]\/50{background-color:#0a162880}.bg-\[\#0a1628\]\/60{background-color:#0a162899}.bg-\[\#0b1828\]{background-color:#0b1828}.bg-\[\#0f2137\]{background-color:#0f2137}.bg-\[\#00CED1\]{background-color:#00ced1}.bg-\[\#1C1C1E\]{background-color:#1c1c1e}.bg-\[\#07C160\]{background-color:#07c160}.bg-\[\#07C160\]\/5{background-color:#07c1600d}.bg-\[\#07C160\]\/10{background-color:#07c1601a}.bg-\[\#38bdac\]{background-color:#38bdac}.bg-\[\#38bdac\]\/5{background-color:#38bdac0d}.bg-\[\#38bdac\]\/10{background-color:#38bdac1a}.bg-\[\#38bdac\]\/15{background-color:#38bdac26}.bg-\[\#38bdac\]\/20{background-color:#38bdac33}.bg-\[\#38bdac\]\/30{background-color:#38bdac4d}.bg-\[\#38bdac\]\/60{background-color:#38bdac99}.bg-\[\#38bdac\]\/80{background-color:#38bdaccc}.bg-\[\#050c18\]{background-color:#050c18}.bg-\[\#162840\]{background-color:#162840}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/5{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/5{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-amber-500\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/30{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-black\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.bg-black\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-black\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\/90{background-color:color-mix(in oklab,var(--color-black)90%,transparent)}}.bg-blue-500\/5{background-color:#3080ff0d}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/5{background-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)}}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-cyan-500\/20{background-color:#00b7d733}@supports (color:color-mix(in lab,red,red)){.bg-cyan-500\/20{background-color:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.bg-emerald-500\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-500\/10{background-color:#6a72821a}@supports (color:color-mix(in lab,red,red)){.bg-gray-500\/10{background-color:color-mix(in oklab,var(--color-gray-500)10%,transparent)}}.bg-gray-500\/20{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.bg-gray-500\/20{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-600\/20{background-color:#4a556533}@supports (color:color-mix(in lab,red,red)){.bg-gray-600\/20{background-color:color-mix(in oklab,var(--color-gray-600)20%,transparent)}}.bg-gray-600\/50{background-color:#4a556580}@supports (color:color-mix(in lab,red,red)){.bg-gray-600\/50{background-color:color-mix(in oklab,var(--color-gray-600)50%,transparent)}}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-700\/50{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.bg-gray-700\/50{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.bg-green-400\/10{background-color:#05df721a}@supports (color:color-mix(in lab,red,red)){.bg-green-400\/10{background-color:color-mix(in oklab,var(--color-green-400)10%,transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\/10{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/10{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.bg-green-500\/20{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/20{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\/10{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/10{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.bg-orange-500\/20{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/20{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.bg-purple-500\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/20{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-red-600{background-color:var(--color-red-600)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-white\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-yellow-500\/20{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.bg-yellow-500\/20{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\[\#0f2137\]{--tw-gradient-from:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#00CED1\]{--tw-gradient-from:#00ced1;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#38bdac\]\/10{--tw-gradient-from:oklab(72.378% -.11483 -.0053193/.1);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500\/20{--tw-gradient-from:#3080ff33}@supports (color:color-mix(in lab,red,red)){.from-blue-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.from-blue-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-cyan-500\/20{--tw-gradient-from:#00b7d733}@supports (color:color-mix(in lab,red,red)){.from-cyan-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.from-cyan-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-500\/20{--tw-gradient-from:#00c75833}@supports (color:color-mix(in lab,red,red)){.from-green-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.from-green-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-500\/20{--tw-gradient-from:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.from-purple-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.from-purple-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-500\/20{--tw-gradient-from:#edb20033}@supports (color:color-mix(in lab,red,red)){.from-yellow-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.from-yellow-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-\[\#38bdac\]\/30{--tw-gradient-via:oklab(72.378% -.11483 -.0053193/.3);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-\[\#0f2137\]{--tw-gradient-to:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#20B2AA\]{--tw-gradient-to:#20b2aa;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#162d4a\]{--tw-gradient-to:#162d4a;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-amber-500\/20{--tw-gradient-to:#f99c0033}@supports (color:color-mix(in lab,red,red)){.to-amber-500\/20{--tw-gradient-to:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.to-amber-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-500\/5{--tw-gradient-to:#00b7d70d}@supports (color:color-mix(in lab,red,red)){.to-cyan-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-cyan-500)5%,transparent)}}.to-cyan-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-500\/5{--tw-gradient-to:#00c7580d}@supports (color:color-mix(in lab,red,red)){.to-green-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-green-500)5%,transparent)}}.to-green-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500\/5{--tw-gradient-to:#ac4bff0d}@supports (color:color-mix(in lab,red,red)){.to-purple-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-purple-500)5%,transparent)}}.to-purple-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-500\/5{--tw-gradient-to:#edb2000d}@supports (color:color-mix(in lab,red,red)){.to-yellow-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-yellow-500)5%,transparent)}}.to-yellow-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-amber-400{fill:var(--color-amber-400)}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-2\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-0{padding-inline:calc(var(--spacing)*0)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.py-20{padding-block:calc(var(--spacing)*20)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#00CED1\]{color:#00ced1}.text-\[\#07C160\]{color:#07c160}.text-\[\#07C160\]\/60{color:#07c16099}.text-\[\#07C160\]\/70{color:#07c160b3}.text-\[\#07C160\]\/80{color:#07c160cc}.text-\[\#26A17B\]{color:#26a17b}.text-\[\#38bdac\]{color:#38bdac}.text-\[\#38bdac\]\/30{color:#38bdac4d}.text-\[\#38bdac\]\/40{color:#38bdac66}.text-\[\#169BD7\]{color:#169bd7}.text-\[\#1677FF\]{color:#1677ff}.text-\[\#FFD700\]{color:gold}.text-amber-200{color:var(--color-amber-200)}.text-amber-200\/80{color:#fee685cc}@supports (color:color-mix(in lab,red,red)){.text-amber-200\/80{color:color-mix(in oklab,var(--color-amber-200)80%,transparent)}}.text-amber-300{color:var(--color-amber-300)}.text-amber-400{color:var(--color-amber-400)}.text-amber-400\/30{color:#fcbb004d}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/30{color:color-mix(in oklab,var(--color-amber-400)30%,transparent)}}.text-amber-400\/90{color:#fcbb00e6}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/90{color:color-mix(in oklab,var(--color-amber-400)90%,transparent)}}.text-black{color:var(--color-black)}.text-blue-300{color:var(--color-blue-300)}.text-blue-300\/60{color:#90c5ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-300\/60{color:color-mix(in oklab,var(--color-blue-300)60%,transparent)}}.text-blue-400{color:var(--color-blue-400)}.text-blue-400\/60{color:#54a2ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-400\/60{color:color-mix(in oklab,var(--color-blue-400)60%,transparent)}}.text-cyan-400{color:var(--color-cyan-400)}.text-emerald-400{color:var(--color-emerald-400)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-green-300{color:var(--color-green-300)}.text-green-400{color:var(--color-green-400)}.text-green-400\/90{color:#05df72e6}@supports (color:color-mix(in lab,red,red)){.text-green-400\/90{color:color-mix(in oklab,var(--color-green-400)90%,transparent)}}.text-green-500{color:var(--color-green-500)}.text-orange-300{color:var(--color-orange-300)}.text-orange-300\/60{color:#ffb96d99}@supports (color:color-mix(in lab,red,red)){.text-orange-300\/60{color:color-mix(in oklab,var(--color-orange-300)60%,transparent)}}.text-orange-400{color:var(--color-orange-400)}.text-orange-400\/60{color:#ff8b1a99}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/60{color:color-mix(in oklab,var(--color-orange-400)60%,transparent)}}.text-orange-400\/70{color:#ff8b1ab3}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/70{color:color-mix(in oklab,var(--color-orange-400)70%,transparent)}}.text-orange-400\/80{color:#ff8b1acc}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/80{color:color-mix(in oklab,var(--color-orange-400)80%,transparent)}}.text-purple-400{color:var(--color-purple-400)}.text-red-400{color:var(--color-red-400)}.text-rose-400{color:var(--color-rose-400)}.text-sky-300{color:var(--color-sky-300)}.text-white{color:var(--color-white)}.text-white\/40{color:#fff6}@supports (color:color-mix(in lab,red,red)){.text-white\/40{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.text-white\/60{color:#fff9}@supports (color:color-mix(in lab,red,red)){.text-white\/60{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-400\/60{color:#fac80099}@supports (color:color-mix(in lab,red,red)){.text-yellow-400\/60{color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.text-yellow-500\/70{color:#edb200b3}@supports (color:color-mix(in lab,red,red)){.text-yellow-500\/70{color:color-mix(in oklab,var(--color-yellow-500)70%,transparent)}}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.italic\!{font-style:italic!important}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline\!{text-decoration-line:underline!important}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.accent-\[\#38bdac\]{accent-color:#38bdac}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[\#38bdac\]\/20{--tw-shadow-color:#38bdac33}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/20{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.2) var(--tw-shadow-alpha),transparent)}}.shadow-\[\#38bdac\]\/30{--tw-shadow-color:#38bdac4d}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/30{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.3) var(--tw-shadow-alpha),transparent)}}.ring-\[\#38bdac\]{--tw-ring-color:#38bdac}.ring-\[\#38bdac\]\/40{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.4)}.ring-\[\#38bdac\]\/50{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.5)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter\!{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition\!{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.group-hover\:text-\[\#38bdac\]:is(:where(.group):hover *){color:#38bdac}.group-hover\:text-gray-400:is(:where(.group):hover *){color:var(--color-gray-400)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.placeholder\:text-gray-500::placeholder{color:var(--color-gray-500)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\:border-\[\#38bdac\]\/30:hover{border-color:#38bdac4d}.hover\:border-\[\#38bdac\]\/50:hover{border-color:#38bdac80}.hover\:border-\[\#38bdac\]\/60:hover{border-color:#38bdac99}.hover\:border-\[\#38bdac\]\/70:hover{border-color:#38bdacb3}.hover\:border-blue-500\/60:hover{border-color:#3080ff99}@supports (color:color-mix(in lab,red,red)){.hover\:border-blue-500\/60:hover{border-color:color-mix(in oklab,var(--color-blue-500)60%,transparent)}}.hover\:border-gray-500:hover{border-color:var(--color-gray-500)}.hover\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\:border-orange-500\/50:hover{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.hover\:border-orange-500\/50:hover{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.hover\:border-yellow-500\/60:hover{border-color:#edb20099}@supports (color:color-mix(in lab,red,red)){.hover\:border-yellow-500\/60:hover{border-color:color-mix(in oklab,var(--color-yellow-500)60%,transparent)}}.hover\:bg-\[\#0a1628\]:hover{background-color:#0a1628}.hover\:bg-\[\#0a1628\]\/80:hover{background-color:#0a1628cc}.hover\:bg-\[\#1a3050\]:hover{background-color:#1a3050}.hover\:bg-\[\#2da396\]:hover{background-color:#2da396}.hover\:bg-\[\#06AD51\]:hover{background-color:#06ad51}.hover\:bg-\[\#07C160\]\/10:hover{background-color:#07c1601a}.hover\:bg-\[\#20B2AA\]:hover{background-color:#20b2aa}.hover\:bg-\[\#38bdac\]\/10:hover{background-color:#38bdac1a}.hover\:bg-\[\#38bdac\]\/20:hover{background-color:#38bdac33}.hover\:bg-\[\#162840\]:hover{background-color:#162840}.hover\:bg-\[\#162840\]\/30:hover{background-color:#1628404d}.hover\:bg-\[\#162840\]\/50:hover{background-color:#16284080}.hover\:bg-amber-500\/10:hover{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/10:hover{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.hover\:bg-amber-500\/20:hover{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/20:hover{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.hover\:bg-amber-500\/30:hover{background-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/30:hover{background-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.hover\:bg-amber-600:hover{background-color:var(--color-amber-600)}.hover\:bg-blue-400\/10:hover{background-color:#54a2ff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-400\/10:hover{background-color:color-mix(in oklab,var(--color-blue-400)10%,transparent)}}.hover\:bg-blue-500\/20:hover{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-500\/20:hover{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.hover\:bg-gray-500:hover{background-color:var(--color-gray-500)}.hover\:bg-gray-500\/20:hover{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-500\/20:hover{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\:bg-gray-700\/50:hover{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-700\/50:hover{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-green-500\/20:hover{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.hover\:bg-green-500\/20:hover{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-orange-400\/10:hover{background-color:#ff8b1a1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-400\/10:hover{background-color:color-mix(in oklab,var(--color-orange-400)10%,transparent)}}.hover\:bg-orange-500\/10:hover{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/10:hover{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.hover\:bg-orange-500\/20:hover{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/20:hover{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.hover\:bg-orange-600:hover{background-color:var(--color-orange-600)}.hover\:bg-purple-500\/10:hover{background-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/10:hover{background-color:color-mix(in oklab,var(--color-purple-500)10%,transparent)}}.hover\:bg-purple-500\/20:hover{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/20:hover{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.hover\:bg-purple-500\/30:hover{background-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/30:hover{background-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.hover\:bg-red-500\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\:bg-red-500\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\:bg-white\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/5:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:bg-yellow-500\/20:hover{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/20:hover{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.hover\:bg-yellow-500\/30:hover{background-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/30:hover{background-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.hover\:text-\[\#2da396\]:hover{color:#2da396}.hover\:text-\[\#5fe0cd\]:hover{color:#5fe0cd}.hover\:text-\[\#38bdac\]:hover{color:#38bdac}.hover\:text-amber-200:hover{color:var(--color-amber-200)}.hover\:text-amber-300:hover{color:var(--color-amber-300)}.hover\:text-amber-400:hover{color:var(--color-amber-400)}.hover\:text-blue-300:hover{color:var(--color-blue-300)}.hover\:text-blue-400:hover{color:var(--color-blue-400)}.hover\:text-gray-300:hover{color:var(--color-gray-300)}.hover\:text-green-400:hover{color:var(--color-green-400)}.hover\:text-orange-400:hover{color:var(--color-orange-400)}.hover\:text-red-300:hover{color:var(--color-red-300)}.hover\:text-red-400:hover{color:var(--color-red-400)}.hover\:text-sky-200:hover{color:var(--color-sky-200)}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}}.focus\:border-\[\#38bdac\]:focus{border-color:#38bdac}.focus\:border-orange-500\/50:focus{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.focus\:border-orange-500\/50:focus{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.focus\:bg-\[\#38bdac\]\/20:focus{background-color:#38bdac33}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-\[\#38bdac\]:focus{--tw-ring-color:#38bdac}.focus\:ring-amber-400:focus{--tw-ring-color:var(--color-amber-400)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[\#38bdac\]:focus-visible{--tw-ring-color:#38bdac}.focus-visible\:ring-red-500:focus-visible{--tw-ring-color:var(--color-red-500)}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-\[\#0a1628\]:focus-visible{--tw-ring-offset-color:#0a1628}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:cursor-grabbing:active{cursor:grabbing}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=active\]\:bg-\[\#07C160\]\/20[data-state=active]{background-color:#07c16033}.data-\[state\=active\]\:bg-\[\#26A17B\]\/20[data-state=active]{background-color:#26a17b33}.data-\[state\=active\]\:bg-\[\#38bdac\]\/20[data-state=active]{background-color:#38bdac33}.data-\[state\=active\]\:bg-\[\#1677FF\]\/20[data-state=active]{background-color:#1677ff33}.data-\[state\=active\]\:bg-\[\#003087\]\/20[data-state=active]{background-color:#00308733}.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.data-\[state\=active\]\:font-medium[data-state=active]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\[state\=active\]\:text-\[\#07C160\][data-state=active]{color:#07c160}.data-\[state\=active\]\:text-\[\#26A17B\][data-state=active]{color:#26a17b}.data-\[state\=active\]\:text-\[\#38bdac\][data-state=active]{color:#38bdac}.data-\[state\=active\]\:text-\[\#169BD7\][data-state=active]{color:#169bd7}.data-\[state\=active\]\:text-\[\#1677FF\][data-state=active]{color:#1677ff}.data-\[state\=active\]\:text-amber-400[data-state=active]{color:var(--color-amber-400)}.data-\[state\=active\]\:text-purple-400[data-state=active]{color:var(--color-purple-400)}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-\[\#38bdac\][data-state=checked]{background-color:#38bdac}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-gray-600[data-state=unchecked]{background-color:var(--color-gray-600)}@media(min-width:40rem){.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media(min-width:48rem){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:64rem){.lg\:block{display:block}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(min-width:80rem){.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}:root{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20% .02 240);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20% .02 240);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(65% .15 180);--primary-foreground:oklch(20% 0 0);--secondary:oklch(27% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27% 0 0);--muted-foreground:oklch(65% 0 0);--accent:oklch(27% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(55% .2 25);--destructive-foreground:oklch(98.5% 0 0);--border:oklch(35% 0 0);--input:oklch(35% 0 0);--ring:oklch(65% .15 180);--radius:.625rem}body{font-family:var(--font-sans);color:var(--foreground);background:#0a1628}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}} diff --git a/soul-admin/dist/assets/index-A95wVqFr.js b/soul-admin/dist/assets/index-BI5eNUOf.js similarity index 71% rename from soul-admin/dist/assets/index-A95wVqFr.js rename to soul-admin/dist/assets/index-BI5eNUOf.js index 8f1ebc28..90cbab14 100644 --- a/soul-admin/dist/assets/index-A95wVqFr.js +++ b/soul-admin/dist/assets/index-BI5eNUOf.js @@ -1,4 +1,4 @@ -function xE(t,e){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();function Pw(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var jm={exports:{}},Rc={},km={exports:{}},ht={};/** +function bE(t,e){for(var n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();function Dw(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Sm={exports:{}},Rc={},Cm={exports:{}},ht={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function xE(t,e){for(var n=0;n>>1,U=I[z];if(0>>1;za(ce,J))Ya(X,ce)?(I[z]=X,I[Y]=J,z=Y):(I[z]=ce,I[B]=J,z=B);else if(Ya(X,J))I[z]=X,I[Y]=J,z=Y;else break e}}return se}function a(I,se){var J=I.sortIndex-se.sortIndex;return J!==0?J:I.id-se.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,c=o.now();t.unstable_now=function(){return o.now()-c}}var u=[],h=[],f=1,m=null,g=3,y=!1,v=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(I){for(var se=n(h);se!==null;){if(se.callback===null)r(h);else if(se.startTime<=I)r(h),se.sortIndex=se.expirationTime,e(u,se);else break;se=n(h)}}function A(I){if(w=!1,E(I),!v)if(n(u)!==null)v=!0,O(D);else{var se=n(h);se!==null&&F(A,se.startTime-I)}}function D(I,se){v=!1,w&&(w=!1,k(P),P=-1),y=!0;var J=g;try{for(E(se),m=n(u);m!==null&&(!(m.expirationTime>se)||I&&!ee());){var z=m.callback;if(typeof z=="function"){m.callback=null,g=m.priorityLevel;var U=z(m.expirationTime<=se);se=t.unstable_now(),typeof U=="function"?m.callback=U:m===n(u)&&r(u),E(se)}else r(u);m=n(u)}if(m!==null)var q=!0;else{var B=n(h);B!==null&&F(A,B.startTime-se),q=!1}return q}finally{m=null,g=J,y=!1}}var H=!1,_=null,P=-1,L=5,$=-1;function ee(){return!(t.unstable_now()-$I||125z?(I.sortIndex=J,e(h,I),n(u)===null&&I===n(h)&&(w?(k(P),P=-1):w=!0,F(A,J-z))):(I.sortIndex=U,e(u,I),v||y||(v=!0,O(D))),I},t.unstable_shouldYield=ee,t.unstable_wrapCallback=function(I){var se=g;return function(){var J=g;g=se;try{return I.apply(this,arguments)}finally{g=J}}}})(Em)),Em}var Cv;function wE(){return Cv||(Cv=1,Cm.exports=NE()),Cm.exports}/** + */var Ev;function jE(){return Ev||(Ev=1,(function(t){function e(I,se){var J=I.length;I.push(se);e:for(;0>>1,U=I[z];if(0>>1;za(ce,J))Ya(X,ce)?(I[z]=X,I[Y]=J,z=Y):(I[z]=ce,I[V]=J,z=V);else if(Ya(X,J))I[z]=X,I[Y]=J,z=Y;else break e}}return se}function a(I,se){var J=I.sortIndex-se.sortIndex;return J!==0?J:I.id-se.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;t.unstable_now=function(){return i.now()}}else{var o=Date,c=o.now();t.unstable_now=function(){return o.now()-c}}var u=[],h=[],f=1,m=null,g=3,y=!1,v=!1,w=!1,N=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,C=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(I){for(var se=n(h);se!==null;){if(se.callback===null)r(h);else if(se.startTime<=I)r(h),se.sortIndex=se.expirationTime,e(u,se);else break;se=n(h)}}function A(I){if(w=!1,E(I),!v)if(n(u)!==null)v=!0,O(D);else{var se=n(h);se!==null&&F(A,se.startTime-I)}}function D(I,se){v=!1,w&&(w=!1,k(P),P=-1),y=!0;var J=g;try{for(E(se),m=n(u);m!==null&&(!(m.expirationTime>se)||I&&!ee());){var z=m.callback;if(typeof z=="function"){m.callback=null,g=m.priorityLevel;var U=z(m.expirationTime<=se);se=t.unstable_now(),typeof U=="function"?m.callback=U:m===n(u)&&r(u),E(se)}else r(u);m=n(u)}if(m!==null)var q=!0;else{var V=n(h);V!==null&&F(A,V.startTime-se),q=!1}return q}finally{m=null,g=J,y=!1}}var H=!1,_=null,P=-1,L=5,$=-1;function ee(){return!(t.unstable_now()-$I||125z?(I.sortIndex=J,e(h,I),n(u)===null&&I===n(h)&&(w?(k(P),P=-1):w=!0,F(A,J-z))):(I.sortIndex=U,e(u,I),v||y||(v=!0,O(D))),I},t.unstable_shouldYield=ee,t.unstable_wrapCallback=function(I){var se=g;return function(){var J=g;g=se;try{return I.apply(this,arguments)}finally{g=J}}}})(Mm)),Mm}var Tv;function kE(){return Tv||(Tv=1,Tm.exports=jE()),Tm.exports}/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function xE(t,e){for(var n=0;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function g(l){return u.call(m,l)?!0:u.call(f,l)?!1:h.test(l)?m[l]=!0:(f[l]=!0,!1)}function y(l,d,p,x){if(p!==null&&p.type===0)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":return x?!1:p!==null?!p.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function v(l,d,p,x){if(d===null||typeof d>"u"||y(l,d,p,x))return!0;if(x)return!1;if(p!==null)switch(p.type){case 3:return!d;case 4:return d===!1;case 5:return isNaN(d);case 6:return isNaN(d)||1>d}return!1}function w(l,d,p,x,j,S,M){this.acceptsBooleans=d===2||d===3||d===4,this.attributeName=x,this.attributeNamespace=j,this.mustUseProperty=p,this.propertyName=l,this.type=d,this.sanitizeURL=S,this.removeEmptyString=M}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){N[l]=new w(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var d=l[0];N[d]=new w(d,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){N[l]=new w(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){N[l]=new w(l,2,!1,l,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(l){N[l]=new w(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){N[l]=new w(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){N[l]=new w(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){N[l]=new w(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){N[l]=new w(l,5,!1,l.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function C(l){return l[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(l){var d=l.replace(k,C);N[d]=new w(d,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var d=l.replace(k,C);N[d]=new w(d,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var d=l.replace(k,C);N[d]=new w(d,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){N[l]=new w(l,1,!1,l.toLowerCase(),null,!1,!1)}),N.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){N[l]=new w(l,1,!1,l.toLowerCase(),null,!0,!0)});function E(l,d,p,x){var j=N.hasOwnProperty(d)?N[d]:null;(j!==null?j.type!==0:x||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),u=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},m={};function g(l){return u.call(m,l)?!0:u.call(f,l)?!1:h.test(l)?m[l]=!0:(f[l]=!0,!1)}function y(l,d,p,x){if(p!==null&&p.type===0)return!1;switch(typeof d){case"function":case"symbol":return!0;case"boolean":return x?!1:p!==null?!p.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function v(l,d,p,x){if(d===null||typeof d>"u"||y(l,d,p,x))return!0;if(x)return!1;if(p!==null)switch(p.type){case 3:return!d;case 4:return d===!1;case 5:return isNaN(d);case 6:return isNaN(d)||1>d}return!1}function w(l,d,p,x,j,S,M){this.acceptsBooleans=d===2||d===3||d===4,this.attributeName=x,this.attributeNamespace=j,this.mustUseProperty=p,this.propertyName=l,this.type=d,this.sanitizeURL=S,this.removeEmptyString=M}var N={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){N[l]=new w(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var d=l[0];N[d]=new w(d,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){N[l]=new w(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){N[l]=new w(l,2,!1,l,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(l){N[l]=new w(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){N[l]=new w(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){N[l]=new w(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){N[l]=new w(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){N[l]=new w(l,5,!1,l.toLowerCase(),null,!1,!1)});var k=/[\-:]([a-z])/g;function C(l){return l[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(l){var d=l.replace(k,C);N[d]=new w(d,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var d=l.replace(k,C);N[d]=new w(d,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var d=l.replace(k,C);N[d]=new w(d,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){N[l]=new w(l,1,!1,l.toLowerCase(),null,!1,!1)}),N.xlinkHref=new w("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){N[l]=new w(l,1,!1,l.toLowerCase(),null,!0,!0)});function E(l,d,p,x){var j=N.hasOwnProperty(d)?N[d]:null;(j!==null?j.type!==0:x||!(2W||j[M]!==S[W]){var Q=` -`+j[M].replace(" at new "," at ");return l.displayName&&Q.includes("")&&(Q=Q.replace("",l.displayName)),Q}while(1<=M&&0<=W);break}}}finally{q=!1,Error.prepareStackTrace=p}return(l=l?l.displayName||l.name:"")?U(l):""}function ce(l){switch(l.tag){case 5:return U(l.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return l=B(l.type,!1),l;case 11:return l=B(l.type.render,!1),l;case 1:return l=B(l.type,!0),l;default:return""}}function Y(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case _:return"Fragment";case H:return"Portal";case L:return"Profiler";case P:return"StrictMode";case ue:return"Suspense";case me:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case ee:return(l.displayName||"Context")+".Consumer";case $:return(l._context.displayName||"Context")+".Provider";case K:var d=l.render;return l=l.displayName,l||(l=d.displayName||d.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case R:return d=l.displayName||null,d!==null?d:Y(l.type)||"Memo";case O:d=l._payload,l=l._init;try{return Y(l(d))}catch{}}return null}function X(l){var d=l.type;switch(l.tag){case 24:return"Cache";case 9:return(d.displayName||"Context")+".Consumer";case 10:return(d._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=d.render,l=l.displayName||l.name||"",d.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return d;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Y(d);case 8:return d===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d}return null}function ae(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function ye(l){var d=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function Me(l){var d=ye(l)?"checked":"value",p=Object.getOwnPropertyDescriptor(l.constructor.prototype,d),x=""+l[d];if(!l.hasOwnProperty(d)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var j=p.get,S=p.set;return Object.defineProperty(l,d,{configurable:!0,get:function(){return j.call(this)},set:function(M){x=""+M,S.call(this,M)}}),Object.defineProperty(l,d,{enumerable:p.enumerable}),{getValue:function(){return x},setValue:function(M){x=""+M},stopTracking:function(){l._valueTracker=null,delete l[d]}}}}function Be(l){l._valueTracker||(l._valueTracker=Me(l))}function He(l){if(!l)return!1;var d=l._valueTracker;if(!d)return!0;var p=d.getValue(),x="";return l&&(x=ye(l)?l.checked?"true":"false":l.value),l=x,l!==p?(d.setValue(l),!0):!1}function gt(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function Dt(l,d){var p=d.checked;return J({},d,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??l._wrapperState.initialChecked})}function jn(l,d){var p=d.defaultValue==null?"":d.defaultValue,x=d.checked!=null?d.checked:d.defaultChecked;p=ae(d.value!=null?d.value:p),l._wrapperState={initialChecked:x,initialValue:p,controlled:d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null}}function it(l,d){d=d.checked,d!=null&&E(l,"checked",d,!1)}function Mt(l,d){it(l,d);var p=ae(d.value),x=d.type;if(p!=null)x==="number"?(p===0&&l.value===""||l.value!=p)&&(l.value=""+p):l.value!==""+p&&(l.value=""+p);else if(x==="submit"||x==="reset"){l.removeAttribute("value");return}d.hasOwnProperty("value")?Pe(l,d.type,p):d.hasOwnProperty("defaultValue")&&Pe(l,d.type,ae(d.defaultValue)),d.checked==null&&d.defaultChecked!=null&&(l.defaultChecked=!!d.defaultChecked)}function re(l,d,p){if(d.hasOwnProperty("value")||d.hasOwnProperty("defaultValue")){var x=d.type;if(!(x!=="submit"&&x!=="reset"||d.value!==void 0&&d.value!==null))return;d=""+l._wrapperState.initialValue,p||d===l.value||(l.value=d),l.defaultValue=d}p=l.name,p!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,p!==""&&(l.name=p)}function Pe(l,d,p){(d!=="number"||gt(l.ownerDocument)!==l)&&(p==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+p&&(l.defaultValue=""+p))}var et=Array.isArray;function xt(l,d,p,x){if(l=l.options,d){d={};for(var j=0;j"+d.valueOf().toString()+"",d=At.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;d.firstChild;)l.appendChild(d.firstChild)}});function ns(l,d){if(d){var p=l.firstChild;if(p&&p===l.lastChild&&p.nodeType===3){p.nodeValue=d;return}}l.textContent=d}var or={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","ms","Moz","O"];Object.keys(or).forEach(function(l){ge.forEach(function(d){d=d+l.charAt(0).toUpperCase()+l.substring(1),or[d]=or[l]})});function Ne(l,d,p){return d==null||typeof d=="boolean"||d===""?"":p||typeof d!="number"||d===0||or.hasOwnProperty(l)&&or[l]?(""+d).trim():d+"px"}function qn(l,d){l=l.style;for(var p in d)if(d.hasOwnProperty(p)){var x=p.indexOf("--")===0,j=Ne(p,d[p],x);p==="float"&&(p="cssFloat"),x?l.setProperty(p,j):l[p]=j}}var Es=J({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ts(l,d){if(d){if(Es[l]&&(d.children!=null||d.dangerouslySetInnerHTML!=null))throw Error(n(137,l));if(d.dangerouslySetInnerHTML!=null){if(d.children!=null)throw Error(n(60));if(typeof d.dangerouslySetInnerHTML!="object"||!("__html"in d.dangerouslySetInnerHTML))throw Error(n(61))}if(d.style!=null&&typeof d.style!="object")throw Error(n(62))}}function Pa(l,d){if(l.indexOf("-")===-1)return typeof d.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var br=null;function Vi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var vr=null,lr=null,Ms=null;function Oa(l){if(l=xc(l)){if(typeof vr!="function")throw Error(n(280));var d=l.stateNode;d&&(d=Ud(d),vr(l.stateNode,l.type,d))}}function Hi(l){lr?Ms?Ms.push(l):Ms=[l]:lr=l}function Xs(){if(lr){var l=lr,d=Ms;if(Ms=lr=null,Oa(l),d)for(l=0;l>>=0,l===0?32:31-(Wo(l)/Fa|0)|0}var Rs=64,Ps=4194304;function Os(l){switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return l&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function Ds(l,d){var p=l.pendingLanes;if(p===0)return 0;var x=0,j=l.suspendedLanes,S=l.pingedLanes,M=p&268435455;if(M!==0){var W=M&~j;W!==0?x=Os(W):(S&=M,S!==0&&(x=Os(S)))}else M=p&~j,M!==0?x=Os(M):S!==0&&(x=Os(S));if(x===0)return 0;if(d!==0&&d!==x&&(d&j)===0&&(j=x&-x,S=d&-d,j>=S||j===16&&(S&4194240)!==0))return d;if((x&4)!==0&&(x|=p&16),d=l.entangledLanes,d!==0)for(l=l.entanglements,d&=x;0p;p++)d.push(l);return d}function kn(l,d,p){l.pendingLanes|=d,d!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,d=31-$n(d),l[d]=p}function Uo(l,d){var p=l.pendingLanes&~d;l.pendingLanes=d,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=d,l.mutableReadLanes&=d,l.entangledLanes&=d,d=l.entanglements;var x=l.eventTimes;for(l=l.expirationTimes;0=lc),py=" ",my=!1;function gy(l,d){switch(l){case"keyup":return h3.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xy(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Yo=!1;function p3(l,d){switch(l){case"compositionend":return xy(d);case"keypress":return d.which!==32?null:(my=!0,py);case"textInput":return l=d.data,l===py&&my?null:l;default:return null}}function m3(l,d){if(Yo)return l==="compositionend"||!rp&&gy(l,d)?(l=ly(),Od=Qf=Wa=null,Yo=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:p,offset:d-l};l=x}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=ky(p)}}function Cy(l,d){return l&&d?l===d?!0:l&&l.nodeType===3?!1:d&&d.nodeType===3?Cy(l,d.parentNode):"contains"in l?l.contains(d):l.compareDocumentPosition?!!(l.compareDocumentPosition(d)&16):!1:!1}function Ey(){for(var l=window,d=gt();d instanceof l.HTMLIFrameElement;){try{var p=typeof d.contentWindow.location.href=="string"}catch{p=!1}if(p)l=d.contentWindow;else break;d=gt(l.document)}return d}function ip(l){var d=l&&l.nodeName&&l.nodeName.toLowerCase();return d&&(d==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||d==="textarea"||l.contentEditable==="true")}function k3(l){var d=Ey(),p=l.focusedElem,x=l.selectionRange;if(d!==p&&p&&p.ownerDocument&&Cy(p.ownerDocument.documentElement,p)){if(x!==null&&ip(p)){if(d=x.start,l=x.end,l===void 0&&(l=d),"selectionStart"in p)p.selectionStart=d,p.selectionEnd=Math.min(l,p.value.length);else if(l=(d=p.ownerDocument||document)&&d.defaultView||window,l.getSelection){l=l.getSelection();var j=p.textContent.length,S=Math.min(x.start,j);x=x.end===void 0?S:Math.min(x.end,j),!l.extend&&S>x&&(j=x,x=S,S=j),j=Sy(p,S);var M=Sy(p,x);j&&M&&(l.rangeCount!==1||l.anchorNode!==j.node||l.anchorOffset!==j.offset||l.focusNode!==M.node||l.focusOffset!==M.offset)&&(d=d.createRange(),d.setStart(j.node,j.offset),l.removeAllRanges(),S>x?(l.addRange(d),l.extend(M.node,M.offset)):(d.setEnd(M.node,M.offset),l.addRange(d)))}}for(d=[],l=p;l=l.parentNode;)l.nodeType===1&&d.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p=document.documentMode,Qo=null,op=null,hc=null,lp=!1;function Ty(l,d,p){var x=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;lp||Qo==null||Qo!==gt(x)||(x=Qo,"selectionStart"in x&&ip(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),hc&&uc(hc,x)||(hc=x,x=Vd(op,"onSelect"),0nl||(l.current=vp[nl],vp[nl]=null,nl--)}function _t(l,d){nl++,vp[nl]=l.current,l.current=d}var Ga={},Yn=qa(Ga),wr=qa(!1),Xi=Ga;function rl(l,d){var p=l.type.contextTypes;if(!p)return Ga;var x=l.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===d)return x.__reactInternalMemoizedMaskedChildContext;var j={},S;for(S in p)j[S]=d[S];return x&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=d,l.__reactInternalMemoizedMaskedChildContext=j),j}function jr(l){return l=l.childContextTypes,l!=null}function Kd(){qt(wr),qt(Yn)}function Hy(l,d,p){if(Yn.current!==Ga)throw Error(n(168));_t(Yn,d),_t(wr,p)}function Wy(l,d,p){var x=l.stateNode;if(d=d.childContextTypes,typeof x.getChildContext!="function")return p;x=x.getChildContext();for(var j in x)if(!(j in d))throw Error(n(108,X(l)||"Unknown",j));return J({},p,x)}function qd(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Ga,Xi=Yn.current,_t(Yn,l),_t(wr,wr.current),!0}function Uy(l,d,p){var x=l.stateNode;if(!x)throw Error(n(169));p?(l=Wy(l,d,Xi),x.__reactInternalMemoizedMergedChildContext=l,qt(wr),qt(Yn),_t(Yn,l)):qt(wr),_t(wr,p)}var ia=null,Gd=!1,Np=!1;function Ky(l){ia===null?ia=[l]:ia.push(l)}function L3(l){Gd=!0,Ky(l)}function Ja(){if(!Np&&ia!==null){Np=!0;var l=0,d=st;try{var p=ia;for(st=1;l>=M,j-=M,oa=1<<32-$n(d)+j|p<rt?(On=Ze,Ze=null):On=Ze.sibling;var bt=ve(ie,Ze,de[rt],Ie);if(bt===null){Ze===null&&(Ze=On);break}l&&Ze&&bt.alternate===null&&d(ie,Ze),Z=S(bt,Z,rt),Xe===null?Ve=bt:Xe.sibling=bt,Xe=bt,Ze=On}if(rt===de.length)return p(ie,Ze),Jt&&eo(ie,rt),Ve;if(Ze===null){for(;rtrt?(On=Ze,Ze=null):On=Ze.sibling;var si=ve(ie,Ze,bt.value,Ie);if(si===null){Ze===null&&(Ze=On);break}l&&Ze&&si.alternate===null&&d(ie,Ze),Z=S(si,Z,rt),Xe===null?Ve=si:Xe.sibling=si,Xe=si,Ze=On}if(bt.done)return p(ie,Ze),Jt&&eo(ie,rt),Ve;if(Ze===null){for(;!bt.done;rt++,bt=de.next())bt=je(ie,bt.value,Ie),bt!==null&&(Z=S(bt,Z,rt),Xe===null?Ve=bt:Xe.sibling=bt,Xe=bt);return Jt&&eo(ie,rt),Ve}for(Ze=x(ie,Ze);!bt.done;rt++,bt=de.next())bt=Oe(Ze,ie,rt,bt.value,Ie),bt!==null&&(l&&bt.alternate!==null&&Ze.delete(bt.key===null?rt:bt.key),Z=S(bt,Z,rt),Xe===null?Ve=bt:Xe.sibling=bt,Xe=bt);return l&&Ze.forEach(function(gE){return d(ie,gE)}),Jt&&eo(ie,rt),Ve}function fn(ie,Z,de,Ie){if(typeof de=="object"&&de!==null&&de.type===_&&de.key===null&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case D:e:{for(var Ve=de.key,Xe=Z;Xe!==null;){if(Xe.key===Ve){if(Ve=de.type,Ve===_){if(Xe.tag===7){p(ie,Xe.sibling),Z=j(Xe,de.props.children),Z.return=ie,ie=Z;break e}}else if(Xe.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===O&&Xy(Ve)===Xe.type){p(ie,Xe.sibling),Z=j(Xe,de.props),Z.ref=yc(ie,Xe,de),Z.return=ie,ie=Z;break e}p(ie,Xe);break}else d(ie,Xe);Xe=Xe.sibling}de.type===_?(Z=lo(de.props.children,ie.mode,Ie,de.key),Z.return=ie,ie=Z):(Ie=wu(de.type,de.key,de.props,null,ie.mode,Ie),Ie.ref=yc(ie,Z,de),Ie.return=ie,ie=Ie)}return M(ie);case H:e:{for(Xe=de.key;Z!==null;){if(Z.key===Xe)if(Z.tag===4&&Z.stateNode.containerInfo===de.containerInfo&&Z.stateNode.implementation===de.implementation){p(ie,Z.sibling),Z=j(Z,de.children||[]),Z.return=ie,ie=Z;break e}else{p(ie,Z);break}else d(ie,Z);Z=Z.sibling}Z=ym(de,ie.mode,Ie),Z.return=ie,ie=Z}return M(ie);case O:return Xe=de._init,fn(ie,Z,Xe(de._payload),Ie)}if(et(de))return _e(ie,Z,de,Ie);if(se(de))return Fe(ie,Z,de,Ie);Xd(ie,de)}return typeof de=="string"&&de!==""||typeof de=="number"?(de=""+de,Z!==null&&Z.tag===6?(p(ie,Z.sibling),Z=j(Z,de),Z.return=ie,ie=Z):(p(ie,Z),Z=xm(de,ie.mode,Ie),Z.return=ie,ie=Z),M(ie)):p(ie,Z)}return fn}var ol=Zy(!0),eb=Zy(!1),Zd=qa(null),eu=null,ll=null,Ep=null;function Tp(){Ep=ll=eu=null}function Mp(l){var d=Zd.current;qt(Zd),l._currentValue=d}function Ap(l,d,p){for(;l!==null;){var x=l.alternate;if((l.childLanes&d)!==d?(l.childLanes|=d,x!==null&&(x.childLanes|=d)):x!==null&&(x.childLanes&d)!==d&&(x.childLanes|=d),l===p)break;l=l.return}}function cl(l,d){eu=l,Ep=ll=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&d)!==0&&(kr=!0),l.firstContext=null)}function Ur(l){var d=l._currentValue;if(Ep!==l)if(l={context:l,memoizedValue:d,next:null},ll===null){if(eu===null)throw Error(n(308));ll=l,eu.dependencies={lanes:0,firstContext:l}}else ll=ll.next=l;return d}var to=null;function Ip(l){to===null?to=[l]:to.push(l)}function tb(l,d,p,x){var j=d.interleaved;return j===null?(p.next=p,Ip(d)):(p.next=j.next,j.next=p),d.interleaved=p,ca(l,x)}function ca(l,d){l.lanes|=d;var p=l.alternate;for(p!==null&&(p.lanes|=d),p=l,l=l.return;l!==null;)l.childLanes|=d,p=l.alternate,p!==null&&(p.childLanes|=d),p=l,l=l.return;return p.tag===3?p.stateNode:null}var Ya=!1;function Rp(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function nb(l,d){l=l.updateQueue,d.updateQueue===l&&(d.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function da(l,d){return{eventTime:l,lane:d,tag:0,payload:null,callback:null,next:null}}function Qa(l,d,p){var x=l.updateQueue;if(x===null)return null;if(x=x.shared,(mt&2)!==0){var j=x.pending;return j===null?d.next=d:(d.next=j.next,j.next=d),x.pending=d,ca(l,p)}return j=x.interleaved,j===null?(d.next=d,Ip(x)):(d.next=j.next,j.next=d),x.interleaved=d,ca(l,p)}function tu(l,d,p){if(d=d.updateQueue,d!==null&&(d=d.shared,(p&4194240)!==0)){var x=d.lanes;x&=l.pendingLanes,p|=x,d.lanes=p,Xt(l,p)}}function rb(l,d){var p=l.updateQueue,x=l.alternate;if(x!==null&&(x=x.updateQueue,p===x)){var j=null,S=null;if(p=p.firstBaseUpdate,p!==null){do{var M={eventTime:p.eventTime,lane:p.lane,tag:p.tag,payload:p.payload,callback:p.callback,next:null};S===null?j=S=M:S=S.next=M,p=p.next}while(p!==null);S===null?j=S=d:S=S.next=d}else j=S=d;p={baseState:x.baseState,firstBaseUpdate:j,lastBaseUpdate:S,shared:x.shared,effects:x.effects},l.updateQueue=p;return}l=p.lastBaseUpdate,l===null?p.firstBaseUpdate=d:l.next=d,p.lastBaseUpdate=d}function nu(l,d,p,x){var j=l.updateQueue;Ya=!1;var S=j.firstBaseUpdate,M=j.lastBaseUpdate,W=j.shared.pending;if(W!==null){j.shared.pending=null;var Q=W,pe=Q.next;Q.next=null,M===null?S=pe:M.next=pe,M=Q;var we=l.alternate;we!==null&&(we=we.updateQueue,W=we.lastBaseUpdate,W!==M&&(W===null?we.firstBaseUpdate=pe:W.next=pe,we.lastBaseUpdate=Q))}if(S!==null){var je=j.baseState;M=0,we=pe=Q=null,W=S;do{var ve=W.lane,Oe=W.eventTime;if((x&ve)===ve){we!==null&&(we=we.next={eventTime:Oe,lane:0,tag:W.tag,payload:W.payload,callback:W.callback,next:null});e:{var _e=l,Fe=W;switch(ve=d,Oe=p,Fe.tag){case 1:if(_e=Fe.payload,typeof _e=="function"){je=_e.call(Oe,je,ve);break e}je=_e;break e;case 3:_e.flags=_e.flags&-65537|128;case 0:if(_e=Fe.payload,ve=typeof _e=="function"?_e.call(Oe,je,ve):_e,ve==null)break e;je=J({},je,ve);break e;case 2:Ya=!0}}W.callback!==null&&W.lane!==0&&(l.flags|=64,ve=j.effects,ve===null?j.effects=[W]:ve.push(W))}else Oe={eventTime:Oe,lane:ve,tag:W.tag,payload:W.payload,callback:W.callback,next:null},we===null?(pe=we=Oe,Q=je):we=we.next=Oe,M|=ve;if(W=W.next,W===null){if(W=j.shared.pending,W===null)break;ve=W,W=ve.next,ve.next=null,j.lastBaseUpdate=ve,j.shared.pending=null}}while(!0);if(we===null&&(Q=je),j.baseState=Q,j.firstBaseUpdate=pe,j.lastBaseUpdate=we,d=j.shared.interleaved,d!==null){j=d;do M|=j.lane,j=j.next;while(j!==d)}else S===null&&(j.shared.lanes=0);so|=M,l.lanes=M,l.memoizedState=je}}function sb(l,d,p){if(l=d.effects,d.effects=null,l!==null)for(d=0;dp?p:4,l(!0);var x=_p.transition;_p.transition={};try{l(!1),d()}finally{st=p,_p.transition=x}}function jb(){return Kr().memoizedState}function F3(l,d,p){var x=ti(l);if(p={lane:x,action:p,hasEagerState:!1,eagerState:null,next:null},kb(l))Sb(d,p);else if(p=tb(l,d,p,x),p!==null){var j=hr();xs(p,l,x,j),Cb(p,d,x)}}function B3(l,d,p){var x=ti(l),j={lane:x,action:p,hasEagerState:!1,eagerState:null,next:null};if(kb(l))Sb(d,j);else{var S=l.alternate;if(l.lanes===0&&(S===null||S.lanes===0)&&(S=d.lastRenderedReducer,S!==null))try{var M=d.lastRenderedState,W=S(M,p);if(j.hasEagerState=!0,j.eagerState=W,hs(W,M)){var Q=d.interleaved;Q===null?(j.next=j,Ip(d)):(j.next=Q.next,Q.next=j),d.interleaved=j;return}}catch{}finally{}p=tb(l,d,j,x),p!==null&&(j=hr(),xs(p,l,x,j),Cb(p,d,x))}}function kb(l){var d=l.alternate;return l===en||d!==null&&d===en}function Sb(l,d){wc=au=!0;var p=l.pending;p===null?d.next=d:(d.next=p.next,p.next=d),l.pending=d}function Cb(l,d,p){if((p&4194240)!==0){var x=d.lanes;x&=l.pendingLanes,p|=x,d.lanes=p,Xt(l,p)}}var lu={readContext:Ur,useCallback:Qn,useContext:Qn,useEffect:Qn,useImperativeHandle:Qn,useInsertionEffect:Qn,useLayoutEffect:Qn,useMemo:Qn,useReducer:Qn,useRef:Qn,useState:Qn,useDebugValue:Qn,useDeferredValue:Qn,useTransition:Qn,useMutableSource:Qn,useSyncExternalStore:Qn,useId:Qn,unstable_isNewReconciler:!1},V3={readContext:Ur,useCallback:function(l,d){return $s().memoizedState=[l,d===void 0?null:d],l},useContext:Ur,useEffect:mb,useImperativeHandle:function(l,d,p){return p=p!=null?p.concat([l]):null,iu(4194308,4,yb.bind(null,d,l),p)},useLayoutEffect:function(l,d){return iu(4194308,4,l,d)},useInsertionEffect:function(l,d){return iu(4,2,l,d)},useMemo:function(l,d){var p=$s();return d=d===void 0?null:d,l=l(),p.memoizedState=[l,d],l},useReducer:function(l,d,p){var x=$s();return d=p!==void 0?p(d):d,x.memoizedState=x.baseState=d,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:d},x.queue=l,l=l.dispatch=F3.bind(null,en,l),[x.memoizedState,l]},useRef:function(l){var d=$s();return l={current:l},d.memoizedState=l},useState:fb,useDebugValue:Wp,useDeferredValue:function(l){return $s().memoizedState=l},useTransition:function(){var l=fb(!1),d=l[0];return l=$3.bind(null,l[1]),$s().memoizedState=l,[d,l]},useMutableSource:function(){},useSyncExternalStore:function(l,d,p){var x=en,j=$s();if(Jt){if(p===void 0)throw Error(n(407));p=p()}else{if(p=d(),Pn===null)throw Error(n(349));(ro&30)!==0||lb(x,d,p)}j.memoizedState=p;var S={value:p,getSnapshot:d};return j.queue=S,mb(db.bind(null,x,S,l),[l]),x.flags|=2048,Sc(9,cb.bind(null,x,S,p,d),void 0,null),p},useId:function(){var l=$s(),d=Pn.identifierPrefix;if(Jt){var p=la,x=oa;p=(x&~(1<<32-$n(x)-1)).toString(32)+p,d=":"+d+"R"+p,p=jc++,0")&&(Q=Q.replace("",l.displayName)),Q}while(1<=M&&0<=W);break}}}finally{q=!1,Error.prepareStackTrace=p}return(l=l?l.displayName||l.name:"")?U(l):""}function ce(l){switch(l.tag){case 5:return U(l.type);case 16:return U("Lazy");case 13:return U("Suspense");case 19:return U("SuspenseList");case 0:case 2:case 15:return l=V(l.type,!1),l;case 11:return l=V(l.type.render,!1),l;case 1:return l=V(l.type,!0),l;default:return""}}function Y(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case _:return"Fragment";case H:return"Portal";case L:return"Profiler";case P:return"StrictMode";case ue:return"Suspense";case me:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case ee:return(l.displayName||"Context")+".Consumer";case $:return(l._context.displayName||"Context")+".Provider";case K:var d=l.render;return l=l.displayName,l||(l=d.displayName||d.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case R:return d=l.displayName||null,d!==null?d:Y(l.type)||"Memo";case O:d=l._payload,l=l._init;try{return Y(l(d))}catch{}}return null}function X(l){var d=l.type;switch(l.tag){case 24:return"Cache";case 9:return(d.displayName||"Context")+".Consumer";case 10:return(d._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=d.render,l=l.displayName||l.name||"",d.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return d;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Y(d);case 8:return d===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d}return null}function ae(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function ye(l){var d=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(d==="checkbox"||d==="radio")}function je(l){var d=ye(l)?"checked":"value",p=Object.getOwnPropertyDescriptor(l.constructor.prototype,d),x=""+l[d];if(!l.hasOwnProperty(d)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var j=p.get,S=p.set;return Object.defineProperty(l,d,{configurable:!0,get:function(){return j.call(this)},set:function(M){x=""+M,S.call(this,M)}}),Object.defineProperty(l,d,{enumerable:p.enumerable}),{getValue:function(){return x},setValue:function(M){x=""+M},stopTracking:function(){l._valueTracker=null,delete l[d]}}}}function _e(l){l._valueTracker||(l._valueTracker=je(l))}function He(l){if(!l)return!1;var d=l._valueTracker;if(!d)return!0;var p=d.getValue(),x="";return l&&(x=ye(l)?l.checked?"true":"false":l.value),l=x,l!==p?(d.setValue(l),!0):!1}function gt(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function Dt(l,d){var p=d.checked;return J({},d,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??l._wrapperState.initialChecked})}function jn(l,d){var p=d.defaultValue==null?"":d.defaultValue,x=d.checked!=null?d.checked:d.defaultChecked;p=ae(d.value!=null?d.value:p),l._wrapperState={initialChecked:x,initialValue:p,controlled:d.type==="checkbox"||d.type==="radio"?d.checked!=null:d.value!=null}}function it(l,d){d=d.checked,d!=null&&E(l,"checked",d,!1)}function Mt(l,d){it(l,d);var p=ae(d.value),x=d.type;if(p!=null)x==="number"?(p===0&&l.value===""||l.value!=p)&&(l.value=""+p):l.value!==""+p&&(l.value=""+p);else if(x==="submit"||x==="reset"){l.removeAttribute("value");return}d.hasOwnProperty("value")?Pe(l,d.type,p):d.hasOwnProperty("defaultValue")&&Pe(l,d.type,ae(d.defaultValue)),d.checked==null&&d.defaultChecked!=null&&(l.defaultChecked=!!d.defaultChecked)}function re(l,d,p){if(d.hasOwnProperty("value")||d.hasOwnProperty("defaultValue")){var x=d.type;if(!(x!=="submit"&&x!=="reset"||d.value!==void 0&&d.value!==null))return;d=""+l._wrapperState.initialValue,p||d===l.value||(l.value=d),l.defaultValue=d}p=l.name,p!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,p!==""&&(l.name=p)}function Pe(l,d,p){(d!=="number"||gt(l.ownerDocument)!==l)&&(p==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+p&&(l.defaultValue=""+p))}var et=Array.isArray;function xt(l,d,p,x){if(l=l.options,d){d={};for(var j=0;j"+d.valueOf().toString()+"",d=At.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;d.firstChild;)l.appendChild(d.firstChild)}});function ns(l,d){if(d){var p=l.firstChild;if(p&&p===l.lastChild&&p.nodeType===3){p.nodeValue=d;return}}l.textContent=d}var or={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","ms","Moz","O"];Object.keys(or).forEach(function(l){ge.forEach(function(d){d=d+l.charAt(0).toUpperCase()+l.substring(1),or[d]=or[l]})});function Ne(l,d,p){return d==null||typeof d=="boolean"||d===""?"":p||typeof d!="number"||d===0||or.hasOwnProperty(l)&&or[l]?(""+d).trim():d+"px"}function qn(l,d){l=l.style;for(var p in d)if(d.hasOwnProperty(p)){var x=p.indexOf("--")===0,j=Ne(p,d[p],x);p==="float"&&(p="cssFloat"),x?l.setProperty(p,j):l[p]=j}}var Es=J({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Ts(l,d){if(d){if(Es[l]&&(d.children!=null||d.dangerouslySetInnerHTML!=null))throw Error(n(137,l));if(d.dangerouslySetInnerHTML!=null){if(d.children!=null)throw Error(n(60));if(typeof d.dangerouslySetInnerHTML!="object"||!("__html"in d.dangerouslySetInnerHTML))throw Error(n(61))}if(d.style!=null&&typeof d.style!="object")throw Error(n(62))}}function Pa(l,d){if(l.indexOf("-")===-1)return typeof d.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var br=null;function Vi(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var vr=null,lr=null,Ms=null;function Oa(l){if(l=xc(l)){if(typeof vr!="function")throw Error(n(280));var d=l.stateNode;d&&(d=Kd(d),vr(l.stateNode,l.type,d))}}function Hi(l){lr?Ms?Ms.push(l):Ms=[l]:lr=l}function Xs(){if(lr){var l=lr,d=Ms;if(Ms=lr=null,Oa(l),d)for(l=0;l>>=0,l===0?32:31-(Wo(l)/Fa|0)|0}var Rs=64,Ps=4194304;function Os(l){switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return l&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function Ds(l,d){var p=l.pendingLanes;if(p===0)return 0;var x=0,j=l.suspendedLanes,S=l.pingedLanes,M=p&268435455;if(M!==0){var W=M&~j;W!==0?x=Os(W):(S&=M,S!==0&&(x=Os(S)))}else M=p&~j,M!==0?x=Os(M):S!==0&&(x=Os(S));if(x===0)return 0;if(d!==0&&d!==x&&(d&j)===0&&(j=x&-x,S=d&-d,j>=S||j===16&&(S&4194240)!==0))return d;if((x&4)!==0&&(x|=p&16),d=l.entangledLanes,d!==0)for(l=l.entanglements,d&=x;0p;p++)d.push(l);return d}function kn(l,d,p){l.pendingLanes|=d,d!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,d=31-$n(d),l[d]=p}function Uo(l,d){var p=l.pendingLanes&~d;l.pendingLanes=d,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=d,l.mutableReadLanes&=d,l.entangledLanes&=d,d=l.entanglements;var x=l.eventTimes;for(l=l.expirationTimes;0=lc),gy=" ",xy=!1;function yy(l,d){switch(l){case"keyup":return p3.indexOf(d.keyCode)!==-1;case"keydown":return d.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function by(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Yo=!1;function g3(l,d){switch(l){case"compositionend":return by(d);case"keypress":return d.which!==32?null:(xy=!0,gy);case"textInput":return l=d.data,l===gy&&xy?null:l;default:return null}}function x3(l,d){if(Yo)return l==="compositionend"||!ap&&yy(l,d)?(l=dy(),Dd=Zf=Wa=null,Yo=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(d.ctrlKey||d.altKey||d.metaKey)||d.ctrlKey&&d.altKey){if(d.char&&1=d)return{node:p,offset:d-l};l=x}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=Cy(p)}}function Ty(l,d){return l&&d?l===d?!0:l&&l.nodeType===3?!1:d&&d.nodeType===3?Ty(l,d.parentNode):"contains"in l?l.contains(d):l.compareDocumentPosition?!!(l.compareDocumentPosition(d)&16):!1:!1}function My(){for(var l=window,d=gt();d instanceof l.HTMLIFrameElement;){try{var p=typeof d.contentWindow.location.href=="string"}catch{p=!1}if(p)l=d.contentWindow;else break;d=gt(l.document)}return d}function lp(l){var d=l&&l.nodeName&&l.nodeName.toLowerCase();return d&&(d==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||d==="textarea"||l.contentEditable==="true")}function C3(l){var d=My(),p=l.focusedElem,x=l.selectionRange;if(d!==p&&p&&p.ownerDocument&&Ty(p.ownerDocument.documentElement,p)){if(x!==null&&lp(p)){if(d=x.start,l=x.end,l===void 0&&(l=d),"selectionStart"in p)p.selectionStart=d,p.selectionEnd=Math.min(l,p.value.length);else if(l=(d=p.ownerDocument||document)&&d.defaultView||window,l.getSelection){l=l.getSelection();var j=p.textContent.length,S=Math.min(x.start,j);x=x.end===void 0?S:Math.min(x.end,j),!l.extend&&S>x&&(j=x,x=S,S=j),j=Ey(p,S);var M=Ey(p,x);j&&M&&(l.rangeCount!==1||l.anchorNode!==j.node||l.anchorOffset!==j.offset||l.focusNode!==M.node||l.focusOffset!==M.offset)&&(d=d.createRange(),d.setStart(j.node,j.offset),l.removeAllRanges(),S>x?(l.addRange(d),l.extend(M.node,M.offset)):(d.setEnd(M.node,M.offset),l.addRange(d)))}}for(d=[],l=p;l=l.parentNode;)l.nodeType===1&&d.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p=document.documentMode,Qo=null,cp=null,hc=null,dp=!1;function Ay(l,d,p){var x=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;dp||Qo==null||Qo!==gt(x)||(x=Qo,"selectionStart"in x&&lp(x)?x={start:x.selectionStart,end:x.selectionEnd}:(x=(x.ownerDocument&&x.ownerDocument.defaultView||window).getSelection(),x={anchorNode:x.anchorNode,anchorOffset:x.anchorOffset,focusNode:x.focusNode,focusOffset:x.focusOffset}),hc&&uc(hc,x)||(hc=x,x=Hd(cp,"onSelect"),0nl||(l.current=wp[nl],wp[nl]=null,nl--)}function _t(l,d){nl++,wp[nl]=l.current,l.current=d}var Ga={},Yn=qa(Ga),wr=qa(!1),Xi=Ga;function rl(l,d){var p=l.type.contextTypes;if(!p)return Ga;var x=l.stateNode;if(x&&x.__reactInternalMemoizedUnmaskedChildContext===d)return x.__reactInternalMemoizedMaskedChildContext;var j={},S;for(S in p)j[S]=d[S];return x&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=d,l.__reactInternalMemoizedMaskedChildContext=j),j}function jr(l){return l=l.childContextTypes,l!=null}function qd(){qt(wr),qt(Yn)}function Uy(l,d,p){if(Yn.current!==Ga)throw Error(n(168));_t(Yn,d),_t(wr,p)}function Ky(l,d,p){var x=l.stateNode;if(d=d.childContextTypes,typeof x.getChildContext!="function")return p;x=x.getChildContext();for(var j in x)if(!(j in d))throw Error(n(108,X(l)||"Unknown",j));return J({},p,x)}function Gd(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Ga,Xi=Yn.current,_t(Yn,l),_t(wr,wr.current),!0}function qy(l,d,p){var x=l.stateNode;if(!x)throw Error(n(169));p?(l=Ky(l,d,Xi),x.__reactInternalMemoizedMergedChildContext=l,qt(wr),qt(Yn),_t(Yn,l)):qt(wr),_t(wr,p)}var ia=null,Jd=!1,jp=!1;function Gy(l){ia===null?ia=[l]:ia.push(l)}function z3(l){Jd=!0,Gy(l)}function Ja(){if(!jp&&ia!==null){jp=!0;var l=0,d=st;try{var p=ia;for(st=1;l>=M,j-=M,oa=1<<32-$n(d)+j|p<rt?(On=Ze,Ze=null):On=Ze.sibling;var bt=ve(ie,Ze,de[rt],Ie);if(bt===null){Ze===null&&(Ze=On);break}l&&Ze&&bt.alternate===null&&d(ie,Ze),Z=S(bt,Z,rt),Xe===null?Ve=bt:Xe.sibling=bt,Xe=bt,Ze=On}if(rt===de.length)return p(ie,Ze),Jt&&eo(ie,rt),Ve;if(Ze===null){for(;rtrt?(On=Ze,Ze=null):On=Ze.sibling;var si=ve(ie,Ze,bt.value,Ie);if(si===null){Ze===null&&(Ze=On);break}l&&Ze&&si.alternate===null&&d(ie,Ze),Z=S(si,Z,rt),Xe===null?Ve=si:Xe.sibling=si,Xe=si,Ze=On}if(bt.done)return p(ie,Ze),Jt&&eo(ie,rt),Ve;if(Ze===null){for(;!bt.done;rt++,bt=de.next())bt=ke(ie,bt.value,Ie),bt!==null&&(Z=S(bt,Z,rt),Xe===null?Ve=bt:Xe.sibling=bt,Xe=bt);return Jt&&eo(ie,rt),Ve}for(Ze=x(ie,Ze);!bt.done;rt++,bt=de.next())bt=Oe(Ze,ie,rt,bt.value,Ie),bt!==null&&(l&&bt.alternate!==null&&Ze.delete(bt.key===null?rt:bt.key),Z=S(bt,Z,rt),Xe===null?Ve=bt:Xe.sibling=bt,Xe=bt);return l&&Ze.forEach(function(yE){return d(ie,yE)}),Jt&&eo(ie,rt),Ve}function fn(ie,Z,de,Ie){if(typeof de=="object"&&de!==null&&de.type===_&&de.key===null&&(de=de.props.children),typeof de=="object"&&de!==null){switch(de.$$typeof){case D:e:{for(var Ve=de.key,Xe=Z;Xe!==null;){if(Xe.key===Ve){if(Ve=de.type,Ve===_){if(Xe.tag===7){p(ie,Xe.sibling),Z=j(Xe,de.props.children),Z.return=ie,ie=Z;break e}}else if(Xe.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===O&&eb(Ve)===Xe.type){p(ie,Xe.sibling),Z=j(Xe,de.props),Z.ref=yc(ie,Xe,de),Z.return=ie,ie=Z;break e}p(ie,Xe);break}else d(ie,Xe);Xe=Xe.sibling}de.type===_?(Z=lo(de.props.children,ie.mode,Ie,de.key),Z.return=ie,ie=Z):(Ie=ju(de.type,de.key,de.props,null,ie.mode,Ie),Ie.ref=yc(ie,Z,de),Ie.return=ie,ie=Ie)}return M(ie);case H:e:{for(Xe=de.key;Z!==null;){if(Z.key===Xe)if(Z.tag===4&&Z.stateNode.containerInfo===de.containerInfo&&Z.stateNode.implementation===de.implementation){p(ie,Z.sibling),Z=j(Z,de.children||[]),Z.return=ie,ie=Z;break e}else{p(ie,Z);break}else d(ie,Z);Z=Z.sibling}Z=vm(de,ie.mode,Ie),Z.return=ie,ie=Z}return M(ie);case O:return Xe=de._init,fn(ie,Z,Xe(de._payload),Ie)}if(et(de))return ze(ie,Z,de,Ie);if(se(de))return Be(ie,Z,de,Ie);Zd(ie,de)}return typeof de=="string"&&de!==""||typeof de=="number"?(de=""+de,Z!==null&&Z.tag===6?(p(ie,Z.sibling),Z=j(Z,de),Z.return=ie,ie=Z):(p(ie,Z),Z=bm(de,ie.mode,Ie),Z.return=ie,ie=Z),M(ie)):p(ie,Z)}return fn}var ol=tb(!0),nb=tb(!1),eu=qa(null),tu=null,ll=null,Mp=null;function Ap(){Mp=ll=tu=null}function Ip(l){var d=eu.current;qt(eu),l._currentValue=d}function Rp(l,d,p){for(;l!==null;){var x=l.alternate;if((l.childLanes&d)!==d?(l.childLanes|=d,x!==null&&(x.childLanes|=d)):x!==null&&(x.childLanes&d)!==d&&(x.childLanes|=d),l===p)break;l=l.return}}function cl(l,d){tu=l,Mp=ll=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&d)!==0&&(kr=!0),l.firstContext=null)}function Ur(l){var d=l._currentValue;if(Mp!==l)if(l={context:l,memoizedValue:d,next:null},ll===null){if(tu===null)throw Error(n(308));ll=l,tu.dependencies={lanes:0,firstContext:l}}else ll=ll.next=l;return d}var to=null;function Pp(l){to===null?to=[l]:to.push(l)}function rb(l,d,p,x){var j=d.interleaved;return j===null?(p.next=p,Pp(d)):(p.next=j.next,j.next=p),d.interleaved=p,ca(l,x)}function ca(l,d){l.lanes|=d;var p=l.alternate;for(p!==null&&(p.lanes|=d),p=l,l=l.return;l!==null;)l.childLanes|=d,p=l.alternate,p!==null&&(p.childLanes|=d),p=l,l=l.return;return p.tag===3?p.stateNode:null}var Ya=!1;function Op(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function sb(l,d){l=l.updateQueue,d.updateQueue===l&&(d.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function da(l,d){return{eventTime:l,lane:d,tag:0,payload:null,callback:null,next:null}}function Qa(l,d,p){var x=l.updateQueue;if(x===null)return null;if(x=x.shared,(mt&2)!==0){var j=x.pending;return j===null?d.next=d:(d.next=j.next,j.next=d),x.pending=d,ca(l,p)}return j=x.interleaved,j===null?(d.next=d,Pp(x)):(d.next=j.next,j.next=d),x.interleaved=d,ca(l,p)}function nu(l,d,p){if(d=d.updateQueue,d!==null&&(d=d.shared,(p&4194240)!==0)){var x=d.lanes;x&=l.pendingLanes,p|=x,d.lanes=p,Xt(l,p)}}function ab(l,d){var p=l.updateQueue,x=l.alternate;if(x!==null&&(x=x.updateQueue,p===x)){var j=null,S=null;if(p=p.firstBaseUpdate,p!==null){do{var M={eventTime:p.eventTime,lane:p.lane,tag:p.tag,payload:p.payload,callback:p.callback,next:null};S===null?j=S=M:S=S.next=M,p=p.next}while(p!==null);S===null?j=S=d:S=S.next=d}else j=S=d;p={baseState:x.baseState,firstBaseUpdate:j,lastBaseUpdate:S,shared:x.shared,effects:x.effects},l.updateQueue=p;return}l=p.lastBaseUpdate,l===null?p.firstBaseUpdate=d:l.next=d,p.lastBaseUpdate=d}function ru(l,d,p,x){var j=l.updateQueue;Ya=!1;var S=j.firstBaseUpdate,M=j.lastBaseUpdate,W=j.shared.pending;if(W!==null){j.shared.pending=null;var Q=W,pe=Q.next;Q.next=null,M===null?S=pe:M.next=pe,M=Q;var we=l.alternate;we!==null&&(we=we.updateQueue,W=we.lastBaseUpdate,W!==M&&(W===null?we.firstBaseUpdate=pe:W.next=pe,we.lastBaseUpdate=Q))}if(S!==null){var ke=j.baseState;M=0,we=pe=Q=null,W=S;do{var ve=W.lane,Oe=W.eventTime;if((x&ve)===ve){we!==null&&(we=we.next={eventTime:Oe,lane:0,tag:W.tag,payload:W.payload,callback:W.callback,next:null});e:{var ze=l,Be=W;switch(ve=d,Oe=p,Be.tag){case 1:if(ze=Be.payload,typeof ze=="function"){ke=ze.call(Oe,ke,ve);break e}ke=ze;break e;case 3:ze.flags=ze.flags&-65537|128;case 0:if(ze=Be.payload,ve=typeof ze=="function"?ze.call(Oe,ke,ve):ze,ve==null)break e;ke=J({},ke,ve);break e;case 2:Ya=!0}}W.callback!==null&&W.lane!==0&&(l.flags|=64,ve=j.effects,ve===null?j.effects=[W]:ve.push(W))}else Oe={eventTime:Oe,lane:ve,tag:W.tag,payload:W.payload,callback:W.callback,next:null},we===null?(pe=we=Oe,Q=ke):we=we.next=Oe,M|=ve;if(W=W.next,W===null){if(W=j.shared.pending,W===null)break;ve=W,W=ve.next,ve.next=null,j.lastBaseUpdate=ve,j.shared.pending=null}}while(!0);if(we===null&&(Q=ke),j.baseState=Q,j.firstBaseUpdate=pe,j.lastBaseUpdate=we,d=j.shared.interleaved,d!==null){j=d;do M|=j.lane,j=j.next;while(j!==d)}else S===null&&(j.shared.lanes=0);so|=M,l.lanes=M,l.memoizedState=ke}}function ib(l,d,p){if(l=d.effects,d.effects=null,l!==null)for(d=0;dp?p:4,l(!0);var x=$p.transition;$p.transition={};try{l(!1),d()}finally{st=p,$p.transition=x}}function Sb(){return Kr().memoizedState}function V3(l,d,p){var x=ti(l);if(p={lane:x,action:p,hasEagerState:!1,eagerState:null,next:null},Cb(l))Eb(d,p);else if(p=rb(l,d,p,x),p!==null){var j=hr();xs(p,l,x,j),Tb(p,d,x)}}function H3(l,d,p){var x=ti(l),j={lane:x,action:p,hasEagerState:!1,eagerState:null,next:null};if(Cb(l))Eb(d,j);else{var S=l.alternate;if(l.lanes===0&&(S===null||S.lanes===0)&&(S=d.lastRenderedReducer,S!==null))try{var M=d.lastRenderedState,W=S(M,p);if(j.hasEagerState=!0,j.eagerState=W,hs(W,M)){var Q=d.interleaved;Q===null?(j.next=j,Pp(d)):(j.next=Q.next,Q.next=j),d.interleaved=j;return}}catch{}finally{}p=rb(l,d,j,x),p!==null&&(j=hr(),xs(p,l,x,j),Tb(p,d,x))}}function Cb(l){var d=l.alternate;return l===en||d!==null&&d===en}function Eb(l,d){wc=iu=!0;var p=l.pending;p===null?d.next=d:(d.next=p.next,p.next=d),l.pending=d}function Tb(l,d,p){if((p&4194240)!==0){var x=d.lanes;x&=l.pendingLanes,p|=x,d.lanes=p,Xt(l,p)}}var cu={readContext:Ur,useCallback:Qn,useContext:Qn,useEffect:Qn,useImperativeHandle:Qn,useInsertionEffect:Qn,useLayoutEffect:Qn,useMemo:Qn,useReducer:Qn,useRef:Qn,useState:Qn,useDebugValue:Qn,useDeferredValue:Qn,useTransition:Qn,useMutableSource:Qn,useSyncExternalStore:Qn,useId:Qn,unstable_isNewReconciler:!1},W3={readContext:Ur,useCallback:function(l,d){return $s().memoizedState=[l,d===void 0?null:d],l},useContext:Ur,useEffect:xb,useImperativeHandle:function(l,d,p){return p=p!=null?p.concat([l]):null,ou(4194308,4,vb.bind(null,d,l),p)},useLayoutEffect:function(l,d){return ou(4194308,4,l,d)},useInsertionEffect:function(l,d){return ou(4,2,l,d)},useMemo:function(l,d){var p=$s();return d=d===void 0?null:d,l=l(),p.memoizedState=[l,d],l},useReducer:function(l,d,p){var x=$s();return d=p!==void 0?p(d):d,x.memoizedState=x.baseState=d,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:d},x.queue=l,l=l.dispatch=V3.bind(null,en,l),[x.memoizedState,l]},useRef:function(l){var d=$s();return l={current:l},d.memoizedState=l},useState:mb,useDebugValue:Kp,useDeferredValue:function(l){return $s().memoizedState=l},useTransition:function(){var l=mb(!1),d=l[0];return l=B3.bind(null,l[1]),$s().memoizedState=l,[d,l]},useMutableSource:function(){},useSyncExternalStore:function(l,d,p){var x=en,j=$s();if(Jt){if(p===void 0)throw Error(n(407));p=p()}else{if(p=d(),Pn===null)throw Error(n(349));(ro&30)!==0||db(x,d,p)}j.memoizedState=p;var S={value:p,getSnapshot:d};return j.queue=S,xb(hb.bind(null,x,S,l),[l]),x.flags|=2048,Sc(9,ub.bind(null,x,S,p,d),void 0,null),p},useId:function(){var l=$s(),d=Pn.identifierPrefix;if(Jt){var p=la,x=oa;p=(x&~(1<<32-$n(x)-1)).toString(32)+p,d=":"+d+"R"+p,p=jc++,0<\/script>",l=l.removeChild(l.firstChild)):typeof x.is=="string"?l=M.createElement(p,{is:x.is}):(l=M.createElement(p),p==="select"&&(M=l,x.multiple?M.multiple=!0:x.size&&(M.size=x.size))):l=M.createElementNS(l,p),l[_s]=d,l[gc]=x,Kb(l,d,!1,!1),d.stateNode=l;e:{switch(M=Pa(p,x),p){case"dialog":Kt("cancel",l),Kt("close",l),j=x;break;case"iframe":case"object":case"embed":Kt("load",l),j=x;break;case"video":case"audio":for(j=0;jpl&&(d.flags|=128,x=!0,Cc(S,!1),d.lanes=4194304)}else{if(!x)if(l=ru(M),l!==null){if(d.flags|=128,x=!0,p=l.updateQueue,p!==null&&(d.updateQueue=p,d.flags|=4),Cc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!M.alternate&&!Jt)return Xn(d),null}else 2*It()-S.renderingStartTime>pl&&p!==1073741824&&(d.flags|=128,x=!0,Cc(S,!1),d.lanes=4194304);S.isBackwards?(M.sibling=d.child,d.child=M):(p=S.last,p!==null?p.sibling=M:d.child=M,S.last=M)}return S.tail!==null?(d=S.tail,S.rendering=d,S.tail=d.sibling,S.renderingStartTime=It(),d.sibling=null,p=Zt.current,_t(Zt,x?p&1|2:p&1),d):(Xn(d),null);case 22:case 23:return pm(),x=d.memoizedState!==null,l!==null&&l.memoizedState!==null!==x&&(d.flags|=8192),x&&(d.mode&1)!==0?(Or&1073741824)!==0&&(Xn(d),d.subtreeFlags&6&&(d.flags|=8192)):Xn(d),null;case 24:return null;case 25:return null}throw Error(n(156,d.tag))}function Y3(l,d){switch(jp(d),d.tag){case 1:return jr(d.type)&&Kd(),l=d.flags,l&65536?(d.flags=l&-65537|128,d):null;case 3:return dl(),qt(wr),qt(Yn),Lp(),l=d.flags,(l&65536)!==0&&(l&128)===0?(d.flags=l&-65537|128,d):null;case 5:return Op(d),null;case 13:if(qt(Zt),l=d.memoizedState,l!==null&&l.dehydrated!==null){if(d.alternate===null)throw Error(n(340));il()}return l=d.flags,l&65536?(d.flags=l&-65537|128,d):null;case 19:return qt(Zt),null;case 4:return dl(),null;case 10:return Mp(d.type._context),null;case 22:case 23:return pm(),null;case 24:return null;default:return null}}var hu=!1,Zn=!1,Q3=typeof WeakSet=="function"?WeakSet:Set,Le=null;function hl(l,d){var p=l.ref;if(p!==null)if(typeof p=="function")try{p(null)}catch(x){sn(l,d,x)}else p.current=null}function nm(l,d,p){try{p()}catch(x){sn(l,d,x)}}var Jb=!1;function X3(l,d){if(pp=Rd,l=Ey(),ip(l)){if("selectionStart"in l)var p={start:l.selectionStart,end:l.selectionEnd};else e:{p=(p=l.ownerDocument)&&p.defaultView||window;var x=p.getSelection&&p.getSelection();if(x&&x.rangeCount!==0){p=x.anchorNode;var j=x.anchorOffset,S=x.focusNode;x=x.focusOffset;try{p.nodeType,S.nodeType}catch{p=null;break e}var M=0,W=-1,Q=-1,pe=0,we=0,je=l,ve=null;t:for(;;){for(var Oe;je!==p||j!==0&&je.nodeType!==3||(W=M+j),je!==S||x!==0&&je.nodeType!==3||(Q=M+x),je.nodeType===3&&(M+=je.nodeValue.length),(Oe=je.firstChild)!==null;)ve=je,je=Oe;for(;;){if(je===l)break t;if(ve===p&&++pe===j&&(W=M),ve===S&&++we===x&&(Q=M),(Oe=je.nextSibling)!==null)break;je=ve,ve=je.parentNode}je=Oe}p=W===-1||Q===-1?null:{start:W,end:Q}}else p=null}p=p||{start:0,end:0}}else p=null;for(mp={focusedElem:l,selectionRange:p},Rd=!1,Le=d;Le!==null;)if(d=Le,l=d.child,(d.subtreeFlags&1028)!==0&&l!==null)l.return=d,Le=l;else for(;Le!==null;){d=Le;try{var _e=d.alternate;if((d.flags&1024)!==0)switch(d.tag){case 0:case 11:case 15:break;case 1:if(_e!==null){var Fe=_e.memoizedProps,fn=_e.memoizedState,ie=d.stateNode,Z=ie.getSnapshotBeforeUpdate(d.elementType===d.type?Fe:ps(d.type,Fe),fn);ie.__reactInternalSnapshotBeforeUpdate=Z}break;case 3:var de=d.stateNode.containerInfo;de.nodeType===1?de.textContent="":de.nodeType===9&&de.documentElement&&de.removeChild(de.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Ie){sn(d,d.return,Ie)}if(l=d.sibling,l!==null){l.return=d.return,Le=l;break}Le=d.return}return _e=Jb,Jb=!1,_e}function Ec(l,d,p){var x=d.updateQueue;if(x=x!==null?x.lastEffect:null,x!==null){var j=x=x.next;do{if((j.tag&l)===l){var S=j.destroy;j.destroy=void 0,S!==void 0&&nm(d,p,S)}j=j.next}while(j!==x)}}function fu(l,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var p=d=d.next;do{if((p.tag&l)===l){var x=p.create;p.destroy=x()}p=p.next}while(p!==d)}}function rm(l){var d=l.ref;if(d!==null){var p=l.stateNode;switch(l.tag){case 5:l=p;break;default:l=p}typeof d=="function"?d(l):d.current=l}}function Yb(l){var d=l.alternate;d!==null&&(l.alternate=null,Yb(d)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(d=l.stateNode,d!==null&&(delete d[_s],delete d[gc],delete d[bp],delete d[O3],delete d[D3])),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function Qb(l){return l.tag===5||l.tag===3||l.tag===4}function Xb(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||Qb(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function sm(l,d,p){var x=l.tag;if(x===5||x===6)l=l.stateNode,d?p.nodeType===8?p.parentNode.insertBefore(l,d):p.insertBefore(l,d):(p.nodeType===8?(d=p.parentNode,d.insertBefore(l,p)):(d=p,d.appendChild(l)),p=p._reactRootContainer,p!=null||d.onclick!==null||(d.onclick=Wd));else if(x!==4&&(l=l.child,l!==null))for(sm(l,d,p),l=l.sibling;l!==null;)sm(l,d,p),l=l.sibling}function am(l,d,p){var x=l.tag;if(x===5||x===6)l=l.stateNode,d?p.insertBefore(l,d):p.appendChild(l);else if(x!==4&&(l=l.child,l!==null))for(am(l,d,p),l=l.sibling;l!==null;)am(l,d,p),l=l.sibling}var Fn=null,ms=!1;function Xa(l,d,p){for(p=p.child;p!==null;)Zb(l,d,p),p=p.sibling}function Zb(l,d,p){if(dr&&typeof dr.onCommitFiberUnmount=="function")try{dr.onCommitFiberUnmount($a,p)}catch{}switch(p.tag){case 5:Zn||hl(p,d);case 6:var x=Fn,j=ms;Fn=null,Xa(l,d,p),Fn=x,ms=j,Fn!==null&&(ms?(l=Fn,p=p.stateNode,l.nodeType===8?l.parentNode.removeChild(p):l.removeChild(p)):Fn.removeChild(p.stateNode));break;case 18:Fn!==null&&(ms?(l=Fn,p=p.stateNode,l.nodeType===8?yp(l.parentNode,p):l.nodeType===1&&yp(l,p),Ha(l)):yp(Fn,p.stateNode));break;case 4:x=Fn,j=ms,Fn=p.stateNode.containerInfo,ms=!0,Xa(l,d,p),Fn=x,ms=j;break;case 0:case 11:case 14:case 15:if(!Zn&&(x=p.updateQueue,x!==null&&(x=x.lastEffect,x!==null))){j=x=x.next;do{var S=j,M=S.destroy;S=S.tag,M!==void 0&&((S&2)!==0||(S&4)!==0)&&nm(p,d,M),j=j.next}while(j!==x)}Xa(l,d,p);break;case 1:if(!Zn&&(hl(p,d),x=p.stateNode,typeof x.componentWillUnmount=="function"))try{x.props=p.memoizedProps,x.state=p.memoizedState,x.componentWillUnmount()}catch(W){sn(p,d,W)}Xa(l,d,p);break;case 21:Xa(l,d,p);break;case 22:p.mode&1?(Zn=(x=Zn)||p.memoizedState!==null,Xa(l,d,p),Zn=x):Xa(l,d,p);break;default:Xa(l,d,p)}}function ev(l){var d=l.updateQueue;if(d!==null){l.updateQueue=null;var p=l.stateNode;p===null&&(p=l.stateNode=new Q3),d.forEach(function(x){var j=oE.bind(null,l,x);p.has(x)||(p.add(x),x.then(j,j))})}}function gs(l,d){var p=d.deletions;if(p!==null)for(var x=0;xj&&(j=M),x&=~S}if(x=j,x=It()-x,x=(120>x?120:480>x?480:1080>x?1080:1920>x?1920:3e3>x?3e3:4320>x?4320:1960*eE(x/1960))-x,10l?16:l,ei===null)var x=!1;else{if(l=ei,ei=null,yu=0,(mt&6)!==0)throw Error(n(331));var j=mt;for(mt|=4,Le=l.current;Le!==null;){var S=Le,M=S.child;if((Le.flags&16)!==0){var W=S.deletions;if(W!==null){for(var Q=0;QIt()-lm?io(l,0):om|=p),Cr(l,d)}function fv(l,d){d===0&&((l.mode&1)===0?d=1:(d=Ps,Ps<<=1,(Ps&130023424)===0&&(Ps=4194304)));var p=hr();l=ca(l,d),l!==null&&(kn(l,d,p),Cr(l,p))}function iE(l){var d=l.memoizedState,p=0;d!==null&&(p=d.retryLane),fv(l,p)}function oE(l,d){var p=0;switch(l.tag){case 13:var x=l.stateNode,j=l.memoizedState;j!==null&&(p=j.retryLane);break;case 19:x=l.stateNode;break;default:throw Error(n(314))}x!==null&&x.delete(d),fv(l,p)}var pv;pv=function(l,d,p){if(l!==null)if(l.memoizedProps!==d.pendingProps||wr.current)kr=!0;else{if((l.lanes&p)===0&&(d.flags&128)===0)return kr=!1,G3(l,d,p);kr=(l.flags&131072)!==0}else kr=!1,Jt&&(d.flags&1048576)!==0&&qy(d,Yd,d.index);switch(d.lanes=0,d.tag){case 2:var x=d.type;uu(l,d),l=d.pendingProps;var j=rl(d,Yn.current);cl(d,p),j=$p(null,d,x,l,j,p);var S=Fp();return d.flags|=1,typeof j=="object"&&j!==null&&typeof j.render=="function"&&j.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,jr(x)?(S=!0,qd(d)):S=!1,d.memoizedState=j.state!==null&&j.state!==void 0?j.state:null,Rp(d),j.updater=cu,d.stateNode=j,j._reactInternals=d,Kp(d,x,l,p),d=Yp(null,d,x,!0,S,p)):(d.tag=0,Jt&&S&&wp(d),ur(null,d,j,p),d=d.child),d;case 16:x=d.elementType;e:{switch(uu(l,d),l=d.pendingProps,j=x._init,x=j(x._payload),d.type=x,j=d.tag=cE(x),l=ps(x,l),j){case 0:d=Jp(null,d,x,l,p);break e;case 1:d=Fb(null,d,x,l,p);break e;case 11:d=Db(null,d,x,l,p);break e;case 14:d=Lb(null,d,x,ps(x.type,l),p);break e}throw Error(n(306,x,""))}return d;case 0:return x=d.type,j=d.pendingProps,j=d.elementType===x?j:ps(x,j),Jp(l,d,x,j,p);case 1:return x=d.type,j=d.pendingProps,j=d.elementType===x?j:ps(x,j),Fb(l,d,x,j,p);case 3:e:{if(Bb(d),l===null)throw Error(n(387));x=d.pendingProps,S=d.memoizedState,j=S.element,nb(l,d),nu(d,x,null,p);var M=d.memoizedState;if(x=M.element,S.isDehydrated)if(S={element:x,isDehydrated:!1,cache:M.cache,pendingSuspenseBoundaries:M.pendingSuspenseBoundaries,transitions:M.transitions},d.updateQueue.baseState=S,d.memoizedState=S,d.flags&256){j=ul(Error(n(423)),d),d=Vb(l,d,x,p,j);break e}else if(x!==j){j=ul(Error(n(424)),d),d=Vb(l,d,x,p,j);break e}else for(Pr=Ka(d.stateNode.containerInfo.firstChild),Rr=d,Jt=!0,fs=null,p=eb(d,null,x,p),d.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(il(),x===j){d=ua(l,d,p);break e}ur(l,d,x,p)}d=d.child}return d;case 5:return ab(d),l===null&&Sp(d),x=d.type,j=d.pendingProps,S=l!==null?l.memoizedProps:null,M=j.children,gp(x,j)?M=null:S!==null&&gp(x,S)&&(d.flags|=32),$b(l,d),ur(l,d,M,p),d.child;case 6:return l===null&&Sp(d),null;case 13:return Hb(l,d,p);case 4:return Pp(d,d.stateNode.containerInfo),x=d.pendingProps,l===null?d.child=ol(d,null,x,p):ur(l,d,x,p),d.child;case 11:return x=d.type,j=d.pendingProps,j=d.elementType===x?j:ps(x,j),Db(l,d,x,j,p);case 7:return ur(l,d,d.pendingProps,p),d.child;case 8:return ur(l,d,d.pendingProps.children,p),d.child;case 12:return ur(l,d,d.pendingProps.children,p),d.child;case 10:e:{if(x=d.type._context,j=d.pendingProps,S=d.memoizedProps,M=j.value,_t(Zd,x._currentValue),x._currentValue=M,S!==null)if(hs(S.value,M)){if(S.children===j.children&&!wr.current){d=ua(l,d,p);break e}}else for(S=d.child,S!==null&&(S.return=d);S!==null;){var W=S.dependencies;if(W!==null){M=S.child;for(var Q=W.firstContext;Q!==null;){if(Q.context===x){if(S.tag===1){Q=da(-1,p&-p),Q.tag=2;var pe=S.updateQueue;if(pe!==null){pe=pe.shared;var we=pe.pending;we===null?Q.next=Q:(Q.next=we.next,we.next=Q),pe.pending=Q}}S.lanes|=p,Q=S.alternate,Q!==null&&(Q.lanes|=p),Ap(S.return,p,d),W.lanes|=p;break}Q=Q.next}}else if(S.tag===10)M=S.type===d.type?null:S.child;else if(S.tag===18){if(M=S.return,M===null)throw Error(n(341));M.lanes|=p,W=M.alternate,W!==null&&(W.lanes|=p),Ap(M,p,d),M=S.sibling}else M=S.child;if(M!==null)M.return=S;else for(M=S;M!==null;){if(M===d){M=null;break}if(S=M.sibling,S!==null){S.return=M.return,M=S;break}M=M.return}S=M}ur(l,d,j.children,p),d=d.child}return d;case 9:return j=d.type,x=d.pendingProps.children,cl(d,p),j=Ur(j),x=x(j),d.flags|=1,ur(l,d,x,p),d.child;case 14:return x=d.type,j=ps(x,d.pendingProps),j=ps(x.type,j),Lb(l,d,x,j,p);case 15:return _b(l,d,d.type,d.pendingProps,p);case 17:return x=d.type,j=d.pendingProps,j=d.elementType===x?j:ps(x,j),uu(l,d),d.tag=1,jr(x)?(l=!0,qd(d)):l=!1,cl(d,p),Tb(d,x,j),Kp(d,x,j,p),Yp(null,d,x,!0,l,p);case 19:return Ub(l,d,p);case 22:return zb(l,d,p)}throw Error(n(156,d.tag))};function mv(l,d){return un(l,d)}function lE(l,d,p,x){this.tag=l,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Gr(l,d,p,x){return new lE(l,d,p,x)}function gm(l){return l=l.prototype,!(!l||!l.isReactComponent)}function cE(l){if(typeof l=="function")return gm(l)?1:0;if(l!=null){if(l=l.$$typeof,l===K)return 11;if(l===R)return 14}return 2}function ri(l,d){var p=l.alternate;return p===null?(p=Gr(l.tag,d,l.key,l.mode),p.elementType=l.elementType,p.type=l.type,p.stateNode=l.stateNode,p.alternate=l,l.alternate=p):(p.pendingProps=d,p.type=l.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=l.flags&14680064,p.childLanes=l.childLanes,p.lanes=l.lanes,p.child=l.child,p.memoizedProps=l.memoizedProps,p.memoizedState=l.memoizedState,p.updateQueue=l.updateQueue,d=l.dependencies,p.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},p.sibling=l.sibling,p.index=l.index,p.ref=l.ref,p}function wu(l,d,p,x,j,S){var M=2;if(x=l,typeof l=="function")gm(l)&&(M=1);else if(typeof l=="string")M=5;else e:switch(l){case _:return lo(p.children,j,S,d);case P:M=8,j|=8;break;case L:return l=Gr(12,p,d,j|2),l.elementType=L,l.lanes=S,l;case ue:return l=Gr(13,p,d,j),l.elementType=ue,l.lanes=S,l;case me:return l=Gr(19,p,d,j),l.elementType=me,l.lanes=S,l;case F:return ju(p,j,S,d);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case $:M=10;break e;case ee:M=9;break e;case K:M=11;break e;case R:M=14;break e;case O:M=16,x=null;break e}throw Error(n(130,l==null?l:typeof l,""))}return d=Gr(M,p,d,j),d.elementType=l,d.type=x,d.lanes=S,d}function lo(l,d,p,x){return l=Gr(7,l,x,d),l.lanes=p,l}function ju(l,d,p,x){return l=Gr(22,l,x,d),l.elementType=F,l.lanes=p,l.stateNode={isHidden:!1},l}function xm(l,d,p){return l=Gr(6,l,null,d),l.lanes=p,l}function ym(l,d,p){return d=Gr(4,l.children!==null?l.children:[],l.key,d),d.lanes=p,d.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},d}function dE(l,d,p,x,j){this.tag=d,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xn(0),this.expirationTimes=xn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xn(0),this.identifierPrefix=x,this.onRecoverableError=j,this.mutableSourceEagerHydrationData=null}function bm(l,d,p,x,j,S,M,W,Q){return l=new dE(l,d,p,W,Q),d===1?(d=1,S===!0&&(d|=8)):d=0,S=Gr(3,null,null,d),l.current=S,S.stateNode=l,S.memoizedState={element:x,isDehydrated:p,cache:null,transitions:null,pendingSuspenseBoundaries:null},Rp(S),l}function uE(l,d,p){var x=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Sm.exports=jE(),Sm.exports}var Mv;function kE(){if(Mv)return Au;Mv=1;var t=Ow();return Au.createRoot=t.createRoot,Au.hydrateRoot=t.hydrateRoot,Au}var SE=kE(),jd=Ow();const Dw=Pw(jd);/** +`+S.stack}return{value:l,source:d,stack:j,digest:null}}function Jp(l,d,p){return{value:l,source:null,stack:p??null,digest:d??null}}function Yp(l,d){try{console.error(d.value)}catch(p){setTimeout(function(){throw p})}}var q3=typeof WeakMap=="function"?WeakMap:Map;function Rb(l,d,p){p=da(-1,p),p.tag=3,p.payload={element:null};var x=d.value;return p.callback=function(){xu||(xu=!0,um=x),Yp(l,d)},p}function Pb(l,d,p){p=da(-1,p),p.tag=3;var x=l.type.getDerivedStateFromError;if(typeof x=="function"){var j=d.value;p.payload=function(){return x(j)},p.callback=function(){Yp(l,d)}}var S=l.stateNode;return S!==null&&typeof S.componentDidCatch=="function"&&(p.callback=function(){Yp(l,d),typeof x!="function"&&(Za===null?Za=new Set([this]):Za.add(this));var M=d.stack;this.componentDidCatch(d.value,{componentStack:M!==null?M:""})}),p}function Ob(l,d,p){var x=l.pingCache;if(x===null){x=l.pingCache=new q3;var j=new Set;x.set(d,j)}else j=x.get(d),j===void 0&&(j=new Set,x.set(d,j));j.has(p)||(j.add(p),l=oE.bind(null,l,d,p),d.then(l,l))}function Db(l){do{var d;if((d=l.tag===13)&&(d=l.memoizedState,d=d!==null?d.dehydrated!==null:!0),d)return l;l=l.return}while(l!==null);return null}function Lb(l,d,p,x,j){return(l.mode&1)===0?(l===d?l.flags|=65536:(l.flags|=128,p.flags|=131072,p.flags&=-52805,p.tag===1&&(p.alternate===null?p.tag=17:(d=da(-1,1),d.tag=2,Qa(p,d,1))),p.lanes|=1),l):(l.flags|=65536,l.lanes=j,l)}var G3=A.ReactCurrentOwner,kr=!1;function ur(l,d,p,x){d.child=l===null?nb(d,null,p,x):ol(d,l.child,p,x)}function _b(l,d,p,x,j){p=p.render;var S=d.ref;return cl(d,j),x=Bp(l,d,p,x,S,j),p=Vp(),l!==null&&!kr?(d.updateQueue=l.updateQueue,d.flags&=-2053,l.lanes&=~j,ua(l,d,j)):(Jt&&p&&kp(d),d.flags|=1,ur(l,d,x,j),d.child)}function zb(l,d,p,x,j){if(l===null){var S=p.type;return typeof S=="function"&&!ym(S)&&S.defaultProps===void 0&&p.compare===null&&p.defaultProps===void 0?(d.tag=15,d.type=S,$b(l,d,S,x,j)):(l=ju(p.type,null,x,d,d.mode,j),l.ref=d.ref,l.return=d,d.child=l)}if(S=l.child,(l.lanes&j)===0){var M=S.memoizedProps;if(p=p.compare,p=p!==null?p:uc,p(M,x)&&l.ref===d.ref)return ua(l,d,j)}return d.flags|=1,l=ri(S,x),l.ref=d.ref,l.return=d,d.child=l}function $b(l,d,p,x,j){if(l!==null){var S=l.memoizedProps;if(uc(S,x)&&l.ref===d.ref)if(kr=!1,d.pendingProps=x=S,(l.lanes&j)!==0)(l.flags&131072)!==0&&(kr=!0);else return d.lanes=l.lanes,ua(l,d,j)}return Qp(l,d,p,x,j)}function Fb(l,d,p){var x=d.pendingProps,j=x.children,S=l!==null?l.memoizedState:null;if(x.mode==="hidden")if((d.mode&1)===0)d.memoizedState={baseLanes:0,cachePool:null,transitions:null},_t(fl,Or),Or|=p;else{if((p&1073741824)===0)return l=S!==null?S.baseLanes|p:p,d.lanes=d.childLanes=1073741824,d.memoizedState={baseLanes:l,cachePool:null,transitions:null},d.updateQueue=null,_t(fl,Or),Or|=l,null;d.memoizedState={baseLanes:0,cachePool:null,transitions:null},x=S!==null?S.baseLanes:p,_t(fl,Or),Or|=x}else S!==null?(x=S.baseLanes|p,d.memoizedState=null):x=p,_t(fl,Or),Or|=x;return ur(l,d,j,p),d.child}function Bb(l,d){var p=d.ref;(l===null&&p!==null||l!==null&&l.ref!==p)&&(d.flags|=512,d.flags|=2097152)}function Qp(l,d,p,x,j){var S=jr(p)?Xi:Yn.current;return S=rl(d,S),cl(d,j),p=Bp(l,d,p,x,S,j),x=Vp(),l!==null&&!kr?(d.updateQueue=l.updateQueue,d.flags&=-2053,l.lanes&=~j,ua(l,d,j)):(Jt&&x&&kp(d),d.flags|=1,ur(l,d,p,j),d.child)}function Vb(l,d,p,x,j){if(jr(p)){var S=!0;Gd(d)}else S=!1;if(cl(d,j),d.stateNode===null)hu(l,d),Ab(d,p,x),Gp(d,p,x,j),x=!0;else if(l===null){var M=d.stateNode,W=d.memoizedProps;M.props=W;var Q=M.context,pe=p.contextType;typeof pe=="object"&&pe!==null?pe=Ur(pe):(pe=jr(p)?Xi:Yn.current,pe=rl(d,pe));var we=p.getDerivedStateFromProps,ke=typeof we=="function"||typeof M.getSnapshotBeforeUpdate=="function";ke||typeof M.UNSAFE_componentWillReceiveProps!="function"&&typeof M.componentWillReceiveProps!="function"||(W!==x||Q!==pe)&&Ib(d,M,x,pe),Ya=!1;var ve=d.memoizedState;M.state=ve,ru(d,x,M,j),Q=d.memoizedState,W!==x||ve!==Q||wr.current||Ya?(typeof we=="function"&&(qp(d,p,we,x),Q=d.memoizedState),(W=Ya||Mb(d,p,W,x,ve,Q,pe))?(ke||typeof M.UNSAFE_componentWillMount!="function"&&typeof M.componentWillMount!="function"||(typeof M.componentWillMount=="function"&&M.componentWillMount(),typeof M.UNSAFE_componentWillMount=="function"&&M.UNSAFE_componentWillMount()),typeof M.componentDidMount=="function"&&(d.flags|=4194308)):(typeof M.componentDidMount=="function"&&(d.flags|=4194308),d.memoizedProps=x,d.memoizedState=Q),M.props=x,M.state=Q,M.context=pe,x=W):(typeof M.componentDidMount=="function"&&(d.flags|=4194308),x=!1)}else{M=d.stateNode,sb(l,d),W=d.memoizedProps,pe=d.type===d.elementType?W:ps(d.type,W),M.props=pe,ke=d.pendingProps,ve=M.context,Q=p.contextType,typeof Q=="object"&&Q!==null?Q=Ur(Q):(Q=jr(p)?Xi:Yn.current,Q=rl(d,Q));var Oe=p.getDerivedStateFromProps;(we=typeof Oe=="function"||typeof M.getSnapshotBeforeUpdate=="function")||typeof M.UNSAFE_componentWillReceiveProps!="function"&&typeof M.componentWillReceiveProps!="function"||(W!==ke||ve!==Q)&&Ib(d,M,x,Q),Ya=!1,ve=d.memoizedState,M.state=ve,ru(d,x,M,j);var ze=d.memoizedState;W!==ke||ve!==ze||wr.current||Ya?(typeof Oe=="function"&&(qp(d,p,Oe,x),ze=d.memoizedState),(pe=Ya||Mb(d,p,pe,x,ve,ze,Q)||!1)?(we||typeof M.UNSAFE_componentWillUpdate!="function"&&typeof M.componentWillUpdate!="function"||(typeof M.componentWillUpdate=="function"&&M.componentWillUpdate(x,ze,Q),typeof M.UNSAFE_componentWillUpdate=="function"&&M.UNSAFE_componentWillUpdate(x,ze,Q)),typeof M.componentDidUpdate=="function"&&(d.flags|=4),typeof M.getSnapshotBeforeUpdate=="function"&&(d.flags|=1024)):(typeof M.componentDidUpdate!="function"||W===l.memoizedProps&&ve===l.memoizedState||(d.flags|=4),typeof M.getSnapshotBeforeUpdate!="function"||W===l.memoizedProps&&ve===l.memoizedState||(d.flags|=1024),d.memoizedProps=x,d.memoizedState=ze),M.props=x,M.state=ze,M.context=Q,x=pe):(typeof M.componentDidUpdate!="function"||W===l.memoizedProps&&ve===l.memoizedState||(d.flags|=4),typeof M.getSnapshotBeforeUpdate!="function"||W===l.memoizedProps&&ve===l.memoizedState||(d.flags|=1024),x=!1)}return Xp(l,d,p,x,S,j)}function Xp(l,d,p,x,j,S){Bb(l,d);var M=(d.flags&128)!==0;if(!x&&!M)return j&&qy(d,p,!1),ua(l,d,S);x=d.stateNode,G3.current=d;var W=M&&typeof p.getDerivedStateFromError!="function"?null:x.render();return d.flags|=1,l!==null&&M?(d.child=ol(d,l.child,null,S),d.child=ol(d,null,W,S)):ur(l,d,W,S),d.memoizedState=x.state,j&&qy(d,p,!0),d.child}function Hb(l){var d=l.stateNode;d.pendingContext?Uy(l,d.pendingContext,d.pendingContext!==d.context):d.context&&Uy(l,d.context,!1),Dp(l,d.containerInfo)}function Wb(l,d,p,x,j){return il(),Tp(j),d.flags|=256,ur(l,d,p,x),d.child}var Zp={dehydrated:null,treeContext:null,retryLane:0};function em(l){return{baseLanes:l,cachePool:null,transitions:null}}function Ub(l,d,p){var x=d.pendingProps,j=Zt.current,S=!1,M=(d.flags&128)!==0,W;if((W=M)||(W=l!==null&&l.memoizedState===null?!1:(j&2)!==0),W?(S=!0,d.flags&=-129):(l===null||l.memoizedState!==null)&&(j|=1),_t(Zt,j&1),l===null)return Ep(d),l=d.memoizedState,l!==null&&(l=l.dehydrated,l!==null)?((d.mode&1)===0?d.lanes=1:l.data==="$!"?d.lanes=8:d.lanes=1073741824,null):(M=x.children,l=x.fallback,S?(x=d.mode,S=d.child,M={mode:"hidden",children:M},(x&1)===0&&S!==null?(S.childLanes=0,S.pendingProps=M):S=ku(M,x,0,null),l=lo(l,x,p,null),S.return=d,l.return=d,S.sibling=l,d.child=S,d.child.memoizedState=em(p),d.memoizedState=Zp,l):tm(d,M));if(j=l.memoizedState,j!==null&&(W=j.dehydrated,W!==null))return J3(l,d,M,x,W,j,p);if(S){S=x.fallback,M=d.mode,j=l.child,W=j.sibling;var Q={mode:"hidden",children:x.children};return(M&1)===0&&d.child!==j?(x=d.child,x.childLanes=0,x.pendingProps=Q,d.deletions=null):(x=ri(j,Q),x.subtreeFlags=j.subtreeFlags&14680064),W!==null?S=ri(W,S):(S=lo(S,M,p,null),S.flags|=2),S.return=d,x.return=d,x.sibling=S,d.child=x,x=S,S=d.child,M=l.child.memoizedState,M=M===null?em(p):{baseLanes:M.baseLanes|p,cachePool:null,transitions:M.transitions},S.memoizedState=M,S.childLanes=l.childLanes&~p,d.memoizedState=Zp,x}return S=l.child,l=S.sibling,x=ri(S,{mode:"visible",children:x.children}),(d.mode&1)===0&&(x.lanes=p),x.return=d,x.sibling=null,l!==null&&(p=d.deletions,p===null?(d.deletions=[l],d.flags|=16):p.push(l)),d.child=x,d.memoizedState=null,x}function tm(l,d){return d=ku({mode:"visible",children:d},l.mode,0,null),d.return=l,l.child=d}function uu(l,d,p,x){return x!==null&&Tp(x),ol(d,l.child,null,p),l=tm(d,d.pendingProps.children),l.flags|=2,d.memoizedState=null,l}function J3(l,d,p,x,j,S,M){if(p)return d.flags&256?(d.flags&=-257,x=Jp(Error(n(422))),uu(l,d,M,x)):d.memoizedState!==null?(d.child=l.child,d.flags|=128,null):(S=x.fallback,j=d.mode,x=ku({mode:"visible",children:x.children},j,0,null),S=lo(S,j,M,null),S.flags|=2,x.return=d,S.return=d,x.sibling=S,d.child=x,(d.mode&1)!==0&&ol(d,l.child,null,M),d.child.memoizedState=em(M),d.memoizedState=Zp,S);if((d.mode&1)===0)return uu(l,d,M,null);if(j.data==="$!"){if(x=j.nextSibling&&j.nextSibling.dataset,x)var W=x.dgst;return x=W,S=Error(n(419)),x=Jp(S,x,void 0),uu(l,d,M,x)}if(W=(M&l.childLanes)!==0,kr||W){if(x=Pn,x!==null){switch(M&-M){case 4:j=2;break;case 16:j=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:j=32;break;case 536870912:j=268435456;break;default:j=0}j=(j&(x.suspendedLanes|M))!==0?0:j,j!==0&&j!==S.retryLane&&(S.retryLane=j,ca(l,j),xs(x,l,j,-1))}return xm(),x=Jp(Error(n(421))),uu(l,d,M,x)}return j.data==="$?"?(d.flags|=128,d.child=l.child,d=lE.bind(null,l),j._reactRetry=d,null):(l=S.treeContext,Pr=Ka(j.nextSibling),Rr=d,Jt=!0,fs=null,l!==null&&(Hr[Wr++]=oa,Hr[Wr++]=la,Hr[Wr++]=Zi,oa=l.id,la=l.overflow,Zi=d),d=tm(d,x.children),d.flags|=4096,d)}function Kb(l,d,p){l.lanes|=d;var x=l.alternate;x!==null&&(x.lanes|=d),Rp(l.return,d,p)}function nm(l,d,p,x,j){var S=l.memoizedState;S===null?l.memoizedState={isBackwards:d,rendering:null,renderingStartTime:0,last:x,tail:p,tailMode:j}:(S.isBackwards=d,S.rendering=null,S.renderingStartTime=0,S.last=x,S.tail=p,S.tailMode=j)}function qb(l,d,p){var x=d.pendingProps,j=x.revealOrder,S=x.tail;if(ur(l,d,x.children,p),x=Zt.current,(x&2)!==0)x=x&1|2,d.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=d.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Kb(l,p,d);else if(l.tag===19)Kb(l,p,d);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===d)break e;for(;l.sibling===null;){if(l.return===null||l.return===d)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}x&=1}if(_t(Zt,x),(d.mode&1)===0)d.memoizedState=null;else switch(j){case"forwards":for(p=d.child,j=null;p!==null;)l=p.alternate,l!==null&&su(l)===null&&(j=p),p=p.sibling;p=j,p===null?(j=d.child,d.child=null):(j=p.sibling,p.sibling=null),nm(d,!1,j,p,S);break;case"backwards":for(p=null,j=d.child,d.child=null;j!==null;){if(l=j.alternate,l!==null&&su(l)===null){d.child=j;break}l=j.sibling,j.sibling=p,p=j,j=l}nm(d,!0,p,null,S);break;case"together":nm(d,!1,null,null,void 0);break;default:d.memoizedState=null}return d.child}function hu(l,d){(d.mode&1)===0&&l!==null&&(l.alternate=null,d.alternate=null,d.flags|=2)}function ua(l,d,p){if(l!==null&&(d.dependencies=l.dependencies),so|=d.lanes,(p&d.childLanes)===0)return null;if(l!==null&&d.child!==l.child)throw Error(n(153));if(d.child!==null){for(l=d.child,p=ri(l,l.pendingProps),d.child=p,p.return=d;l.sibling!==null;)l=l.sibling,p=p.sibling=ri(l,l.pendingProps),p.return=d;p.sibling=null}return d.child}function Y3(l,d,p){switch(d.tag){case 3:Hb(d),il();break;case 5:ob(d);break;case 1:jr(d.type)&&Gd(d);break;case 4:Dp(d,d.stateNode.containerInfo);break;case 10:var x=d.type._context,j=d.memoizedProps.value;_t(eu,x._currentValue),x._currentValue=j;break;case 13:if(x=d.memoizedState,x!==null)return x.dehydrated!==null?(_t(Zt,Zt.current&1),d.flags|=128,null):(p&d.child.childLanes)!==0?Ub(l,d,p):(_t(Zt,Zt.current&1),l=ua(l,d,p),l!==null?l.sibling:null);_t(Zt,Zt.current&1);break;case 19:if(x=(p&d.childLanes)!==0,(l.flags&128)!==0){if(x)return qb(l,d,p);d.flags|=128}if(j=d.memoizedState,j!==null&&(j.rendering=null,j.tail=null,j.lastEffect=null),_t(Zt,Zt.current),x)break;return null;case 22:case 23:return d.lanes=0,Fb(l,d,p)}return ua(l,d,p)}var Gb,rm,Jb,Yb;Gb=function(l,d){for(var p=d.child;p!==null;){if(p.tag===5||p.tag===6)l.appendChild(p.stateNode);else if(p.tag!==4&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===d)break;for(;p.sibling===null;){if(p.return===null||p.return===d)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},rm=function(){},Jb=function(l,d,p,x){var j=l.memoizedProps;if(j!==x){l=d.stateNode,no(zs.current);var S=null;switch(p){case"input":j=Dt(l,j),x=Dt(l,x),S=[];break;case"select":j=J({},j,{value:void 0}),x=J({},x,{value:void 0}),S=[];break;case"textarea":j=ft(l,j),x=ft(l,x),S=[];break;default:typeof j.onClick!="function"&&typeof x.onClick=="function"&&(l.onclick=Ud)}Ts(p,x);var M;p=null;for(pe in j)if(!x.hasOwnProperty(pe)&&j.hasOwnProperty(pe)&&j[pe]!=null)if(pe==="style"){var W=j[pe];for(M in W)W.hasOwnProperty(M)&&(p||(p={}),p[M]="")}else pe!=="dangerouslySetInnerHTML"&&pe!=="children"&&pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&pe!=="autoFocus"&&(a.hasOwnProperty(pe)?S||(S=[]):(S=S||[]).push(pe,null));for(pe in x){var Q=x[pe];if(W=j!=null?j[pe]:void 0,x.hasOwnProperty(pe)&&Q!==W&&(Q!=null||W!=null))if(pe==="style")if(W){for(M in W)!W.hasOwnProperty(M)||Q&&Q.hasOwnProperty(M)||(p||(p={}),p[M]="");for(M in Q)Q.hasOwnProperty(M)&&W[M]!==Q[M]&&(p||(p={}),p[M]=Q[M])}else p||(S||(S=[]),S.push(pe,p)),p=Q;else pe==="dangerouslySetInnerHTML"?(Q=Q?Q.__html:void 0,W=W?W.__html:void 0,Q!=null&&W!==Q&&(S=S||[]).push(pe,Q)):pe==="children"?typeof Q!="string"&&typeof Q!="number"||(S=S||[]).push(pe,""+Q):pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&(a.hasOwnProperty(pe)?(Q!=null&&pe==="onScroll"&&Kt("scroll",l),S||W===Q||(S=[])):(S=S||[]).push(pe,Q))}p&&(S=S||[]).push("style",p);var pe=S;(d.updateQueue=pe)&&(d.flags|=4)}},Yb=function(l,d,p,x){p!==x&&(d.flags|=4)};function Cc(l,d){if(!Jt)switch(l.tailMode){case"hidden":d=l.tail;for(var p=null;d!==null;)d.alternate!==null&&(p=d),d=d.sibling;p===null?l.tail=null:p.sibling=null;break;case"collapsed":p=l.tail;for(var x=null;p!==null;)p.alternate!==null&&(x=p),p=p.sibling;x===null?d||l.tail===null?l.tail=null:l.tail.sibling=null:x.sibling=null}}function Xn(l){var d=l.alternate!==null&&l.alternate.child===l.child,p=0,x=0;if(d)for(var j=l.child;j!==null;)p|=j.lanes|j.childLanes,x|=j.subtreeFlags&14680064,x|=j.flags&14680064,j.return=l,j=j.sibling;else for(j=l.child;j!==null;)p|=j.lanes|j.childLanes,x|=j.subtreeFlags,x|=j.flags,j.return=l,j=j.sibling;return l.subtreeFlags|=x,l.childLanes=p,d}function Q3(l,d,p){var x=d.pendingProps;switch(Sp(d),d.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Xn(d),null;case 1:return jr(d.type)&&qd(),Xn(d),null;case 3:return x=d.stateNode,dl(),qt(wr),qt(Yn),zp(),x.pendingContext&&(x.context=x.pendingContext,x.pendingContext=null),(l===null||l.child===null)&&(Xd(d)?d.flags|=4:l===null||l.memoizedState.isDehydrated&&(d.flags&256)===0||(d.flags|=1024,fs!==null&&(pm(fs),fs=null))),rm(l,d),Xn(d),null;case 5:Lp(d);var j=no(Nc.current);if(p=d.type,l!==null&&d.stateNode!=null)Jb(l,d,p,x,j),l.ref!==d.ref&&(d.flags|=512,d.flags|=2097152);else{if(!x){if(d.stateNode===null)throw Error(n(166));return Xn(d),null}if(l=no(zs.current),Xd(d)){x=d.stateNode,p=d.type;var S=d.memoizedProps;switch(x[_s]=d,x[gc]=S,l=(d.mode&1)!==0,p){case"dialog":Kt("cancel",x),Kt("close",x);break;case"iframe":case"object":case"embed":Kt("load",x);break;case"video":case"audio":for(j=0;j<\/script>",l=l.removeChild(l.firstChild)):typeof x.is=="string"?l=M.createElement(p,{is:x.is}):(l=M.createElement(p),p==="select"&&(M=l,x.multiple?M.multiple=!0:x.size&&(M.size=x.size))):l=M.createElementNS(l,p),l[_s]=d,l[gc]=x,Gb(l,d,!1,!1),d.stateNode=l;e:{switch(M=Pa(p,x),p){case"dialog":Kt("cancel",l),Kt("close",l),j=x;break;case"iframe":case"object":case"embed":Kt("load",l),j=x;break;case"video":case"audio":for(j=0;jpl&&(d.flags|=128,x=!0,Cc(S,!1),d.lanes=4194304)}else{if(!x)if(l=su(M),l!==null){if(d.flags|=128,x=!0,p=l.updateQueue,p!==null&&(d.updateQueue=p,d.flags|=4),Cc(S,!0),S.tail===null&&S.tailMode==="hidden"&&!M.alternate&&!Jt)return Xn(d),null}else 2*It()-S.renderingStartTime>pl&&p!==1073741824&&(d.flags|=128,x=!0,Cc(S,!1),d.lanes=4194304);S.isBackwards?(M.sibling=d.child,d.child=M):(p=S.last,p!==null?p.sibling=M:d.child=M,S.last=M)}return S.tail!==null?(d=S.tail,S.rendering=d,S.tail=d.sibling,S.renderingStartTime=It(),d.sibling=null,p=Zt.current,_t(Zt,x?p&1|2:p&1),d):(Xn(d),null);case 22:case 23:return gm(),x=d.memoizedState!==null,l!==null&&l.memoizedState!==null!==x&&(d.flags|=8192),x&&(d.mode&1)!==0?(Or&1073741824)!==0&&(Xn(d),d.subtreeFlags&6&&(d.flags|=8192)):Xn(d),null;case 24:return null;case 25:return null}throw Error(n(156,d.tag))}function X3(l,d){switch(Sp(d),d.tag){case 1:return jr(d.type)&&qd(),l=d.flags,l&65536?(d.flags=l&-65537|128,d):null;case 3:return dl(),qt(wr),qt(Yn),zp(),l=d.flags,(l&65536)!==0&&(l&128)===0?(d.flags=l&-65537|128,d):null;case 5:return Lp(d),null;case 13:if(qt(Zt),l=d.memoizedState,l!==null&&l.dehydrated!==null){if(d.alternate===null)throw Error(n(340));il()}return l=d.flags,l&65536?(d.flags=l&-65537|128,d):null;case 19:return qt(Zt),null;case 4:return dl(),null;case 10:return Ip(d.type._context),null;case 22:case 23:return gm(),null;case 24:return null;default:return null}}var fu=!1,Zn=!1,Z3=typeof WeakSet=="function"?WeakSet:Set,Le=null;function hl(l,d){var p=l.ref;if(p!==null)if(typeof p=="function")try{p(null)}catch(x){sn(l,d,x)}else p.current=null}function sm(l,d,p){try{p()}catch(x){sn(l,d,x)}}var Qb=!1;function eE(l,d){if(gp=Pd,l=My(),lp(l)){if("selectionStart"in l)var p={start:l.selectionStart,end:l.selectionEnd};else e:{p=(p=l.ownerDocument)&&p.defaultView||window;var x=p.getSelection&&p.getSelection();if(x&&x.rangeCount!==0){p=x.anchorNode;var j=x.anchorOffset,S=x.focusNode;x=x.focusOffset;try{p.nodeType,S.nodeType}catch{p=null;break e}var M=0,W=-1,Q=-1,pe=0,we=0,ke=l,ve=null;t:for(;;){for(var Oe;ke!==p||j!==0&&ke.nodeType!==3||(W=M+j),ke!==S||x!==0&&ke.nodeType!==3||(Q=M+x),ke.nodeType===3&&(M+=ke.nodeValue.length),(Oe=ke.firstChild)!==null;)ve=ke,ke=Oe;for(;;){if(ke===l)break t;if(ve===p&&++pe===j&&(W=M),ve===S&&++we===x&&(Q=M),(Oe=ke.nextSibling)!==null)break;ke=ve,ve=ke.parentNode}ke=Oe}p=W===-1||Q===-1?null:{start:W,end:Q}}else p=null}p=p||{start:0,end:0}}else p=null;for(xp={focusedElem:l,selectionRange:p},Pd=!1,Le=d;Le!==null;)if(d=Le,l=d.child,(d.subtreeFlags&1028)!==0&&l!==null)l.return=d,Le=l;else for(;Le!==null;){d=Le;try{var ze=d.alternate;if((d.flags&1024)!==0)switch(d.tag){case 0:case 11:case 15:break;case 1:if(ze!==null){var Be=ze.memoizedProps,fn=ze.memoizedState,ie=d.stateNode,Z=ie.getSnapshotBeforeUpdate(d.elementType===d.type?Be:ps(d.type,Be),fn);ie.__reactInternalSnapshotBeforeUpdate=Z}break;case 3:var de=d.stateNode.containerInfo;de.nodeType===1?de.textContent="":de.nodeType===9&&de.documentElement&&de.removeChild(de.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(n(163))}}catch(Ie){sn(d,d.return,Ie)}if(l=d.sibling,l!==null){l.return=d.return,Le=l;break}Le=d.return}return ze=Qb,Qb=!1,ze}function Ec(l,d,p){var x=d.updateQueue;if(x=x!==null?x.lastEffect:null,x!==null){var j=x=x.next;do{if((j.tag&l)===l){var S=j.destroy;j.destroy=void 0,S!==void 0&&sm(d,p,S)}j=j.next}while(j!==x)}}function pu(l,d){if(d=d.updateQueue,d=d!==null?d.lastEffect:null,d!==null){var p=d=d.next;do{if((p.tag&l)===l){var x=p.create;p.destroy=x()}p=p.next}while(p!==d)}}function am(l){var d=l.ref;if(d!==null){var p=l.stateNode;switch(l.tag){case 5:l=p;break;default:l=p}typeof d=="function"?d(l):d.current=l}}function Xb(l){var d=l.alternate;d!==null&&(l.alternate=null,Xb(d)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(d=l.stateNode,d!==null&&(delete d[_s],delete d[gc],delete d[Np],delete d[L3],delete d[_3])),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function Zb(l){return l.tag===5||l.tag===3||l.tag===4}function ev(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||Zb(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function im(l,d,p){var x=l.tag;if(x===5||x===6)l=l.stateNode,d?p.nodeType===8?p.parentNode.insertBefore(l,d):p.insertBefore(l,d):(p.nodeType===8?(d=p.parentNode,d.insertBefore(l,p)):(d=p,d.appendChild(l)),p=p._reactRootContainer,p!=null||d.onclick!==null||(d.onclick=Ud));else if(x!==4&&(l=l.child,l!==null))for(im(l,d,p),l=l.sibling;l!==null;)im(l,d,p),l=l.sibling}function om(l,d,p){var x=l.tag;if(x===5||x===6)l=l.stateNode,d?p.insertBefore(l,d):p.appendChild(l);else if(x!==4&&(l=l.child,l!==null))for(om(l,d,p),l=l.sibling;l!==null;)om(l,d,p),l=l.sibling}var Fn=null,ms=!1;function Xa(l,d,p){for(p=p.child;p!==null;)tv(l,d,p),p=p.sibling}function tv(l,d,p){if(dr&&typeof dr.onCommitFiberUnmount=="function")try{dr.onCommitFiberUnmount($a,p)}catch{}switch(p.tag){case 5:Zn||hl(p,d);case 6:var x=Fn,j=ms;Fn=null,Xa(l,d,p),Fn=x,ms=j,Fn!==null&&(ms?(l=Fn,p=p.stateNode,l.nodeType===8?l.parentNode.removeChild(p):l.removeChild(p)):Fn.removeChild(p.stateNode));break;case 18:Fn!==null&&(ms?(l=Fn,p=p.stateNode,l.nodeType===8?vp(l.parentNode,p):l.nodeType===1&&vp(l,p),Ha(l)):vp(Fn,p.stateNode));break;case 4:x=Fn,j=ms,Fn=p.stateNode.containerInfo,ms=!0,Xa(l,d,p),Fn=x,ms=j;break;case 0:case 11:case 14:case 15:if(!Zn&&(x=p.updateQueue,x!==null&&(x=x.lastEffect,x!==null))){j=x=x.next;do{var S=j,M=S.destroy;S=S.tag,M!==void 0&&((S&2)!==0||(S&4)!==0)&&sm(p,d,M),j=j.next}while(j!==x)}Xa(l,d,p);break;case 1:if(!Zn&&(hl(p,d),x=p.stateNode,typeof x.componentWillUnmount=="function"))try{x.props=p.memoizedProps,x.state=p.memoizedState,x.componentWillUnmount()}catch(W){sn(p,d,W)}Xa(l,d,p);break;case 21:Xa(l,d,p);break;case 22:p.mode&1?(Zn=(x=Zn)||p.memoizedState!==null,Xa(l,d,p),Zn=x):Xa(l,d,p);break;default:Xa(l,d,p)}}function nv(l){var d=l.updateQueue;if(d!==null){l.updateQueue=null;var p=l.stateNode;p===null&&(p=l.stateNode=new Z3),d.forEach(function(x){var j=cE.bind(null,l,x);p.has(x)||(p.add(x),x.then(j,j))})}}function gs(l,d){var p=d.deletions;if(p!==null)for(var x=0;xj&&(j=M),x&=~S}if(x=j,x=It()-x,x=(120>x?120:480>x?480:1080>x?1080:1920>x?1920:3e3>x?3e3:4320>x?4320:1960*nE(x/1960))-x,10l?16:l,ei===null)var x=!1;else{if(l=ei,ei=null,bu=0,(mt&6)!==0)throw Error(n(331));var j=mt;for(mt|=4,Le=l.current;Le!==null;){var S=Le,M=S.child;if((Le.flags&16)!==0){var W=S.deletions;if(W!==null){for(var Q=0;QIt()-dm?io(l,0):cm|=p),Cr(l,d)}function mv(l,d){d===0&&((l.mode&1)===0?d=1:(d=Ps,Ps<<=1,(Ps&130023424)===0&&(Ps=4194304)));var p=hr();l=ca(l,d),l!==null&&(kn(l,d,p),Cr(l,p))}function lE(l){var d=l.memoizedState,p=0;d!==null&&(p=d.retryLane),mv(l,p)}function cE(l,d){var p=0;switch(l.tag){case 13:var x=l.stateNode,j=l.memoizedState;j!==null&&(p=j.retryLane);break;case 19:x=l.stateNode;break;default:throw Error(n(314))}x!==null&&x.delete(d),mv(l,p)}var gv;gv=function(l,d,p){if(l!==null)if(l.memoizedProps!==d.pendingProps||wr.current)kr=!0;else{if((l.lanes&p)===0&&(d.flags&128)===0)return kr=!1,Y3(l,d,p);kr=(l.flags&131072)!==0}else kr=!1,Jt&&(d.flags&1048576)!==0&&Jy(d,Qd,d.index);switch(d.lanes=0,d.tag){case 2:var x=d.type;hu(l,d),l=d.pendingProps;var j=rl(d,Yn.current);cl(d,p),j=Bp(null,d,x,l,j,p);var S=Vp();return d.flags|=1,typeof j=="object"&&j!==null&&typeof j.render=="function"&&j.$$typeof===void 0?(d.tag=1,d.memoizedState=null,d.updateQueue=null,jr(x)?(S=!0,Gd(d)):S=!1,d.memoizedState=j.state!==null&&j.state!==void 0?j.state:null,Op(d),j.updater=du,d.stateNode=j,j._reactInternals=d,Gp(d,x,l,p),d=Xp(null,d,x,!0,S,p)):(d.tag=0,Jt&&S&&kp(d),ur(null,d,j,p),d=d.child),d;case 16:x=d.elementType;e:{switch(hu(l,d),l=d.pendingProps,j=x._init,x=j(x._payload),d.type=x,j=d.tag=uE(x),l=ps(x,l),j){case 0:d=Qp(null,d,x,l,p);break e;case 1:d=Vb(null,d,x,l,p);break e;case 11:d=_b(null,d,x,l,p);break e;case 14:d=zb(null,d,x,ps(x.type,l),p);break e}throw Error(n(306,x,""))}return d;case 0:return x=d.type,j=d.pendingProps,j=d.elementType===x?j:ps(x,j),Qp(l,d,x,j,p);case 1:return x=d.type,j=d.pendingProps,j=d.elementType===x?j:ps(x,j),Vb(l,d,x,j,p);case 3:e:{if(Hb(d),l===null)throw Error(n(387));x=d.pendingProps,S=d.memoizedState,j=S.element,sb(l,d),ru(d,x,null,p);var M=d.memoizedState;if(x=M.element,S.isDehydrated)if(S={element:x,isDehydrated:!1,cache:M.cache,pendingSuspenseBoundaries:M.pendingSuspenseBoundaries,transitions:M.transitions},d.updateQueue.baseState=S,d.memoizedState=S,d.flags&256){j=ul(Error(n(423)),d),d=Wb(l,d,x,p,j);break e}else if(x!==j){j=ul(Error(n(424)),d),d=Wb(l,d,x,p,j);break e}else for(Pr=Ka(d.stateNode.containerInfo.firstChild),Rr=d,Jt=!0,fs=null,p=nb(d,null,x,p),d.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(il(),x===j){d=ua(l,d,p);break e}ur(l,d,x,p)}d=d.child}return d;case 5:return ob(d),l===null&&Ep(d),x=d.type,j=d.pendingProps,S=l!==null?l.memoizedProps:null,M=j.children,yp(x,j)?M=null:S!==null&&yp(x,S)&&(d.flags|=32),Bb(l,d),ur(l,d,M,p),d.child;case 6:return l===null&&Ep(d),null;case 13:return Ub(l,d,p);case 4:return Dp(d,d.stateNode.containerInfo),x=d.pendingProps,l===null?d.child=ol(d,null,x,p):ur(l,d,x,p),d.child;case 11:return x=d.type,j=d.pendingProps,j=d.elementType===x?j:ps(x,j),_b(l,d,x,j,p);case 7:return ur(l,d,d.pendingProps,p),d.child;case 8:return ur(l,d,d.pendingProps.children,p),d.child;case 12:return ur(l,d,d.pendingProps.children,p),d.child;case 10:e:{if(x=d.type._context,j=d.pendingProps,S=d.memoizedProps,M=j.value,_t(eu,x._currentValue),x._currentValue=M,S!==null)if(hs(S.value,M)){if(S.children===j.children&&!wr.current){d=ua(l,d,p);break e}}else for(S=d.child,S!==null&&(S.return=d);S!==null;){var W=S.dependencies;if(W!==null){M=S.child;for(var Q=W.firstContext;Q!==null;){if(Q.context===x){if(S.tag===1){Q=da(-1,p&-p),Q.tag=2;var pe=S.updateQueue;if(pe!==null){pe=pe.shared;var we=pe.pending;we===null?Q.next=Q:(Q.next=we.next,we.next=Q),pe.pending=Q}}S.lanes|=p,Q=S.alternate,Q!==null&&(Q.lanes|=p),Rp(S.return,p,d),W.lanes|=p;break}Q=Q.next}}else if(S.tag===10)M=S.type===d.type?null:S.child;else if(S.tag===18){if(M=S.return,M===null)throw Error(n(341));M.lanes|=p,W=M.alternate,W!==null&&(W.lanes|=p),Rp(M,p,d),M=S.sibling}else M=S.child;if(M!==null)M.return=S;else for(M=S;M!==null;){if(M===d){M=null;break}if(S=M.sibling,S!==null){S.return=M.return,M=S;break}M=M.return}S=M}ur(l,d,j.children,p),d=d.child}return d;case 9:return j=d.type,x=d.pendingProps.children,cl(d,p),j=Ur(j),x=x(j),d.flags|=1,ur(l,d,x,p),d.child;case 14:return x=d.type,j=ps(x,d.pendingProps),j=ps(x.type,j),zb(l,d,x,j,p);case 15:return $b(l,d,d.type,d.pendingProps,p);case 17:return x=d.type,j=d.pendingProps,j=d.elementType===x?j:ps(x,j),hu(l,d),d.tag=1,jr(x)?(l=!0,Gd(d)):l=!1,cl(d,p),Ab(d,x,j),Gp(d,x,j,p),Xp(null,d,x,!0,l,p);case 19:return qb(l,d,p);case 22:return Fb(l,d,p)}throw Error(n(156,d.tag))};function xv(l,d){return un(l,d)}function dE(l,d,p,x){this.tag=l,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=d,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=x,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Gr(l,d,p,x){return new dE(l,d,p,x)}function ym(l){return l=l.prototype,!(!l||!l.isReactComponent)}function uE(l){if(typeof l=="function")return ym(l)?1:0;if(l!=null){if(l=l.$$typeof,l===K)return 11;if(l===R)return 14}return 2}function ri(l,d){var p=l.alternate;return p===null?(p=Gr(l.tag,d,l.key,l.mode),p.elementType=l.elementType,p.type=l.type,p.stateNode=l.stateNode,p.alternate=l,l.alternate=p):(p.pendingProps=d,p.type=l.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=l.flags&14680064,p.childLanes=l.childLanes,p.lanes=l.lanes,p.child=l.child,p.memoizedProps=l.memoizedProps,p.memoizedState=l.memoizedState,p.updateQueue=l.updateQueue,d=l.dependencies,p.dependencies=d===null?null:{lanes:d.lanes,firstContext:d.firstContext},p.sibling=l.sibling,p.index=l.index,p.ref=l.ref,p}function ju(l,d,p,x,j,S){var M=2;if(x=l,typeof l=="function")ym(l)&&(M=1);else if(typeof l=="string")M=5;else e:switch(l){case _:return lo(p.children,j,S,d);case P:M=8,j|=8;break;case L:return l=Gr(12,p,d,j|2),l.elementType=L,l.lanes=S,l;case ue:return l=Gr(13,p,d,j),l.elementType=ue,l.lanes=S,l;case me:return l=Gr(19,p,d,j),l.elementType=me,l.lanes=S,l;case F:return ku(p,j,S,d);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case $:M=10;break e;case ee:M=9;break e;case K:M=11;break e;case R:M=14;break e;case O:M=16,x=null;break e}throw Error(n(130,l==null?l:typeof l,""))}return d=Gr(M,p,d,j),d.elementType=l,d.type=x,d.lanes=S,d}function lo(l,d,p,x){return l=Gr(7,l,x,d),l.lanes=p,l}function ku(l,d,p,x){return l=Gr(22,l,x,d),l.elementType=F,l.lanes=p,l.stateNode={isHidden:!1},l}function bm(l,d,p){return l=Gr(6,l,null,d),l.lanes=p,l}function vm(l,d,p){return d=Gr(4,l.children!==null?l.children:[],l.key,d),d.lanes=p,d.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},d}function hE(l,d,p,x,j){this.tag=d,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=xn(0),this.expirationTimes=xn(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=xn(0),this.identifierPrefix=x,this.onRecoverableError=j,this.mutableSourceEagerHydrationData=null}function Nm(l,d,p,x,j,S,M,W,Q){return l=new hE(l,d,p,W,Q),d===1?(d=1,S===!0&&(d|=8)):d=0,S=Gr(3,null,null,d),l.current=S,S.stateNode=l,S.memoizedState={element:x,isDehydrated:p,cache:null,transitions:null,pendingSuspenseBoundaries:null},Op(S),l}function fE(l,d,p){var x=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Em.exports=SE(),Em.exports}var Iv;function CE(){if(Iv)return Iu;Iv=1;var t=Lw();return Iu.createRoot=t.createRoot,Iu.hydrateRoot=t.hydrateRoot,Iu}var EE=CE(),jd=Lw();const _w=Dw(jd);/** * @remix-run/router v1.23.2 * * Copyright (c) Remix Software Inc. @@ -46,7 +46,7 @@ Error generating stack: `+S.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function ad(){return ad=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u")throw new Error(e)}function $x(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function EE(){return Math.random().toString(36).substr(2,8)}function Iv(t,e){return{usr:t.state,key:t.key,idx:e}}function Cg(t,e,n,r){return n===void 0&&(n=null),ad({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Ul(e):e,{state:n,key:e&&e.key||r||EE()})}function hh(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Ul(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function TE(t,e,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,c=gi.Pop,u=null,h=f();h==null&&(h=0,o.replaceState(ad({},o.state,{idx:h}),""));function f(){return(o.state||{idx:null}).idx}function m(){c=gi.Pop;let N=f(),k=N==null?null:N-h;h=N,u&&u({action:c,location:w.location,delta:k})}function g(N,k){c=gi.Push;let C=Cg(w.location,N,k);h=f()+1;let E=Iv(C,h),A=w.createHref(C);try{o.pushState(E,"",A)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;a.location.assign(A)}i&&u&&u({action:c,location:w.location,delta:1})}function y(N,k){c=gi.Replace;let C=Cg(w.location,N,k);h=f();let E=Iv(C,h),A=w.createHref(C);o.replaceState(E,"",A),i&&u&&u({action:c,location:w.location,delta:0})}function v(N){let k=a.location.origin!=="null"?a.location.origin:a.location.href,C=typeof N=="string"?N:hh(N);return C=C.replace(/ $/,"%20"),gn(k,"No window.location.(origin|href) available to create URL for href: "+C),new URL(C,k)}let w={get action(){return c},get location(){return t(a,o)},listen(N){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(Av,m),u=N,()=>{a.removeEventListener(Av,m),u=null}},createHref(N){return e(a,N)},createURL:v,encodeLocation(N){let k=v(N);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:g,replace:y,go(N){return o.go(N)}};return w}var Rv;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Rv||(Rv={}));function ME(t,e,n){return n===void 0&&(n="/"),AE(t,e,n)}function AE(t,e,n,r){let a=typeof e=="string"?Ul(e):e,i=Fx(a.pathname||"/",n);if(i==null)return null;let o=Lw(t);IE(o);let c=null;for(let u=0;c==null&&u{let u={relativePath:c===void 0?i.path||"":c,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(gn(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let h=wi([r,u.relativePath]),f=n.concat(u);i.children&&i.children.length>0&&(gn(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),Lw(i.children,e,f,h)),!(i.path==null&&!i.index)&&e.push({path:h,score:zE(h,i.index),routesMeta:f})};return t.forEach((i,o)=>{var c;if(i.path===""||!((c=i.path)!=null&&c.includes("?")))a(i,o);else for(let u of _w(i.path))a(i,o,u)}),e}function _w(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=_w(r.join("/")),c=[];return c.push(...o.map(u=>u===""?i:[i,u].join("/"))),a&&c.push(...o),c.map(u=>t.startsWith("/")&&u===""?"/":u)}function IE(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:$E(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const RE=/^:[\w-]+$/,PE=3,OE=2,DE=1,LE=10,_E=-2,Pv=t=>t==="*";function zE(t,e){let n=t.split("/"),r=n.length;return n.some(Pv)&&(r+=_E),e&&(r+=OE),n.filter(a=>!Pv(a)).reduce((a,i)=>a+(RE.test(i)?PE:i===""?DE:LE),r)}function $E(t,e){return t.length===e.length&&t.slice(0,-1).every((r,a)=>r===e[a])?t[t.length-1]-e[e.length-1]:0}function FE(t,e,n){let{routesMeta:r}=t,a={},i="/",o=[];for(let c=0;c{let{paramName:g,isOptional:y}=f;if(g==="*"){let w=c[m]||"";o=i.slice(0,i.length-w.length).replace(/(.)\/+$/,"$1")}const v=c[m];return y&&!v?h[g]=void 0:h[g]=(v||"").replace(/%2F/g,"/"),h},{}),pathname:i,pathnameBase:o,pattern:t}}function VE(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),$x(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],a="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,c,u)=>(r.push({paramName:c,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),a+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":t!==""&&t!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,e?void 0:"i"),r]}function HE(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return $x(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function Fx(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}const WE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,UE=t=>WE.test(t);function KE(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:a=""}=typeof t=="string"?Ul(t):t,i;if(n)if(UE(n))i=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),$x(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?i=Ov(n.substring(1),"/"):i=Ov(n,e)}else i=e;return{pathname:i,search:JE(r),hash:YE(a)}}function Ov(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Tm(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function qE(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Bx(t,e){let n=qE(t);return e?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Vx(t,e,n,r){r===void 0&&(r=!1);let a;typeof t=="string"?a=Ul(t):(a=ad({},t),gn(!a.pathname||!a.pathname.includes("?"),Tm("?","pathname","search",a)),gn(!a.pathname||!a.pathname.includes("#"),Tm("#","pathname","hash",a)),gn(!a.search||!a.search.includes("#"),Tm("#","search","hash",a)));let i=t===""||a.pathname==="",o=i?"/":a.pathname,c;if(o==null)c=n;else{let m=e.length-1;if(!r&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),m-=1;a.pathname=g.join("/")}c=m>=0?e[m]:"/"}let u=KE(a,c),h=o&&o!=="/"&&o.endsWith("/"),f=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(h||f)&&(u.pathname+="/"),u}const wi=t=>t.join("/").replace(/\/\/+/g,"/"),GE=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),JE=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,YE=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function QE(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const zw=["post","put","patch","delete"];new Set(zw);const XE=["get",...zw];new Set(XE);/** + */function ad(){return ad=Object.assign?Object.assign.bind():function(t){for(var e=1;e"u")throw new Error(e)}function Vx(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function ME(){return Math.random().toString(36).substr(2,8)}function Pv(t,e){return{usr:t.state,key:t.key,idx:e}}function Mg(t,e,n,r){return n===void 0&&(n=null),ad({pathname:typeof t=="string"?t:t.pathname,search:"",hash:""},typeof e=="string"?Ul(e):e,{state:n,key:e&&e.key||r||ME()})}function ph(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function Ul(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function AE(t,e,n,r){r===void 0&&(r={});let{window:a=document.defaultView,v5Compat:i=!1}=r,o=a.history,c=gi.Pop,u=null,h=f();h==null&&(h=0,o.replaceState(ad({},o.state,{idx:h}),""));function f(){return(o.state||{idx:null}).idx}function m(){c=gi.Pop;let N=f(),k=N==null?null:N-h;h=N,u&&u({action:c,location:w.location,delta:k})}function g(N,k){c=gi.Push;let C=Mg(w.location,N,k);h=f()+1;let E=Pv(C,h),A=w.createHref(C);try{o.pushState(E,"",A)}catch(D){if(D instanceof DOMException&&D.name==="DataCloneError")throw D;a.location.assign(A)}i&&u&&u({action:c,location:w.location,delta:1})}function y(N,k){c=gi.Replace;let C=Mg(w.location,N,k);h=f();let E=Pv(C,h),A=w.createHref(C);o.replaceState(E,"",A),i&&u&&u({action:c,location:w.location,delta:0})}function v(N){let k=a.location.origin!=="null"?a.location.origin:a.location.href,C=typeof N=="string"?N:ph(N);return C=C.replace(/ $/,"%20"),gn(k,"No window.location.(origin|href) available to create URL for href: "+C),new URL(C,k)}let w={get action(){return c},get location(){return t(a,o)},listen(N){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(Rv,m),u=N,()=>{a.removeEventListener(Rv,m),u=null}},createHref(N){return e(a,N)},createURL:v,encodeLocation(N){let k=v(N);return{pathname:k.pathname,search:k.search,hash:k.hash}},push:g,replace:y,go(N){return o.go(N)}};return w}var Ov;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(Ov||(Ov={}));function IE(t,e,n){return n===void 0&&(n="/"),RE(t,e,n)}function RE(t,e,n,r){let a=typeof e=="string"?Ul(e):e,i=Hx(a.pathname||"/",n);if(i==null)return null;let o=zw(t);PE(o);let c=null;for(let u=0;c==null&&u{let u={relativePath:c===void 0?i.path||"":c,caseSensitive:i.caseSensitive===!0,childrenIndex:o,route:i};u.relativePath.startsWith("/")&&(gn(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let h=wi([r,u.relativePath]),f=n.concat(u);i.children&&i.children.length>0&&(gn(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+h+'".')),zw(i.children,e,f,h)),!(i.path==null&&!i.index)&&e.push({path:h,score:FE(h,i.index),routesMeta:f})};return t.forEach((i,o)=>{var c;if(i.path===""||!((c=i.path)!=null&&c.includes("?")))a(i,o);else for(let u of $w(i.path))a(i,o,u)}),e}function $w(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let o=$w(r.join("/")),c=[];return c.push(...o.map(u=>u===""?i:[i,u].join("/"))),a&&c.push(...o),c.map(u=>t.startsWith("/")&&u===""?"/":u)}function PE(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:BE(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const OE=/^:[\w-]+$/,DE=3,LE=2,_E=1,zE=10,$E=-2,Dv=t=>t==="*";function FE(t,e){let n=t.split("/"),r=n.length;return n.some(Dv)&&(r+=$E),e&&(r+=LE),n.filter(a=>!Dv(a)).reduce((a,i)=>a+(OE.test(i)?DE:i===""?_E:zE),r)}function BE(t,e){return t.length===e.length&&t.slice(0,-1).every((r,a)=>r===e[a])?t[t.length-1]-e[e.length-1]:0}function VE(t,e,n){let{routesMeta:r}=t,a={},i="/",o=[];for(let c=0;c{let{paramName:g,isOptional:y}=f;if(g==="*"){let w=c[m]||"";o=i.slice(0,i.length-w.length).replace(/(.)\/+$/,"$1")}const v=c[m];return y&&!v?h[g]=void 0:h[g]=(v||"").replace(/%2F/g,"/"),h},{}),pathname:i,pathnameBase:o,pattern:t}}function WE(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),Vx(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],a="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,c,u)=>(r.push({paramName:c,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),a+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":t!==""&&t!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,e?void 0:"i"),r]}function UE(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Vx(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function Hx(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}const KE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qE=t=>KE.test(t);function GE(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:a=""}=typeof t=="string"?Ul(t):t,i;if(n)if(qE(n))i=n;else{if(n.includes("//")){let o=n;n=n.replace(/\/\/+/g,"/"),Vx(!1,"Pathnames cannot have embedded double slashes - normalizing "+(o+" -> "+n))}n.startsWith("/")?i=Lv(n.substring(1),"/"):i=Lv(n,e)}else i=e;return{pathname:i,search:QE(r),hash:XE(a)}}function Lv(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Am(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function JE(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function Wx(t,e){let n=JE(t);return e?n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Ux(t,e,n,r){r===void 0&&(r=!1);let a;typeof t=="string"?a=Ul(t):(a=ad({},t),gn(!a.pathname||!a.pathname.includes("?"),Am("?","pathname","search",a)),gn(!a.pathname||!a.pathname.includes("#"),Am("#","pathname","hash",a)),gn(!a.search||!a.search.includes("#"),Am("#","search","hash",a)));let i=t===""||a.pathname==="",o=i?"/":a.pathname,c;if(o==null)c=n;else{let m=e.length-1;if(!r&&o.startsWith("..")){let g=o.split("/");for(;g[0]==="..";)g.shift(),m-=1;a.pathname=g.join("/")}c=m>=0?e[m]:"/"}let u=GE(a,c),h=o&&o!=="/"&&o.endsWith("/"),f=(i||o===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(h||f)&&(u.pathname+="/"),u}const wi=t=>t.join("/").replace(/\/\/+/g,"/"),YE=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),QE=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,XE=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function ZE(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const Fw=["post","put","patch","delete"];new Set(Fw);const eT=["get",...Fw];new Set(eT);/** * React Router v6.30.3 * * Copyright (c) Remix Software Inc. @@ -55,7 +55,7 @@ Error generating stack: `+S.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function id(){return id=Object.assign?Object.assign.bind():function(t){for(var e=1;e{c.current=!0}),b.useCallback(function(h,f){if(f===void 0&&(f={}),!c.current)return;if(typeof h=="number"){r.go(h);return}let m=Vx(h,JSON.parse(o),i,f.relative==="path");t==null&&e!=="/"&&(m.pathname=m.pathname==="/"?e:wi([e,m.pathname])),(f.replace?r.replace:r.push)(m,f.state,f)},[e,r,o,i,t])}const nT=b.createContext(null);function rT(t){let e=b.useContext(Ia).outlet;return e&&b.createElement(nT.Provider,{value:t},e)}function Bw(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=b.useContext(Pi),{matches:a}=b.useContext(Ia),{pathname:i}=Oi(),o=JSON.stringify(Bx(a,r.v7_relativeSplatPath));return b.useMemo(()=>Vx(t,JSON.parse(o),i,n==="path"),[t,o,i,n])}function sT(t,e){return aT(t,e)}function aT(t,e,n,r){Kl()||gn(!1);let{navigator:a}=b.useContext(Pi),{matches:i}=b.useContext(Ia),o=i[i.length-1],c=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let h=Oi(),f;if(e){var m;let N=typeof e=="string"?Ul(e):e;u==="/"||(m=N.pathname)!=null&&m.startsWith(u)||gn(!1),f=N}else f=h;let g=f.pathname||"/",y=g;if(u!=="/"){let N=u.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(N.length).join("/")}let v=ME(t,{pathname:y}),w=dT(v&&v.map(N=>Object.assign({},N,{params:Object.assign({},c,N.params),pathname:wi([u,a.encodeLocation?a.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?u:wi([u,a.encodeLocation?a.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),i,n,r);return e&&w?b.createElement(xf.Provider,{value:{location:id({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:gi.Pop}},w):w}function iT(){let t=pT(),e=QE(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},e),n?b.createElement("pre",{style:a},n):null,null)}const oT=b.createElement(iT,null);class lT extends b.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?b.createElement(Ia.Provider,{value:this.props.routeContext},b.createElement($w.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function cT(t){let{routeContext:e,match:n,children:r}=t,a=b.useContext(Hx);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Ia.Provider,{value:e},r)}function dT(t,e,n,r){var a;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var i;if(!n)return null;if(n.errors)t=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let o=t,c=(a=n)==null?void 0:a.errors;if(c!=null){let f=o.findIndex(m=>m.route.id&&(c==null?void 0:c[m.route.id])!==void 0);f>=0||gn(!1),o=o.slice(0,Math.min(o.length,f+1))}let u=!1,h=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?o=o.slice(0,h+1):o=[o[0]];break}}}return o.reduceRight((f,m,g)=>{let y,v=!1,w=null,N=null;n&&(y=c&&m.route.id?c[m.route.id]:void 0,w=m.route.errorElement||oT,u&&(h<0&&g===0?(gT("route-fallback"),v=!0,N=null):h===g&&(v=!0,N=m.route.hydrateFallbackElement||null)));let k=e.concat(o.slice(0,g+1)),C=()=>{let E;return y?E=w:v?E=N:m.route.Component?E=b.createElement(m.route.Component,null):m.route.element?E=m.route.element:E=f,b.createElement(cT,{match:m,routeContext:{outlet:f,matches:k,isDataRoute:n!=null},children:E})};return n&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?b.createElement(lT,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:C(),routeContext:{outlet:null,matches:k,isDataRoute:!0}}):C()},null)}var Vw=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(Vw||{}),Hw=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(Hw||{});function uT(t){let e=b.useContext(Hx);return e||gn(!1),e}function hT(t){let e=b.useContext(ZE);return e||gn(!1),e}function fT(t){let e=b.useContext(Ia);return e||gn(!1),e}function Ww(t){let e=fT(),n=e.matches[e.matches.length-1];return n.route.id||gn(!1),n.route.id}function pT(){var t;let e=b.useContext($w),n=hT(),r=Ww();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function mT(){let{router:t}=uT(Vw.UseNavigateStable),e=Ww(Hw.UseNavigateStable),n=b.useRef(!1);return Fw(()=>{n.current=!0}),b.useCallback(function(a,i){i===void 0&&(i={}),n.current&&(typeof a=="number"?t.navigate(a):t.navigate(a,id({fromRouteId:e},i)))},[t,e])}const Dv={};function gT(t,e,n){Dv[t]||(Dv[t]=!0)}function xT(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function Mm(t){let{to:e,replace:n,state:r,relative:a}=t;Kl()||gn(!1);let{future:i,static:o}=b.useContext(Pi),{matches:c}=b.useContext(Ia),{pathname:u}=Oi(),h=Di(),f=Vx(e,Bx(c,i.v7_relativeSplatPath),u,a==="path"),m=JSON.stringify(f);return b.useEffect(()=>h(JSON.parse(m),{replace:n,state:r,relative:a}),[h,m,a,n,r]),null}function yT(t){return rT(t.context)}function zt(t){gn(!1)}function bT(t){let{basename:e="/",children:n=null,location:r,navigationType:a=gi.Pop,navigator:i,static:o=!1,future:c}=t;Kl()&&gn(!1);let u=e.replace(/^\/*/,"/"),h=b.useMemo(()=>({basename:u,navigator:i,static:o,future:id({v7_relativeSplatPath:!1},c)}),[u,c,i,o]);typeof r=="string"&&(r=Ul(r));let{pathname:f="/",search:m="",hash:g="",state:y=null,key:v="default"}=r,w=b.useMemo(()=>{let N=Fx(f,u);return N==null?null:{location:{pathname:N,search:m,hash:g,state:y,key:v},navigationType:a}},[u,f,m,g,y,v,a]);return w==null?null:b.createElement(Pi.Provider,{value:h},b.createElement(xf.Provider,{children:n,value:w}))}function vT(t){let{children:e,location:n}=t;return sT(Eg(e),n)}new Promise(()=>{});function Eg(t,e){e===void 0&&(e=[]);let n=[];return b.Children.forEach(t,(r,a)=>{if(!b.isValidElement(r))return;let i=[...e,a];if(r.type===b.Fragment){n.push.apply(n,Eg(r.props.children,i));return}r.type!==zt&&gn(!1),!r.props.index||!r.props.children||gn(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Eg(r.props.children,i)),n.push(o)}),n}/** + */function id(){return id=Object.assign?Object.assign.bind():function(t){for(var e=1;e{c.current=!0}),b.useCallback(function(h,f){if(f===void 0&&(f={}),!c.current)return;if(typeof h=="number"){r.go(h);return}let m=Ux(h,JSON.parse(o),i,f.relative==="path");t==null&&e!=="/"&&(m.pathname=m.pathname==="/"?e:wi([e,m.pathname])),(f.replace?r.replace:r.push)(m,f.state,f)},[e,r,o,i,t])}const sT=b.createContext(null);function aT(t){let e=b.useContext(Ia).outlet;return e&&b.createElement(sT.Provider,{value:t},e)}function Hw(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=b.useContext(Pi),{matches:a}=b.useContext(Ia),{pathname:i}=Oi(),o=JSON.stringify(Wx(a,r.v7_relativeSplatPath));return b.useMemo(()=>Ux(t,JSON.parse(o),i,n==="path"),[t,o,i,n])}function iT(t,e){return oT(t,e)}function oT(t,e,n,r){Kl()||gn(!1);let{navigator:a}=b.useContext(Pi),{matches:i}=b.useContext(Ia),o=i[i.length-1],c=o?o.params:{};o&&o.pathname;let u=o?o.pathnameBase:"/";o&&o.route;let h=Oi(),f;if(e){var m;let N=typeof e=="string"?Ul(e):e;u==="/"||(m=N.pathname)!=null&&m.startsWith(u)||gn(!1),f=N}else f=h;let g=f.pathname||"/",y=g;if(u!=="/"){let N=u.replace(/^\//,"").split("/");y="/"+g.replace(/^\//,"").split("/").slice(N.length).join("/")}let v=IE(t,{pathname:y}),w=hT(v&&v.map(N=>Object.assign({},N,{params:Object.assign({},c,N.params),pathname:wi([u,a.encodeLocation?a.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?u:wi([u,a.encodeLocation?a.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),i,n,r);return e&&w?b.createElement(bf.Provider,{value:{location:id({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:gi.Pop}},w):w}function lT(){let t=gT(),e=ZE(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return b.createElement(b.Fragment,null,b.createElement("h2",null,"Unexpected Application Error!"),b.createElement("h3",{style:{fontStyle:"italic"}},e),n?b.createElement("pre",{style:a},n):null,null)}const cT=b.createElement(lT,null);class dT extends b.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?b.createElement(Ia.Provider,{value:this.props.routeContext},b.createElement(Bw.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function uT(t){let{routeContext:e,match:n,children:r}=t,a=b.useContext(Kx);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),b.createElement(Ia.Provider,{value:e},r)}function hT(t,e,n,r){var a;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var i;if(!n)return null;if(n.errors)t=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let o=t,c=(a=n)==null?void 0:a.errors;if(c!=null){let f=o.findIndex(m=>m.route.id&&(c==null?void 0:c[m.route.id])!==void 0);f>=0||gn(!1),o=o.slice(0,Math.min(o.length,f+1))}let u=!1,h=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f=0?o=o.slice(0,h+1):o=[o[0]];break}}}return o.reduceRight((f,m,g)=>{let y,v=!1,w=null,N=null;n&&(y=c&&m.route.id?c[m.route.id]:void 0,w=m.route.errorElement||cT,u&&(h<0&&g===0?(yT("route-fallback"),v=!0,N=null):h===g&&(v=!0,N=m.route.hydrateFallbackElement||null)));let k=e.concat(o.slice(0,g+1)),C=()=>{let E;return y?E=w:v?E=N:m.route.Component?E=b.createElement(m.route.Component,null):m.route.element?E=m.route.element:E=f,b.createElement(uT,{match:m,routeContext:{outlet:f,matches:k,isDataRoute:n!=null},children:E})};return n&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?b.createElement(dT,{location:n.location,revalidation:n.revalidation,component:w,error:y,children:C(),routeContext:{outlet:null,matches:k,isDataRoute:!0}}):C()},null)}var Ww=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(Ww||{}),Uw=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(Uw||{});function fT(t){let e=b.useContext(Kx);return e||gn(!1),e}function pT(t){let e=b.useContext(tT);return e||gn(!1),e}function mT(t){let e=b.useContext(Ia);return e||gn(!1),e}function Kw(t){let e=mT(),n=e.matches[e.matches.length-1];return n.route.id||gn(!1),n.route.id}function gT(){var t;let e=b.useContext(Bw),n=pT(),r=Kw();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function xT(){let{router:t}=fT(Ww.UseNavigateStable),e=Kw(Uw.UseNavigateStable),n=b.useRef(!1);return Vw(()=>{n.current=!0}),b.useCallback(function(a,i){i===void 0&&(i={}),n.current&&(typeof a=="number"?t.navigate(a):t.navigate(a,id({fromRouteId:e},i)))},[t,e])}const _v={};function yT(t,e,n){_v[t]||(_v[t]=!0)}function bT(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function Im(t){let{to:e,replace:n,state:r,relative:a}=t;Kl()||gn(!1);let{future:i,static:o}=b.useContext(Pi),{matches:c}=b.useContext(Ia),{pathname:u}=Oi(),h=Di(),f=Ux(e,Wx(c,i.v7_relativeSplatPath),u,a==="path"),m=JSON.stringify(f);return b.useEffect(()=>h(JSON.parse(m),{replace:n,state:r,relative:a}),[h,m,a,n,r]),null}function vT(t){return aT(t.context)}function zt(t){gn(!1)}function NT(t){let{basename:e="/",children:n=null,location:r,navigationType:a=gi.Pop,navigator:i,static:o=!1,future:c}=t;Kl()&&gn(!1);let u=e.replace(/^\/*/,"/"),h=b.useMemo(()=>({basename:u,navigator:i,static:o,future:id({v7_relativeSplatPath:!1},c)}),[u,c,i,o]);typeof r=="string"&&(r=Ul(r));let{pathname:f="/",search:m="",hash:g="",state:y=null,key:v="default"}=r,w=b.useMemo(()=>{let N=Hx(f,u);return N==null?null:{location:{pathname:N,search:m,hash:g,state:y,key:v},navigationType:a}},[u,f,m,g,y,v,a]);return w==null?null:b.createElement(Pi.Provider,{value:h},b.createElement(bf.Provider,{children:n,value:w}))}function wT(t){let{children:e,location:n}=t;return iT(Ag(e),n)}new Promise(()=>{});function Ag(t,e){e===void 0&&(e=[]);let n=[];return b.Children.forEach(t,(r,a)=>{if(!b.isValidElement(r))return;let i=[...e,a];if(r.type===b.Fragment){n.push.apply(n,Ag(r.props.children,i));return}r.type!==zt&&gn(!1),!r.props.index||!r.props.children||gn(!1);let o={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(o.children=Ag(r.props.children,i)),n.push(o)}),n}/** * React Router DOM v6.30.3 * * Copyright (c) Remix Software Inc. @@ -64,493 +64,493 @@ Error generating stack: `+S.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Tg(){return Tg=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[a]=t[a]);return n}function wT(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function jT(t,e){return t.button===0&&(!e||e==="_self")&&!wT(t)}function Mg(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(a=>[n,a]):[[n,r]])},[]))}function kT(t,e){let n=Mg(t);return e&&e.forEach((r,a)=>{n.has(a)||e.getAll(a).forEach(i=>{n.append(a,i)})}),n}const ST=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],CT="6";try{window.__reactRouterVersion=CT}catch{}const ET="startTransition",Lv=gf[ET];function TT(t){let{basename:e,children:n,future:r,window:a}=t,i=b.useRef();i.current==null&&(i.current=CE({window:a,v5Compat:!0}));let o=i.current,[c,u]=b.useState({action:o.action,location:o.location}),{v7_startTransition:h}=r||{},f=b.useCallback(m=>{h&&Lv?Lv(()=>u(m)):u(m)},[u,h]);return b.useLayoutEffect(()=>o.listen(f),[o,f]),b.useEffect(()=>xT(r),[r]),b.createElement(bT,{basename:e,children:n,location:c.location,navigationType:c.action,navigator:o,future:r})}const MT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",AT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ag=b.forwardRef(function(e,n){let{onClick:r,relative:a,reloadDocument:i,replace:o,state:c,target:u,to:h,preventScrollReset:f,viewTransition:m}=e,g=NT(e,ST),{basename:y}=b.useContext(Pi),v,w=!1;if(typeof h=="string"&&AT.test(h)&&(v=h,MT))try{let E=new URL(window.location.href),A=h.startsWith("//")?new URL(E.protocol+h):new URL(h),D=Fx(A.pathname,y);A.origin===E.origin&&D!=null?h=D+A.search+A.hash:w=!0}catch{}let N=eT(h,{relative:a}),k=IT(h,{replace:o,state:c,target:u,preventScrollReset:f,relative:a,viewTransition:m});function C(E){r&&r(E),E.defaultPrevented||k(E)}return b.createElement("a",Tg({},g,{href:v||N,onClick:w||i?r:C,ref:n,target:u}))});var _v;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(_v||(_v={}));var zv;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(zv||(zv={}));function IT(t,e){let{target:n,replace:r,state:a,preventScrollReset:i,relative:o,viewTransition:c}=e===void 0?{}:e,u=Di(),h=Oi(),f=Bw(t,{relative:o});return b.useCallback(m=>{if(jT(m,n)){m.preventDefault();let g=r!==void 0?r:hh(h)===hh(f);u(t,{replace:g,state:a,preventScrollReset:i,relative:o,viewTransition:c})}},[h,u,f,r,a,n,t,i,o,c])}function Uw(t){let e=b.useRef(Mg(t)),n=b.useRef(!1),r=Oi(),a=b.useMemo(()=>kT(r.search,n.current?null:e.current),[r.search]),i=Di(),o=b.useCallback((c,u)=>{const h=Mg(typeof c=="function"?c(a):c);n.current=!0,i("?"+h,u)},[i,a]);return[a,o]}/** + */function Ig(){return Ig=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0)&&(n[a]=t[a]);return n}function kT(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function ST(t,e){return t.button===0&&(!e||e==="_self")&&!kT(t)}function Rg(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(a=>[n,a]):[[n,r]])},[]))}function CT(t,e){let n=Rg(t);return e&&e.forEach((r,a)=>{n.has(a)||e.getAll(a).forEach(i=>{n.append(a,i)})}),n}const ET=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],TT="6";try{window.__reactRouterVersion=TT}catch{}const MT="startTransition",zv=yf[MT];function AT(t){let{basename:e,children:n,future:r,window:a}=t,i=b.useRef();i.current==null&&(i.current=TE({window:a,v5Compat:!0}));let o=i.current,[c,u]=b.useState({action:o.action,location:o.location}),{v7_startTransition:h}=r||{},f=b.useCallback(m=>{h&&zv?zv(()=>u(m)):u(m)},[u,h]);return b.useLayoutEffect(()=>o.listen(f),[o,f]),b.useEffect(()=>bT(r),[r]),b.createElement(NT,{basename:e,children:n,location:c.location,navigationType:c.action,navigator:o,future:r})}const IT=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",RT=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pg=b.forwardRef(function(e,n){let{onClick:r,relative:a,reloadDocument:i,replace:o,state:c,target:u,to:h,preventScrollReset:f,viewTransition:m}=e,g=jT(e,ET),{basename:y}=b.useContext(Pi),v,w=!1;if(typeof h=="string"&&RT.test(h)&&(v=h,IT))try{let E=new URL(window.location.href),A=h.startsWith("//")?new URL(E.protocol+h):new URL(h),D=Hx(A.pathname,y);A.origin===E.origin&&D!=null?h=D+A.search+A.hash:w=!0}catch{}let N=nT(h,{relative:a}),k=PT(h,{replace:o,state:c,target:u,preventScrollReset:f,relative:a,viewTransition:m});function C(E){r&&r(E),E.defaultPrevented||k(E)}return b.createElement("a",Ig({},g,{href:v||N,onClick:w||i?r:C,ref:n,target:u}))});var $v;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})($v||($v={}));var Fv;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(Fv||(Fv={}));function PT(t,e){let{target:n,replace:r,state:a,preventScrollReset:i,relative:o,viewTransition:c}=e===void 0?{}:e,u=Di(),h=Oi(),f=Hw(t,{relative:o});return b.useCallback(m=>{if(ST(m,n)){m.preventDefault();let g=r!==void 0?r:ph(h)===ph(f);u(t,{replace:g,state:a,preventScrollReset:i,relative:o,viewTransition:c})}},[h,u,f,r,a,n,t,i,o,c])}function qw(t){let e=b.useRef(Rg(t)),n=b.useRef(!1),r=Oi(),a=b.useMemo(()=>CT(r.search,n.current?null:e.current),[r.search]),i=Di(),o=b.useCallback((c,u)=>{const h=Rg(typeof c=="function"?c(a):c);n.current=!0,i("?"+h,u)},[i,a]);return[a,o]}/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RT=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),PT=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),$v=t=>{const e=PT(t);return e.charAt(0).toUpperCase()+e.slice(1)},Kw=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim(),OT=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/** + */const OT=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),DT=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),Bv=t=>{const e=DT(t);return e.charAt(0).toUpperCase()+e.slice(1)},Gw=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim(),LT=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */var DT={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** + */var _T={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LT=b.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...c},u)=>b.createElement("svg",{ref:u,...DT,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:Kw("lucide",a),...!i&&!OT(c)&&{"aria-hidden":"true"},...c},[...o.map(([h,f])=>b.createElement(h,f)),...Array.isArray(i)?i:[i]]));/** + */const zT=b.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...c},u)=>b.createElement("svg",{ref:u,..._T,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:Gw("lucide",a),...!i&&!LT(c)&&{"aria-hidden":"true"},...c},[...o.map(([h,f])=>b.createElement(h,f)),...Array.isArray(i)?i:[i]]));/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const Te=(t,e)=>{const n=b.forwardRef(({className:r,...a},i)=>b.createElement(LT,{ref:i,iconNode:e,className:Kw(`lucide-${RT($v(t))}`,`lucide-${t}`,r),...a}));return n.displayName=$v(t),n};/** + */const Me=(t,e)=>{const n=b.forwardRef(({className:r,...a},i)=>b.createElement(zT,{ref:i,iconNode:e,className:Gw(`lucide-${OT(Bv(t))}`,`lucide-${t}`,r),...a}));return n.displayName=Bv(t),n};/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _T=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],Am=Te("arrow-up-down",_T);/** + */const $T=[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]],Rm=Me("arrow-up-down",$T);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zT=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]],$T=Te("at-sign",zT);/** + */const FT=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]],BT=Me("at-sign",FT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FT=[["path",{d:"M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727",key:"yr8idg"}]],Fv=Te("bitcoin",FT);/** + */const VT=[["path",{d:"M11.767 19.089c4.924.868 6.14-6.025 1.216-6.894m-1.216 6.894L5.86 18.047m5.908 1.042-.347 1.97m1.563-8.864c4.924.869 6.14-6.025 1.215-6.893m-1.215 6.893-3.94-.694m5.155-6.2L8.29 4.26m5.908 1.042.348-1.97M7.48 20.364l3.126-17.727",key:"yr8idg"}]],Vv=Me("bitcoin",VT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BT=[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]],VT=Te("bold",BT);/** + */const HT=[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]],WT=Me("bold",HT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HT=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],$r=Te("book-open",HT);/** + */const UT=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],$r=Me("book-open",UT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WT=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],fh=Te("calendar",WT);/** + */const KT=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]],mh=Me("calendar",KT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UT=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Ig=Te("chart-column",UT);/** + */const qT=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Og=Me("chart-column",qT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KT=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],yf=Te("check",KT);/** + */const GT=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],vf=Me("check",GT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qT=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],od=Te("chevron-down",qT);/** + */const JT=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],od=Me("chevron-down",JT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GT=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],JT=Te("chevron-left",GT);/** + */const YT=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],QT=Me("chevron-left",YT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YT=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],El=Te("chevron-right",YT);/** + */const XT=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],El=Me("chevron-right",XT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QT=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],qw=Te("chevron-up",QT);/** + */const ZT=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Jw=Me("chevron-up",ZT);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],ZT=Te("circle-alert",XT);/** + */const eM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],tM=Me("circle-alert",eM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const eM=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Bv=Te("circle-check-big",eM);/** + */const nM=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Hv=Me("circle-check-big",nM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Rg=Te("circle-check",tM);/** + */const rM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Dg=Me("circle-check",rM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const nM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Gw=Te("circle-question-mark",nM);/** + */const sM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Yw=Me("circle-question-mark",sM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],Im=Te("circle-user",rM);/** + */const aM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],Pm=Me("circle-user",aM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Jw=Te("circle-x",sM);/** + */const iM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],Qw=Me("circle-x",iM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const aM=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Pg=Te("clock",aM);/** + */const oM=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Lg=Me("clock",oM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iM=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],oM=Te("cloud",iM);/** + */const lM=[["path",{d:"M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",key:"p7xjir"}]],cM=Me("cloud",lM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lM=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],cM=Te("code",lM);/** + */const dM=[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]],uM=Me("code",dM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dM=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Yw=Te("copy",dM);/** + */const hM=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Xw=Me("copy",hM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uM=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Vv=Te("credit-card",uM);/** + */const fM=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Wv=Me("credit-card",fM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const hM=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],Al=Te("crown",hM);/** + */const pM=[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]],Al=Me("crown",pM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fM=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],ph=Te("dollar-sign",fM);/** + */const mM=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],gh=Me("dollar-sign",mM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pM=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],mM=Te("download",pM);/** + */const gM=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],xM=Me("download",gM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gM=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Ks=Te("external-link",gM);/** + */const yM=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Ks=Me("external-link",yM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const xM=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Og=Te("eye",xM);/** + */const bM=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],_g=Me("eye",bM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yM=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],bM=Te("file-text",yM);/** + */const vM=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],NM=Me("file-text",vM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vM=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],Qw=Te("funnel",vM);/** + */const wM=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],Zw=Me("funnel",wM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const NM=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],wM=Te("gift",NM);/** + */const jM=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],kM=Me("gift",jM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jM=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],kM=Te("git-merge",jM);/** + */const SM=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],CM=Me("git-merge",SM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const SM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Dg=Te("globe",SM);/** + */const EM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],zg=Me("globe",EM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CM=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],EM=Te("graduation-cap",CM);/** + */const TM=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],MM=Me("graduation-cap",TM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TM=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],fa=Te("grip-vertical",TM);/** + */const AM=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],fa=Me("grip-vertical",AM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MM=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],AM=Te("handshake",MM);/** + */const IM=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],RM=Me("handshake",IM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IM=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],Hv=Te("hash",IM);/** + */const PM=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],Uv=Me("hash",PM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const RM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]],PM=Te("heading-1",RM);/** + */const OM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]],DM=Me("heading-1",OM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]],DM=Te("heading-2",OM);/** + */const LM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]],_M=Me("heading-2",LM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]],_M=Te("heading-3",LM);/** + */const zM=[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]],$M=Me("heading-3",zM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zM=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],$M=Te("house",zM);/** + */const FM=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],BM=Me("house",FM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const FM=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],Xw=Te("image",FM);/** + */const VM=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],ej=Me("image",VM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],$c=Te("info",BM);/** + */const HM=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],$c=Me("info",HM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const VM=[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]],HM=Te("italic",VM);/** + */const WM=[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]],UM=Me("italic",WM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WM=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],Zw=Te("key",WM);/** + */const KM=[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]],tj=Me("key",KM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UM=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],KM=Te("layout-dashboard",UM);/** + */const qM=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],GM=Me("layout-dashboard",qM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qM=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Ns=Te("link-2",qM);/** + */const JM=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],Ns=Me("link-2",JM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GM=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Lg=Te("link",GM);/** + */const YM=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],$g=Me("link",YM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const JM=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],YM=Te("list-ordered",JM);/** + */const QM=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],XM=Me("list-ordered",QM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QM=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],XM=Te("list",QM);/** + */const ZM=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],eA=Me("list",ZM);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZM=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],eA=Te("lock",ZM);/** + */const tA=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],nA=Me("lock",tA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const tA=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],nA=Te("log-out",tA);/** + */const rA=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],sA=Me("log-out",rA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const rA=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],ej=Te("map-pin",rA);/** + */const aA=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],nj=Me("map-pin",aA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const sA=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],aA=Te("menu",sA);/** + */const iA=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],oA=Me("menu",iA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const iA=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],oA=Te("message-circle",iA);/** + */const lA=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],cA=Me("message-circle",lA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const lA=[["path",{d:"M5 12h14",key:"1ays0h"}]],cA=Te("minus",lA);/** + */const dA=[["path",{d:"M5 12h14",key:"1ays0h"}]],uA=Me("minus",dA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const dA=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],Tl=Te("navigation",dA);/** + */const hA=[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]],Tl=Me("navigation",hA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const uA=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],hA=Te("palette",uA);/** + */const fA=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],pA=Me("palette",fA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const fA=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],$t=Te("pen-line",fA);/** + */const mA=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],$t=Me("pen-line",mA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const pA=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],mA=Te("pencil",pA);/** + */const gA=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],xA=Me("pencil",gA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const gA=[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]],xA=Te("percent",gA);/** + */const yA=[["line",{x1:"19",x2:"5",y1:"5",y2:"19",key:"1x9vlm"}],["circle",{cx:"6.5",cy:"6.5",r:"2.5",key:"4mh3h7"}],["circle",{cx:"17.5",cy:"17.5",r:"2.5",key:"1mdrzq"}]],bA=Me("percent",yA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const yA=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],bA=Te("phone",yA);/** + */const vA=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],NA=Me("phone",vA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const vA=[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]],NA=Te("pin",vA);/** + */const wA=[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]],jA=Me("pin",wA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const wA=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],pn=Te("plus",wA);/** + */const kA=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],pn=Me("plus",kA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const jA=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],Wv=Te("qr-code",jA);/** + */const SA=[["rect",{width:"5",height:"5",x:"3",y:"3",rx:"1",key:"1tu5fj"}],["rect",{width:"5",height:"5",x:"16",y:"3",rx:"1",key:"1v8r4q"}],["rect",{width:"5",height:"5",x:"3",y:"16",rx:"1",key:"1x03jg"}],["path",{d:"M21 16h-3a2 2 0 0 0-2 2v3",key:"177gqh"}],["path",{d:"M21 21v.01",key:"ents32"}],["path",{d:"M12 7v3a2 2 0 0 1-2 2H7",key:"8crl2c"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M12 3h.01",key:"n36tog"}],["path",{d:"M12 16v.01",key:"133mhm"}],["path",{d:"M16 12h1",key:"1slzba"}],["path",{d:"M21 12v.01",key:"1lwtk9"}],["path",{d:"M12 21v-1",key:"1880an"}]],Kv=Me("qr-code",SA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const kA=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],SA=Te("quote",kA);/** + */const CA=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],EA=Me("quote",CA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const CA=[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],EA=Te("redo",CA);/** + */const TA=[["path",{d:"M21 7v6h-6",key:"3ptur4"}],["path",{d:"M3 17a9 9 0 0 1 9-9 9 9 0 0 1 6 2.3l3 2.7",key:"1kgawr"}]],MA=Me("redo",TA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const TA=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Ue=Te("refresh-cw",TA);/** + */const AA=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],Ue=Me("refresh-cw",AA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const MA=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],mn=Te("save",MA);/** + */const IA=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],mn=Me("save",IA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const AA=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Sa=Te("search",AA);/** + */const RA=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Sa=Me("search",RA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const IA=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],RA=Te("send",IA);/** + */const PA=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],OA=Me("send",PA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const PA=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],bo=Te("settings",PA);/** + */const DA=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],bo=Me("settings",DA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const OA=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],Iu=Te("settings-2",OA);/** + */const LA=[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]],Ru=Me("settings-2",LA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const DA=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Wx=Te("shield-check",DA);/** + */const _A=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],qx=Me("shield-check",_A);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const LA=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],_g=Te("shopping-bag",LA);/** + */const zA=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],Fg=Me("shopping-bag",zA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const _A=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Dl=Te("smartphone",_A);/** + */const $A=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Dl=Me("smartphone",$A);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const zA=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],xi=Te("star",zA);/** + */const FA=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],xi=Me("star",FA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const $A=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],FA=Te("strikethrough",$A);/** + */const BA=[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]],VA=Me("strikethrough",BA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const BA=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],VA=Te("table",BA);/** + */const HA=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],WA=Me("table",HA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const HA=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],qc=Te("tag",HA);/** + */const UA=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],qc=Me("tag",UA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const WA=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],er=Te("trash-2",WA);/** + */const KA=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],er=Me("trash-2",KA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const UA=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],vo=Te("trending-up",UA);/** + */const qA=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],vo=Me("trending-up",qA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const KA=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],zg=Te("trophy",KA);/** + */const GA=[["path",{d:"M10 14.66v1.626a2 2 0 0 1-.976 1.696A5 5 0 0 0 7 21.978",key:"1n3hpd"}],["path",{d:"M14 14.66v1.626a2 2 0 0 0 .976 1.696A5 5 0 0 1 17 21.978",key:"rfe1zi"}],["path",{d:"M18 9h1.5a1 1 0 0 0 0-5H18",key:"7xy6bh"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6 9H4.5a1 1 0 0 1 0-5H6",key:"tex48p"}]],Bg=Me("trophy",GA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const qA=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],tj=Te("undo-2",qA);/** + */const JA=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],rj=Me("undo-2",JA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const GA=[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]],JA=Te("undo",GA);/** + */const YA=[["path",{d:"M3 7v6h6",key:"1v2h90"}],["path",{d:"M21 17a9 9 0 0 0-9-9 9 9 0 0 0-6 2.3L3 13",key:"1r6uu6"}]],QA=Me("undo",YA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const YA=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],mh=Te("upload",YA);/** + */const XA=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],xh=Me("upload",XA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const QA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],$g=Te("user-plus",QA);/** + */const ZA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],Vg=Me("user-plus",ZA);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const XA=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],No=Te("user",XA);/** + */const e5=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],No=Me("user",e5);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const ZA=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Mn=Te("users",ZA);/** + */const t5=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],Mn=Me("users",t5);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const e5=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],t5=Te("video",e5);/** + */const n5=[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]],r5=Me("video",n5);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const n5=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],Ll=Te("wallet",n5);/** + */const s5=[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]],Ll=Me("wallet",s5);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const r5=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],nr=Te("x",r5);/** + */const a5=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],nr=Me("x",a5);/** * @license lucide-react v0.562.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. - */const s5=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],yi=Te("zap",s5),Ux="admin_token";function Kx(){try{return localStorage.getItem(Ux)}catch{return null}}function a5(t){try{localStorage.setItem(Ux,t)}catch{}}function i5(){try{localStorage.removeItem(Ux)}catch{}}const o5="https://soulapi.quwanzhi.com",l5=15e3,c5=()=>{const t="https://soulapi.quwanzhi.com";return t.length>0?t.replace(/\/$/,""):o5};function ja(t){const e=c5(),n=t.startsWith("/")?t:`/${t}`;return e?`${e}${n}`:n}async function bf(t,e={}){const{data:n,...r}=e,a=ja(t),i=new Headers(r.headers),o=Kx();o&&i.set("Authorization",`Bearer ${o}`),n!=null&&!i.has("Content-Type")&&i.set("Content-Type","application/json");const c=n!=null?JSON.stringify(n):r.body,u=new AbortController,h=setTimeout(()=>u.abort(),l5),f=await fetch(a,{...r,headers:i,body:c,credentials:"include",signal:u.signal}).finally(()=>clearTimeout(h)),g=(f.headers.get("Content-Type")||"").includes("application/json")?await f.json():f;if(!f.ok){const y=new Error((g==null?void 0:g.error)||`HTTP ${f.status}`);throw y.status=f.status,y.data=g,y}return g}function De(t,e){return bf(t,{...e,method:"GET"})}function Nt(t,e,n){return bf(t,{...n,method:"POST",data:e})}function Tt(t,e,n){return bf(t,{...n,method:"PUT",data:e})}function wa(t,e){return bf(t,{...e,method:"DELETE"})}const d5=[{icon:KM,label:"数据概览",href:"/dashboard"},{icon:$r,label:"内容管理",href:"/content"},{icon:Mn,label:"用户管理",href:"/users"},{icon:kM,label:"找伙伴",href:"/find-partner"},{icon:Ll,label:"推广中心",href:"/distribution"}];function u5(){const t=Oi(),e=Di(),[n,r]=b.useState(!1),[a,i]=b.useState(!1);b.useEffect(()=>{r(!0)},[]),b.useEffect(()=>{if(!n)return;i(!1);let c=!1;return De("/api/admin").then(u=>{c||(u&&u.success!==!1?i(!0):e("/login",{replace:!0}))}).catch(()=>{c||e("/login",{replace:!0})}),()=>{c=!0}},[n,e]);const o=async()=>{i5();try{await Nt("/api/admin/logout",{})}catch{}e("/login",{replace:!0})};return!n||!a?s.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[s.jsx("div",{className:"w-64 bg-[#0f2137] border-r border-gray-700/50"}),s.jsx("div",{className:"flex-1 flex items-center justify-center",children:s.jsx("div",{className:"text-[#38bdac]",children:"加载中..."})})]}):s.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[s.jsxs("div",{className:"w-64 bg-[#0f2137] flex flex-col border-r border-gray-700/50 shadow-xl",children:[s.jsxs("div",{className:"p-6 border-b border-gray-700/50",children:[s.jsx("h1",{className:"text-xl font-bold text-[#38bdac]",children:"管理后台"}),s.jsx("p",{className:"text-xs text-gray-400 mt-1",children:"Soul创业派对"})]}),s.jsx("nav",{className:"flex-1 p-4 space-y-1 overflow-y-auto",children:d5.map(c=>{const u=t.pathname===c.href;return s.jsxs(Ag,{to:c.href,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${u?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[s.jsx(c.icon,{className:"w-5 h-5 shrink-0"}),s.jsx("span",{className:"text-sm",children:c.label})]},c.href)})}),s.jsxs("div",{className:"p-4 border-t border-gray-700/50 space-y-1",children:[s.jsxs(Ag,{to:"/settings",className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${t.pathname==="/settings"?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[s.jsx(bo,{className:"w-5 h-5 shrink-0"}),s.jsx("span",{className:"text-sm",children:"系统设置"})]}),s.jsxs("button",{type:"button",onClick:o,className:"w-full flex items-center gap-3 px-4 py-3 text-gray-400 hover:text-white rounded-lg hover:bg-gray-700/50 transition-colors",children:[s.jsx(nA,{className:"w-5 h-5"}),s.jsx("span",{className:"text-sm",children:"退出登录"})]})]})]}),s.jsx("div",{className:"flex-1 overflow-auto bg-[#0a1628] min-w-0",children:s.jsx("div",{className:"w-full min-w-[1024px] min-h-full",children:s.jsx(yT,{})})})]})}function Uv(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function qx(...t){return e=>{let n=!1;const r=t.map(a=>{const i=Uv(a,e);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let a=0;a{let{children:i,...o}=r;nj(i)&&typeof gh=="function"&&(i=gh(i._payload));const c=b.Children.toArray(i),u=c.find(g5);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return s.jsx(e,{...o,ref:a,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return s.jsx(e,{...o,ref:a,children:i})});return n.displayName=`${t}.Slot`,n}var sj=rj("Slot");function p5(t){const e=b.forwardRef((n,r)=>{let{children:a,...i}=n;if(nj(a)&&typeof gh=="function"&&(a=gh(a._payload)),b.isValidElement(a)){const o=y5(a),c=x5(i,a.props);return a.type!==b.Fragment&&(c.ref=r?qx(r,o):o),b.cloneElement(a,c)}return b.Children.count(a)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var m5=Symbol("radix.slottable");function g5(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===m5}function x5(t,e){const n={...e};for(const r in e){const a=t[r],i=e[r];/^on[A-Z]/.test(r)?a&&i?n[r]=(...c)=>{const u=i(...c);return a(...c),u}:a&&(n[r]=a):r==="style"?n[r]={...a,...i}:r==="className"&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...t,...n}}function y5(t){var r,a;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}function aj(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;etypeof t=="boolean"?`${t}`:t===0?"0":t,qv=ij,oj=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return qv(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:i}=e,o=Object.keys(a).map(h=>{const f=n==null?void 0:n[h],m=i==null?void 0:i[h];if(f===null)return null;const g=Kv(f)||Kv(m);return a[h][g]}),c=n&&Object.entries(n).reduce((h,f)=>{let[m,g]=f;return g===void 0||(h[m]=g),h},{}),u=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((h,f)=>{let{class:m,className:g,...y}=f;return Object.entries(y).every(v=>{let[w,N]=v;return Array.isArray(N)?N.includes({...i,...c}[w]):{...i,...c}[w]===N})?[...h,m,g]:h},[]);return qv(t,o,u,n==null?void 0:n.class,n==null?void 0:n.className)},b5=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r({classGroupId:t,validator:e}),lj=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),xh="-",Gv=[],N5="arbitrary..",w5=t=>{const e=k5(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return j5(o);const c=o.split(xh),u=c[0]===""&&c.length>1?1:0;return cj(c,u,e)},getConflictingClassGroupIds:(o,c)=>{if(c){const u=r[o],h=n[o];return u?h?b5(h,u):u:h||Gv}return n[o]||Gv}}},cj=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const a=t[e],i=n.nextPart.get(a);if(i){const h=cj(t,e+1,i);if(h)return h}const o=n.validators;if(o===null)return;const c=e===0?t.join(xh):t.slice(e).join(xh),u=o.length;for(let h=0;ht.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?N5+r:void 0})(),k5=t=>{const{theme:e,classGroups:n}=t;return S5(n,e)},S5=(t,e)=>{const n=lj();for(const r in t){const a=t[r];Gx(a,n,r,e)}return n},Gx=(t,e,n,r)=>{const a=t.length;for(let i=0;i{if(typeof t=="string"){E5(t,e,n);return}if(typeof t=="function"){T5(t,e,n,r);return}M5(t,e,n,r)},E5=(t,e,n)=>{const r=t===""?e:dj(e,t);r.classGroupId=n},T5=(t,e,n,r)=>{if(A5(t)){Gx(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(v5(n,t))},M5=(t,e,n,r)=>{const a=Object.entries(t),i=a.length;for(let o=0;o{let n=t;const r=e.split(xh),a=r.length;for(let i=0;i"isThemeGetter"in t&&t.isThemeGetter===!0,I5=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const a=(i,o)=>{n[i]=o,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(i){let o=n[i];if(o!==void 0)return o;if((o=r[i])!==void 0)return a(i,o),o},set(i,o){i in n?n[i]=o:a(i,o)}}},Fg="!",Jv=":",R5=[],Yv=(t,e,n,r,a)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),P5=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=a=>{const i=[];let o=0,c=0,u=0,h;const f=a.length;for(let w=0;wu?h-u:void 0;return Yv(i,y,g,v)};if(e){const a=e+Jv,i=r;r=o=>o.startsWith(a)?i(o.slice(a.length)):Yv(R5,!1,o,void 0,!0)}if(n){const a=r;r=i=>n({className:i,parseClassName:a})}return r},O5=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let a=[];for(let i=0;i0&&(a.sort(),r.push(...a),a=[]),r.push(o)):a.push(o)}return a.length>0&&(a.sort(),r.push(...a)),r}},D5=t=>({cache:I5(t.cacheSize),parseClassName:P5(t),sortModifiers:O5(t),...w5(t)}),L5=/\s+/,_5=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=e,o=[],c=t.trim().split(L5);let u="";for(let h=c.length-1;h>=0;h-=1){const f=c[h],{isExternal:m,modifiers:g,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:w}=n(f);if(m){u=f+(u.length>0?" "+u:u);continue}let N=!!w,k=r(N?v.substring(0,w):v);if(!k){if(!N){u=f+(u.length>0?" "+u:u);continue}if(k=r(v),!k){u=f+(u.length>0?" "+u:u);continue}N=!1}const C=g.length===0?"":g.length===1?g[0]:i(g).join(":"),E=y?C+Fg:C,A=E+k;if(o.indexOf(A)>-1)continue;o.push(A);const D=a(k,N);for(let H=0;H0?" "+u:u)}return u},z5=(...t)=>{let e=0,n,r,a="";for(;e{if(typeof t=="string")return t;let e,n="";for(let r=0;r{let n,r,a,i;const o=u=>{const h=e.reduce((f,m)=>m(f),t());return n=D5(h),r=n.cache.get,a=n.cache.set,i=c,c(u)},c=u=>{const h=r(u);if(h)return h;const f=_5(u,n);return a(u,f),f};return i=o,(...u)=>i(z5(...u))},F5=[],En=t=>{const e=n=>n[t]||F5;return e.isThemeGetter=!0,e},hj=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fj=/^\((?:(\w[\w-]*):)?(.+)\)$/i,B5=/^\d+\/\d+$/,V5=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,H5=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,W5=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,U5=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,K5=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gl=t=>B5.test(t),dt=t=>!!t&&!Number.isNaN(Number(t)),ai=t=>!!t&&Number.isInteger(Number(t)),Rm=t=>t.endsWith("%")&&dt(t.slice(0,-1)),pa=t=>V5.test(t),q5=()=>!0,G5=t=>H5.test(t)&&!W5.test(t),pj=()=>!1,J5=t=>U5.test(t),Y5=t=>K5.test(t),Q5=t=>!ze(t)&&!$e(t),X5=t=>ql(t,xj,pj),ze=t=>hj.test(t),co=t=>ql(t,yj,G5),Pm=t=>ql(t,rI,dt),Qv=t=>ql(t,mj,pj),Z5=t=>ql(t,gj,Y5),Ru=t=>ql(t,bj,J5),$e=t=>fj.test(t),Pc=t=>Gl(t,yj),eI=t=>Gl(t,sI),Xv=t=>Gl(t,mj),tI=t=>Gl(t,xj),nI=t=>Gl(t,gj),Pu=t=>Gl(t,bj,!0),ql=(t,e,n)=>{const r=hj.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},Gl=(t,e,n=!1)=>{const r=fj.exec(t);return r?r[1]?e(r[1]):n:!1},mj=t=>t==="position"||t==="percentage",gj=t=>t==="image"||t==="url",xj=t=>t==="length"||t==="size"||t==="bg-size",yj=t=>t==="length",rI=t=>t==="number",sI=t=>t==="family-name",bj=t=>t==="shadow",aI=()=>{const t=En("color"),e=En("font"),n=En("text"),r=En("font-weight"),a=En("tracking"),i=En("leading"),o=En("breakpoint"),c=En("container"),u=En("spacing"),h=En("radius"),f=En("shadow"),m=En("inset-shadow"),g=En("text-shadow"),y=En("drop-shadow"),v=En("blur"),w=En("perspective"),N=En("aspect"),k=En("ease"),C=En("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...A(),$e,ze],H=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],P=()=>[$e,ze,u],L=()=>[gl,"full","auto",...P()],$=()=>[ai,"none","subgrid",$e,ze],ee=()=>["auto",{span:["full",ai,$e,ze]},ai,$e,ze],K=()=>[ai,"auto",$e,ze],ue=()=>["auto","min","max","fr",$e,ze],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],R=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...P()],F=()=>[gl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],I=()=>[t,$e,ze],se=()=>[...A(),Xv,Qv,{position:[$e,ze]}],J=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",tI,X5,{size:[$e,ze]}],U=()=>[Rm,Pc,co],q=()=>["","none","full",h,$e,ze],B=()=>["",dt,Pc,co],ce=()=>["solid","dashed","dotted","double"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>[dt,Rm,Xv,Qv],ae=()=>["","none",v,$e,ze],ye=()=>["none",dt,$e,ze],Me=()=>["none",dt,$e,ze],Be=()=>[dt,$e,ze],He=()=>[gl,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[pa],breakpoint:[pa],color:[q5],container:[pa],"drop-shadow":[pa],ease:["in","out","in-out"],font:[Q5],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[pa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[pa],shadow:[pa],spacing:["px",dt],text:[pa],"text-shadow":[pa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",gl,ze,$e,N]}],container:["container"],columns:[{columns:[dt,ze,$e,c]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{start:L()}],end:[{end:L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[ai,"auto",$e,ze]}],basis:[{basis:[gl,"full","auto",c,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,gl,"auto","initial","none",ze]}],grow:[{grow:["",dt,$e,ze]}],shrink:[{shrink:["",dt,$e,ze]}],order:[{order:[ai,"first","last","none",$e,ze]}],"grid-cols":[{"grid-cols":$()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":$()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ue()}],"auto-rows":[{"auto-rows":ue()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...R(),"normal"]}],"justify-self":[{"justify-self":["auto",...R()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...R(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...R(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...R(),"baseline"]}],"place-self":[{"place-self":["auto",...R()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[c,"screen",...F()]}],"min-w":[{"min-w":[c,"screen","none",...F()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",n,Pc,co]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,$e,Pm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Rm,ze]}],"font-family":[{font:[eI,ze,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,$e,ze]}],"line-clamp":[{"line-clamp":[dt,"none",$e,Pm]}],leading:[{leading:[i,...P()]}],"list-image":[{"list-image":["none",$e,ze]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",$e,ze]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",$e,co]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[dt,"auto",$e,ze]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$e,ze]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$e,ze]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:J()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ai,$e,ze],radial:["",$e,ze],conic:[ai,$e,ze]},nI,Z5]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:B()}],"border-w-x":[{"border-x":B()}],"border-w-y":[{"border-y":B()}],"border-w-s":[{"border-s":B()}],"border-w-e":[{"border-e":B()}],"border-w-t":[{"border-t":B()}],"border-w-r":[{"border-r":B()}],"border-w-b":[{"border-b":B()}],"border-w-l":[{"border-l":B()}],"divide-x":[{"divide-x":B()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":B()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}],"divide-color":[{divide:I()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,$e,ze]}],"outline-w":[{outline:["",dt,Pc,co]}],"outline-color":[{outline:I()}],shadow:[{shadow:["","none",f,Pu,Ru]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":["none",m,Pu,Ru]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[dt,co]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":B()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":["none",g,Pu,Ru]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[dt,$e,ze]}],"mix-blend":[{"mix-blend":[...Y(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Y()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[dt]}],"mask-image-linear-from-pos":[{"mask-linear-from":X()}],"mask-image-linear-to-pos":[{"mask-linear-to":X()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":X()}],"mask-image-t-to-pos":[{"mask-t-to":X()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":X()}],"mask-image-r-to-pos":[{"mask-r-to":X()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":X()}],"mask-image-b-to-pos":[{"mask-b-to":X()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":X()}],"mask-image-l-to-pos":[{"mask-l-to":X()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":X()}],"mask-image-x-to-pos":[{"mask-x-to":X()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":X()}],"mask-image-y-to-pos":[{"mask-y-to":X()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[$e,ze]}],"mask-image-radial-from-pos":[{"mask-radial-from":X()}],"mask-image-radial-to-pos":[{"mask-radial-to":X()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":A()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":X()}],"mask-image-conic-to-pos":[{"mask-conic-to":X()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:J()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",$e,ze]}],filter:[{filter:["","none",$e,ze]}],blur:[{blur:ae()}],brightness:[{brightness:[dt,$e,ze]}],contrast:[{contrast:[dt,$e,ze]}],"drop-shadow":[{"drop-shadow":["","none",y,Pu,Ru]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:["",dt,$e,ze]}],"hue-rotate":[{"hue-rotate":[dt,$e,ze]}],invert:[{invert:["",dt,$e,ze]}],saturate:[{saturate:[dt,$e,ze]}],sepia:[{sepia:["",dt,$e,ze]}],"backdrop-filter":[{"backdrop-filter":["","none",$e,ze]}],"backdrop-blur":[{"backdrop-blur":ae()}],"backdrop-brightness":[{"backdrop-brightness":[dt,$e,ze]}],"backdrop-contrast":[{"backdrop-contrast":[dt,$e,ze]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,$e,ze]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,$e,ze]}],"backdrop-invert":[{"backdrop-invert":["",dt,$e,ze]}],"backdrop-opacity":[{"backdrop-opacity":[dt,$e,ze]}],"backdrop-saturate":[{"backdrop-saturate":[dt,$e,ze]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,$e,ze]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",$e,ze]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",$e,ze]}],ease:[{ease:["linear","initial",k,$e,ze]}],delay:[{delay:[dt,$e,ze]}],animate:[{animate:["none",C,$e,ze]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,$e,ze]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:Me()}],"scale-x":[{"scale-x":Me()}],"scale-y":[{"scale-y":Me()}],"scale-z":[{"scale-z":Me()}],"scale-3d":["scale-3d"],skew:[{skew:Be()}],"skew-x":[{"skew-x":Be()}],"skew-y":[{"skew-y":Be()}],transform:[{transform:[$e,ze,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:He()}],"translate-x":[{"translate-x":He()}],"translate-y":[{"translate-y":He()}],"translate-z":[{"translate-z":He()}],"translate-none":["translate-none"],accent:[{accent:I()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:I()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$e,ze]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$e,ze]}],fill:[{fill:["none",...I()]}],"stroke-w":[{stroke:[dt,Pc,co,Pm]}],stroke:[{stroke:["none",...I()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},iI=$5(aI);function Ct(...t){return iI(ij(t))}function ts(t){if(!t)return"";let e=t.trim();return e?(e=e.replace(/^(https?)\/\//,"$1://"),e):""}const oI=oj("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function ne({className:t,variant:e,size:n,asChild:r=!1,...a}){const i=r?sj:"button";return s.jsx(i,{"data-slot":"button",className:Ct(oI({variant:e,size:n,className:t})),...a})}function le({className:t,type:e,...n}){return s.jsx("input",{type:e,"data-slot":"input",className:Ct("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 md:text-sm focus-visible:ring-2 focus-visible:ring-ring",t),...n})}function lI(){const t=Di(),[e,n]=b.useState(""),[r,a]=b.useState(""),[i,o]=b.useState(""),[c,u]=b.useState(!1),h=async()=>{o(""),u(!0);try{const f=await Nt("/api/admin",{username:e.trim(),password:r});if((f==null?void 0:f.success)!==!1&&(f!=null&&f.token)){a5(f.token),t("/dashboard",{replace:!0});return}o(f.error||"用户名或密码错误")}catch(f){const m=f;o(m.status===401?"用户名或密码错误":(m==null?void 0:m.message)||"网络错误,请重试")}finally{u(!1)}};return s.jsxs("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-4",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[s.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-[#38bdac]/5 rounded-full blur-3xl"}),s.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-blue-500/5 rounded-full blur-3xl"})]}),s.jsxs("div",{className:"w-full max-w-md relative z-10",children:[s.jsxs("div",{className:"text-center mb-8",children:[s.jsx("div",{className:"w-16 h-16 bg-[#38bdac]/20 rounded-2xl flex items-center justify-center mx-auto mb-4 border border-[#38bdac]/30",children:s.jsx(Wx,{className:"w-8 h-8 text-[#38bdac]"})}),s.jsx("h1",{className:"text-2xl font-bold text-white mb-2",children:"管理后台"}),s.jsx("p",{className:"text-gray-400",children:"一场SOUL的创业实验场"})]}),s.jsxs("div",{className:"bg-[#0f2137] rounded-2xl p-8 shadow-xl border border-gray-700/50 backdrop-blur-xl",children:[s.jsx("h2",{className:"text-xl font-semibold text-white mb-6 text-center",children:"管理员登录"}),s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"用户名"}),s.jsxs("div",{className:"relative",children:[s.jsx(No,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),s.jsx(le,{type:"text",value:e,onChange:f=>n(f.target.value),placeholder:"请输入用户名",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]"})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"密码"}),s.jsxs("div",{className:"relative",children:[s.jsx(eA,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),s.jsx(le,{type:"password",value:r,onChange:f=>a(f.target.value),placeholder:"请输入密码",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]",onKeyDown:f=>f.key==="Enter"&&h()})]})]}),i&&s.jsx("div",{className:"bg-red-500/10 text-red-400 text-sm p-3 rounded-lg border border-red-500/20",children:i}),s.jsx(ne,{onClick:h,disabled:c,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white py-5 disabled:opacity-50",children:c?"登录中...":"登录"})]})]}),s.jsx("p",{className:"text-center text-gray-500 text-xs mt-6",children:"Soul创业实验场 · 后台管理系统"})]})]})}const Se=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{ref:n,className:Ct("rounded-xl border bg-card text-card-foreground shadow",t),...e}));Se.displayName="Card";const qe=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{ref:n,className:Ct("flex flex-col space-y-1.5 p-6",t),...e}));qe.displayName="CardHeader";const Ge=b.forwardRef(({className:t,...e},n)=>s.jsx("h3",{ref:n,className:Ct("font-semibold leading-none tracking-tight",t),...e}));Ge.displayName="CardTitle";const Ht=b.forwardRef(({className:t,...e},n)=>s.jsx("p",{ref:n,className:Ct("text-sm text-muted-foreground",t),...e}));Ht.displayName="CardDescription";const Ce=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{ref:n,className:Ct("p-6 pt-0",t),...e}));Ce.displayName="CardContent";const cI=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{ref:n,className:Ct("flex items-center p-6 pt-0",t),...e}));cI.displayName="CardFooter";const dI={success:{bg:"#f0fdf4",border:"#22c55e",icon:"✓"},error:{bg:"#fef2f2",border:"#ef4444",icon:"✕"},info:{bg:"#eff6ff",border:"#3b82f6",icon:"ℹ"}};function Om(t,e="info",n=3e3){const r=`toast-${Date.now()}`,a=dI[e],i=document.createElement("div");i.id=r,i.setAttribute("role","alert"),Object.assign(i.style,{position:"fixed",top:"24px",right:"24px",zIndex:"9999",display:"flex",alignItems:"center",gap:"10px",padding:"12px 18px",borderRadius:"10px",background:a.bg,border:`1.5px solid ${a.border}`,boxShadow:"0 4px 20px rgba(0,0,0,.12)",fontSize:"14px",color:"#1a1a1a",fontWeight:"500",maxWidth:"380px",lineHeight:"1.5",opacity:"0",transform:"translateY(-8px)",transition:"opacity .22s ease, transform .22s ease",pointerEvents:"none"});const o=document.createElement("span");Object.assign(o.style,{width:"20px",height:"20px",borderRadius:"50%",background:a.border,color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",fontWeight:"700",flexShrink:"0"}),o.textContent=a.icon;const c=document.createElement("span");c.textContent=t,i.appendChild(o),i.appendChild(c),document.body.appendChild(i),requestAnimationFrame(()=>{i.style.opacity="1",i.style.transform="translateY(0)"});const u=setTimeout(()=>h(r),n);function h(f){clearTimeout(u);const m=document.getElementById(f);m&&(m.style.opacity="0",m.style.transform="translateY(-8px)",setTimeout(()=>{var g;return(g=m.parentNode)==null?void 0:g.removeChild(m)},250))}}const oe={success:(t,e)=>Om(t,"success",e),error:(t,e)=>Om(t,"error",e),info:(t,e)=>Om(t,"info",e)};function at(t,e,{checkForDefaultPrevented:n=!0}={}){return function(a){if(t==null||t(a),n===!1||!a.defaultPrevented)return e==null?void 0:e(a)}}function uI(t,e){const n=b.createContext(e),r=i=>{const{children:o,...c}=i,u=b.useMemo(()=>c,Object.values(c));return s.jsx(n.Provider,{value:u,children:o})};r.displayName=t+"Provider";function a(i){const o=b.useContext(n);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[r,a]}function Li(t,e=[]){let n=[];function r(i,o){const c=b.createContext(o),u=n.length;n=[...n,o];const h=m=>{var k;const{scope:g,children:y,...v}=m,w=((k=g==null?void 0:g[t])==null?void 0:k[u])||c,N=b.useMemo(()=>v,Object.values(v));return s.jsx(w.Provider,{value:N,children:y})};h.displayName=i+"Provider";function f(m,g){var w;const y=((w=g==null?void 0:g[t])==null?void 0:w[u])||c,v=b.useContext(y);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${i}\``)}return[h,f]}const a=()=>{const i=n.map(o=>b.createContext(o));return function(c){const u=(c==null?void 0:c[t])||i;return b.useMemo(()=>({[`__scope${t}`]:{...c,[t]:u}}),[c,u])}};return a.scopeName=t,[r,hI(a,...e)]}function hI(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(i){const o=r.reduce((c,{useScope:u,scopeName:h})=>{const m=u(i)[`__scope${h}`];return{...c,...m}},{});return b.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return n.scopeName=e.scopeName,n}var rr=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},fI=gf[" useId ".trim().toString()]||(()=>{}),pI=0;function ji(t){const[e,n]=b.useState(fI());return rr(()=>{n(r=>r??String(pI++))},[t]),e?`radix-${e}`:""}var mI=gf[" useInsertionEffect ".trim().toString()]||rr;function Eo({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[a,i,o]=gI({defaultProp:e,onChange:n}),c=t!==void 0,u=c?t:a;{const f=b.useRef(t!==void 0);b.useEffect(()=>{const m=f.current;m!==c&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=c},[c,r])}const h=b.useCallback(f=>{var m;if(c){const g=xI(f)?f(t):f;g!==t&&((m=o.current)==null||m.call(o,g))}else i(f)},[c,t,i,o]);return[u,h]}function gI({defaultProp:t,onChange:e}){const[n,r]=b.useState(t),a=b.useRef(n),i=b.useRef(e);return mI(()=>{i.current=e},[e]),b.useEffect(()=>{var o;a.current!==n&&((o=i.current)==null||o.call(i,n),a.current=n)},[n,a]),[n,r,i]}function xI(t){return typeof t=="function"}function ld(t){const e=yI(t),n=b.forwardRef((r,a)=>{const{children:i,...o}=r,c=b.Children.toArray(i),u=c.find(vI);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return s.jsx(e,{...o,ref:a,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return s.jsx(e,{...o,ref:a,children:i})});return n.displayName=`${t}.Slot`,n}function yI(t){const e=b.forwardRef((n,r)=>{const{children:a,...i}=n;if(b.isValidElement(a)){const o=wI(a),c=NI(i,a.props);return a.type!==b.Fragment&&(c.ref=r?qx(r,o):o),b.cloneElement(a,c)}return b.Children.count(a)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var bI=Symbol("radix.slottable");function vI(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===bI}function NI(t,e){const n={...e};for(const r in e){const a=t[r],i=e[r];/^on[A-Z]/.test(r)?a&&i?n[r]=(...c)=>{const u=i(...c);return a(...c),u}:a&&(n[r]=a):r==="style"?n[r]={...a,...i}:r==="className"&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...t,...n}}function wI(t){var r,a;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var jI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ut=jI.reduce((t,e)=>{const n=ld(`Primitive.${e}`),r=b.forwardRef((a,i)=>{const{asChild:o,...c}=a,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(u,{...c,ref:i})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function kI(t,e){t&&jd.flushSync(()=>t.dispatchEvent(e))}function Ti(t){const e=b.useRef(t);return b.useEffect(()=>{e.current=t}),b.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}function SI(t,e=globalThis==null?void 0:globalThis.document){const n=Ti(t);b.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var CI="DismissableLayer",Bg="dismissableLayer.update",EI="dismissableLayer.pointerDownOutside",TI="dismissableLayer.focusOutside",Zv,vj=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Jx=b.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:c,...u}=t,h=b.useContext(vj),[f,m]=b.useState(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=b.useState({}),v=St(e,_=>m(_)),w=Array.from(h.layers),[N]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=w.indexOf(N),C=f?w.indexOf(f):-1,E=h.layersWithOutsidePointerEventsDisabled.size>0,A=C>=k,D=II(_=>{const P=_.target,L=[...h.branches].some($=>$.contains(P));!A||L||(a==null||a(_),o==null||o(_),_.defaultPrevented||c==null||c())},g),H=RI(_=>{const P=_.target;[...h.branches].some($=>$.contains(P))||(i==null||i(_),o==null||o(_),_.defaultPrevented||c==null||c())},g);return SI(_=>{C===h.layers.size-1&&(r==null||r(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},g),b.useEffect(()=>{if(f)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Zv=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),e1(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=Zv)}},[f,g,n,h]),b.useEffect(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),e1())},[f,h]),b.useEffect(()=>{const _=()=>y({});return document.addEventListener(Bg,_),()=>document.removeEventListener(Bg,_)},[]),s.jsx(ut.div,{...u,ref:v,style:{pointerEvents:E?A?"auto":"none":void 0,...t.style},onFocusCapture:at(t.onFocusCapture,H.onFocusCapture),onBlurCapture:at(t.onBlurCapture,H.onBlurCapture),onPointerDownCapture:at(t.onPointerDownCapture,D.onPointerDownCapture)})});Jx.displayName=CI;var MI="DismissableLayerBranch",AI=b.forwardRef((t,e)=>{const n=b.useContext(vj),r=b.useRef(null),a=St(e,r);return b.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),s.jsx(ut.div,{...t,ref:a})});AI.displayName=MI;function II(t,e=globalThis==null?void 0:globalThis.document){const n=Ti(t),r=b.useRef(!1),a=b.useRef(()=>{});return b.useEffect(()=>{const i=c=>{if(c.target&&!r.current){let u=function(){Nj(EI,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",a.current),a.current=u,e.addEventListener("click",a.current,{once:!0})):u()}else e.removeEventListener("click",a.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",i),e.removeEventListener("click",a.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function RI(t,e=globalThis==null?void 0:globalThis.document){const n=Ti(t),r=b.useRef(!1);return b.useEffect(()=>{const a=i=>{i.target&&!r.current&&Nj(TI,n,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",a),()=>e.removeEventListener("focusin",a)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function e1(){const t=new CustomEvent(Bg);document.dispatchEvent(t)}function Nj(t,e,n,{discrete:r}){const a=n.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&a.addEventListener(t,e,{once:!0}),r?kI(a,i):a.dispatchEvent(i)}var Dm="focusScope.autoFocusOnMount",Lm="focusScope.autoFocusOnUnmount",t1={bubbles:!1,cancelable:!0},PI="FocusScope",Yx=b.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...o}=t,[c,u]=b.useState(null),h=Ti(a),f=Ti(i),m=b.useRef(null),g=St(e,w=>u(w)),y=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let w=function(E){if(y.paused||!c)return;const A=E.target;c.contains(A)?m.current=A:li(m.current,{select:!0})},N=function(E){if(y.paused||!c)return;const A=E.relatedTarget;A!==null&&(c.contains(A)||li(m.current,{select:!0}))},k=function(E){if(document.activeElement===document.body)for(const D of E)D.removedNodes.length>0&&li(c)};document.addEventListener("focusin",w),document.addEventListener("focusout",N);const C=new MutationObserver(k);return c&&C.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",N),C.disconnect()}}},[r,c,y.paused]),b.useEffect(()=>{if(c){r1.add(y);const w=document.activeElement;if(!c.contains(w)){const k=new CustomEvent(Dm,t1);c.addEventListener(Dm,h),c.dispatchEvent(k),k.defaultPrevented||(OI($I(wj(c)),{select:!0}),document.activeElement===w&&li(c))}return()=>{c.removeEventListener(Dm,h),setTimeout(()=>{const k=new CustomEvent(Lm,t1);c.addEventListener(Lm,f),c.dispatchEvent(k),k.defaultPrevented||li(w??document.body,{select:!0}),c.removeEventListener(Lm,f),r1.remove(y)},0)}}},[c,h,f,y]);const v=b.useCallback(w=>{if(!n&&!r||y.paused)return;const N=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,k=document.activeElement;if(N&&k){const C=w.currentTarget,[E,A]=DI(C);E&&A?!w.shiftKey&&k===A?(w.preventDefault(),n&&li(E,{select:!0})):w.shiftKey&&k===E&&(w.preventDefault(),n&&li(A,{select:!0})):k===C&&w.preventDefault()}},[n,r,y.paused]);return s.jsx(ut.div,{tabIndex:-1,...o,ref:g,onKeyDown:v})});Yx.displayName=PI;function OI(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(li(r,{select:e}),document.activeElement!==n)return}function DI(t){const e=wj(t),n=n1(e,t),r=n1(e.reverse(),t);return[n,r]}function wj(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function n1(t,e){for(const n of t)if(!LI(n,{upTo:e}))return n}function LI(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function _I(t){return t instanceof HTMLInputElement&&"select"in t}function li(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&_I(t)&&e&&t.select()}}var r1=zI();function zI(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=s1(t,e),t.unshift(e)},remove(e){var n;t=s1(t,e),(n=t[0])==null||n.resume()}}}function s1(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function $I(t){return t.filter(e=>e.tagName!=="A")}var FI="Portal",Qx=b.forwardRef((t,e)=>{var c;const{container:n,...r}=t,[a,i]=b.useState(!1);rr(()=>i(!0),[]);const o=n||a&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return o?Dw.createPortal(s.jsx(ut.div,{...r,ref:e}),o):null});Qx.displayName=FI;function BI(t,e){return b.useReducer((n,r)=>e[n][r]??n,t)}var kd=t=>{const{present:e,children:n}=t,r=VI(e),a=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),i=St(r.ref,HI(a));return typeof n=="function"||r.isPresent?b.cloneElement(a,{ref:i}):null};kd.displayName="Presence";function VI(t){const[e,n]=b.useState(),r=b.useRef(null),a=b.useRef(t),i=b.useRef("none"),o=t?"mounted":"unmounted",[c,u]=BI(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const h=Ou(r.current);i.current=c==="mounted"?h:"none"},[c]),rr(()=>{const h=r.current,f=a.current;if(f!==t){const g=i.current,y=Ou(h);t?u("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?u("UNMOUNT"):u(f&&g!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=t}},[t,u]),rr(()=>{if(e){let h;const f=e.ownerDocument.defaultView??window,m=y=>{const w=Ou(r.current).includes(CSS.escape(y.animationName));if(y.target===e&&w&&(u("ANIMATION_END"),!a.current)){const N=e.style.animationFillMode;e.style.animationFillMode="forwards",h=f.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=N)})}},g=y=>{y.target===e&&(i.current=Ou(r.current))};return e.addEventListener("animationstart",g),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{f.clearTimeout(h),e.removeEventListener("animationstart",g),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:b.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function Ou(t){return(t==null?void 0:t.animationName)||"none"}function HI(t){var r,a;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var _m=0;function jj(){b.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??a1()),document.body.insertAdjacentElement("beforeend",t[1]??a1()),_m++,()=>{_m===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),_m--}},[])}function a1(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Hs=function(){return Hs=Object.assign||function(e){for(var n,r=1,a=arguments.length;r"u")return iR;var e=oR(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},cR=Ej(),Il="data-scroll-locked",dR=function(t,e,n,r){var a=t.left,i=t.top,o=t.right,c=t.gap;return n===void 0&&(n="margin"),` - .`.concat(UI,` { + */const i5=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],yi=Me("zap",i5),Gx="admin_token";function kd(){try{return localStorage.getItem(Gx)}catch{return null}}function o5(t){try{localStorage.setItem(Gx,t)}catch{}}function Om(){try{localStorage.removeItem(Gx)}catch{}}const l5="https://soulapi.quwanzhi.com",c5=15e3,d5=()=>{const t="https://soulapi.quwanzhi.com";return t.length>0?t.replace(/\/$/,""):l5};function ja(t){const e=d5(),n=t.startsWith("/")?t:`/${t}`;return e?`${e}${n}`:n}async function Nf(t,e={}){const{data:n,...r}=e,a=ja(t),i=new Headers(r.headers),o=kd();o&&i.set("Authorization",`Bearer ${o}`),n!=null&&!i.has("Content-Type")&&i.set("Content-Type","application/json");const c=n!=null?JSON.stringify(n):r.body,u=new AbortController,h=setTimeout(()=>u.abort(),c5),f=await fetch(a,{...r,headers:i,body:c,credentials:"include",signal:u.signal}).finally(()=>clearTimeout(h)),g=(f.headers.get("Content-Type")||"").includes("application/json")?await f.json():f;if(!f.ok){const y=new Error((g==null?void 0:g.error)||`HTTP ${f.status}`);throw y.status=f.status,y.data=g,y}return g}function De(t,e){return Nf(t,{...e,method:"GET"})}function Nt(t,e,n){return Nf(t,{...n,method:"POST",data:e})}function Tt(t,e,n){return Nf(t,{...n,method:"PUT",data:e})}function wa(t,e){return Nf(t,{...e,method:"DELETE"})}const u5=[{icon:GM,label:"数据概览",href:"/dashboard"},{icon:$r,label:"内容管理",href:"/content"},{icon:Mn,label:"用户管理",href:"/users"},{icon:CM,label:"找伙伴",href:"/find-partner"},{icon:Ll,label:"推广中心",href:"/distribution"}];function h5(){const t=Oi(),e=Di(),[n,r]=b.useState(!1),[a,i]=b.useState(!1);b.useEffect(()=>{r(!0)},[]),b.useEffect(()=>{if(!n)return;i(!1);let c=!1;return kd()?(De("/api/admin").then(h=>{c||((h==null?void 0:h.success)===!0?i(!0):(Om(),e("/login",{replace:!0})))}).catch(()=>{c||(Om(),e("/login",{replace:!0}))}),()=>{c=!0}):(e("/login",{replace:!0,state:{from:t.pathname}}),()=>{c=!0})},[t.pathname,n,e]);const o=async()=>{Om();try{await Nt("/api/admin/logout",{})}catch{}e("/login",{replace:!0})};return!n||!a?s.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[s.jsx("div",{className:"w-64 bg-[#0f2137] border-r border-gray-700/50"}),s.jsx("div",{className:"flex-1 flex items-center justify-center",children:s.jsx("div",{className:"text-[#38bdac]",children:"加载中..."})})]}):s.jsxs("div",{className:"flex min-h-screen bg-[#0a1628]",children:[s.jsxs("div",{className:"w-64 bg-[#0f2137] flex flex-col border-r border-gray-700/50 shadow-xl",children:[s.jsxs("div",{className:"p-6 border-b border-gray-700/50",children:[s.jsx("h1",{className:"text-xl font-bold text-[#38bdac]",children:"管理后台"}),s.jsx("p",{className:"text-xs text-gray-400 mt-1",children:"Soul创业派对"})]}),s.jsx("nav",{className:"flex-1 p-4 space-y-1 overflow-y-auto",children:u5.map(c=>{const u=t.pathname===c.href;return s.jsxs(Pg,{to:c.href,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${u?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[s.jsx(c.icon,{className:"w-5 h-5 shrink-0"}),s.jsx("span",{className:"text-sm",children:c.label})]},c.href)})}),s.jsxs("div",{className:"p-4 border-t border-gray-700/50 space-y-1",children:[s.jsxs(Pg,{to:"/settings",className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${t.pathname==="/settings"?"bg-[#38bdac]/20 text-[#38bdac] font-medium":"text-gray-400 hover:bg-gray-700/50 hover:text-white"}`,children:[s.jsx(bo,{className:"w-5 h-5 shrink-0"}),s.jsx("span",{className:"text-sm",children:"系统设置"})]}),s.jsxs("button",{type:"button",onClick:o,className:"w-full flex items-center gap-3 px-4 py-3 text-gray-400 hover:text-white rounded-lg hover:bg-gray-700/50 transition-colors",children:[s.jsx(sA,{className:"w-5 h-5"}),s.jsx("span",{className:"text-sm",children:"退出登录"})]})]})]}),s.jsx("div",{className:"flex-1 overflow-auto bg-[#0a1628] min-w-0",children:s.jsx("div",{className:"w-full min-w-[1024px] min-h-full",children:s.jsx(vT,{})})})]})}function qv(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Jx(...t){return e=>{let n=!1;const r=t.map(a=>{const i=qv(a,e);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let a=0;a{let{children:i,...o}=r;sj(i)&&typeof yh=="function"&&(i=yh(i._payload));const c=b.Children.toArray(i),u=c.find(x5);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return s.jsx(e,{...o,ref:a,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return s.jsx(e,{...o,ref:a,children:i})});return n.displayName=`${t}.Slot`,n}var ij=aj("Slot");function m5(t){const e=b.forwardRef((n,r)=>{let{children:a,...i}=n;if(sj(a)&&typeof yh=="function"&&(a=yh(a._payload)),b.isValidElement(a)){const o=b5(a),c=y5(i,a.props);return a.type!==b.Fragment&&(c.ref=r?Jx(r,o):o),b.cloneElement(a,c)}return b.Children.count(a)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var g5=Symbol("radix.slottable");function x5(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===g5}function y5(t,e){const n={...e};for(const r in e){const a=t[r],i=e[r];/^on[A-Z]/.test(r)?a&&i?n[r]=(...c)=>{const u=i(...c);return a(...c),u}:a&&(n[r]=a):r==="style"?n[r]={...a,...i}:r==="className"&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...t,...n}}function b5(t){var r,a;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}function oj(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var a=t.length;for(e=0;etypeof t=="boolean"?`${t}`:t===0?"0":t,Jv=lj,cj=(t,e)=>n=>{var r;if((e==null?void 0:e.variants)==null)return Jv(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:a,defaultVariants:i}=e,o=Object.keys(a).map(h=>{const f=n==null?void 0:n[h],m=i==null?void 0:i[h];if(f===null)return null;const g=Gv(f)||Gv(m);return a[h][g]}),c=n&&Object.entries(n).reduce((h,f)=>{let[m,g]=f;return g===void 0||(h[m]=g),h},{}),u=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((h,f)=>{let{class:m,className:g,...y}=f;return Object.entries(y).every(v=>{let[w,N]=v;return Array.isArray(N)?N.includes({...i,...c}[w]):{...i,...c}[w]===N})?[...h,m,g]:h},[]);return Jv(t,o,u,n==null?void 0:n.class,n==null?void 0:n.className)},v5=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r({classGroupId:t,validator:e}),dj=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),bh="-",Yv=[],w5="arbitrary..",j5=t=>{const e=S5(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return k5(o);const c=o.split(bh),u=c[0]===""&&c.length>1?1:0;return uj(c,u,e)},getConflictingClassGroupIds:(o,c)=>{if(c){const u=r[o],h=n[o];return u?h?v5(h,u):u:h||Yv}return n[o]||Yv}}},uj=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const a=t[e],i=n.nextPart.get(a);if(i){const h=uj(t,e+1,i);if(h)return h}const o=n.validators;if(o===null)return;const c=e===0?t.join(bh):t.slice(e).join(bh),u=o.length;for(let h=0;ht.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?w5+r:void 0})(),S5=t=>{const{theme:e,classGroups:n}=t;return C5(n,e)},C5=(t,e)=>{const n=dj();for(const r in t){const a=t[r];Yx(a,n,r,e)}return n},Yx=(t,e,n,r)=>{const a=t.length;for(let i=0;i{if(typeof t=="string"){T5(t,e,n);return}if(typeof t=="function"){M5(t,e,n,r);return}A5(t,e,n,r)},T5=(t,e,n)=>{const r=t===""?e:hj(e,t);r.classGroupId=n},M5=(t,e,n,r)=>{if(I5(t)){Yx(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(N5(n,t))},A5=(t,e,n,r)=>{const a=Object.entries(t),i=a.length;for(let o=0;o{let n=t;const r=e.split(bh),a=r.length;for(let i=0;i"isThemeGetter"in t&&t.isThemeGetter===!0,R5=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const a=(i,o)=>{n[i]=o,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(i){let o=n[i];if(o!==void 0)return o;if((o=r[i])!==void 0)return a(i,o),o},set(i,o){i in n?n[i]=o:a(i,o)}}},Hg="!",Qv=":",P5=[],Xv=(t,e,n,r,a)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),O5=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=a=>{const i=[];let o=0,c=0,u=0,h;const f=a.length;for(let w=0;wu?h-u:void 0;return Xv(i,y,g,v)};if(e){const a=e+Qv,i=r;r=o=>o.startsWith(a)?i(o.slice(a.length)):Xv(P5,!1,o,void 0,!0)}if(n){const a=r;r=i=>n({className:i,parseClassName:a})}return r},D5=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let a=[];for(let i=0;i0&&(a.sort(),r.push(...a),a=[]),r.push(o)):a.push(o)}return a.length>0&&(a.sort(),r.push(...a)),r}},L5=t=>({cache:R5(t.cacheSize),parseClassName:O5(t),sortModifiers:D5(t),...j5(t)}),_5=/\s+/,z5=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=e,o=[],c=t.trim().split(_5);let u="";for(let h=c.length-1;h>=0;h-=1){const f=c[h],{isExternal:m,modifiers:g,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:w}=n(f);if(m){u=f+(u.length>0?" "+u:u);continue}let N=!!w,k=r(N?v.substring(0,w):v);if(!k){if(!N){u=f+(u.length>0?" "+u:u);continue}if(k=r(v),!k){u=f+(u.length>0?" "+u:u);continue}N=!1}const C=g.length===0?"":g.length===1?g[0]:i(g).join(":"),E=y?C+Hg:C,A=E+k;if(o.indexOf(A)>-1)continue;o.push(A);const D=a(k,N);for(let H=0;H0?" "+u:u)}return u},$5=(...t)=>{let e=0,n,r,a="";for(;e{if(typeof t=="string")return t;let e,n="";for(let r=0;r{let n,r,a,i;const o=u=>{const h=e.reduce((f,m)=>m(f),t());return n=L5(h),r=n.cache.get,a=n.cache.set,i=c,c(u)},c=u=>{const h=r(u);if(h)return h;const f=z5(u,n);return a(u,f),f};return i=o,(...u)=>i($5(...u))},B5=[],En=t=>{const e=n=>n[t]||B5;return e.isThemeGetter=!0,e},pj=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,mj=/^\((?:(\w[\w-]*):)?(.+)\)$/i,V5=/^\d+\/\d+$/,H5=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,W5=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,U5=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,K5=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,q5=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,gl=t=>V5.test(t),dt=t=>!!t&&!Number.isNaN(Number(t)),ai=t=>!!t&&Number.isInteger(Number(t)),Dm=t=>t.endsWith("%")&&dt(t.slice(0,-1)),pa=t=>H5.test(t),G5=()=>!0,J5=t=>W5.test(t)&&!U5.test(t),gj=()=>!1,Y5=t=>K5.test(t),Q5=t=>q5.test(t),X5=t=>!$e(t)&&!Fe(t),Z5=t=>ql(t,bj,gj),$e=t=>pj.test(t),co=t=>ql(t,vj,J5),Lm=t=>ql(t,sI,dt),Zv=t=>ql(t,xj,gj),eI=t=>ql(t,yj,Q5),Pu=t=>ql(t,Nj,Y5),Fe=t=>mj.test(t),Pc=t=>Gl(t,vj),tI=t=>Gl(t,aI),e1=t=>Gl(t,xj),nI=t=>Gl(t,bj),rI=t=>Gl(t,yj),Ou=t=>Gl(t,Nj,!0),ql=(t,e,n)=>{const r=pj.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},Gl=(t,e,n=!1)=>{const r=mj.exec(t);return r?r[1]?e(r[1]):n:!1},xj=t=>t==="position"||t==="percentage",yj=t=>t==="image"||t==="url",bj=t=>t==="length"||t==="size"||t==="bg-size",vj=t=>t==="length",sI=t=>t==="number",aI=t=>t==="family-name",Nj=t=>t==="shadow",iI=()=>{const t=En("color"),e=En("font"),n=En("text"),r=En("font-weight"),a=En("tracking"),i=En("leading"),o=En("breakpoint"),c=En("container"),u=En("spacing"),h=En("radius"),f=En("shadow"),m=En("inset-shadow"),g=En("text-shadow"),y=En("drop-shadow"),v=En("blur"),w=En("perspective"),N=En("aspect"),k=En("ease"),C=En("animate"),E=()=>["auto","avoid","all","avoid-page","page","left","right","column"],A=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...A(),Fe,$e],H=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],P=()=>[Fe,$e,u],L=()=>[gl,"full","auto",...P()],$=()=>[ai,"none","subgrid",Fe,$e],ee=()=>["auto",{span:["full",ai,Fe,$e]},ai,Fe,$e],K=()=>[ai,"auto",Fe,$e],ue=()=>["auto","min","max","fr",Fe,$e],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],R=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...P()],F=()=>[gl,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...P()],I=()=>[t,Fe,$e],se=()=>[...A(),e1,Zv,{position:[Fe,$e]}],J=()=>["no-repeat",{repeat:["","x","y","space","round"]}],z=()=>["auto","cover","contain",nI,Z5,{size:[Fe,$e]}],U=()=>[Dm,Pc,co],q=()=>["","none","full",h,Fe,$e],V=()=>["",dt,Pc,co],ce=()=>["solid","dashed","dotted","double"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],X=()=>[dt,Dm,e1,Zv],ae=()=>["","none",v,Fe,$e],ye=()=>["none",dt,Fe,$e],je=()=>["none",dt,Fe,$e],_e=()=>[dt,Fe,$e],He=()=>[gl,"full",...P()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[pa],breakpoint:[pa],color:[G5],container:[pa],"drop-shadow":[pa],ease:["in","out","in-out"],font:[X5],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[pa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[pa],shadow:[pa],spacing:["px",dt],text:[pa],"text-shadow":[pa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",gl,$e,Fe,N]}],container:["container"],columns:[{columns:[dt,$e,Fe,c]}],"break-after":[{"break-after":E()}],"break-before":[{"break-before":E()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{start:L()}],end:[{end:L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[ai,"auto",Fe,$e]}],basis:[{basis:[gl,"full","auto",c,...P()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,gl,"auto","initial","none",$e]}],grow:[{grow:["",dt,Fe,$e]}],shrink:[{shrink:["",dt,Fe,$e]}],order:[{order:[ai,"first","last","none",Fe,$e]}],"grid-cols":[{"grid-cols":$()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":K()}],"col-end":[{"col-end":K()}],"grid-rows":[{"grid-rows":$()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":K()}],"row-end":[{"row-end":K()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ue()}],"auto-rows":[{"auto-rows":ue()}],gap:[{gap:P()}],"gap-x":[{"gap-x":P()}],"gap-y":[{"gap-y":P()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...R(),"normal"]}],"justify-self":[{"justify-self":["auto",...R()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...R(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...R(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...R(),"baseline"]}],"place-self":[{"place-self":["auto",...R()]}],p:[{p:P()}],px:[{px:P()}],py:[{py:P()}],ps:[{ps:P()}],pe:[{pe:P()}],pt:[{pt:P()}],pr:[{pr:P()}],pb:[{pb:P()}],pl:[{pl:P()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":P()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":P()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[c,"screen",...F()]}],"min-w":[{"min-w":[c,"screen","none",...F()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[o]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",n,Pc,co]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Fe,Lm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Dm,$e]}],"font-family":[{font:[tI,$e,e]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,Fe,$e]}],"line-clamp":[{"line-clamp":[dt,"none",Fe,Lm]}],leading:[{leading:[i,...P()]}],"list-image":[{"list-image":["none",Fe,$e]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Fe,$e]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:I()}],"text-color":[{text:I()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ce(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",Fe,co]}],"text-decoration-color":[{decoration:I()}],"underline-offset":[{"underline-offset":[dt,"auto",Fe,$e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:P()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe,$e]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Fe,$e]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:J()}],"bg-size":[{bg:z()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ai,Fe,$e],radial:["",Fe,$e],conic:[ai,Fe,$e]},rI,eI]}],"bg-color":[{bg:I()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:I()}],"gradient-via":[{via:I()}],"gradient-to":[{to:I()}],rounded:[{rounded:q()}],"rounded-s":[{"rounded-s":q()}],"rounded-e":[{"rounded-e":q()}],"rounded-t":[{"rounded-t":q()}],"rounded-r":[{"rounded-r":q()}],"rounded-b":[{"rounded-b":q()}],"rounded-l":[{"rounded-l":q()}],"rounded-ss":[{"rounded-ss":q()}],"rounded-se":[{"rounded-se":q()}],"rounded-ee":[{"rounded-ee":q()}],"rounded-es":[{"rounded-es":q()}],"rounded-tl":[{"rounded-tl":q()}],"rounded-tr":[{"rounded-tr":q()}],"rounded-br":[{"rounded-br":q()}],"rounded-bl":[{"rounded-bl":q()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ce(),"hidden","none"]}],"divide-style":[{divide:[...ce(),"hidden","none"]}],"border-color":[{border:I()}],"border-color-x":[{"border-x":I()}],"border-color-y":[{"border-y":I()}],"border-color-s":[{"border-s":I()}],"border-color-e":[{"border-e":I()}],"border-color-t":[{"border-t":I()}],"border-color-r":[{"border-r":I()}],"border-color-b":[{"border-b":I()}],"border-color-l":[{"border-l":I()}],"divide-color":[{divide:I()}],"outline-style":[{outline:[...ce(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,Fe,$e]}],"outline-w":[{outline:["",dt,Pc,co]}],"outline-color":[{outline:I()}],shadow:[{shadow:["","none",f,Ou,Pu]}],"shadow-color":[{shadow:I()}],"inset-shadow":[{"inset-shadow":["none",m,Ou,Pu]}],"inset-shadow-color":[{"inset-shadow":I()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:I()}],"ring-offset-w":[{"ring-offset":[dt,co]}],"ring-offset-color":[{"ring-offset":I()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":I()}],"text-shadow":[{"text-shadow":["none",g,Ou,Pu]}],"text-shadow-color":[{"text-shadow":I()}],opacity:[{opacity:[dt,Fe,$e]}],"mix-blend":[{"mix-blend":[...Y(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Y()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[dt]}],"mask-image-linear-from-pos":[{"mask-linear-from":X()}],"mask-image-linear-to-pos":[{"mask-linear-to":X()}],"mask-image-linear-from-color":[{"mask-linear-from":I()}],"mask-image-linear-to-color":[{"mask-linear-to":I()}],"mask-image-t-from-pos":[{"mask-t-from":X()}],"mask-image-t-to-pos":[{"mask-t-to":X()}],"mask-image-t-from-color":[{"mask-t-from":I()}],"mask-image-t-to-color":[{"mask-t-to":I()}],"mask-image-r-from-pos":[{"mask-r-from":X()}],"mask-image-r-to-pos":[{"mask-r-to":X()}],"mask-image-r-from-color":[{"mask-r-from":I()}],"mask-image-r-to-color":[{"mask-r-to":I()}],"mask-image-b-from-pos":[{"mask-b-from":X()}],"mask-image-b-to-pos":[{"mask-b-to":X()}],"mask-image-b-from-color":[{"mask-b-from":I()}],"mask-image-b-to-color":[{"mask-b-to":I()}],"mask-image-l-from-pos":[{"mask-l-from":X()}],"mask-image-l-to-pos":[{"mask-l-to":X()}],"mask-image-l-from-color":[{"mask-l-from":I()}],"mask-image-l-to-color":[{"mask-l-to":I()}],"mask-image-x-from-pos":[{"mask-x-from":X()}],"mask-image-x-to-pos":[{"mask-x-to":X()}],"mask-image-x-from-color":[{"mask-x-from":I()}],"mask-image-x-to-color":[{"mask-x-to":I()}],"mask-image-y-from-pos":[{"mask-y-from":X()}],"mask-image-y-to-pos":[{"mask-y-to":X()}],"mask-image-y-from-color":[{"mask-y-from":I()}],"mask-image-y-to-color":[{"mask-y-to":I()}],"mask-image-radial":[{"mask-radial":[Fe,$e]}],"mask-image-radial-from-pos":[{"mask-radial-from":X()}],"mask-image-radial-to-pos":[{"mask-radial-to":X()}],"mask-image-radial-from-color":[{"mask-radial-from":I()}],"mask-image-radial-to-color":[{"mask-radial-to":I()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":A()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"mask-image-conic-from-pos":[{"mask-conic-from":X()}],"mask-image-conic-to-pos":[{"mask-conic-to":X()}],"mask-image-conic-from-color":[{"mask-conic-from":I()}],"mask-image-conic-to-color":[{"mask-conic-to":I()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:J()}],"mask-size":[{mask:z()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Fe,$e]}],filter:[{filter:["","none",Fe,$e]}],blur:[{blur:ae()}],brightness:[{brightness:[dt,Fe,$e]}],contrast:[{contrast:[dt,Fe,$e]}],"drop-shadow":[{"drop-shadow":["","none",y,Ou,Pu]}],"drop-shadow-color":[{"drop-shadow":I()}],grayscale:[{grayscale:["",dt,Fe,$e]}],"hue-rotate":[{"hue-rotate":[dt,Fe,$e]}],invert:[{invert:["",dt,Fe,$e]}],saturate:[{saturate:[dt,Fe,$e]}],sepia:[{sepia:["",dt,Fe,$e]}],"backdrop-filter":[{"backdrop-filter":["","none",Fe,$e]}],"backdrop-blur":[{"backdrop-blur":ae()}],"backdrop-brightness":[{"backdrop-brightness":[dt,Fe,$e]}],"backdrop-contrast":[{"backdrop-contrast":[dt,Fe,$e]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,Fe,$e]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,Fe,$e]}],"backdrop-invert":[{"backdrop-invert":["",dt,Fe,$e]}],"backdrop-opacity":[{"backdrop-opacity":[dt,Fe,$e]}],"backdrop-saturate":[{"backdrop-saturate":[dt,Fe,$e]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,Fe,$e]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":P()}],"border-spacing-x":[{"border-spacing-x":P()}],"border-spacing-y":[{"border-spacing-y":P()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Fe,$e]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",Fe,$e]}],ease:[{ease:["linear","initial",k,Fe,$e]}],delay:[{delay:[dt,Fe,$e]}],animate:[{animate:["none",C,Fe,$e]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,Fe,$e]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:ye()}],"rotate-x":[{"rotate-x":ye()}],"rotate-y":[{"rotate-y":ye()}],"rotate-z":[{"rotate-z":ye()}],scale:[{scale:je()}],"scale-x":[{"scale-x":je()}],"scale-y":[{"scale-y":je()}],"scale-z":[{"scale-z":je()}],"scale-3d":["scale-3d"],skew:[{skew:_e()}],"skew-x":[{"skew-x":_e()}],"skew-y":[{"skew-y":_e()}],transform:[{transform:[Fe,$e,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:He()}],"translate-x":[{"translate-x":He()}],"translate-y":[{"translate-y":He()}],"translate-z":[{"translate-z":He()}],"translate-none":["translate-none"],accent:[{accent:I()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:I()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe,$e]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":P()}],"scroll-mx":[{"scroll-mx":P()}],"scroll-my":[{"scroll-my":P()}],"scroll-ms":[{"scroll-ms":P()}],"scroll-me":[{"scroll-me":P()}],"scroll-mt":[{"scroll-mt":P()}],"scroll-mr":[{"scroll-mr":P()}],"scroll-mb":[{"scroll-mb":P()}],"scroll-ml":[{"scroll-ml":P()}],"scroll-p":[{"scroll-p":P()}],"scroll-px":[{"scroll-px":P()}],"scroll-py":[{"scroll-py":P()}],"scroll-ps":[{"scroll-ps":P()}],"scroll-pe":[{"scroll-pe":P()}],"scroll-pt":[{"scroll-pt":P()}],"scroll-pr":[{"scroll-pr":P()}],"scroll-pb":[{"scroll-pb":P()}],"scroll-pl":[{"scroll-pl":P()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe,$e]}],fill:[{fill:["none",...I()]}],"stroke-w":[{stroke:[dt,Pc,co,Lm]}],stroke:[{stroke:["none",...I()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},oI=F5(iI);function Ct(...t){return oI(lj(t))}function ts(t){if(!t)return"";let e=t.trim();return e?(e=e.replace(/^(https?)\/\//,"$1://"),e):""}const lI=cj("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function ne({className:t,variant:e,size:n,asChild:r=!1,...a}){const i=r?ij:"button";return s.jsx(i,{"data-slot":"button",className:Ct(lI({variant:e,size:n,className:t})),...a})}function le({className:t,type:e,...n}){return s.jsx("input",{type:e,"data-slot":"input",className:Ct("h-9 w-full min-w-0 rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-xs outline-none placeholder:text-muted-foreground disabled:pointer-events-none disabled:opacity-50 md:text-sm focus-visible:ring-2 focus-visible:ring-ring",t),...n})}function cI(){const t=Di(),[e,n]=b.useState(""),[r,a]=b.useState(""),[i,o]=b.useState(""),[c,u]=b.useState(!1);b.useEffect(()=>{kd()&&t("/dashboard",{replace:!0})},[t]);const h=async()=>{o(""),u(!0);try{const f=await Nt("/api/admin",{username:e.trim(),password:r});if((f==null?void 0:f.success)!==!1&&(f!=null&&f.token)){o5(f.token),t("/dashboard",{replace:!0});return}o(f.error||"用户名或密码错误")}catch(f){const m=f;o(m.status===401?"用户名或密码错误":(m==null?void 0:m.message)||"网络错误,请重试")}finally{u(!1)}};return s.jsxs("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-4",children:[s.jsxs("div",{className:"absolute inset-0 overflow-hidden",children:[s.jsx("div",{className:"absolute top-1/4 left-1/4 w-96 h-96 bg-[#38bdac]/5 rounded-full blur-3xl"}),s.jsx("div",{className:"absolute bottom-1/4 right-1/4 w-96 h-96 bg-blue-500/5 rounded-full blur-3xl"})]}),s.jsxs("div",{className:"w-full max-w-md relative z-10",children:[s.jsxs("div",{className:"text-center mb-8",children:[s.jsx("div",{className:"w-16 h-16 bg-[#38bdac]/20 rounded-2xl flex items-center justify-center mx-auto mb-4 border border-[#38bdac]/30",children:s.jsx(qx,{className:"w-8 h-8 text-[#38bdac]"})}),s.jsx("h1",{className:"text-2xl font-bold text-white mb-2",children:"管理后台"}),s.jsx("p",{className:"text-gray-400",children:"一场SOUL的创业实验场"})]}),s.jsxs("div",{className:"bg-[#0f2137] rounded-2xl p-8 shadow-xl border border-gray-700/50 backdrop-blur-xl",children:[s.jsx("h2",{className:"text-xl font-semibold text-white mb-6 text-center",children:"管理员登录"}),s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"用户名"}),s.jsxs("div",{className:"relative",children:[s.jsx(No,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),s.jsx(le,{type:"text",value:e,onChange:f=>{n(f.target.value),i&&o("")},placeholder:"请输入用户名",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]"})]})]}),s.jsxs("div",{children:[s.jsx("label",{className:"block text-gray-400 text-sm mb-2",children:"密码"}),s.jsxs("div",{className:"relative",children:[s.jsx(nA,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-500"}),s.jsx(le,{type:"password",value:r,onChange:f=>{a(f.target.value),i&&o("")},placeholder:"请输入密码",className:"pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]",onKeyDown:f=>f.key==="Enter"&&h()})]})]}),i&&s.jsx("div",{className:"bg-red-500/10 text-red-400 text-sm p-3 rounded-lg border border-red-500/20",children:i}),s.jsx(ne,{onClick:h,disabled:c,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white py-5 disabled:opacity-50",children:c?"登录中...":"登录"})]})]}),s.jsx("p",{className:"text-center text-gray-500 text-xs mt-6",children:"Soul创业实验场 · 后台管理系统"})]})]})}const Ce=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{ref:n,className:Ct("rounded-xl border bg-card text-card-foreground shadow",t),...e}));Ce.displayName="Card";const qe=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{ref:n,className:Ct("flex flex-col space-y-1.5 p-6",t),...e}));qe.displayName="CardHeader";const Ge=b.forwardRef(({className:t,...e},n)=>s.jsx("h3",{ref:n,className:Ct("font-semibold leading-none tracking-tight",t),...e}));Ge.displayName="CardTitle";const Ht=b.forwardRef(({className:t,...e},n)=>s.jsx("p",{ref:n,className:Ct("text-sm text-muted-foreground",t),...e}));Ht.displayName="CardDescription";const Ee=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{ref:n,className:Ct("p-6 pt-0",t),...e}));Ee.displayName="CardContent";const dI=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{ref:n,className:Ct("flex items-center p-6 pt-0",t),...e}));dI.displayName="CardFooter";const uI={success:{bg:"#f0fdf4",border:"#22c55e",icon:"✓"},error:{bg:"#fef2f2",border:"#ef4444",icon:"✕"},info:{bg:"#eff6ff",border:"#3b82f6",icon:"ℹ"}};function _m(t,e="info",n=3e3){const r=`toast-${Date.now()}`,a=uI[e],i=document.createElement("div");i.id=r,i.setAttribute("role","alert"),Object.assign(i.style,{position:"fixed",top:"24px",right:"24px",zIndex:"9999",display:"flex",alignItems:"center",gap:"10px",padding:"12px 18px",borderRadius:"10px",background:a.bg,border:`1.5px solid ${a.border}`,boxShadow:"0 4px 20px rgba(0,0,0,.12)",fontSize:"14px",color:"#1a1a1a",fontWeight:"500",maxWidth:"380px",lineHeight:"1.5",opacity:"0",transform:"translateY(-8px)",transition:"opacity .22s ease, transform .22s ease",pointerEvents:"none"});const o=document.createElement("span");Object.assign(o.style,{width:"20px",height:"20px",borderRadius:"50%",background:a.border,color:"#fff",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",fontWeight:"700",flexShrink:"0"}),o.textContent=a.icon;const c=document.createElement("span");c.textContent=t,i.appendChild(o),i.appendChild(c),document.body.appendChild(i),requestAnimationFrame(()=>{i.style.opacity="1",i.style.transform="translateY(0)"});const u=setTimeout(()=>h(r),n);function h(f){clearTimeout(u);const m=document.getElementById(f);m&&(m.style.opacity="0",m.style.transform="translateY(-8px)",setTimeout(()=>{var g;return(g=m.parentNode)==null?void 0:g.removeChild(m)},250))}}const oe={success:(t,e)=>_m(t,"success",e),error:(t,e)=>_m(t,"error",e),info:(t,e)=>_m(t,"info",e)};function at(t,e,{checkForDefaultPrevented:n=!0}={}){return function(a){if(t==null||t(a),n===!1||!a.defaultPrevented)return e==null?void 0:e(a)}}function hI(t,e){const n=b.createContext(e),r=i=>{const{children:o,...c}=i,u=b.useMemo(()=>c,Object.values(c));return s.jsx(n.Provider,{value:u,children:o})};r.displayName=t+"Provider";function a(i){const o=b.useContext(n);if(o)return o;if(e!==void 0)return e;throw new Error(`\`${i}\` must be used within \`${t}\``)}return[r,a]}function Li(t,e=[]){let n=[];function r(i,o){const c=b.createContext(o),u=n.length;n=[...n,o];const h=m=>{var k;const{scope:g,children:y,...v}=m,w=((k=g==null?void 0:g[t])==null?void 0:k[u])||c,N=b.useMemo(()=>v,Object.values(v));return s.jsx(w.Provider,{value:N,children:y})};h.displayName=i+"Provider";function f(m,g){var w;const y=((w=g==null?void 0:g[t])==null?void 0:w[u])||c,v=b.useContext(y);if(v)return v;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${i}\``)}return[h,f]}const a=()=>{const i=n.map(o=>b.createContext(o));return function(c){const u=(c==null?void 0:c[t])||i;return b.useMemo(()=>({[`__scope${t}`]:{...c,[t]:u}}),[c,u])}};return a.scopeName=t,[r,fI(a,...e)]}function fI(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(i){const o=r.reduce((c,{useScope:u,scopeName:h})=>{const m=u(i)[`__scope${h}`];return{...c,...m}},{});return b.useMemo(()=>({[`__scope${e.scopeName}`]:o}),[o])}};return n.scopeName=e.scopeName,n}var rr=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{},pI=yf[" useId ".trim().toString()]||(()=>{}),mI=0;function ji(t){const[e,n]=b.useState(pI());return rr(()=>{n(r=>r??String(mI++))},[t]),e?`radix-${e}`:""}var gI=yf[" useInsertionEffect ".trim().toString()]||rr;function Eo({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[a,i,o]=xI({defaultProp:e,onChange:n}),c=t!==void 0,u=c?t:a;{const f=b.useRef(t!==void 0);b.useEffect(()=>{const m=f.current;m!==c&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${c?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=c},[c,r])}const h=b.useCallback(f=>{var m;if(c){const g=yI(f)?f(t):f;g!==t&&((m=o.current)==null||m.call(o,g))}else i(f)},[c,t,i,o]);return[u,h]}function xI({defaultProp:t,onChange:e}){const[n,r]=b.useState(t),a=b.useRef(n),i=b.useRef(e);return gI(()=>{i.current=e},[e]),b.useEffect(()=>{var o;a.current!==n&&((o=i.current)==null||o.call(i,n),a.current=n)},[n,a]),[n,r,i]}function yI(t){return typeof t=="function"}function ld(t){const e=bI(t),n=b.forwardRef((r,a)=>{const{children:i,...o}=r,c=b.Children.toArray(i),u=c.find(NI);if(u){const h=u.props.children,f=c.map(m=>m===u?b.Children.count(h)>1?b.Children.only(null):b.isValidElement(h)?h.props.children:null:m);return s.jsx(e,{...o,ref:a,children:b.isValidElement(h)?b.cloneElement(h,void 0,f):null})}return s.jsx(e,{...o,ref:a,children:i})});return n.displayName=`${t}.Slot`,n}function bI(t){const e=b.forwardRef((n,r)=>{const{children:a,...i}=n;if(b.isValidElement(a)){const o=jI(a),c=wI(i,a.props);return a.type!==b.Fragment&&(c.ref=r?Jx(r,o):o),b.cloneElement(a,c)}return b.Children.count(a)>1?b.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var vI=Symbol("radix.slottable");function NI(t){return b.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===vI}function wI(t,e){const n={...e};for(const r in e){const a=t[r],i=e[r];/^on[A-Z]/.test(r)?a&&i?n[r]=(...c)=>{const u=i(...c);return a(...c),u}:a&&(n[r]=a):r==="style"?n[r]={...a,...i}:r==="className"&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...t,...n}}function jI(t){var r,a;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var kI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ut=kI.reduce((t,e)=>{const n=ld(`Primitive.${e}`),r=b.forwardRef((a,i)=>{const{asChild:o,...c}=a,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(u,{...c,ref:i})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function SI(t,e){t&&jd.flushSync(()=>t.dispatchEvent(e))}function Ti(t){const e=b.useRef(t);return b.useEffect(()=>{e.current=t}),b.useMemo(()=>(...n)=>{var r;return(r=e.current)==null?void 0:r.call(e,...n)},[])}function CI(t,e=globalThis==null?void 0:globalThis.document){const n=Ti(t);b.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}var EI="DismissableLayer",Wg="dismissableLayer.update",TI="dismissableLayer.pointerDownOutside",MI="dismissableLayer.focusOutside",t1,wj=b.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Qx=b.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:c,...u}=t,h=b.useContext(wj),[f,m]=b.useState(null),g=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,y]=b.useState({}),v=St(e,_=>m(_)),w=Array.from(h.layers),[N]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=w.indexOf(N),C=f?w.indexOf(f):-1,E=h.layersWithOutsidePointerEventsDisabled.size>0,A=C>=k,D=RI(_=>{const P=_.target,L=[...h.branches].some($=>$.contains(P));!A||L||(a==null||a(_),o==null||o(_),_.defaultPrevented||c==null||c())},g),H=PI(_=>{const P=_.target;[...h.branches].some($=>$.contains(P))||(i==null||i(_),o==null||o(_),_.defaultPrevented||c==null||c())},g);return CI(_=>{C===h.layers.size-1&&(r==null||r(_),!_.defaultPrevented&&c&&(_.preventDefault(),c()))},g),b.useEffect(()=>{if(f)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(t1=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(f)),h.layers.add(f),n1(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(g.body.style.pointerEvents=t1)}},[f,g,n,h]),b.useEffect(()=>()=>{f&&(h.layers.delete(f),h.layersWithOutsidePointerEventsDisabled.delete(f),n1())},[f,h]),b.useEffect(()=>{const _=()=>y({});return document.addEventListener(Wg,_),()=>document.removeEventListener(Wg,_)},[]),s.jsx(ut.div,{...u,ref:v,style:{pointerEvents:E?A?"auto":"none":void 0,...t.style},onFocusCapture:at(t.onFocusCapture,H.onFocusCapture),onBlurCapture:at(t.onBlurCapture,H.onBlurCapture),onPointerDownCapture:at(t.onPointerDownCapture,D.onPointerDownCapture)})});Qx.displayName=EI;var AI="DismissableLayerBranch",II=b.forwardRef((t,e)=>{const n=b.useContext(wj),r=b.useRef(null),a=St(e,r);return b.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),s.jsx(ut.div,{...t,ref:a})});II.displayName=AI;function RI(t,e=globalThis==null?void 0:globalThis.document){const n=Ti(t),r=b.useRef(!1),a=b.useRef(()=>{});return b.useEffect(()=>{const i=c=>{if(c.target&&!r.current){let u=function(){jj(TI,n,h,{discrete:!0})};const h={originalEvent:c};c.pointerType==="touch"?(e.removeEventListener("click",a.current),a.current=u,e.addEventListener("click",a.current,{once:!0})):u()}else e.removeEventListener("click",a.current);r.current=!1},o=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),e.removeEventListener("pointerdown",i),e.removeEventListener("click",a.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function PI(t,e=globalThis==null?void 0:globalThis.document){const n=Ti(t),r=b.useRef(!1);return b.useEffect(()=>{const a=i=>{i.target&&!r.current&&jj(MI,n,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",a),()=>e.removeEventListener("focusin",a)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function n1(){const t=new CustomEvent(Wg);document.dispatchEvent(t)}function jj(t,e,n,{discrete:r}){const a=n.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&a.addEventListener(t,e,{once:!0}),r?SI(a,i):a.dispatchEvent(i)}var zm="focusScope.autoFocusOnMount",$m="focusScope.autoFocusOnUnmount",r1={bubbles:!1,cancelable:!0},OI="FocusScope",Xx=b.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:i,...o}=t,[c,u]=b.useState(null),h=Ti(a),f=Ti(i),m=b.useRef(null),g=St(e,w=>u(w)),y=b.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;b.useEffect(()=>{if(r){let w=function(E){if(y.paused||!c)return;const A=E.target;c.contains(A)?m.current=A:li(m.current,{select:!0})},N=function(E){if(y.paused||!c)return;const A=E.relatedTarget;A!==null&&(c.contains(A)||li(m.current,{select:!0}))},k=function(E){if(document.activeElement===document.body)for(const D of E)D.removedNodes.length>0&&li(c)};document.addEventListener("focusin",w),document.addEventListener("focusout",N);const C=new MutationObserver(k);return c&&C.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",N),C.disconnect()}}},[r,c,y.paused]),b.useEffect(()=>{if(c){a1.add(y);const w=document.activeElement;if(!c.contains(w)){const k=new CustomEvent(zm,r1);c.addEventListener(zm,h),c.dispatchEvent(k),k.defaultPrevented||(DI(FI(kj(c)),{select:!0}),document.activeElement===w&&li(c))}return()=>{c.removeEventListener(zm,h),setTimeout(()=>{const k=new CustomEvent($m,r1);c.addEventListener($m,f),c.dispatchEvent(k),k.defaultPrevented||li(w??document.body,{select:!0}),c.removeEventListener($m,f),a1.remove(y)},0)}}},[c,h,f,y]);const v=b.useCallback(w=>{if(!n&&!r||y.paused)return;const N=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,k=document.activeElement;if(N&&k){const C=w.currentTarget,[E,A]=LI(C);E&&A?!w.shiftKey&&k===A?(w.preventDefault(),n&&li(E,{select:!0})):w.shiftKey&&k===E&&(w.preventDefault(),n&&li(A,{select:!0})):k===C&&w.preventDefault()}},[n,r,y.paused]);return s.jsx(ut.div,{tabIndex:-1,...o,ref:g,onKeyDown:v})});Xx.displayName=OI;function DI(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(li(r,{select:e}),document.activeElement!==n)return}function LI(t){const e=kj(t),n=s1(e,t),r=s1(e.reverse(),t);return[n,r]}function kj(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function s1(t,e){for(const n of t)if(!_I(n,{upTo:e}))return n}function _I(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function zI(t){return t instanceof HTMLInputElement&&"select"in t}function li(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&zI(t)&&e&&t.select()}}var a1=$I();function $I(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=i1(t,e),t.unshift(e)},remove(e){var n;t=i1(t,e),(n=t[0])==null||n.resume()}}}function i1(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function FI(t){return t.filter(e=>e.tagName!=="A")}var BI="Portal",Zx=b.forwardRef((t,e)=>{var c;const{container:n,...r}=t,[a,i]=b.useState(!1);rr(()=>i(!0),[]);const o=n||a&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return o?_w.createPortal(s.jsx(ut.div,{...r,ref:e}),o):null});Zx.displayName=BI;function VI(t,e){return b.useReducer((n,r)=>e[n][r]??n,t)}var Sd=t=>{const{present:e,children:n}=t,r=HI(e),a=typeof n=="function"?n({present:r.isPresent}):b.Children.only(n),i=St(r.ref,WI(a));return typeof n=="function"||r.isPresent?b.cloneElement(a,{ref:i}):null};Sd.displayName="Presence";function HI(t){const[e,n]=b.useState(),r=b.useRef(null),a=b.useRef(t),i=b.useRef("none"),o=t?"mounted":"unmounted",[c,u]=VI(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{const h=Du(r.current);i.current=c==="mounted"?h:"none"},[c]),rr(()=>{const h=r.current,f=a.current;if(f!==t){const g=i.current,y=Du(h);t?u("MOUNT"):y==="none"||(h==null?void 0:h.display)==="none"?u("UNMOUNT"):u(f&&g!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=t}},[t,u]),rr(()=>{if(e){let h;const f=e.ownerDocument.defaultView??window,m=y=>{const w=Du(r.current).includes(CSS.escape(y.animationName));if(y.target===e&&w&&(u("ANIMATION_END"),!a.current)){const N=e.style.animationFillMode;e.style.animationFillMode="forwards",h=f.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=N)})}},g=y=>{y.target===e&&(i.current=Du(r.current))};return e.addEventListener("animationstart",g),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{f.clearTimeout(h),e.removeEventListener("animationstart",g),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else u("ANIMATION_END")},[e,u]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:b.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function Du(t){return(t==null?void 0:t.animationName)||"none"}function WI(t){var r,a;let e=(r=Object.getOwnPropertyDescriptor(t.props,"ref"))==null?void 0:r.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=(a=Object.getOwnPropertyDescriptor(t,"ref"))==null?void 0:a.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var Fm=0;function Sj(){b.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??o1()),document.body.insertAdjacentElement("beforeend",t[1]??o1()),Fm++,()=>{Fm===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Fm--}},[])}function o1(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}var Hs=function(){return Hs=Object.assign||function(e){for(var n,r=1,a=arguments.length;r"u")return oR;var e=lR(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},dR=Mj(),Il="data-scroll-locked",uR=function(t,e,n,r){var a=t.left,i=t.top,o=t.right,c=t.gap;return n===void 0&&(n="margin"),` + .`.concat(KI,` { overflow: hidden `).concat(r,`; padding-right: `).concat(c,"px ").concat(r,`; } @@ -567,42 +567,42 @@ Error generating stack: `+S.message+` `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),` } - .`).concat(nh,` { + .`).concat(sh,` { right: `).concat(c,"px ").concat(r,`; } - .`).concat(rh,` { + .`).concat(ah,` { margin-right: `).concat(c,"px ").concat(r,`; } - .`).concat(nh," .").concat(nh,` { + .`).concat(sh," .").concat(sh,` { right: 0 `).concat(r,`; } - .`).concat(rh," .").concat(rh,` { + .`).concat(ah," .").concat(ah,` { margin-right: 0 `).concat(r,`; } body[`).concat(Il,`] { - `).concat(KI,": ").concat(c,`px; + `).concat(qI,": ").concat(c,`px; } -`)},o1=function(){var t=parseInt(document.body.getAttribute(Il)||"0",10);return isFinite(t)?t:0},uR=function(){b.useEffect(function(){return document.body.setAttribute(Il,(o1()+1).toString()),function(){var t=o1()-1;t<=0?document.body.removeAttribute(Il):document.body.setAttribute(Il,t.toString())}},[])},hR=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,a=r===void 0?"margin":r;uR();var i=b.useMemo(function(){return lR(a)},[a]);return b.createElement(cR,{styles:dR(i,!e,a,n?"":"!important")})},Vg=!1;if(typeof window<"u")try{var Du=Object.defineProperty({},"passive",{get:function(){return Vg=!0,!0}});window.addEventListener("test",Du,Du),window.removeEventListener("test",Du,Du)}catch{Vg=!1}var xl=Vg?{passive:!1}:!1,fR=function(t){return t.tagName==="TEXTAREA"},Tj=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!fR(t)&&n[e]==="visible")},pR=function(t){return Tj(t,"overflowY")},mR=function(t){return Tj(t,"overflowX")},l1=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=Mj(t,r);if(a){var i=Aj(t,r),o=i[1],c=i[2];if(o>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},gR=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},xR=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},Mj=function(t,e){return t==="v"?pR(e):mR(e)},Aj=function(t,e){return t==="v"?gR(e):xR(e)},yR=function(t,e){return t==="h"&&e==="rtl"?-1:1},bR=function(t,e,n,r,a){var i=yR(t,window.getComputedStyle(e).direction),o=i*r,c=n.target,u=e.contains(c),h=!1,f=o>0,m=0,g=0;do{if(!c)break;var y=Aj(t,c),v=y[0],w=y[1],N=y[2],k=w-N-i*v;(v||k)&&Mj(t,c)&&(m+=k,g+=v);var C=c.parentNode;c=C&&C.nodeType===Node.DOCUMENT_FRAGMENT_NODE?C.host:C}while(!u&&c!==document.body||u&&(e.contains(c)||e===c));return(f&&Math.abs(m)<1||!f&&Math.abs(g)<1)&&(h=!0),h},Lu=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},c1=function(t){return[t.deltaX,t.deltaY]},d1=function(t){return t&&"current"in t?t.current:t},vR=function(t,e){return t[0]===e[0]&&t[1]===e[1]},NR=function(t){return` +`)},c1=function(){var t=parseInt(document.body.getAttribute(Il)||"0",10);return isFinite(t)?t:0},hR=function(){b.useEffect(function(){return document.body.setAttribute(Il,(c1()+1).toString()),function(){var t=c1()-1;t<=0?document.body.removeAttribute(Il):document.body.setAttribute(Il,t.toString())}},[])},fR=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,a=r===void 0?"margin":r;hR();var i=b.useMemo(function(){return cR(a)},[a]);return b.createElement(dR,{styles:uR(i,!e,a,n?"":"!important")})},Ug=!1;if(typeof window<"u")try{var Lu=Object.defineProperty({},"passive",{get:function(){return Ug=!0,!0}});window.addEventListener("test",Lu,Lu),window.removeEventListener("test",Lu,Lu)}catch{Ug=!1}var xl=Ug?{passive:!1}:!1,pR=function(t){return t.tagName==="TEXTAREA"},Aj=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!pR(t)&&n[e]==="visible")},mR=function(t){return Aj(t,"overflowY")},gR=function(t){return Aj(t,"overflowX")},d1=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=Ij(t,r);if(a){var i=Rj(t,r),o=i[1],c=i[2];if(o>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},xR=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},yR=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},Ij=function(t,e){return t==="v"?mR(e):gR(e)},Rj=function(t,e){return t==="v"?xR(e):yR(e)},bR=function(t,e){return t==="h"&&e==="rtl"?-1:1},vR=function(t,e,n,r,a){var i=bR(t,window.getComputedStyle(e).direction),o=i*r,c=n.target,u=e.contains(c),h=!1,f=o>0,m=0,g=0;do{if(!c)break;var y=Rj(t,c),v=y[0],w=y[1],N=y[2],k=w-N-i*v;(v||k)&&Ij(t,c)&&(m+=k,g+=v);var C=c.parentNode;c=C&&C.nodeType===Node.DOCUMENT_FRAGMENT_NODE?C.host:C}while(!u&&c!==document.body||u&&(e.contains(c)||e===c));return(f&&Math.abs(m)<1||!f&&Math.abs(g)<1)&&(h=!0),h},_u=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},u1=function(t){return[t.deltaX,t.deltaY]},h1=function(t){return t&&"current"in t?t.current:t},NR=function(t,e){return t[0]===e[0]&&t[1]===e[1]},wR=function(t){return` .block-interactivity-`.concat(t,` {pointer-events: none;} .allow-interactivity-`).concat(t,` {pointer-events: all;} -`)},wR=0,yl=[];function jR(t){var e=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),a=b.useState(wR++)[0],i=b.useState(Ej)[0],o=b.useRef(t);b.useEffect(function(){o.current=t},[t]),b.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(a));var w=WI([t.lockRef.current],(t.shards||[]).map(d1),!0).filter(Boolean);return w.forEach(function(N){return N.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),w.forEach(function(N){return N.classList.remove("allow-interactivity-".concat(a))})}}},[t.inert,t.lockRef.current,t.shards]);var c=b.useCallback(function(w,N){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!o.current.allowPinchZoom;var k=Lu(w),C=n.current,E="deltaX"in w?w.deltaX:C[0]-k[0],A="deltaY"in w?w.deltaY:C[1]-k[1],D,H=w.target,_=Math.abs(E)>Math.abs(A)?"h":"v";if("touches"in w&&_==="h"&&H.type==="range")return!1;var P=window.getSelection(),L=P&&P.anchorNode,$=L?L===H||L.contains(H):!1;if($)return!1;var ee=l1(_,H);if(!ee)return!0;if(ee?D=_:(D=_==="v"?"h":"v",ee=l1(_,H)),!ee)return!1;if(!r.current&&"changedTouches"in w&&(E||A)&&(r.current=D),!D)return!0;var K=r.current||D;return bR(K,N,w,K==="h"?E:A)},[]),u=b.useCallback(function(w){var N=w;if(!(!yl.length||yl[yl.length-1]!==i)){var k="deltaY"in N?c1(N):Lu(N),C=e.current.filter(function(D){return D.name===N.type&&(D.target===N.target||N.target===D.shadowParent)&&vR(D.delta,k)})[0];if(C&&C.should){N.cancelable&&N.preventDefault();return}if(!C){var E=(o.current.shards||[]).map(d1).filter(Boolean).filter(function(D){return D.contains(N.target)}),A=E.length>0?c(N,E[0]):!o.current.noIsolation;A&&N.cancelable&&N.preventDefault()}}},[]),h=b.useCallback(function(w,N,k,C){var E={name:w,delta:N,target:k,should:C,shadowParent:kR(k)};e.current.push(E),setTimeout(function(){e.current=e.current.filter(function(A){return A!==E})},1)},[]),f=b.useCallback(function(w){n.current=Lu(w),r.current=void 0},[]),m=b.useCallback(function(w){h(w.type,c1(w),w.target,c(w,t.lockRef.current))},[]),g=b.useCallback(function(w){h(w.type,Lu(w),w.target,c(w,t.lockRef.current))},[]);b.useEffect(function(){return yl.push(i),t.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",u,xl),document.addEventListener("touchmove",u,xl),document.addEventListener("touchstart",f,xl),function(){yl=yl.filter(function(w){return w!==i}),document.removeEventListener("wheel",u,xl),document.removeEventListener("touchmove",u,xl),document.removeEventListener("touchstart",f,xl)}},[]);var y=t.removeScrollBar,v=t.inert;return b.createElement(b.Fragment,null,v?b.createElement(i,{styles:NR(a)}):null,y?b.createElement(hR,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function kR(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const SR=ZI(Cj,jR);var Xx=b.forwardRef(function(t,e){return b.createElement(vf,Hs({},t,{ref:e,sideCar:SR}))});Xx.classNames=vf.classNames;var CR=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},bl=new WeakMap,_u=new WeakMap,zu={},Bm=0,Ij=function(t){return t&&(t.host||Ij(t.parentNode))},ER=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=Ij(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},TR=function(t,e,n,r){var a=ER(e,Array.isArray(t)?t:[t]);zu[n]||(zu[n]=new WeakMap);var i=zu[n],o=[],c=new Set,u=new Set(a),h=function(m){!m||c.has(m)||(c.add(m),h(m.parentNode))};a.forEach(h);var f=function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(g){if(c.has(g))f(g);else try{var y=g.getAttribute(r),v=y!==null&&y!=="false",w=(bl.get(g)||0)+1,N=(i.get(g)||0)+1;bl.set(g,w),i.set(g,N),o.push(g),w===1&&v&&_u.set(g,!0),N===1&&g.setAttribute(n,"true"),v||g.setAttribute(r,"true")}catch(k){console.error("aria-hidden: cannot operate on ",g,k)}})};return f(e),c.clear(),Bm++,function(){o.forEach(function(m){var g=bl.get(m)-1,y=i.get(m)-1;bl.set(m,g),i.set(m,y),g||(_u.has(m)||m.removeAttribute(r),_u.delete(m)),y||m.removeAttribute(n)}),Bm--,Bm||(bl=new WeakMap,bl=new WeakMap,_u=new WeakMap,zu={})}},Rj=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),a=CR(t);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),TR(r,a,n,"aria-hidden")):function(){return null}},Nf="Dialog",[Pj]=Li(Nf),[MR,Ss]=Pj(Nf),Oj=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:a,onOpenChange:i,modal:o=!0}=t,c=b.useRef(null),u=b.useRef(null),[h,f]=Eo({prop:r,defaultProp:a??!1,onChange:i,caller:Nf});return s.jsx(MR,{scope:e,triggerRef:c,contentRef:u,contentId:ji(),titleId:ji(),descriptionId:ji(),open:h,onOpenChange:f,onOpenToggle:b.useCallback(()=>f(m=>!m),[f]),modal:o,children:n})};Oj.displayName=Nf;var Dj="DialogTrigger",AR=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(Dj,n),i=St(e,a.triggerRef);return s.jsx(ut.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":t0(a.open),...r,ref:i,onClick:at(t.onClick,a.onOpenToggle)})});AR.displayName=Dj;var Zx="DialogPortal",[IR,Lj]=Pj(Zx,{forceMount:void 0}),_j=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:a}=t,i=Ss(Zx,e);return s.jsx(IR,{scope:e,forceMount:n,children:b.Children.map(r,o=>s.jsx(kd,{present:n||i.open,children:s.jsx(Qx,{asChild:!0,container:a,children:o})}))})};_j.displayName=Zx;var yh="DialogOverlay",zj=b.forwardRef((t,e)=>{const n=Lj(yh,t.__scopeDialog),{forceMount:r=n.forceMount,...a}=t,i=Ss(yh,t.__scopeDialog);return i.modal?s.jsx(kd,{present:r||i.open,children:s.jsx(PR,{...a,ref:e})}):null});zj.displayName=yh;var RR=ld("DialogOverlay.RemoveScroll"),PR=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(yh,n);return s.jsx(Xx,{as:RR,allowPinchZoom:!0,shards:[a.contentRef],children:s.jsx(ut.div,{"data-state":t0(a.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),To="DialogContent",$j=b.forwardRef((t,e)=>{const n=Lj(To,t.__scopeDialog),{forceMount:r=n.forceMount,...a}=t,i=Ss(To,t.__scopeDialog);return s.jsx(kd,{present:r||i.open,children:i.modal?s.jsx(OR,{...a,ref:e}):s.jsx(DR,{...a,ref:e})})});$j.displayName=To;var OR=b.forwardRef((t,e)=>{const n=Ss(To,t.__scopeDialog),r=b.useRef(null),a=St(e,n.contentRef,r);return b.useEffect(()=>{const i=r.current;if(i)return Rj(i)},[]),s.jsx(Fj,{...t,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:at(t.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:at(t.onPointerDownOutside,i=>{const o=i.detail.originalEvent,c=o.button===0&&o.ctrlKey===!0;(o.button===2||c)&&i.preventDefault()}),onFocusOutside:at(t.onFocusOutside,i=>i.preventDefault())})}),DR=b.forwardRef((t,e)=>{const n=Ss(To,t.__scopeDialog),r=b.useRef(!1),a=b.useRef(!1);return s.jsx(Fj,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,c;(o=t.onCloseAutoFocus)==null||o.call(t,i),i.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),i.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:i=>{var u,h;(u=t.onInteractOutside)==null||u.call(t,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const o=i.target;((h=n.triggerRef.current)==null?void 0:h.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&a.current&&i.preventDefault()}})}),Fj=b.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:i,...o}=t,c=Ss(To,n),u=b.useRef(null),h=St(e,u);return jj(),s.jsxs(s.Fragment,{children:[s.jsx(Yx,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:i,children:s.jsx(Jx,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":t0(c.open),...o,ref:h,onDismiss:()=>c.onOpenChange(!1)})}),s.jsxs(s.Fragment,{children:[s.jsx(LR,{titleId:c.titleId}),s.jsx(zR,{contentRef:u,descriptionId:c.descriptionId})]})]})}),e0="DialogTitle",Bj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(e0,n);return s.jsx(ut.h2,{id:a.titleId,...r,ref:e})});Bj.displayName=e0;var Vj="DialogDescription",Hj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(Vj,n);return s.jsx(ut.p,{id:a.descriptionId,...r,ref:e})});Hj.displayName=Vj;var Wj="DialogClose",Uj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(Wj,n);return s.jsx(ut.button,{type:"button",...r,ref:e,onClick:at(t.onClick,()=>a.onOpenChange(!1))})});Uj.displayName=Wj;function t0(t){return t?"open":"closed"}var Kj="DialogTitleWarning",[XV,qj]=uI(Kj,{contentName:To,titleName:e0,docsSlug:"dialog"}),LR=({titleId:t})=>{const e=qj(Kj),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. +`)},jR=0,yl=[];function kR(t){var e=b.useRef([]),n=b.useRef([0,0]),r=b.useRef(),a=b.useState(jR++)[0],i=b.useState(Mj)[0],o=b.useRef(t);b.useEffect(function(){o.current=t},[t]),b.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(a));var w=UI([t.lockRef.current],(t.shards||[]).map(h1),!0).filter(Boolean);return w.forEach(function(N){return N.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),w.forEach(function(N){return N.classList.remove("allow-interactivity-".concat(a))})}}},[t.inert,t.lockRef.current,t.shards]);var c=b.useCallback(function(w,N){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!o.current.allowPinchZoom;var k=_u(w),C=n.current,E="deltaX"in w?w.deltaX:C[0]-k[0],A="deltaY"in w?w.deltaY:C[1]-k[1],D,H=w.target,_=Math.abs(E)>Math.abs(A)?"h":"v";if("touches"in w&&_==="h"&&H.type==="range")return!1;var P=window.getSelection(),L=P&&P.anchorNode,$=L?L===H||L.contains(H):!1;if($)return!1;var ee=d1(_,H);if(!ee)return!0;if(ee?D=_:(D=_==="v"?"h":"v",ee=d1(_,H)),!ee)return!1;if(!r.current&&"changedTouches"in w&&(E||A)&&(r.current=D),!D)return!0;var K=r.current||D;return vR(K,N,w,K==="h"?E:A)},[]),u=b.useCallback(function(w){var N=w;if(!(!yl.length||yl[yl.length-1]!==i)){var k="deltaY"in N?u1(N):_u(N),C=e.current.filter(function(D){return D.name===N.type&&(D.target===N.target||N.target===D.shadowParent)&&NR(D.delta,k)})[0];if(C&&C.should){N.cancelable&&N.preventDefault();return}if(!C){var E=(o.current.shards||[]).map(h1).filter(Boolean).filter(function(D){return D.contains(N.target)}),A=E.length>0?c(N,E[0]):!o.current.noIsolation;A&&N.cancelable&&N.preventDefault()}}},[]),h=b.useCallback(function(w,N,k,C){var E={name:w,delta:N,target:k,should:C,shadowParent:SR(k)};e.current.push(E),setTimeout(function(){e.current=e.current.filter(function(A){return A!==E})},1)},[]),f=b.useCallback(function(w){n.current=_u(w),r.current=void 0},[]),m=b.useCallback(function(w){h(w.type,u1(w),w.target,c(w,t.lockRef.current))},[]),g=b.useCallback(function(w){h(w.type,_u(w),w.target,c(w,t.lockRef.current))},[]);b.useEffect(function(){return yl.push(i),t.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:g}),document.addEventListener("wheel",u,xl),document.addEventListener("touchmove",u,xl),document.addEventListener("touchstart",f,xl),function(){yl=yl.filter(function(w){return w!==i}),document.removeEventListener("wheel",u,xl),document.removeEventListener("touchmove",u,xl),document.removeEventListener("touchstart",f,xl)}},[]);var y=t.removeScrollBar,v=t.inert;return b.createElement(b.Fragment,null,v?b.createElement(i,{styles:wR(a)}):null,y?b.createElement(fR,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function SR(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const CR=eR(Tj,kR);var e0=b.forwardRef(function(t,e){return b.createElement(wf,Hs({},t,{ref:e,sideCar:CR}))});e0.classNames=wf.classNames;var ER=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},bl=new WeakMap,zu=new WeakMap,$u={},Wm=0,Pj=function(t){return t&&(t.host||Pj(t.parentNode))},TR=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=Pj(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},MR=function(t,e,n,r){var a=TR(e,Array.isArray(t)?t:[t]);$u[n]||($u[n]=new WeakMap);var i=$u[n],o=[],c=new Set,u=new Set(a),h=function(m){!m||c.has(m)||(c.add(m),h(m.parentNode))};a.forEach(h);var f=function(m){!m||u.has(m)||Array.prototype.forEach.call(m.children,function(g){if(c.has(g))f(g);else try{var y=g.getAttribute(r),v=y!==null&&y!=="false",w=(bl.get(g)||0)+1,N=(i.get(g)||0)+1;bl.set(g,w),i.set(g,N),o.push(g),w===1&&v&&zu.set(g,!0),N===1&&g.setAttribute(n,"true"),v||g.setAttribute(r,"true")}catch(k){console.error("aria-hidden: cannot operate on ",g,k)}})};return f(e),c.clear(),Wm++,function(){o.forEach(function(m){var g=bl.get(m)-1,y=i.get(m)-1;bl.set(m,g),i.set(m,y),g||(zu.has(m)||m.removeAttribute(r),zu.delete(m)),y||m.removeAttribute(n)}),Wm--,Wm||(bl=new WeakMap,bl=new WeakMap,zu=new WeakMap,$u={})}},Oj=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),a=ER(t);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),MR(r,a,n,"aria-hidden")):function(){return null}},jf="Dialog",[Dj]=Li(jf),[AR,Ss]=Dj(jf),Lj=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:a,onOpenChange:i,modal:o=!0}=t,c=b.useRef(null),u=b.useRef(null),[h,f]=Eo({prop:r,defaultProp:a??!1,onChange:i,caller:jf});return s.jsx(AR,{scope:e,triggerRef:c,contentRef:u,contentId:ji(),titleId:ji(),descriptionId:ji(),open:h,onOpenChange:f,onOpenToggle:b.useCallback(()=>f(m=>!m),[f]),modal:o,children:n})};Lj.displayName=jf;var _j="DialogTrigger",IR=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(_j,n),i=St(e,a.triggerRef);return s.jsx(ut.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":r0(a.open),...r,ref:i,onClick:at(t.onClick,a.onOpenToggle)})});IR.displayName=_j;var t0="DialogPortal",[RR,zj]=Dj(t0,{forceMount:void 0}),$j=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:a}=t,i=Ss(t0,e);return s.jsx(RR,{scope:e,forceMount:n,children:b.Children.map(r,o=>s.jsx(Sd,{present:n||i.open,children:s.jsx(Zx,{asChild:!0,container:a,children:o})}))})};$j.displayName=t0;var vh="DialogOverlay",Fj=b.forwardRef((t,e)=>{const n=zj(vh,t.__scopeDialog),{forceMount:r=n.forceMount,...a}=t,i=Ss(vh,t.__scopeDialog);return i.modal?s.jsx(Sd,{present:r||i.open,children:s.jsx(OR,{...a,ref:e})}):null});Fj.displayName=vh;var PR=ld("DialogOverlay.RemoveScroll"),OR=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(vh,n);return s.jsx(e0,{as:PR,allowPinchZoom:!0,shards:[a.contentRef],children:s.jsx(ut.div,{"data-state":r0(a.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),To="DialogContent",Bj=b.forwardRef((t,e)=>{const n=zj(To,t.__scopeDialog),{forceMount:r=n.forceMount,...a}=t,i=Ss(To,t.__scopeDialog);return s.jsx(Sd,{present:r||i.open,children:i.modal?s.jsx(DR,{...a,ref:e}):s.jsx(LR,{...a,ref:e})})});Bj.displayName=To;var DR=b.forwardRef((t,e)=>{const n=Ss(To,t.__scopeDialog),r=b.useRef(null),a=St(e,n.contentRef,r);return b.useEffect(()=>{const i=r.current;if(i)return Oj(i)},[]),s.jsx(Vj,{...t,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:at(t.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:at(t.onPointerDownOutside,i=>{const o=i.detail.originalEvent,c=o.button===0&&o.ctrlKey===!0;(o.button===2||c)&&i.preventDefault()}),onFocusOutside:at(t.onFocusOutside,i=>i.preventDefault())})}),LR=b.forwardRef((t,e)=>{const n=Ss(To,t.__scopeDialog),r=b.useRef(!1),a=b.useRef(!1);return s.jsx(Vj,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,c;(o=t.onCloseAutoFocus)==null||o.call(t,i),i.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),i.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:i=>{var u,h;(u=t.onInteractOutside)==null||u.call(t,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const o=i.target;((h=n.triggerRef.current)==null?void 0:h.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&a.current&&i.preventDefault()}})}),Vj=b.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:i,...o}=t,c=Ss(To,n),u=b.useRef(null),h=St(e,u);return Sj(),s.jsxs(s.Fragment,{children:[s.jsx(Xx,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:i,children:s.jsx(Qx,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":r0(c.open),...o,ref:h,onDismiss:()=>c.onOpenChange(!1)})}),s.jsxs(s.Fragment,{children:[s.jsx(_R,{titleId:c.titleId}),s.jsx($R,{contentRef:u,descriptionId:c.descriptionId})]})]})}),n0="DialogTitle",Hj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(n0,n);return s.jsx(ut.h2,{id:a.titleId,...r,ref:e})});Hj.displayName=n0;var Wj="DialogDescription",Uj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(Wj,n);return s.jsx(ut.p,{id:a.descriptionId,...r,ref:e})});Uj.displayName=Wj;var Kj="DialogClose",qj=b.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,a=Ss(Kj,n);return s.jsx(ut.button,{type:"button",...r,ref:e,onClick:at(t.onClick,()=>a.onOpenChange(!1))})});qj.displayName=Kj;function r0(t){return t?"open":"closed"}var Gj="DialogTitleWarning",[ZV,Jj]=hI(Gj,{contentName:To,titleName:n0,docsSlug:"dialog"}),_R=({titleId:t})=>{const e=Jj(Gj),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users. If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component. -For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return b.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},_R="DialogDescriptionWarning",zR=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${qj(_R).contentName}}.`;return b.useEffect(()=>{var i;const a=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&a&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},$R=Oj,FR=_j,BR=zj,VR=$j,HR=Bj,WR=Hj,UR=Uj;function Ft(t){return s.jsx($R,{"data-slot":"dialog",...t})}function KR(t){return s.jsx(FR,{...t})}const Gj=b.forwardRef(({className:t,...e},n)=>s.jsx(BR,{ref:n,className:Ct("fixed inset-0 z-50 bg-black/50",t),...e}));Gj.displayName="DialogOverlay";const Rt=b.forwardRef(({className:t,children:e,showCloseButton:n=!0,...r},a)=>s.jsxs(KR,{children:[s.jsx(Gj,{}),s.jsxs(VR,{ref:a,"aria-describedby":void 0,className:Ct("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-background p-6 shadow-lg",t),...r,children:[e,n&&s.jsxs(UR,{className:"absolute right-4 top-4 rounded-sm opacity-70 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[s.jsx(nr,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Rt.displayName="DialogContent";function Bt({className:t,...e}){return s.jsx("div",{className:Ct("flex flex-col gap-2 text-center sm:text-left",t),...e})}function ln({className:t,...e}){return s.jsx("div",{className:Ct("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function Vt(t){return s.jsx(HR,{className:"text-lg font-semibold leading-none",...t})}function Jj(t){return s.jsx(WR,{className:"text-sm text-muted-foreground",...t})}const qR=oj("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 transition-colors",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-white",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ke({className:t,variant:e,asChild:n=!1,...r}){const a=n?sj:"span";return s.jsx(a,{className:Ct(qR({variant:e}),t),...r})}var GR=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],JR=GR.reduce((t,e)=>{const n=rj(`Primitive.${e}`),r=b.forwardRef((a,i)=>{const{asChild:o,...c}=a,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(u,{...c,ref:i})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),YR="Label",Yj=b.forwardRef((t,e)=>s.jsx(JR.label,{...t,ref:e,onMouseDown:n=>{var a;n.target.closest("button, input, select, textarea")||((a=t.onMouseDown)==null||a.call(t,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Yj.displayName=YR;var Qj=Yj;const te=b.forwardRef(({className:t,...e},n)=>s.jsx(Qj,{ref:n,className:Ct("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t),...e}));te.displayName=Qj.displayName;function n0(t){const e=t+"CollectionProvider",[n,r]=Li(e),[a,i]=n(e,{collectionRef:{current:null},itemMap:new Map}),o=w=>{const{scope:N,children:k}=w,C=fr.useRef(null),E=fr.useRef(new Map).current;return s.jsx(a,{scope:N,itemMap:E,collectionRef:C,children:k})};o.displayName=e;const c=t+"CollectionSlot",u=ld(c),h=fr.forwardRef((w,N)=>{const{scope:k,children:C}=w,E=i(c,k),A=St(N,E.collectionRef);return s.jsx(u,{ref:A,children:C})});h.displayName=c;const f=t+"CollectionItemSlot",m="data-radix-collection-item",g=ld(f),y=fr.forwardRef((w,N)=>{const{scope:k,children:C,...E}=w,A=fr.useRef(null),D=St(N,A),H=i(f,k);return fr.useEffect(()=>(H.itemMap.set(A,{ref:A,...E}),()=>void H.itemMap.delete(A))),s.jsx(g,{[m]:"",ref:D,children:C})});y.displayName=f;function v(w){const N=i(t+"CollectionConsumer",w);return fr.useCallback(()=>{const C=N.collectionRef.current;if(!C)return[];const E=Array.from(C.querySelectorAll(`[${m}]`));return Array.from(N.itemMap.values()).sort((H,_)=>E.indexOf(H.ref.current)-E.indexOf(_.ref.current))},[N.collectionRef,N.itemMap])}return[{Provider:o,Slot:h,ItemSlot:y},v,r]}var QR=b.createContext(void 0);function wf(t){const e=b.useContext(QR);return t||e||"ltr"}var Vm="rovingFocusGroup.onEntryFocus",XR={bubbles:!1,cancelable:!0},Sd="RovingFocusGroup",[Hg,Xj,ZR]=n0(Sd),[eP,Zj]=Li(Sd,[ZR]),[tP,nP]=eP(Sd),ek=b.forwardRef((t,e)=>s.jsx(Hg.Provider,{scope:t.__scopeRovingFocusGroup,children:s.jsx(Hg.Slot,{scope:t.__scopeRovingFocusGroup,children:s.jsx(rP,{...t,ref:e})})}));ek.displayName=Sd;var rP=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:i,currentTabStopId:o,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:h,preventScrollOnEntryFocus:f=!1,...m}=t,g=b.useRef(null),y=St(e,g),v=wf(i),[w,N]=Eo({prop:o,defaultProp:c??null,onChange:u,caller:Sd}),[k,C]=b.useState(!1),E=Ti(h),A=Xj(n),D=b.useRef(!1),[H,_]=b.useState(0);return b.useEffect(()=>{const P=g.current;if(P)return P.addEventListener(Vm,E),()=>P.removeEventListener(Vm,E)},[E]),s.jsx(tP,{scope:n,orientation:r,dir:v,loop:a,currentTabStopId:w,onItemFocus:b.useCallback(P=>N(P),[N]),onItemShiftTab:b.useCallback(()=>C(!0),[]),onFocusableItemAdd:b.useCallback(()=>_(P=>P+1),[]),onFocusableItemRemove:b.useCallback(()=>_(P=>P-1),[]),children:s.jsx(ut.div,{tabIndex:k||H===0?-1:0,"data-orientation":r,...m,ref:y,style:{outline:"none",...t.style},onMouseDown:at(t.onMouseDown,()=>{D.current=!0}),onFocus:at(t.onFocus,P=>{const L=!D.current;if(P.target===P.currentTarget&&L&&!k){const $=new CustomEvent(Vm,XR);if(P.currentTarget.dispatchEvent($),!$.defaultPrevented){const ee=A().filter(O=>O.focusable),K=ee.find(O=>O.active),ue=ee.find(O=>O.id===w),R=[K,ue,...ee].filter(Boolean).map(O=>O.ref.current);rk(R,f)}}D.current=!1}),onBlur:at(t.onBlur,()=>C(!1))})})}),tk="RovingFocusGroupItem",nk=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:i,children:o,...c}=t,u=ji(),h=i||u,f=nP(tk,n),m=f.currentTabStopId===h,g=Xj(n),{onFocusableItemAdd:y,onFocusableItemRemove:v,currentTabStopId:w}=f;return b.useEffect(()=>{if(r)return y(),()=>v()},[r,y,v]),s.jsx(Hg.ItemSlot,{scope:n,id:h,focusable:r,active:a,children:s.jsx(ut.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...c,ref:e,onMouseDown:at(t.onMouseDown,N=>{r?f.onItemFocus(h):N.preventDefault()}),onFocus:at(t.onFocus,()=>f.onItemFocus(h)),onKeyDown:at(t.onKeyDown,N=>{if(N.key==="Tab"&&N.shiftKey){f.onItemShiftTab();return}if(N.target!==N.currentTarget)return;const k=iP(N,f.orientation,f.dir);if(k!==void 0){if(N.metaKey||N.ctrlKey||N.altKey||N.shiftKey)return;N.preventDefault();let E=g().filter(A=>A.focusable).map(A=>A.ref.current);if(k==="last")E.reverse();else if(k==="prev"||k==="next"){k==="prev"&&E.reverse();const A=E.indexOf(N.currentTarget);E=f.loop?oP(E,A+1):E.slice(A+1)}setTimeout(()=>rk(E))}}),children:typeof o=="function"?o({isCurrentTabStop:m,hasTabStop:w!=null}):o})})});nk.displayName=tk;var sP={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function aP(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function iP(t,e,n){const r=aP(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return sP[r]}function rk(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}function oP(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var lP=ek,cP=nk,jf="Tabs",[dP]=Li(jf,[Zj]),sk=Zj(),[uP,r0]=dP(jf),ak=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:i,orientation:o="horizontal",dir:c,activationMode:u="automatic",...h}=t,f=wf(c),[m,g]=Eo({prop:r,onChange:a,defaultProp:i??"",caller:jf});return s.jsx(uP,{scope:n,baseId:ji(),value:m,onValueChange:g,orientation:o,dir:f,activationMode:u,children:s.jsx(ut.div,{dir:f,"data-orientation":o,...h,ref:e})})});ak.displayName=jf;var ik="TabsList",ok=b.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...a}=t,i=r0(ik,n),o=sk(n);return s.jsx(lP,{asChild:!0,...o,orientation:i.orientation,dir:i.dir,loop:r,children:s.jsx(ut.div,{role:"tablist","aria-orientation":i.orientation,...a,ref:e})})});ok.displayName=ik;var lk="TabsTrigger",ck=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...i}=t,o=r0(lk,n),c=sk(n),u=hk(o.baseId,r),h=fk(o.baseId,r),f=r===o.value;return s.jsx(cP,{asChild:!0,...c,focusable:!a,active:f,children:s.jsx(ut.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":h,"data-state":f?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:u,...i,ref:e,onMouseDown:at(t.onMouseDown,m=>{!a&&m.button===0&&m.ctrlKey===!1?o.onValueChange(r):m.preventDefault()}),onKeyDown:at(t.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&o.onValueChange(r)}),onFocus:at(t.onFocus,()=>{const m=o.activationMode!=="manual";!f&&!a&&m&&o.onValueChange(r)})})})});ck.displayName=lk;var dk="TabsContent",uk=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:a,children:i,...o}=t,c=r0(dk,n),u=hk(c.baseId,r),h=fk(c.baseId,r),f=r===c.value,m=b.useRef(f);return b.useEffect(()=>{const g=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(g)},[]),s.jsx(kd,{present:a||f,children:({present:g})=>s.jsx(ut.div,{"data-state":f?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!g,id:h,tabIndex:0,...o,ref:e,style:{...t.style,animationDuration:m.current?"0s":void 0},children:g&&i})})});uk.displayName=dk;function hk(t,e){return`${t}-trigger-${e}`}function fk(t,e){return`${t}-content-${e}`}var hP=ak,pk=ok,mk=ck,gk=uk;const Cd=hP,Jl=b.forwardRef(({className:t,...e},n)=>s.jsx(pk,{ref:n,className:Ct("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));Jl.displayName=pk.displayName;const tn=b.forwardRef(({className:t,...e},n)=>s.jsx(mk,{ref:n,className:Ct("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));tn.displayName=mk.displayName;const nn=b.forwardRef(({className:t,...e},n)=>s.jsx(gk,{ref:n,className:Ct("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));nn.displayName=gk.displayName;function s0(t){const e=b.useRef({value:t,previous:t});return b.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function a0(t){const[e,n]=b.useState(void 0);return rr(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let o,c;if("borderBoxSize"in i){const u=i.borderBoxSize,h=Array.isArray(u)?u[0]:u;o=h.inlineSize,c=h.blockSize}else o=t.offsetWidth,c=t.offsetHeight;n({width:o,height:c})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var kf="Switch",[fP]=Li(kf),[pP,mP]=fP(kf),xk=b.forwardRef((t,e)=>{const{__scopeSwitch:n,name:r,checked:a,defaultChecked:i,required:o,disabled:c,value:u="on",onCheckedChange:h,form:f,...m}=t,[g,y]=b.useState(null),v=St(e,E=>y(E)),w=b.useRef(!1),N=g?f||!!g.closest("form"):!0,[k,C]=Eo({prop:a,defaultProp:i??!1,onChange:h,caller:kf});return s.jsxs(pP,{scope:n,checked:k,disabled:c,children:[s.jsx(ut.button,{type:"button",role:"switch","aria-checked":k,"aria-required":o,"data-state":Nk(k),"data-disabled":c?"":void 0,disabled:c,value:u,...m,ref:v,onClick:at(t.onClick,E=>{C(A=>!A),N&&(w.current=E.isPropagationStopped(),w.current||E.stopPropagation())})}),N&&s.jsx(vk,{control:g,bubbles:!w.current,name:r,value:u,checked:k,required:o,disabled:c,form:f,style:{transform:"translateX(-100%)"}})]})});xk.displayName=kf;var yk="SwitchThumb",bk=b.forwardRef((t,e)=>{const{__scopeSwitch:n,...r}=t,a=mP(yk,n);return s.jsx(ut.span,{"data-state":Nk(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:e})});bk.displayName=yk;var gP="SwitchBubbleInput",vk=b.forwardRef(({__scopeSwitch:t,control:e,checked:n,bubbles:r=!0,...a},i)=>{const o=b.useRef(null),c=St(o,i),u=s0(n),h=a0(e);return b.useEffect(()=>{const f=o.current;if(!f)return;const m=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(m,"checked").set;if(u!==n&&y){const v=new Event("click",{bubbles:r});y.call(f,n),f.dispatchEvent(v)}},[u,n,r]),s.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...a,tabIndex:-1,ref:c,style:{...a.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});vk.displayName=gP;function Nk(t){return t?"checked":"unchecked"}var wk=xk,xP=bk;const Et=b.forwardRef(({className:t,...e},n)=>s.jsx(wk,{className:Ct("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 focus-visible:ring-offset-[#0a1628] disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-gray-600 data-[state=checked]:bg-[#38bdac]",t),...e,ref:n,children:s.jsx(xP,{className:Ct("pointer-events-none block h-4 w-4 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));Et.displayName=wk.displayName;function i0({open:t,onClose:e,userId:n,onUserUpdated:r}){var or;const[a,i]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,w]=b.useState(!1),[N,k]=b.useState("info"),[C,E]=b.useState(""),[A,D]=b.useState(""),[H,_]=b.useState([]),[P,L]=b.useState(""),[$,ee]=b.useState(""),[K,ue]=b.useState(""),[me,R]=b.useState(!1),[O,F]=b.useState({isVip:!1,vipExpireDate:"",vipRole:"",vipName:"",vipProject:"",vipContact:"",vipBio:""}),[I,se]=b.useState([]),[J,z]=b.useState(!1),[U,q]=b.useState(!1),[B,ce]=b.useState(null),[Y,X]=b.useState(null),[ae,ye]=b.useState(""),[Me,Be]=b.useState(""),[He,gt]=b.useState(""),[Dt,jn]=b.useState(!1),[it,Mt]=b.useState(null),[re,Pe]=b.useState("");b.useEffect(()=>{t&&n&&(k("info"),ce(null),X(null),Mt(null),Pe(""),ee(""),ue(""),et(),De("/api/db/vip-roles").then(ge=>{ge!=null&&ge.success&&ge.data&&se(ge.data)}).catch(()=>{}))},[t,n]);async function et(){if(n){m(!0);try{const ge=await De(`/api/db/users?id=${encodeURIComponent(n)}`);if(ge!=null&&ge.success&&ge.user){const Ne=ge.user;i(Ne),E(Ne.phone||""),D(Ne.nickname||""),ye(Ne.phone||""),Be(Ne.wechatId||""),gt(Ne.openId||"");try{_(typeof Ne.tags=="string"?JSON.parse(Ne.tags||"[]"):[])}catch{_([])}F({isVip:!!(Ne.isVip??!1),vipExpireDate:Ne.vipExpireDate?String(Ne.vipExpireDate).slice(0,10):"",vipRole:String(Ne.vipRole??""),vipName:String(Ne.vipName??""),vipProject:String(Ne.vipProject??""),vipContact:String(Ne.vipContact??""),vipBio:String(Ne.vipBio??"")})}try{const Ne=await De(`/api/user/track?userId=${encodeURIComponent(n)}&limit=50`);Ne!=null&&Ne.success&&Ne.tracks&&c(Ne.tracks)}catch{c([])}try{const Ne=await De(`/api/db/users/referrals?userId=${encodeURIComponent(n)}`);Ne!=null&&Ne.success&&Ne.referrals&&h(Ne.referrals)}catch{h([])}}catch(ge){console.error("Load user detail error:",ge)}finally{m(!1)}}}async function xt(){if(!(a!=null&&a.phone)){oe.info("用户未绑定手机号,无法同步");return}y(!0);try{const ge=await Nt("/api/ckb/sync",{action:"full_sync",phone:a.phone,userId:a.id});ge!=null&&ge.success?(oe.success("同步成功"),et()):oe.error("同步失败: "+(ge==null?void 0:ge.error))}catch(ge){console.error("Sync CKB error:",ge),oe.error("同步失败")}finally{y(!1)}}async function ft(){if(a){w(!0);try{const ge={id:a.id,phone:C||void 0,nickname:A||void 0,tags:JSON.stringify(H)},Ne=await Tt("/api/db/users",ge);Ne!=null&&Ne.success?(oe.success("保存成功"),et(),r==null||r()):oe.error("保存失败: "+(Ne==null?void 0:Ne.error))}catch(ge){console.error("Save user error:",ge),oe.error("保存失败")}finally{w(!1)}}}const pt=()=>{P&&!H.includes(P)&&(_([...H,P]),L(""))},wt=ge=>_(H.filter(Ne=>Ne!==ge));async function Qt(){if(a){if(!$){oe.error("请输入新密码");return}if($!==K){oe.error("两次密码不一致");return}if($.length<6){oe.error("密码至少 6 位");return}R(!0);try{const ge=await Tt("/api/db/users",{id:a.id,password:$});ge!=null&&ge.success?(oe.success("修改成功"),ee(""),ue("")):oe.error("修改失败: "+((ge==null?void 0:ge.error)||""))}catch{oe.error("修改失败")}finally{R(!1)}}}async function Lt(){if(a){if(O.isVip&&!O.vipExpireDate.trim()){oe.error("开启 VIP 请填写有效到期日");return}z(!0);try{const ge={id:a.id,isVip:O.isVip,vipExpireDate:O.isVip?O.vipExpireDate:void 0,vipRole:O.vipRole||void 0,vipName:O.vipName||void 0,vipProject:O.vipProject||void 0,vipContact:O.vipContact||void 0,vipBio:O.vipBio||void 0},Ne=await Tt("/api/db/users",ge);Ne!=null&&Ne.success?(oe.success("VIP 设置已保存"),et(),r==null||r()):oe.error("保存失败: "+((Ne==null?void 0:Ne.error)||""))}catch{oe.error("保存失败")}finally{z(!1)}}}async function An(){if(!ae&&!He&&!Me){X("请至少输入手机号、微信号或 OpenID 中的一项");return}q(!0),X(null),ce(null);try{const ge=new URLSearchParams;ae&&ge.set("phone",ae),He&&ge.set("openId",He),Me&&ge.set("wechatId",Me);const Ne=await De(`/api/admin/shensheshou/query?${ge}`);Ne!=null&&Ne.success&&Ne.data?(ce(Ne.data),a&&await At(Ne.data)):X((Ne==null?void 0:Ne.error)||"未查询到数据,该用户可能未在神射手收录")}catch(ge){console.error("SSS query error:",ge),X("请求失败,请检查神射手接口配置")}finally{q(!1)}}async function At(ge){if(a)try{await Nt("/api/admin/shensheshou/enrich",{userId:a.id,phone:ae||a.phone||"",openId:He||a.openId||"",wechatId:Me||a.wechatId||""}),et()}catch(Ne){console.error("SSS enrich error:",Ne)}}async function Kn(){if(a){jn(!0),Mt(null);try{const ge={users:[{phone:a.phone||"",name:a.nickname||"",openId:a.openId||"",tags:H}]},Ne=await Nt("/api/admin/shensheshou/ingest",ge);Ne!=null&&Ne.success&&Ne.data?Mt(Ne.data):Mt({error:(Ne==null?void 0:Ne.error)||"推送失败"})}catch(ge){console.error("SSS ingest error:",ge),Mt({error:"请求失败"})}finally{jn(!1)}}}const ns=ge=>{const qn={view_chapter:$r,purchase:_g,match:Mn,login:No,register:No,share:Ns,bind_phone:bA,bind_wechat:oA,fill_profile:qc,visit_page:Tl}[ge]||Pg;return s.jsx(qn,{className:"w-4 h-4"})};return t?s.jsx(Ft,{open:t,onOpenChange:()=>e(),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] overflow-hidden flex flex-col",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(No,{className:"w-5 h-5 text-[#38bdac]"}),"用户详情",(a==null?void 0:a.phone)&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0 ml-2",children:"已绑定手机"}),(a==null?void 0:a.isVip)&&s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 border-0",children:"VIP"})]})}),f?s.jsxs("div",{className:"flex items-center justify-center py-20",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):a?s.jsxs("div",{className:"flex flex-col min-h-0 flex-1 overflow-hidden",children:[s.jsxs("div",{className:"flex items-center gap-4 p-4 bg-[#0a1628] rounded-lg mb-3",children:[s.jsx("div",{className:"w-16 h-16 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-2xl text-[#38bdac] shrink-0",children:a.avatar?s.jsx("img",{src:ts(a.avatar),className:"w-full h-full rounded-full object-cover",alt:""}):((or=a.nickname)==null?void 0:or.charAt(0))||"?"}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[s.jsx("h3",{className:"text-lg font-bold text-white",children:a.nickname}),a.isAdmin&&s.jsx(Ke,{className:"bg-purple-500/20 text-purple-400 border-0",children:"管理员"}),a.hasFullBook&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0",children:"全书已购"}),a.vipRole&&s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 border-0",children:a.vipRole})]}),s.jsxs("p",{className:"text-gray-400 text-sm mt-1",children:[a.phone?`📱 ${a.phone}`:"未绑定手机",a.wechatId&&` · 💬 ${a.wechatId}`,a.mbti&&` · ${a.mbti}`]}),s.jsxs("div",{className:"flex items-center gap-4 mt-1",children:[s.jsxs("p",{className:"text-gray-600 text-xs",children:["ID: ",a.id.slice(0,16),"…"]}),a.referralCode&&s.jsxs("p",{className:"text-xs",children:[s.jsx("span",{className:"text-gray-500",children:"推广码:"}),s.jsx("code",{className:"text-[#38bdac] bg-[#38bdac]/10 px-1.5 py-0.5 rounded",children:a.referralCode})]})]})]}),s.jsxs("div",{className:"text-right shrink-0",children:[s.jsxs("p",{className:"text-[#38bdac] font-bold text-lg",children:["¥",(a.earnings||0).toFixed(2)]}),s.jsx("p",{className:"text-gray-500 text-xs",children:"累计收益"})]})]}),s.jsxs(Cd,{value:N,onValueChange:k,className:"flex-1 flex flex-col overflow-hidden",children:[s.jsxs(Jl,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-3 flex-wrap h-auto gap-1",children:[s.jsx(tn,{value:"info",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"基础信息"}),s.jsx(tn,{value:"tags",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"标签体系"}),s.jsxs(tn,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[s.jsx(Tl,{className:"w-3 h-3 mr-1"}),"用户旅程"]}),s.jsx(tn,{value:"relations",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"关系链路"}),s.jsxs(tn,{value:"shensheshou",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[s.jsx(yi,{className:"w-3 h-3 mr-1"}),"用户资料完善"]})]}),s.jsxs(nn,{value:"info",className:"flex-1 overflow-auto space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"手机号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入手机号",value:C,onChange:ge=>E(ge.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"昵称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入昵称",value:A,onChange:ge=>D(ge.target.value)})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[a.openId&&s.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"微信 OpenID"}),s.jsx("p",{className:"text-gray-300 font-mono text-xs break-all",children:a.openId})]}),a.region&&s.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[s.jsx(ej,{className:"w-4 h-4 text-gray-500"}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs",children:"地区"}),s.jsx("p",{className:"text-white",children:a.region})]})]}),a.industry&&s.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"行业"}),s.jsx("p",{className:"text-white",children:a.industry})]}),a.position&&s.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"职位"}),s.jsx("p",{className:"text-white",children:a.position})]})]}),s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"推荐人数"}),s.jsx("p",{className:"text-2xl font-bold text-white",children:a.referralCount??0})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"待提现"}),s.jsxs("p",{className:"text-2xl font-bold text-yellow-400",children:["¥",(a.pendingEarnings??0).toFixed(2)]})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"创建时间"}),s.jsx("p",{className:"text-sm text-white",children:a.createdAt?new Date(a.createdAt).toLocaleDateString():"-"})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Zw,{className:"w-4 h-4 text-yellow-400"}),s.jsx("span",{className:"text-white font-medium",children:"修改密码"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(le,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"新密码(至少6位)",value:$,onChange:ge=>ee(ge.target.value)}),s.jsx(le,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"确认密码",value:K,onChange:ge=>ue(ge.target.value)}),s.jsx(ne,{size:"sm",onClick:Qt,disabled:me||!$||!K,className:"bg-yellow-500/20 hover:bg-yellow-500/30 text-yellow-400 border border-yellow-500/40",children:me?"保存中...":"确认修改"})]})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Al,{className:"w-4 h-4 text-amber-400"}),s.jsx("span",{className:"text-white font-medium",children:"设成超级个体"})]}),s.jsxs("div",{className:"space-y-3",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx(te,{className:"text-gray-400 text-sm",children:"VIP 会员"}),s.jsx(Et,{checked:O.isVip,onCheckedChange:ge=>F(Ne=>({...Ne,isVip:ge}))})]}),O.isVip&&s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"到期日"}),s.jsx(le,{type:"date",className:"bg-[#162840] border-gray-700 text-white text-sm",value:O.vipExpireDate,onChange:ge=>F(Ne=>({...Ne,vipExpireDate:ge.target.value}))})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"角色"}),s.jsxs("select",{className:"w-full bg-[#162840] border border-gray-700 text-white rounded px-2 py-1.5 text-sm",value:O.vipRole,onChange:ge=>F(Ne=>({...Ne,vipRole:ge.target.value})),children:[s.jsx("option",{value:"",children:"请选择"}),I.map(ge=>s.jsx("option",{value:ge.name,children:ge.name},ge.id))]})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"展示名"}),s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white text-sm",placeholder:"创业老板排行展示名",value:O.vipName,onChange:ge=>F(Ne=>({...Ne,vipName:ge.target.value}))})]}),s.jsx(ne,{size:"sm",onClick:Lt,disabled:J,className:"bg-amber-500/20 hover:bg-amber-500/30 text-amber-400 border border-amber-500/40",children:J?"保存中...":"保存 VIP"})]})]})]}),a.isVip&&s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Al,{className:"w-4 h-4 text-amber-400"}),s.jsx("span",{className:"text-white font-medium",children:"VIP 信息"}),s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 border-0 text-xs",children:a.vipRole||"VIP"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[a.vipName&&s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"展示名:"}),s.jsx("span",{className:"text-white",children:a.vipName})]}),a.vipProject&&s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"项目:"}),s.jsx("span",{className:"text-white",children:a.vipProject})]}),a.vipContact&&s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"联系方式:"}),s.jsx("span",{className:"text-white",children:a.vipContact})]}),a.vipExpireDate&&s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"到期时间:"}),s.jsx("span",{className:"text-white",children:new Date(a.vipExpireDate).toLocaleDateString()})]})]}),a.vipBio&&s.jsx("p",{className:"text-gray-400 text-sm mt-2",children:a.vipBio})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-purple-500/20",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Dl,{className:"w-4 h-4 text-purple-400"}),s.jsx("span",{className:"text-white font-medium",children:"微信归属"}),s.jsx("span",{className:"text-gray-500 text-xs",children:"该用户归属在哪个微信号下"})]}),s.jsxs("div",{className:"flex gap-2 items-center",children:[s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"输入归属微信号(如 wxid_xxxx)",value:re,onChange:ge=>Pe(ge.target.value)}),s.jsxs(ne,{size:"sm",onClick:async()=>{if(!(!re||!a))try{await Tt("/api/db/users",{id:a.id,wechatId:re}),oe.success("已保存微信归属"),et()}catch{oe.error("保存失败")}},className:"bg-purple-500/20 hover:bg-purple-500/30 text-purple-400 border border-purple-500/30 shrink-0",children:[s.jsx(mn,{className:"w-4 h-4 mr-1"})," 保存"]})]}),a.wechatId&&s.jsxs("p",{className:"text-gray-500 text-xs mt-2",children:["当前归属:",s.jsx("span",{className:"text-purple-400",children:a.wechatId})]})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Ns,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx("span",{className:"text-white font-medium",children:"存客宝同步"})]}),s.jsx(ne,{size:"sm",onClick:xt,disabled:g||!a.phone,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-1 animate-spin"})," 同步中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-1"})," 同步数据"]})})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"同步状态:"}),a.ckbSyncedAt?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0 ml-1",children:"已同步"}):s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 border-0 ml-1",children:"未同步"})]}),s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"最后同步:"}),s.jsx("span",{className:"text-gray-300 ml-1",children:a.ckbSyncedAt?new Date(a.ckbSyncedAt).toLocaleString():"-"})]})]})]})]}),s.jsxs(nn,{value:"tags",className:"flex-1 overflow-auto space-y-4",children:[s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(qc,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx("span",{className:"text-white font-medium",children:"用户标签"}),s.jsx("span",{className:"text-gray-500 text-xs",children:"基于《一场 Soul 的创业实验》维度打标"})]}),s.jsxs("div",{className:"mb-3 p-2.5 bg-[#38bdac]/5 border border-[#38bdac]/20 rounded-lg flex items-center gap-2 text-xs text-gray-400",children:[s.jsx(Rg,{className:"w-3.5 h-3.5 text-[#38bdac] shrink-0"}),"命中的标签自动高亮 · 系统根据行为轨迹和填写资料自动打标 · 手动点击补充或取消"]}),s.jsx("div",{className:"mb-4 space-y-3",children:[{category:"身份类型",tags:["创业者","打工人","自由职业","学生","投资人","合伙人"]},{category:"行业背景",tags:["电商","内容","传统行业","科技/AI","金融","教育","餐饮"]},{category:"痛点标签",tags:["找资源","找方向","找合伙人","想赚钱","想学习","找情感出口"]},{category:"付费意愿",tags:["高意向","已付费","观望中","薅羊毛"]},{category:"MBTI",tags:["ENTJ","INTJ","ENFP","INFP","ENTP","INTP","ESTJ","ISFJ"]}].map(ge=>s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1.5",children:ge.category}),s.jsx("div",{className:"flex flex-wrap gap-1.5",children:ge.tags.map(Ne=>s.jsxs("button",{type:"button",onClick:()=>{H.includes(Ne)?wt(Ne):_([...H,Ne])},className:`px-2 py-0.5 rounded text-xs border transition-all ${H.includes(Ne)?"bg-[#38bdac]/20 border-[#38bdac]/50 text-[#38bdac]":"bg-transparent border-gray-700 text-gray-500 hover:border-gray-500 hover:text-gray-300"}`,children:[H.includes(Ne)?"✓ ":"",Ne]},Ne))})]},ge.category))}),s.jsxs("div",{className:"border-t border-gray-700/50 pt-3",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"已选标签"}),s.jsxs("div",{className:"flex flex-wrap gap-2 mb-3 min-h-[32px]",children:[H.map((ge,Ne)=>s.jsxs(Ke,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0 pr-1",children:[ge,s.jsx("button",{type:"button",onClick:()=>wt(ge),className:"ml-1 hover:text-red-400",children:s.jsx(nr,{className:"w-3 h-3"})})]},Ne)),H.length===0&&s.jsx("span",{className:"text-gray-600 text-sm",children:"暂未选择标签"})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"自定义标签(回车添加)",value:P,onChange:ge=>L(ge.target.value),onKeyDown:ge=>ge.key==="Enter"&&pt()}),s.jsx(ne,{onClick:pt,className:"bg-[#38bdac] hover:bg-[#2da396]",children:"添加"})]})]})]}),a.ckbTags&&s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[s.jsx(qc,{className:"w-4 h-4 text-purple-400"}),s.jsx("span",{className:"text-white font-medium",children:"存客宝标签"})]}),s.jsx("div",{className:"flex flex-wrap gap-2",children:(typeof a.ckbTags=="string"?a.ckbTags.split(","):[]).map((ge,Ne)=>s.jsx(Ke,{className:"bg-purple-500/20 text-purple-400 border-0",children:ge.trim()},Ne))})]})]}),s.jsxs(nn,{value:"journey",className:"flex-1 overflow-auto",children:[s.jsxs("div",{className:"mb-3 p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[s.jsx(Tl,{className:"w-4 h-4 text-[#38bdac]"}),s.jsxs("span",{className:"text-gray-400 text-sm",children:["记录用户从注册到付费的完整行动路径,共 ",o.length," 条记录"]})]}),s.jsx("div",{className:"space-y-2",children:o.length>0?o.map((ge,Ne)=>s.jsxs("div",{className:"flex items-start gap-3 p-3 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-[#38bdac]",children:ns(ge.action)}),Ne0?u.map((ge,Ne)=>{var Es;const qn=ge;return s.jsxs("div",{className:"flex items-center justify-between p-2 bg-[#162840] rounded",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"w-6 h-6 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-xs text-[#38bdac]",children:((Es=qn.nickname)==null?void 0:Es.charAt(0))||"?"}),s.jsx("span",{className:"text-white text-sm",children:qn.nickname})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[qn.status==="vip"&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"已购"}),s.jsx("span",{className:"text-gray-500 text-xs",children:qn.createdAt?new Date(qn.createdAt).toLocaleDateString():""})]})]},qn.id||Ne)}):s.jsx("p",{className:"text-gray-500 text-sm text-center py-4",children:"暂无推荐用户"})})]})}),s.jsxs(nn,{value:"shensheshou",className:"flex-1 overflow-auto space-y-4",children:[s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(yi,{className:"w-5 h-5 text-[#38bdac]"}),s.jsx("span",{className:"text-white font-medium",children:"用户资料完善"}),s.jsx("span",{className:"text-gray-500 text-xs",children:"通过多维度查询神射手数据,自动回填用户基础信息"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-2 mb-3",children:[s.jsxs("div",{children:[s.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"手机号"}),s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"11位手机号",value:ae,onChange:ge=>ye(ge.target.value)})]}),s.jsxs("div",{children:[s.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信号"}),s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"微信 ID",value:Me,onChange:ge=>Be(ge.target.value)})]}),s.jsxs("div",{className:"col-span-2",children:[s.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信 OpenID"}),s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"openid_xxxx(自动填入)",value:He,onChange:ge=>gt(ge.target.value)})]})]}),s.jsx(ne,{onClick:An,disabled:U,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:U?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-1 animate-spin"})," 查询并自动回填中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(Sa,{className:"w-4 h-4 mr-1"})," 查询并自动完善用户资料"]})}),s.jsx("p",{className:"text-gray-600 text-xs mt-2",children:"查询成功后,神射手返回的标签将自动同步到该用户"}),Y&&s.jsx("div",{className:"mt-3 p-3 bg-red-500/10 border border-red-500/30 rounded-lg text-red-400 text-sm",children:Y}),B&&s.jsxs("div",{className:"mt-3 space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"神射手 RFM 分"}),s.jsx("p",{className:"text-2xl font-bold text-[#38bdac]",children:B.rfm_score??"-"})]}),s.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"用户等级"}),s.jsx("p",{className:"text-2xl font-bold text-white",children:B.user_level??"-"})]})]}),B.tags&&B.tags.length>0&&s.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"神射手标签"}),s.jsx("div",{className:"flex flex-wrap gap-2",children:B.tags.map((ge,Ne)=>s.jsx(Ke,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/20",children:ge},Ne))})]}),B.last_active&&s.jsxs("div",{className:"text-sm text-gray-500",children:["最近活跃:",B.last_active]})]})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsx(yi,{className:"w-4 h-4 text-purple-400"}),s.jsx("span",{className:"text-white font-medium",children:"推送用户数据到神射手"})]}),s.jsx("p",{className:"text-gray-500 text-xs",children:"将本用户信息(手机号、昵称、标签等)同步至神射手,自动完善用户画像"})]}),s.jsx(ne,{onClick:Kn,disabled:Dt||!a.phone,variant:"outline",className:"border-purple-500/40 text-purple-400 hover:bg-purple-500/10 bg-transparent shrink-0 ml-4",children:Dt?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-1 animate-spin"})," 推送中"]}):s.jsxs(s.Fragment,{children:[s.jsx(yi,{className:"w-4 h-4 mr-1"})," 推送"]})})]}),!a.phone&&s.jsx("p",{className:"text-yellow-500/70 text-xs",children:"⚠ 用户未绑定手机号,无法推送"}),it&&s.jsx("div",{className:"mt-3 p-3 bg-[#162840] rounded-lg text-sm",children:it.error?s.jsx("p",{className:"text-red-400",children:String(it.error)}):s.jsxs("div",{className:"space-y-1",children:[s.jsxs("p",{className:"text-green-400 flex items-center gap-1",children:[s.jsx(Rg,{className:"w-4 h-4"})," 推送成功"]}),it.enriched!==void 0&&s.jsxs("p",{className:"text-gray-400",children:["自动补全标签数:",String(it.new_tags_added??0)]})]})})]})]})]}),s.jsxs("div",{className:"flex justify-end gap-2 pt-3 border-t border-gray-700 mt-3 shrink-0",children:[s.jsxs(ne,{variant:"outline",onClick:e,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"关闭"]}),s.jsxs(ne,{onClick:ft,disabled:v,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),v?"保存中...":"保存修改"]})]})]}):s.jsx("div",{className:"text-center py-12 text-gray-500",children:"用户不存在"})]})}):null}function yP(){const t=Di(),[e,n]=b.useState(!0),[r,a]=b.useState(!0),[i,o]=b.useState(!0),[c,u]=b.useState([]),[h,f]=b.useState([]),[m,g]=b.useState(0),[y,v]=b.useState(0),[w,N]=b.useState(0),[k,C]=b.useState(0),[E,A]=b.useState(0),[D,H]=b.useState(null),[_,P]=b.useState(null),[L,$]=b.useState(!1),[ee,K]=b.useState("today"),[ue,me]=b.useState(null),[R,O]=b.useState(!1),F=q=>{const B=q;if((B==null?void 0:B.status)===401)H("登录已过期,请重新登录");else{if((B==null?void 0:B.name)==="AbortError")return;H("加载失败,请检查网络或联系管理员")}};async function I(q){const B=q?{signal:q}:void 0;n(!0),H(null);try{const X=await De("/api/admin/dashboard/stats",B);X!=null&&X.success&&(g(X.totalUsers??0),v(X.paidOrderCount??0),N(X.totalRevenue??0),C(X.conversionRate??0))}catch(X){if((X==null?void 0:X.name)!=="AbortError"){console.error("stats 失败,尝试 overview 降级",X);try{const ae=await De("/api/admin/dashboard/overview",B);ae!=null&&ae.success&&(g(ae.totalUsers??0),v(ae.paidOrderCount??0),N(ae.totalRevenue??0),C(ae.conversionRate??0))}catch(ae){F(ae)}}}finally{n(!1)}try{const X=await De("/api/admin/balance/summary",B);X!=null&&X.success&&X.data&&A(X.data.totalGifted??0)}catch{}a(!0),o(!0);const ce=async()=>{try{const X=await De("/api/admin/dashboard/recent-orders",B);if(X!=null&&X.success&&X.recentOrders)f(X.recentOrders);else throw new Error("no data")}catch(X){if((X==null?void 0:X.name)!=="AbortError")try{const ae=await De("/api/admin/orders?page=1&pageSize=20&status=paid",B),Me=((ae==null?void 0:ae.orders)??[]).filter(Be=>["paid","completed","success"].includes(Be.status||""));f(Me.slice(0,5))}catch{f([])}}finally{a(!1)}},Y=async()=>{try{const X=await De("/api/admin/dashboard/new-users",B);if(X!=null&&X.success&&X.newUsers)u(X.newUsers);else throw new Error("no data")}catch(X){if((X==null?void 0:X.name)!=="AbortError")try{const ae=await De("/api/db/users?page=1&pageSize=10",B);u((ae==null?void 0:ae.users)??[])}catch{u([])}}finally{o(!1)}};await Promise.all([ce(),Y()])}async function se(q){const B=q||ee;O(!0);try{const ce=await De(`/api/admin/track/stats?period=${B}`);ce!=null&&ce.success&&me({total:ce.total??0,byModule:ce.byModule??{}})}catch{me(null)}finally{O(!1)}}b.useEffect(()=>{const q=new AbortController;I(q.signal),se();const B=setInterval(()=>{I(),se()},3e4);return()=>{q.abort(),clearInterval(B)}},[]);const J=m,z=q=>{const B=q.productType||"",ce=q.description||"";if(ce){if(B==="section"&&ce.includes("章节")){if(ce.includes("-")){const Y=ce.split("-");if(Y.length>=3)return{title:`第${Y[1]}章 第${Y[2]}节`,subtitle:"《一场Soul的创业实验》"}}return{title:ce,subtitle:"章节购买"}}return B==="fullbook"||ce.includes("全书")?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:B==="match"||ce.includes("伙伴")?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:ce,subtitle:B==="section"?"单章":B==="fullbook"?"全书":"其他"}}return B==="section"?{title:`章节 ${q.productId||""}`,subtitle:"单章购买"}:B==="fullbook"?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:B==="match"?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:"未知商品",subtitle:B||"其他"}},U=[{title:"总用户数",value:e?null:J,sub:null,icon:Mn,color:"text-blue-400",bg:"bg-blue-500/20",link:"/users"},{title:"总收入",value:e?null:`¥${(w??0).toFixed(2)}`,sub:E>0?`含代付 ¥${E.toFixed(2)}`:null,icon:vo,color:"text-[#38bdac]",bg:"bg-[#38bdac]/20",link:"/orders"},{title:"订单数",value:e?null:y,sub:null,icon:_g,color:"text-purple-400",bg:"bg-purple-500/20",link:"/orders"},{title:"转化率",value:e?null:`${k.toFixed(1)}%`,sub:null,icon:vo,color:"text-amber-400",bg:"bg-amber-500/20",link:"/users"}];return s.jsxs("div",{className:"p-8 w-full",children:[s.jsx("h1",{className:"text-2xl font-bold mb-8 text-white",children:"数据概览"}),D&&s.jsxs("div",{className:"mb-6 px-4 py-3 rounded-lg bg-amber-500/20 border border-amber-500/50 text-amber-200 text-sm flex items-center justify-between",children:[s.jsx("span",{children:D}),s.jsx("button",{type:"button",onClick:()=>I(),className:"text-amber-400 hover:text-amber-300 underline",children:"重试"})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6",children:U.map((q,B)=>s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl cursor-pointer hover:border-[#38bdac]/50 transition-colors group",onClick:()=>q.link&&t(q.link),children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsx(Ge,{className:"text-sm font-medium text-gray-400",children:q.title}),s.jsx("div",{className:`p-2 rounded-lg ${q.bg}`,children:s.jsx(q.icon,{className:`w-4 h-4 ${q.color}`})})]}),s.jsx(Ce,{children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("div",{className:"text-2xl font-bold text-white min-h-8 flex items-center",children:q.value!=null?q.value:s.jsxs("span",{className:"inline-flex items-center gap-2 text-gray-500",children:[s.jsx(Ue,{className:"w-4 h-4 animate-spin"}),"加载中"]})}),q.sub&&s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:q.sub})]}),s.jsx(El,{className:"w-5 h-5 text-gray-600 group-hover:text-[#38bdac] transition-colors"})]})})]},B))}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between",children:[s.jsx(Ge,{className:"text-white",children:"最近订单"}),s.jsxs("button",{type:"button",onClick:()=>I(),disabled:r||i,className:"text-xs text-gray-400 hover:text-[#38bdac] flex items-center gap-1 disabled:opacity-50",title:"刷新",children:[r||i?s.jsx(Ue,{className:"w-3.5 h-3.5 animate-spin"}):s.jsx(Ue,{className:"w-3.5 h-3.5"}),"刷新(每 30 秒自动更新)"]})]}),s.jsx(Ce,{children:s.jsx("div",{className:"space-y-3",children:r&&h.length===0?s.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-gray-500",children:[s.jsx(Ue,{className:"w-8 h-8 animate-spin mb-2"}),s.jsx("span",{className:"text-sm",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[h.slice(0,5).map(q=>{var ae;const B=q.referrerId?c.find(ye=>ye.id===q.referrerId):void 0,ce=q.referralCode||(B==null?void 0:B.referralCode)||(B==null?void 0:B.nickname)||(q.referrerId?String(q.referrerId).slice(0,8):""),Y=z(q),X=q.userNickname||((ae=c.find(ye=>ye.id===q.userId))==null?void 0:ae.nickname)||"匿名用户";return s.jsxs("div",{className:"flex items-start justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30 hover:border-[#38bdac]/30 transition-colors",children:[s.jsxs("div",{className:"flex items-start gap-3 flex-1",children:[q.userAvatar?s.jsx("img",{src:ts(q.userAvatar),alt:X,className:"w-9 h-9 rounded-full object-cover flex-shrink-0 mt-0.5",onError:ye=>{ye.currentTarget.style.display="none";const Me=ye.currentTarget.nextElementSibling;Me&&Me.classList.remove("hidden")}}):null,s.jsx("div",{className:`w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 mt-0.5 ${q.userAvatar?"hidden":""}`,children:X.charAt(0)}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsx("button",{type:"button",onClick:()=>{q.userId&&(P(q.userId),$(!0))},className:"text-sm text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:X}),s.jsx("span",{className:"text-gray-600",children:"·"}),s.jsx("span",{className:"text-sm font-medium text-white truncate",children:Y.title})]}),s.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[Y.subtitle&&Y.subtitle!=="章节购买"&&s.jsx("span",{className:"px-1.5 py-0.5 bg-gray-700/50 rounded",children:Y.subtitle}),s.jsx("span",{children:new Date(q.createdAt||0).toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})]}),ce&&s.jsxs("p",{className:"text-xs text-gray-600 mt-1",children:["推荐: ",ce]})]})]}),s.jsxs("div",{className:"text-right ml-4 flex-shrink-0",children:[s.jsxs("p",{className:"text-sm font-bold text-[#38bdac]",children:["+¥",Number(q.amount).toFixed(2)]}),s.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:q.paymentMethod||"微信"})]})]},q.id)}),h.length===0&&!r&&s.jsxs("div",{className:"text-center py-12",children:[s.jsx(_g,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),s.jsx("p",{className:"text-gray-500",children:"暂无订单数据"})]})]})})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"新注册用户"})}),s.jsx(Ce,{children:s.jsx("div",{className:"space-y-3",children:i&&c.length===0?s.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-gray-500",children:[s.jsx(Ue,{className:"w-8 h-8 animate-spin mb-2"}),s.jsx("span",{className:"text-sm",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[c.slice(0,5).map(q=>{var B;return s.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:((B=q.nickname)==null?void 0:B.charAt(0))||"?"}),s.jsxs("div",{children:[s.jsx("button",{type:"button",onClick:()=>{P(q.id),$(!0)},className:"text-sm font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:q.nickname||"匿名用户"}),s.jsx("p",{className:"text-xs text-gray-500",children:q.phone||"-"})]})]}),s.jsx("p",{className:"text-xs text-gray-400",children:q.createdAt?new Date(q.createdAt).toLocaleDateString():"-"})]},q.id)}),c.length===0&&!i&&s.jsx("p",{className:"text-gray-500 text-center py-8",children:"暂无用户数据"})]})})})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mt-8",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between",children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Ig,{className:"w-5 h-5 text-[#38bdac]"}),"分类标签点击统计"]}),s.jsx("div",{className:"flex items-center gap-2",children:["today","week","month","all"].map(q=>s.jsx("button",{type:"button",onClick:()=>{K(q),se(q)},className:`px-3 py-1 text-xs rounded-full transition-colors ${ee===q?"bg-[#38bdac] text-white":"bg-gray-700/50 text-gray-400 hover:bg-gray-700"}`,children:{today:"今日",week:"本周",month:"本月",all:"全部"}[q]},q))})]}),s.jsx(Ce,{children:R&&!ue?s.jsxs("div",{className:"flex items-center justify-center py-12 text-gray-500",children:[s.jsx(Ue,{className:"w-6 h-6 animate-spin mr-2"}),s.jsx("span",{children:"加载中..."})]}):ue&&Object.keys(ue.byModule).length>0?s.jsxs("div",{className:"space-y-6",children:[s.jsxs("p",{className:"text-sm text-gray-400",children:["总点击 ",s.jsx("span",{className:"text-white font-bold text-lg",children:ue.total})," 次"]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:Object.entries(ue.byModule).sort((q,B)=>B[1].reduce((ce,Y)=>ce+Y.count,0)-q[1].reduce((ce,Y)=>ce+Y.count,0)).map(([q,B])=>{const ce=B.reduce((X,ae)=>X+ae.count,0),Y={home:"首页",chapters:"目录",read:"阅读",my:"我的",vip:"VIP",wallet:"钱包",match:"找伙伴",referral:"推广",search:"搜索",settings:"设置",about:"关于",other:"其他"};return s.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("span",{className:"text-sm font-medium text-[#38bdac]",children:Y[q]||q}),s.jsxs("span",{className:"text-xs text-gray-500",children:[ce," 次"]})]}),s.jsx("div",{className:"space-y-2",children:B.sort((X,ae)=>ae.count-X.count).slice(0,8).map((X,ae)=>s.jsxs("div",{className:"flex items-center justify-between text-xs",children:[s.jsx("span",{className:"text-gray-300 truncate mr-2",title:`${X.action}: ${X.target}`,children:X.target||X.action}),s.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[s.jsx("div",{className:"w-16 h-1.5 bg-gray-700 rounded-full overflow-hidden",children:s.jsx("div",{className:"h-full bg-[#38bdac] rounded-full",style:{width:`${ce>0?X.count/ce*100:0}%`}})}),s.jsx("span",{className:"text-gray-400 w-8 text-right",children:X.count})]})]},ae))})]},q)})})]}):s.jsxs("div",{className:"text-center py-12",children:[s.jsx(Ig,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),s.jsx("p",{className:"text-gray-500",children:"暂无点击数据"}),s.jsx("p",{className:"text-gray-600 text-xs mt-1",children:"小程序端接入埋点后,数据将在此实时展示"})]})})]}),s.jsx(i0,{open:L,onClose:()=>{$(!1),P(null)},userId:_,onUserUpdated:()=>I()})]})}const pr=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{className:"relative w-full overflow-auto",children:s.jsx("table",{ref:n,className:Ct("w-full caption-bottom text-sm",t),...e})}));pr.displayName="Table";const mr=b.forwardRef(({className:t,...e},n)=>s.jsx("thead",{ref:n,className:Ct("[&_tr]:border-b",t),...e}));mr.displayName="TableHeader";const gr=b.forwardRef(({className:t,...e},n)=>s.jsx("tbody",{ref:n,className:Ct("[&_tr:last-child]:border-0",t),...e}));gr.displayName="TableBody";const lt=b.forwardRef(({className:t,...e},n)=>s.jsx("tr",{ref:n,className:Ct("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));lt.displayName="TableRow";const Ee=b.forwardRef(({className:t,...e},n)=>s.jsx("th",{ref:n,className:Ct("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...e}));Ee.displayName="TableHead";const be=b.forwardRef(({className:t,...e},n)=>s.jsx("td",{ref:n,className:Ct("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...e}));be.displayName="TableCell";function o0(t,e){const[n,r]=b.useState(t);return b.useEffect(()=>{const a=setTimeout(()=>r(t),e);return()=>clearTimeout(a)},[t,e]),n}function ws({page:t,totalPages:e,total:n,pageSize:r,onPageChange:a,onPageSizeChange:i,pageSizeOptions:o=[10,20,50,100]}){return e<=1&&!i?null:s.jsxs("div",{className:"flex items-center justify-between gap-4 py-4 px-5 border-t border-gray-700/50",children:[s.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-400",children:[s.jsxs("span",{children:["共 ",n," 条"]}),i&&s.jsx("select",{value:r,onChange:c=>i(Number(c.target.value)),className:"bg-[#0f2137] border border-gray-600 rounded px-2 py-1 text-gray-300 text-sm",children:o.map(c=>s.jsxs("option",{value:c,children:[c," 条/页"]},c))})]}),e>1&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("button",{type:"button",onClick:()=>a(1),disabled:t<=1,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"首页"}),s.jsx("button",{type:"button",onClick:()=>a(t-1),disabled:t<=1,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"上一页"}),s.jsxs("span",{className:"px-3 py-1 text-gray-400 text-sm",children:[t," / ",e]}),s.jsx("button",{type:"button",onClick:()=>a(t+1),disabled:t>=e,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"下一页"}),s.jsx("button",{type:"button",onClick:()=>a(e),disabled:t>=e,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"末页"})]})]})}function bP(){const[t,e]=b.useState([]),[n,r]=b.useState([]),[a,i]=b.useState(0),[o,c]=b.useState(0),[u,h]=b.useState(0),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,w]=b.useState(""),N=o0(v,300),[k,C]=b.useState("all"),[E,A]=b.useState(!0),[D,H]=b.useState(null),[_,P]=b.useState(null),[L,$]=b.useState(""),[ee,K]=b.useState(!1);async function ue(){A(!0),H(null);try{const J=k==="all"?"":k==="completed"?"completed":k,z=new URLSearchParams({page:String(f),pageSize:String(g),...J&&{status:J},...N&&{search:N}}),[U,q]=await Promise.all([De(`/api/admin/orders?${z}`),De("/api/db/users?page=1&pageSize=500")]);U!=null&&U.success&&(e(U.orders||[]),i(U.total??0),c(U.totalRevenue??0),h(U.todayRevenue??0)),q!=null&&q.success&&q.users&&r(q.users)}catch(J){console.error("加载订单失败",J),H("加载订单失败,请检查网络后重试")}finally{A(!1)}}b.useEffect(()=>{m(1)},[N,k]),b.useEffect(()=>{ue()},[f,g,N,k]);const me=J=>{var z;return J.userNickname||((z=n.find(U=>U.id===J.userId))==null?void 0:z.nickname)||"匿名用户"},R=J=>{var z;return((z=n.find(U=>U.id===J))==null?void 0:z.phone)||"-"},O=J=>{const z=J.productType||J.type||"",U=J.description||"";if(U){if(z==="section"&&U.includes("章节")){if(U.includes("-")){const q=U.split("-");if(q.length>=3)return{name:`第${q[1]}章 第${q[2]}节`,type:"《一场Soul的创业实验》"}}return{name:U,type:"章节购买"}}return z==="fullbook"||U.includes("全书")?{name:"《一场Soul的创业实验》",type:"全书购买"}:z==="vip"||U.includes("VIP")?{name:"VIP年度会员",type:"VIP"}:z==="match"||U.includes("伙伴")?{name:"找伙伴匹配",type:"功能服务"}:{name:U,type:"其他"}}return z==="section"?{name:`章节 ${J.productId||J.sectionId||""}`,type:"单章"}:z==="fullbook"?{name:"《一场Soul的创业实验》",type:"全书"}:z==="vip"?{name:"VIP年度会员",type:"VIP"}:z==="match"?{name:"找伙伴匹配",type:"功能"}:{name:"未知商品",type:z||"其他"}},F=Math.ceil(a/g)||1;async function I(){var J;if(!(!(_!=null&&_.orderSn)&&!(_!=null&&_.id))){K(!0),H(null);try{const z=await Tt("/api/admin/orders/refund",{orderSn:_.orderSn||_.id,reason:L||void 0});z!=null&&z.success?(P(null),$(""),ue()):H((z==null?void 0:z.error)||"退款失败")}catch(z){const U=z;H(((J=U==null?void 0:U.data)==null?void 0:J.error)||"退款失败,请检查网络后重试")}finally{K(!1)}}}function se(){if(t.length===0){oe.info("暂无数据可导出");return}const J=["订单号","用户","手机号","商品","金额","支付方式","状态","退款原因","分销佣金","下单时间"],z=t.map(Y=>{const X=O(Y);return[Y.orderSn||Y.id||"",me(Y),R(Y.userId),X.name,Number(Y.amount||0).toFixed(2),Y.paymentMethod==="wechat"?"微信支付":Y.paymentMethod==="alipay"?"支付宝":Y.paymentMethod||"微信支付",Y.status==="refunded"?"已退款":Y.status==="paid"||Y.status==="completed"?"已完成":Y.status==="pending"||Y.status==="created"?"待支付":"已失败",Y.status==="refunded"&&Y.refundReason?Y.refundReason:"-",Y.referrerEarnings?Number(Y.referrerEarnings).toFixed(2):"-",Y.createdAt?new Date(Y.createdAt).toLocaleString("zh-CN"):""].join(",")}),U="\uFEFF"+[J.join(","),...z].join(` -`),q=new Blob([U],{type:"text/csv;charset=utf-8"}),B=URL.createObjectURL(q),ce=document.createElement("a");ce.href=B,ce.download=`订单列表_${new Date().toISOString().slice(0,10)}.csv`,ce.click(),URL.revokeObjectURL(B)}return s.jsxs("div",{className:"p-8 w-full",children:[D&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:D}),s.jsx("button",{type:"button",onClick:()=>H(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"订单管理"}),s.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",t.length," 笔订单"]})]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsxs(ne,{variant:"outline",onClick:ue,disabled:E,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${E?"animate-spin":""}`}),"刷新"]}),s.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[s.jsx("span",{className:"text-gray-400",children:"总收入:"}),s.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",o.toFixed(2)]}),s.jsx("span",{className:"text-gray-600",children:"|"}),s.jsx("span",{className:"text-gray-400",children:"今日:"}),s.jsxs("span",{className:"text-[#FFD700] font-bold",children:["¥",u.toFixed(2)]})]})]})]}),s.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[s.jsxs("div",{className:"relative flex-1 max-w-md",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),s.jsx(le,{type:"text",placeholder:"搜索订单号/用户/章节...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500",value:v,onChange:J=>w(J.target.value)})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Qw,{className:"w-4 h-4 text-gray-400"}),s.jsxs("select",{value:k,onChange:J=>C(J.target.value),className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[s.jsx("option",{value:"all",children:"全部状态"}),s.jsx("option",{value:"completed",children:"已完成"}),s.jsx("option",{value:"pending",children:"待支付"}),s.jsx("option",{value:"created",children:"已创建"}),s.jsx("option",{value:"failed",children:"已失败"}),s.jsx("option",{value:"refunded",children:"已退款"})]})]}),s.jsxs(ne,{variant:"outline",onClick:se,disabled:t.length===0,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(mM,{className:"w-4 h-4 mr-2"}),"导出 CSV"]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ce,{className:"p-0",children:E?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs("div",{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"订单号"}),s.jsx(Ee,{className:"text-gray-400",children:"用户"}),s.jsx(Ee,{className:"text-gray-400",children:"商品"}),s.jsx(Ee,{className:"text-gray-400",children:"金额"}),s.jsx(Ee,{className:"text-gray-400",children:"支付方式"}),s.jsx(Ee,{className:"text-gray-400",children:"状态"}),s.jsx(Ee,{className:"text-gray-400",children:"退款原因"}),s.jsx(Ee,{className:"text-gray-400",children:"分销佣金"}),s.jsx(Ee,{className:"text-gray-400",children:"下单时间"}),s.jsx(Ee,{className:"text-gray-400",children:"操作"})]})}),s.jsxs(gr,{children:[t.map(J=>{const z=O(J);return s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsxs(be,{className:"font-mono text-xs text-gray-400",children:[(J.orderSn||J.id||"").slice(0,12),"..."]}),s.jsx(be,{children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white text-sm",children:me(J)}),s.jsx("p",{className:"text-gray-500 text-xs",children:R(J.userId)})]})}),s.jsx(be,{children:s.jsxs("div",{children:[s.jsxs("p",{className:"text-white text-sm flex items-center gap-2",children:[z.name,(J.productType||J.type)==="vip"&&s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0 text-xs",children:"VIP"})]}),s.jsx("p",{className:"text-gray-500 text-xs",children:z.type})]})}),s.jsxs(be,{className:"text-[#38bdac] font-bold",children:["¥",Number(J.amount||0).toFixed(2)]}),s.jsx(be,{className:"text-gray-300",children:J.paymentMethod==="wechat"?"微信支付":J.paymentMethod==="alipay"?"支付宝":J.paymentMethod||"微信支付"}),s.jsx(be,{children:J.status==="refunded"?s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 hover:bg-gray-500/20 border-0",children:"已退款"}):J.status==="paid"||J.status==="completed"?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"}):J.status==="pending"||J.status==="created"?s.jsx(Ke,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:"待支付"}):s.jsx(Ke,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已失败"})}),s.jsx(be,{className:"text-gray-400 text-sm max-w-[120px] truncate",title:J.refundReason,children:J.status==="refunded"&&J.refundReason?J.refundReason:"-"}),s.jsx(be,{className:"text-[#FFD700]",children:J.referrerEarnings?`¥${Number(J.referrerEarnings).toFixed(2)}`:"-"}),s.jsx(be,{className:"text-gray-400 text-sm",children:new Date(J.createdAt).toLocaleString("zh-CN")}),s.jsx(be,{children:(J.status==="paid"||J.status==="completed")&&s.jsxs(ne,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{P(J),$("")},children:[s.jsx(tj,{className:"w-3 h-3 mr-1"}),"退款"]})})]},J.id)}),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:10,className:"text-center py-12 text-gray-500",children:"暂无订单数据"})})]})]}),s.jsx(ws,{page:f,totalPages:F,total:a,pageSize:g,onPageChange:m,onPageSizeChange:J=>{y(J),m(1)}})]})})}),s.jsx(Ft,{open:!!_,onOpenChange:J=>!J&&P(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"订单退款"})}),_&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",_.orderSn||_.id]}),s.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",Number(_.amount||0).toFixed(2)]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),s.jsx("div",{className:"form-input",children:s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:L,onChange:J=>$(J.target.value)})})]}),s.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>P(null),disabled:ee,children:"取消"}),s.jsx(ne,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:I,disabled:ee,children:ee?"退款中...":"确认退款"})]})]})})]})}const Yl=b.forwardRef(({className:t,...e},n)=>s.jsx("textarea",{className:Ct("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...e}));Yl.displayName="Textarea";const Oc=[{id:"register",label:"注册/登录",icon:"👤",color:"bg-blue-500/20 border-blue-500/40 text-blue-400",desc:"微信授权登录或手机号注册"},{id:"browse",label:"浏览章节",icon:"📖",color:"bg-purple-500/20 border-purple-500/40 text-purple-400",desc:"点击免费/付费章节预览"},{id:"bind_phone",label:"绑定手机",icon:"📱",color:"bg-cyan-500/20 border-cyan-500/40 text-cyan-400",desc:"触发付费章节后绑定手机"},{id:"first_pay",label:"首次付款",icon:"💳",color:"bg-green-500/20 border-green-500/40 text-green-400",desc:"购买单章或全书"},{id:"fill_profile",label:"完善资料",icon:"✍️",color:"bg-yellow-500/20 border-yellow-500/40 text-yellow-400",desc:"填写头像、MBTI、行业等"},{id:"match",label:"派对房匹配",icon:"🤝",color:"bg-orange-500/20 border-orange-500/40 text-orange-400",desc:"参与 Soul 派对房"},{id:"vip",label:"升级 VIP",icon:"👑",color:"bg-amber-500/20 border-amber-500/40 text-amber-400",desc:"付款 ¥1980 购买全书"},{id:"distribution",label:"开启分销",icon:"🔗",color:"bg-[#38bdac]/20 border-[#38bdac]/40 text-[#38bdac]",desc:"生成推广码并推荐好友"}];function vP(){var Fa,na,Rs,Ps,Os,Ds;const[t,e]=Uw(),n=t.get("pool"),[r,a]=b.useState([]),[i,o]=b.useState(0),[c,u]=b.useState(1),[h,f]=b.useState(10),[m,g]=b.useState(""),y=o0(m,300),v=n==="vip"?"vip":n==="complete"?"complete":"all",[w,N]=b.useState(v),[k,C]=b.useState(!0),[E,A]=b.useState(!1),[D,H]=b.useState(null),[_,P]=b.useState(!1),[L,$]=b.useState("desc");b.useEffect(()=>{n==="vip"?N("vip"):n==="complete"?N("complete"):n==="all"&&N("all")},[n]);const[ee,K]=b.useState(!1),[ue,me]=b.useState(null),[R,O]=b.useState(!1),[F,I]=b.useState(!1),[se,J]=b.useState({referrals:[],stats:{}}),[z,U]=b.useState(!1),[q,B]=b.useState(null),[ce,Y]=b.useState(!1),[X,ae]=b.useState(null),[ye,Me]=b.useState({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),[Be,He]=b.useState([]),[gt,Dt]=b.useState(!1),[jn,it]=b.useState(!1),[Mt,re]=b.useState(null),[Pe,et]=b.useState({title:"",description:"",trigger:"",sort:0,enabled:!0}),[xt,ft]=b.useState([]),[pt,wt]=b.useState(!1),[Qt,Lt]=b.useState(null),[An,At]=b.useState(null),[Kn,ns]=b.useState({}),[or,ge]=b.useState(!1),[Ne,qn]=b.useState(null),[Es,Ts]=b.useState([]),[Pa,br]=b.useState(!1),[Vi,vr]=b.useState(!1);async function lr(V=!1){var Ae;C(!0),V&&A(!0),H(null);try{if(_){const Ye=new URLSearchParams({search:y,limit:String(h*5)}),ct=await De(`/api/db/users/rfm?${Ye}`);if(ct!=null&&ct.success){let xn=ct.users||[];L==="asc"&&(xn=[...xn].reverse());const kn=(c-1)*h;a(xn.slice(kn,kn+h)),o(((Ae=ct.users)==null?void 0:Ae.length)??0),xn.length===0&&(P(!1),H("暂无订单数据,RFM 排序需要用户有购买记录后才能生效"))}else P(!1),H((ct==null?void 0:ct.error)||"RFM 加载失败,已切回普通模式")}else{const Ye=new URLSearchParams({page:String(c),pageSize:String(h),search:y,...w==="vip"&&{vip:"true"},...w==="complete"&&{pool:"complete"}}),ct=await De(`/api/db/users?${Ye}`);ct!=null&&ct.success?(a(ct.users||[]),o(ct.total??0)):H((ct==null?void 0:ct.error)||"加载失败")}}catch(Ye){console.error("Load users error:",Ye),H("网络错误")}finally{C(!1),V&&A(!1)}}b.useEffect(()=>{u(1)},[y,w,_]),b.useEffect(()=>{lr()},[c,h,y,w,_,L]);const Ms=Math.ceil(i/h)||1,Oa=()=>{_?L==="desc"?$("asc"):(P(!1),$("desc")):(P(!0),$("desc"))},Hi=V=>({S:"bg-amber-500/20 text-amber-400",A:"bg-green-500/20 text-green-400",B:"bg-blue-500/20 text-blue-400",C:"bg-gray-500/20 text-gray-400",D:"bg-red-500/20 text-red-400"})[V||""]||"bg-gray-500/20 text-gray-400";async function Xs(V){if(confirm("确定要删除这个用户吗?"))try{const Ae=await wa(`/api/db/users?id=${encodeURIComponent(V)}`);Ae!=null&&Ae.success?lr():oe.error("删除失败: "+((Ae==null?void 0:Ae.error)||""))}catch{oe.error("删除失败")}}const vt=V=>{me(V),Me({phone:V.phone||"",nickname:V.nickname||"",password:"",isAdmin:!!(V.isAdmin??!1),hasFullBook:!!(V.hasFullBook??!1)}),K(!0)},Gn=()=>{me(null),Me({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),K(!0)};async function Da(){if(!ye.phone||!ye.nickname){oe.error("请填写手机号和昵称");return}O(!0);try{if(ue){const V=await Tt("/api/db/users",{id:ue.id,nickname:ye.nickname,isAdmin:ye.isAdmin,hasFullBook:ye.hasFullBook,...ye.password&&{password:ye.password}});if(!(V!=null&&V.success)){oe.error("更新失败: "+((V==null?void 0:V.error)||""));return}}else{const V=await Nt("/api/db/users",{phone:ye.phone,nickname:ye.nickname,password:ye.password,isAdmin:ye.isAdmin});if(!(V!=null&&V.success)){oe.error("创建失败: "+((V==null?void 0:V.error)||""));return}}K(!1),lr()}catch{oe.error("保存失败")}finally{O(!1)}}async function As(V){B(V),I(!0),U(!0);try{const Ae=await De(`/api/db/users/referrals?userId=${encodeURIComponent(V.id)}`);Ae!=null&&Ae.success?J({referrals:Ae.referrals||[],stats:Ae.stats||{}}):J({referrals:[],stats:{}})}catch{J({referrals:[],stats:{}})}finally{U(!1)}}const Nr=b.useCallback(async()=>{Dt(!0);try{const V=await De("/api/db/user-rules");V!=null&&V.success&&He(V.rules||[])}catch{}finally{Dt(!1)}},[]);async function Wi(){if(!Pe.title){oe.error("请填写规则标题");return}O(!0);try{if(Mt){const V=await Tt("/api/db/user-rules",{id:Mt.id,...Pe});if(!(V!=null&&V.success)){oe.error("更新失败: "+((V==null?void 0:V.error)||"未知错误"));return}oe.success("规则已更新")}else{const V=await Nt("/api/db/user-rules",Pe);if(!(V!=null&&V.success)){oe.error("创建失败: "+((V==null?void 0:V.error)||"未知错误"));return}oe.success("规则已创建")}it(!1),Nr()}catch(V){const Ae=V;(Ae==null?void 0:Ae.status)===401?oe.error("登录已过期,请重新登录"):(Ae==null?void 0:Ae.status)===404?oe.error("接口不存在,请确认后端已部署最新版本"):oe.error("保存失败: "+((Ae==null?void 0:Ae.message)||"网络错误"))}finally{O(!1)}}async function Zs(V){if(confirm("确定删除?"))try{const Ae=await wa(`/api/db/user-rules?id=${V}`);Ae!=null&&Ae.success&&Nr()}catch{}}async function nc(V){try{await Tt("/api/db/user-rules",{id:V.id,enabled:!V.enabled}),Nr()}catch{}}const Jn=b.useCallback(async()=>{wt(!0);try{const V=await De("/api/db/vip-members?limit=500");if(V!=null&&V.success&&V.data){const Ae=[...V.data].map((Ye,ct)=>({...Ye,vipSort:typeof Ye.vipSort=="number"?Ye.vipSort:ct+1}));Ae.sort((Ye,ct)=>(Ye.vipSort??999999)-(ct.vipSort??999999)),ft(Ae)}else V&&V.error&&oe.error(V.error)}catch{oe.error("加载超级个体列表失败")}finally{wt(!1)}},[]),[ea,rs]=b.useState(!1),[Ar,La]=b.useState(null),[ta,Ui]=b.useState(""),[cr,Ki]=b.useState(!1),ss=["创业者","资源整合者","技术达人","投资人","产品经理","流量操盘手"],rc=V=>{La(V),Ui(V.vipRole||""),rs(!0)},Vo=async V=>{const Ae=V.trim();if(Ar){if(!Ae){oe.error("请选择或输入标签");return}Ki(!0);try{const Ye=await Tt("/api/db/users",{id:Ar.id,vipRole:Ae});if(!(Ye!=null&&Ye.success)){oe.error((Ye==null?void 0:Ye.error)||"更新超级个体标签失败");return}oe.success("已更新超级个体标签"),rs(!1),La(null),await Jn()}catch{oe.error("更新超级个体标签失败")}finally{Ki(!1)}}},[qi,un]=b.useState(!1),[as,Is]=b.useState(null),[_a,It]=b.useState(""),[zn,Vr]=b.useState(!1),Ho=V=>{Is(V),It(V.vipSort!=null?String(V.vipSort):""),un(!0)},za=async()=>{if(!as)return;const V=Number(_a);if(!Number.isFinite(V)){oe.error("请输入有效的数字序号");return}Vr(!0);try{const Ae=await Tt("/api/db/users",{id:as.id,vipSort:V});if(!(Ae!=null&&Ae.success)){oe.error((Ae==null?void 0:Ae.error)||"更新排序序号失败");return}oe.success("已更新排序序号"),un(!1),Is(null),await Jn()}catch{oe.error("更新排序序号失败")}finally{Vr(!1)}},sc=(V,Ae)=>{V.dataTransfer.effectAllowed="move",V.dataTransfer.setData("text/plain",Ae),Lt(Ae)},Gi=(V,Ae)=>{V.preventDefault(),An!==Ae&&At(Ae)},$a=()=>{Lt(null),At(null)},dr=async(V,Ae)=>{V.preventDefault();const Ye=V.dataTransfer.getData("text/plain")||Qt;if(Lt(null),At(null),!Ye||Ye===Ae)return;const ct=xt.find(Xt=>Xt.id===Ye),xn=xt.find(Xt=>Xt.id===Ae);if(!ct||!xn)return;const kn=ct.vipSort??xt.findIndex(Xt=>Xt.id===Ye)+1,Uo=xn.vipSort??xt.findIndex(Xt=>Xt.id===Ae)+1;ft(Xt=>{const st=[...Xt],Ba=st.findIndex(ra=>ra.id===Ye),Va=st.findIndex(ra=>ra.id===Ae);if(Ba===-1||Va===-1)return Xt;const ls=[...st],[Ko,qo]=[ls[Ba],ls[Va]];return ls[Ba]={...qo,vipSort:kn},ls[Va]={...Ko,vipSort:Uo},ls});try{const[Xt,st]=await Promise.all([Tt("/api/db/users",{id:Ye,vipSort:Uo}),Tt("/api/db/users",{id:Ae,vipSort:kn})]);if(!(Xt!=null&&Xt.success)||!(st!=null&&st.success)){oe.error((Xt==null?void 0:Xt.error)||(st==null?void 0:st.error)||"更新排序失败"),await Jn();return}oe.success("已更新排序"),await Jn()}catch{oe.error("更新排序失败"),await Jn()}},is=b.useCallback(async()=>{ge(!0);try{const V=await De("/api/db/users/journey-stats");V!=null&&V.success&&V.stats&&ns(V.stats)}catch{}finally{ge(!1)}},[]);async function $n(V){qn(V),br(!0);try{const Ae=await De(`/api/db/users/journey-users?stage=${encodeURIComponent(V)}&limit=20`);Ae!=null&&Ae.success&&Ae.users?Ts(Ae.users):Ts([])}catch{Ts([])}finally{br(!1)}}async function Wo(V){if(!V.hasFullBook){oe.error("仅 VIP 用户可置顶到超级个体");return}if(confirm("确定将该用户置顶到首页超级个体位?(最多4位)"))try{const Ae=await Tt("/api/db/users",{id:V.id,vipSort:1});if(!(Ae!=null&&Ae.success)){oe.error((Ae==null?void 0:Ae.error)||"置顶失败");return}oe.success("已置顶到超级个体"),lr()}catch{oe.error("置顶失败")}}return s.jsxs("div",{className:"p-8 w-full",children:[D&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:D}),s.jsx("button",{type:"button",onClick:()=>H(null),children:"×"})]}),s.jsx("div",{className:"flex justify-between items-center mb-6",children:s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"用户管理"}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>vr(!0),className:"text-gray-500 hover:text-[#38bdac] h-8 w-8 p-0",title:"RFM 算法说明",children:s.jsx($c,{className:"w-4 h-4"})})]}),s.jsxs("p",{className:"text-gray-400 mt-1 text-sm",children:["共 ",i," 位注册用户",_&&" · RFM 排序中"]})]})}),s.jsxs(Cd,{defaultValue:"users",className:"w-full",children:[s.jsxs(Jl,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-6 flex-wrap h-auto gap-1",children:[s.jsxs(tn,{value:"users",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",children:[s.jsx(Mn,{className:"w-4 h-4"})," 用户列表"]}),s.jsxs(tn,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:is,children:[s.jsx(Tl,{className:"w-4 h-4"})," 用户旅程总览"]}),s.jsxs(tn,{value:"rules",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:Nr,children:[s.jsx(bo,{className:"w-4 h-4"})," 规则配置"]}),s.jsxs(tn,{value:"vip-roles",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:Jn,children:[s.jsx(Al,{className:"w-4 h-4"})," 超级个体列表"]})]}),s.jsxs(nn,{value:"users",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4 justify-end flex-wrap",children:[s.jsxs(ne,{variant:"outline",onClick:()=>lr(!0),disabled:E,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${E?"animate-spin":""}`})," 刷新"]}),s.jsxs("select",{value:w,onChange:V=>{const Ae=V.target.value;N(Ae),u(1),n&&(t.delete("pool"),e(t))},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",disabled:_,children:[s.jsx("option",{value:"all",children:"全部用户"}),s.jsx("option",{value:"vip",children:"VIP会员(超级个体)"}),s.jsx("option",{value:"complete",children:"完善资料用户"})]}),s.jsxs("div",{className:"relative",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),s.jsx(le,{type:"text",placeholder:"搜索用户...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500 w-56",value:m,onChange:V=>g(V.target.value)})]}),s.jsxs(ne,{onClick:Gn,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx($g,{className:"w-4 h-4 mr-2"})," 添加用户"]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ce,{className:"p-0",children:k?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs("div",{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"用户信息"}),s.jsx(Ee,{className:"text-gray-400",children:"绑定信息"}),s.jsx(Ee,{className:"text-gray-400",children:"购买状态"}),s.jsx(Ee,{className:"text-gray-400",children:"分销收益"}),s.jsx(Ee,{className:"text-gray-400",children:"余额/提现"}),s.jsxs(Ee,{className:"text-gray-400 cursor-pointer select-none",onClick:Oa,children:[s.jsxs("div",{className:"flex items-center gap-1 group",children:[s.jsx(vo,{className:"w-3.5 h-3.5"}),s.jsx("span",{children:"RFM分值"}),_?L==="desc"?s.jsx(od,{className:"w-3.5 h-3.5 text-[#38bdac]"}):s.jsx(qw,{className:"w-3.5 h-3.5 text-[#38bdac]"}):s.jsx(Am,{className:"w-3.5 h-3.5 text-gray-600 group-hover:text-gray-400"})]}),_&&s.jsx("div",{className:"text-[10px] text-[#38bdac] font-normal mt-0.5",children:"点击切换方向/关闭"})]}),s.jsx(Ee,{className:"text-gray-400",children:"注册时间"}),s.jsx(Ee,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsxs(gr,{children:[r.map(V=>{var Ae,Ye,ct;return s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:V.avatar?s.jsx("img",{src:ts(V.avatar),className:"w-full h-full rounded-full object-cover",alt:""}):((Ae=V.nickname)==null?void 0:Ae.charAt(0))||"?"}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx("button",{type:"button",onClick:()=>{ae(V.id),Y(!0)},className:"font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:V.nickname}),V.isAdmin&&s.jsx(Ke,{className:"bg-purple-500/20 text-purple-400 hover:bg-purple-500/20 border-0 text-xs",children:"管理员"}),V.openId&&!((Ye=V.id)!=null&&Ye.startsWith("user_"))&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0 text-xs",children:"微信"})]}),s.jsx("p",{className:"text-xs text-gray-500 font-mono",children:V.openId?V.openId.slice(0,12)+"...":(ct=V.id)==null?void 0:ct.slice(0,12)})]})]})}),s.jsx(be,{children:s.jsxs("div",{className:"space-y-1",children:[V.phone&&s.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[s.jsx("span",{className:"text-gray-500",children:"📱"}),s.jsx("span",{className:"text-gray-300",children:V.phone})]}),V.wechatId&&s.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[s.jsx("span",{className:"text-gray-500",children:"💬"}),s.jsx("span",{className:"text-gray-300",children:V.wechatId})]}),V.openId&&s.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[s.jsx("span",{className:"text-gray-500",children:"🔗"}),s.jsxs("span",{className:"text-gray-500 truncate max-w-[100px]",title:V.openId,children:[V.openId.slice(0,12),"..."]})]}),!V.phone&&!V.wechatId&&!V.openId&&s.jsx("span",{className:"text-gray-600 text-xs",children:"未绑定"})]})}),s.jsx(be,{children:V.hasFullBook?s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0",children:"VIP"}):s.jsx(Ke,{variant:"outline",className:"text-gray-500 border-gray-600",children:"未购买"})}),s.jsx(be,{children:s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"text-white font-medium",children:["¥",parseFloat(String(V.earnings||0)).toFixed(2)]}),parseFloat(String(V.pendingEarnings||0))>0&&s.jsxs("div",{className:"text-xs text-yellow-400",children:["待提现: ¥",parseFloat(String(V.pendingEarnings||0)).toFixed(2)]}),s.jsxs("div",{className:"text-xs text-[#38bdac] cursor-pointer hover:underline flex items-center gap-1",onClick:()=>As(V),role:"button",tabIndex:0,onKeyDown:xn=>xn.key==="Enter"&&As(V),children:[s.jsx(Mn,{className:"w-3 h-3"})," 绑定",V.referralCount||0,"人"]})]})}),s.jsx(be,{children:s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"text-white font-medium",children:["¥",parseFloat(String(V.walletBalance||0)).toFixed(2)]}),parseFloat(String(V.withdrawnEarnings||0))>0&&s.jsxs("div",{className:"text-xs text-gray-400",children:["已提现: ¥",parseFloat(String(V.withdrawnEarnings||0)).toFixed(2)]})]})}),s.jsx(be,{children:V.rfmScore!==void 0?s.jsx("div",{className:"flex flex-col gap-1",children:s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx("span",{className:"text-white font-bold text-base",children:V.rfmScore}),s.jsx(Ke,{className:`border-0 text-xs ${Hi(V.rfmLevel)}`,children:V.rfmLevel})]})}):s.jsxs("span",{className:"text-gray-600 text-sm",children:["— ",s.jsx("span",{className:"text-xs text-gray-700",children:"点列头排序"})]})}),s.jsx(be,{className:"text-gray-400",children:V.createdAt?new Date(V.createdAt).toLocaleDateString():"-"}),s.jsx(be,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-1",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>{ae(V.id),Y(!0)},className:"text-gray-400 hover:text-blue-400 hover:bg-blue-400/10",title:"用户详情",children:s.jsx(Og,{className:"w-4 h-4"})}),V.hasFullBook&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>Wo(V),className:"text-gray-400 hover:text-orange-400 hover:bg-orange-400/10",title:"置顶超级个体",children:s.jsx(xi,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>vt(V),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",title:"编辑用户",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",onClick:()=>Xs(V.id),title:"删除",children:s.jsx(er,{className:"w-4 h-4"})})]})})]},V.id)}),r.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无用户数据"})})]})]}),s.jsx(ws,{page:c,totalPages:Ms,total:i,pageSize:h,onPageChange:u,onPageSizeChange:V=>{f(V),u(1)}})]})})})]}),s.jsxs(nn,{value:"journey",children:[s.jsxs("div",{className:"flex items-center justify-between mb-5",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"用户从注册到 VIP 的完整行动路径,点击各阶段查看用户动态"}),s.jsxs(ne,{variant:"outline",onClick:is,disabled:or,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${or?"animate-spin":""}`})," 刷新数据"]})]}),s.jsxs("div",{className:"relative mb-8",children:[s.jsx("div",{className:"absolute top-16 left-0 right-0 h-0.5 bg-gradient-to-r from-blue-500/20 via-[#38bdac]/30 to-amber-500/20 mx-20"}),s.jsx("div",{className:"grid grid-cols-4 gap-4 lg:grid-cols-8",children:Oc.map((V,Ae)=>s.jsxs("div",{className:"relative flex flex-col items-center",children:[s.jsxs("div",{role:"button",tabIndex:0,className:`relative w-full p-3 rounded-xl border ${V.color} text-center cursor-pointer`,onClick:()=>$n(V.id),onKeyDown:Ye=>Ye.key==="Enter"&&$n(V.id),children:[s.jsx("div",{className:"text-2xl mb-1",children:V.icon}),s.jsx("div",{className:`text-xs font-medium ${V.color.split(" ").find(Ye=>Ye.startsWith("text-"))}`,children:V.label}),Kn[V.id]!==void 0&&s.jsxs("div",{className:"mt-1.5 text-xs text-gray-400",children:[s.jsx("span",{className:"font-bold text-white",children:Kn[V.id]})," 人"]}),s.jsx("div",{className:"absolute -top-2.5 -left-2.5 w-5 h-5 rounded-full bg-[#0a1628] border border-gray-700 flex items-center justify-center text-[10px] text-gray-500",children:Ae+1})]}),AeV.id===Ne))==null?void 0:Fa.label," — 用户列表"]}),s.jsxs(ne,{variant:"ghost",size:"sm",onClick:()=>qn(null),className:"text-gray-500 hover:text-white",children:[s.jsx(nr,{className:"w-4 h-4"})," 关闭"]})]}),Pa?s.jsx("div",{className:"flex items-center justify-center py-8",children:s.jsx(Ue,{className:"w-5 h-5 text-[#38bdac] animate-spin"})}):Es.length>0?s.jsx("div",{className:"space-y-2 max-h-60 overflow-y-auto",children:Es.map(V=>s.jsxs("div",{className:"flex items-center justify-between py-2 px-3 bg-[#0a1628] rounded-lg hover:bg-[#0a1628]/80 cursor-pointer",onClick:()=>{ae(V.id),Y(!0)},onKeyDown:Ae=>Ae.key==="Enter"&&(ae(V.id),Y(!0)),role:"button",tabIndex:0,children:[s.jsx("span",{className:"text-white font-medium",children:V.nickname}),s.jsx("span",{className:"text-gray-400 text-sm",children:V.phone||"—"}),s.jsx("span",{className:"text-gray-500 text-xs",children:V.createdAt?new Date(V.createdAt).toLocaleDateString():"—"})]},V.id))}):s.jsx("p",{className:"text-gray-500 text-sm py-4",children:"暂无用户"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/50 rounded-lg p-4",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Tl,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx("span",{className:"text-white font-medium",children:"旅程关键节点"})]}),s.jsx("div",{className:"space-y-2 text-sm",children:[{step:"① 注册",action:"微信 OAuth 或手机号注册",next:"引导填写头像"},{step:"② 浏览",action:"点击章节/阅读免费内容",next:"触发绑定手机"},{step:"③ 首付",action:"购买单章或全书",next:"推送分销功能"},{step:"④ VIP",action:"¥1980 购买全书",next:"进入 VIP 私域群"},{step:"⑤ 分销",action:"推广好友购买",next:"提现分销收益"}].map(V=>s.jsxs("div",{className:"flex items-start gap-3 p-2 bg-[#0a1628] rounded",children:[s.jsx("span",{className:"text-[#38bdac] font-mono text-xs shrink-0 mt-0.5",children:V.step}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-300",children:V.action}),s.jsxs("p",{className:"text-gray-600 text-xs",children:["→ ",V.next]})]})]},V.step))})]}),s.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/50 rounded-lg p-4",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx($r,{className:"w-4 h-4 text-purple-400"}),s.jsx("span",{className:"text-white font-medium",children:"行为锚点统计"}),s.jsx("span",{className:"text-gray-500 text-xs ml-auto",children:"实时更新"})]}),or?s.jsx("div",{className:"flex items-center justify-center py-8",children:s.jsx(Ue,{className:"w-5 h-5 text-[#38bdac] animate-spin"})}):Object.keys(Kn).length>0?s.jsx("div",{className:"space-y-2",children:Oc.map(V=>{const Ae=Kn[V.id]||0,Ye=Math.max(...Oc.map(xn=>Kn[xn.id]||0),1),ct=Math.round(Ae/Ye*100);return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("span",{className:"text-gray-500 text-xs w-20 shrink-0",children:[V.icon," ",V.label]}),s.jsx("div",{className:"flex-1 h-2 bg-[#0a1628] rounded-full overflow-hidden",children:s.jsx("div",{className:"h-full bg-[#38bdac]/60 rounded-full transition-all",style:{width:`${ct}%`}})}),s.jsx("span",{className:"text-gray-400 text-xs w-10 text-right",children:Ae})]},V.id)})}):s.jsx("div",{className:"text-center py-8",children:s.jsx("p",{className:"text-gray-500 text-sm",children:"点击「刷新数据」加载统计"})})]})]})]}),s.jsxs(nn,{value:"rules",children:[s.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"用户旅程引导规则,定义各行为节点的触发条件与引导内容"}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs(ne,{variant:"outline",onClick:Nr,disabled:gt,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${gt?"animate-spin":""}`})," 刷新"]}),s.jsxs(ne,{onClick:()=>{re(null),et({title:"",description:"",trigger:"",sort:0,enabled:!0}),it(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"})," 添加规则"]})]})]}),gt?s.jsx("div",{className:"flex items-center justify-center py-12",children:s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"})}):Be.length===0?s.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[s.jsx($r,{className:"w-12 h-12 text-[#38bdac]/30 mx-auto mb-4"}),s.jsx("p",{className:"text-gray-400 mb-4",children:"暂无规则(重启服务将自动写入10条默认规则)"}),s.jsxs(ne,{onClick:Nr,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(Ue,{className:"w-4 h-4 mr-2"})," 重新加载"]})]}):s.jsx("div",{className:"space-y-2",children:Be.map(V=>s.jsx("div",{className:`p-4 rounded-lg border transition-all ${V.enabled?"bg-[#0f2137] border-gray-700/50":"bg-[#0a1628]/50 border-gray-700/30 opacity-55"}`,children:s.jsxs("div",{className:"flex items-start justify-between",children:[s.jsxs("div",{className:"flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap mb-1",children:[s.jsx($t,{className:"w-4 h-4 text-[#38bdac] shrink-0"}),s.jsx("span",{className:"text-white font-medium",children:V.title}),V.trigger&&s.jsxs(Ke,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/30 text-xs",children:["触发:",V.trigger]}),s.jsx(Ke,{className:`text-xs border-0 ${V.enabled?"bg-green-500/20 text-green-400":"bg-gray-500/20 text-gray-400"}`,children:V.enabled?"启用":"禁用"})]}),V.description&&s.jsx("p",{className:"text-gray-400 text-sm ml-6",children:V.description})]}),s.jsxs("div",{className:"flex items-center gap-2 ml-4 shrink-0",children:[s.jsx(Et,{checked:V.enabled,onCheckedChange:()=>nc(V)}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>{re(V),et({title:V.title,description:V.description,trigger:V.trigger,sort:V.sort,enabled:V.enabled}),it(!0)},className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>Zs(V.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:s.jsx(er,{className:"w-4 h-4"})})]})]})},V.id))})]}),s.jsxs(nn,{value:"vip-roles",children:[s.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"展示当前所有有效的超级个体(VIP 用户),用于检查会员信息与排序值。"}),s.jsx("p",{className:"text-xs text-[#38bdac]",children:"提示:按住任意一行即可拖拽排序,释放后将同步更新小程序展示顺序。"})]}),s.jsx("div",{className:"flex items-center gap-2",children:s.jsxs(ne,{variant:"outline",onClick:Jn,disabled:pt,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${pt?"animate-spin":""}`})," ","刷新"]})})]}),pt?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):xt.length===0?s.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[s.jsx(Al,{className:"w-12 h-12 text-amber-400/30 mx-auto mb-4"}),s.jsx("p",{className:"text-gray-400 mb-4",children:"当前没有有效的超级个体用户。"})]}):s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ce,{className:"p-0",children:s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400 w-16",children:"序号"}),s.jsx(Ee,{className:"text-gray-400",children:"成员"}),s.jsx(Ee,{className:"text-gray-400 min-w-48",children:"超级个体标签"}),s.jsx(Ee,{className:"text-gray-400 w-24",children:"排序值"}),s.jsx(Ee,{className:"text-gray-400 w-40 text-right",children:"操作"})]})}),s.jsx(gr,{children:xt.map((V,Ae)=>{var xn;const Ye=Qt===V.id,ct=An===V.id;return s.jsxs(lt,{draggable:!0,onDragStart:kn=>sc(kn,V.id),onDragOver:kn=>Gi(kn,V.id),onDrop:kn=>dr(kn,V.id),onDragEnd:$a,className:`border-gray-700/50 cursor-grab active:cursor-grabbing select-none ${Ye?"opacity-60":""} ${ct?"bg-[#38bdac]/10":""}`,children:[s.jsx(be,{className:"text-gray-300",children:Ae+1}),s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[V.avatar?s.jsx("img",{src:ts(V.avatar),className:"w-8 h-8 rounded-full object-cover border border-amber-400/60"}):s.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-500/20 border border-amber-400/60 flex items-center justify-center text-amber-300 text-sm",children:((xn=V.name)==null?void 0:xn[0])||"创"}),s.jsx("div",{className:"min-w-0",children:s.jsx("div",{className:"text-white text-sm truncate",children:V.name})})]})}),s.jsx(be,{className:"text-gray-300 whitespace-nowrap",children:V.vipRole||s.jsx("span",{className:"text-gray-500",children:"(未设置超级个体标签)"})}),s.jsx(be,{className:"text-gray-300",children:V.vipSort??Ae+1}),s.jsx(be,{className:"text-right text-xs text-gray-300",children:s.jsxs("div",{className:"inline-flex items-center gap-1.5",children:[s.jsx(ne,{variant:"ghost",size:"sm",className:"h-7 w-7 px-0 text-amber-300 hover:text-amber-200",onClick:()=>rc(V),title:"设置超级个体标签",children:s.jsx(qc,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"h-7 w-7 px-0 text-[#38bdac] hover:text-[#5fe0cd]",onClick:()=>{ae(V.id),Y(!0)},title:"编辑资料",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"h-7 w-7 px-0 text-sky-300 hover:text-sky-200",onClick:()=>Ho(V),title:"设置排序序号",children:s.jsx(Am,{className:"w-3.5 h-3.5"})})]})})]},V.id)})})]})})})]})]}),s.jsx(Ft,{open:qi,onOpenChange:V=>{un(V),V||Is(null)},children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Am,{className:"w-5 h-5 text-[#38bdac]"}),"设置排序 — ",as==null?void 0:as.name]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsx(te,{className:"text-gray-300 text-sm",children:"排序序号(数字越小越靠前)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:1",value:_a,onChange:V=>It(V.target.value)})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>un(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:za,disabled:zn,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),zn?"保存中...":"保存"]})]})]})}),s.jsx(Ft,{open:ea,onOpenChange:V=>{rs(V),V||La(null)},children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Al,{className:"w-5 h-5 text-amber-400"}),"设置超级个体标签 — ",Ar==null?void 0:Ar.name]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsx(te,{className:"text-gray-300 text-sm",children:"选择或输入标签"}),s.jsx("div",{className:"flex flex-wrap gap-2",children:ss.map(V=>s.jsx(ne,{variant:ta===V?"default":"outline",size:"sm",className:ta===V?"bg-[#38bdac] hover:bg-[#2da396] text-white":"border-gray-600 text-gray-300 hover:bg-gray-700/50",onClick:()=>Ui(V),children:V},V))}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"或手动输入"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:创业者、资源整合者等",value:ta,onChange:V=>Ui(V.target.value)})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>rs(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:()=>Vo(ta),disabled:cr,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),cr?"保存中...":"保存"]})]})]})}),s.jsx(Ft,{open:ee,onOpenChange:K,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[ue?s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}):s.jsx($g,{className:"w-5 h-5 text-[#38bdac]"}),ue?"编辑用户":"添加用户"]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"手机号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入手机号",value:ye.phone,onChange:V=>Me({...ye,phone:V.target.value}),disabled:!!ue})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"昵称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入昵称",value:ye.nickname,onChange:V=>Me({...ye,nickname:V.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:ue?"新密码 (留空则不修改)":"密码"}),s.jsx(le,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:ue?"留空则不修改":"请输入密码",value:ye.password,onChange:V=>Me({...ye,password:V.target.value})})]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx(te,{className:"text-gray-300",children:"管理员权限"}),s.jsx(Et,{checked:ye.isAdmin,onCheckedChange:V=>Me({...ye,isAdmin:V})})]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx(te,{className:"text-gray-300",children:"已购全书"}),s.jsx(Et,{checked:ye.hasFullBook,onCheckedChange:V=>Me({...ye,hasFullBook:V})})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>K(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:Da,disabled:R,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),R?"保存中...":"保存"]})]})]})}),s.jsx(Ft,{open:jn,onOpenChange:it,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}),Mt?"编辑规则":"添加规则"]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"规则标题 *"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:匹配后填写头像、付款1980需填写信息",value:Pe.title,onChange:V=>et({...Pe,title:V.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"规则描述"}),s.jsx(Yl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[80px] resize-none",placeholder:"详细说明规则内容...",value:Pe.description,onChange:V=>et({...Pe,description:V.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"触发条件"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:完成匹配、付款后、注册时",value:Pe.trigger,onChange:V=>et({...Pe,trigger:V.target.value})})]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("div",{children:s.jsx(te,{className:"text-gray-300",children:"启用状态"})}),s.jsx(Et,{checked:Pe.enabled,onCheckedChange:V=>et({...Pe,enabled:V})})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>it(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:Wi,disabled:R,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),R?"保存中...":"保存"]})]})]})}),s.jsx(Ft,{open:F,onOpenChange:I,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-2xl max-h-[80vh] overflow-auto",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"}),"绑定关系 - ",q==null?void 0:q.nickname]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-4 gap-3",children:[s.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[s.jsx("div",{className:"text-2xl font-bold text-[#38bdac]",children:((na=se.stats)==null?void 0:na.total)||0}),s.jsx("div",{className:"text-xs text-gray-400",children:"绑定总数"})]}),s.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[s.jsx("div",{className:"text-2xl font-bold text-green-400",children:((Rs=se.stats)==null?void 0:Rs.purchased)||0}),s.jsx("div",{className:"text-xs text-gray-400",children:"已付费"})]}),s.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[s.jsxs("div",{className:"text-2xl font-bold text-yellow-400",children:["¥",(((Ps=se.stats)==null?void 0:Ps.earnings)||0).toFixed(2)]}),s.jsx("div",{className:"text-xs text-gray-400",children:"累计收益"})]}),s.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[s.jsxs("div",{className:"text-2xl font-bold text-orange-400",children:["¥",(((Os=se.stats)==null?void 0:Os.pendingEarnings)||0).toFixed(2)]}),s.jsx("div",{className:"text-xs text-gray-400",children:"待提现"})]})]}),z?s.jsxs("div",{className:"flex items-center justify-center py-8",children:[s.jsx(Ue,{className:"w-5 h-5 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):(((Ds=se.referrals)==null?void 0:Ds.length)??0)>0?s.jsx("div",{className:"space-y-2 max-h-[300px] overflow-y-auto",children:(se.referrals??[]).map((V,Ae)=>{var ct;const Ye=V;return s.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg p-3",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:((ct=Ye.nickname)==null?void 0:ct.charAt(0))||"?"}),s.jsxs("div",{children:[s.jsx("div",{className:"text-white text-sm",children:Ye.nickname}),s.jsx("div",{className:"text-xs text-gray-500",children:Ye.phone||(Ye.hasOpenId?"微信用户":"未绑定")})]})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[Ye.status==="vip"&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"全书已购"}),Ye.status==="paid"&&s.jsxs(Ke,{className:"bg-blue-500/20 text-blue-400 border-0 text-xs",children:["已付费",Ye.purchasedSections,"章"]}),Ye.status==="free"&&s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 border-0 text-xs",children:"未付费"}),s.jsx("span",{className:"text-xs text-gray-500",children:Ye.createdAt?new Date(Ye.createdAt).toLocaleDateString():""})]})]},Ye.id||Ae)})}):s.jsx("div",{className:"text-center py-8 text-gray-500",children:"暂无绑定用户"})]}),s.jsx(ln,{children:s.jsx(ne,{variant:"outline",onClick:()=>I(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"关闭"})})]})}),s.jsx(Ft,{open:Vi,onOpenChange:vr,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(vo,{className:"w-5 h-5 text-[#38bdac]"}),"RFM 算法说明"]})}),s.jsxs("div",{className:"space-y-3 py-4 text-sm text-gray-300",children:[s.jsxs("p",{children:[s.jsx("span",{className:"text-[#38bdac] font-medium",children:"R(Recency)"}),":距最近购买天数,越近分越高,权重 40%"]}),s.jsxs("p",{children:[s.jsx("span",{className:"text-[#38bdac] font-medium",children:"F(Frequency)"}),":购买频次,越多分越高,权重 30%"]}),s.jsxs("p",{children:[s.jsx("span",{className:"text-[#38bdac] font-medium",children:"M(Monetary)"}),":消费金额,越高分越高,权重 30%"]}),s.jsx("p",{className:"text-gray-400",children:"综合分 = R×40% + F×30% + M×30%,归一化到 0-100"}),s.jsxs("p",{className:"text-gray-400",children:["等级:",s.jsx("span",{className:"text-amber-400",children:"S"}),"(≥85)、",s.jsx("span",{className:"text-green-400",children:"A"}),"(≥70)、",s.jsx("span",{className:"text-blue-400",children:"B"}),"(≥50)、",s.jsx("span",{className:"text-gray-400",children:"C"}),"(≥30)、",s.jsx("span",{className:"text-red-400",children:"D"}),"(<30)"]})]}),s.jsx(ln,{children:s.jsx(ne,{variant:"outline",onClick:()=>vr(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"关闭"})})]})}),s.jsx(i0,{open:ce,onClose:()=>Y(!1),userId:X,onUserUpdated:lr})]})}function bh(t,[e,n]){return Math.min(n,Math.max(e,t))}var jk=["PageUp","PageDown"],kk=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Sk={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Ql="Slider",[Wg,NP,wP]=n0(Ql),[Ck]=Li(Ql,[wP]),[jP,Sf]=Ck(Ql),Ek=b.forwardRef((t,e)=>{const{name:n,min:r=0,max:a=100,step:i=1,orientation:o="horizontal",disabled:c=!1,minStepsBetweenThumbs:u=0,defaultValue:h=[r],value:f,onValueChange:m=()=>{},onValueCommit:g=()=>{},inverted:y=!1,form:v,...w}=t,N=b.useRef(new Set),k=b.useRef(0),E=o==="horizontal"?kP:SP,[A=[],D]=Eo({prop:f,defaultProp:h,onChange:ee=>{var ue;(ue=[...N.current][k.current])==null||ue.focus(),m(ee)}}),H=b.useRef(A);function _(ee){const K=AP(A,ee);$(ee,K)}function P(ee){$(ee,k.current)}function L(){const ee=H.current[k.current];A[k.current]!==ee&&g(A)}function $(ee,K,{commit:ue}={commit:!1}){const me=OP(i),R=DP(Math.round((ee-r)/i)*i+r,me),O=bh(R,[r,a]);D((F=[])=>{const I=TP(F,O,K);if(PP(I,u*i)){k.current=I.indexOf(O);const se=String(I)!==String(F);return se&&ue&&g(I),se?I:F}else return F})}return s.jsx(jP,{scope:t.__scopeSlider,name:n,disabled:c,min:r,max:a,valueIndexToChangeRef:k,thumbs:N.current,values:A,orientation:o,form:v,children:s.jsx(Wg.Provider,{scope:t.__scopeSlider,children:s.jsx(Wg.Slot,{scope:t.__scopeSlider,children:s.jsx(E,{"aria-disabled":c,"data-disabled":c?"":void 0,...w,ref:e,onPointerDown:at(w.onPointerDown,()=>{c||(H.current=A)}),min:r,max:a,inverted:y,onSlideStart:c?void 0:_,onSlideMove:c?void 0:P,onSlideEnd:c?void 0:L,onHomeKeyDown:()=>!c&&$(r,0,{commit:!0}),onEndKeyDown:()=>!c&&$(a,A.length-1,{commit:!0}),onStepKeyDown:({event:ee,direction:K})=>{if(!c){const R=jk.includes(ee.key)||ee.shiftKey&&kk.includes(ee.key)?10:1,O=k.current,F=A[O],I=i*R*K;$(F+I,O,{commit:!0})}}})})})})});Ek.displayName=Ql;var[Tk,Mk]=Ck(Ql,{startEdge:"left",endEdge:"right",size:"width",direction:1}),kP=b.forwardRef((t,e)=>{const{min:n,max:r,dir:a,inverted:i,onSlideStart:o,onSlideMove:c,onSlideEnd:u,onStepKeyDown:h,...f}=t,[m,g]=b.useState(null),y=St(e,E=>g(E)),v=b.useRef(void 0),w=wf(a),N=w==="ltr",k=N&&!i||!N&&i;function C(E){const A=v.current||m.getBoundingClientRect(),D=[0,A.width],_=l0(D,k?[n,r]:[r,n]);return v.current=A,_(E-A.left)}return s.jsx(Tk,{scope:t.__scopeSlider,startEdge:k?"left":"right",endEdge:k?"right":"left",direction:k?1:-1,size:"width",children:s.jsx(Ak,{dir:w,"data-orientation":"horizontal",...f,ref:y,style:{...f.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:E=>{const A=C(E.clientX);o==null||o(A)},onSlideMove:E=>{const A=C(E.clientX);c==null||c(A)},onSlideEnd:()=>{v.current=void 0,u==null||u()},onStepKeyDown:E=>{const D=Sk[k?"from-left":"from-right"].includes(E.key);h==null||h({event:E,direction:D?-1:1})}})})}),SP=b.forwardRef((t,e)=>{const{min:n,max:r,inverted:a,onSlideStart:i,onSlideMove:o,onSlideEnd:c,onStepKeyDown:u,...h}=t,f=b.useRef(null),m=St(e,f),g=b.useRef(void 0),y=!a;function v(w){const N=g.current||f.current.getBoundingClientRect(),k=[0,N.height],E=l0(k,y?[r,n]:[n,r]);return g.current=N,E(w-N.top)}return s.jsx(Tk,{scope:t.__scopeSlider,startEdge:y?"bottom":"top",endEdge:y?"top":"bottom",size:"height",direction:y?1:-1,children:s.jsx(Ak,{"data-orientation":"vertical",...h,ref:m,style:{...h.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:w=>{const N=v(w.clientY);i==null||i(N)},onSlideMove:w=>{const N=v(w.clientY);o==null||o(N)},onSlideEnd:()=>{g.current=void 0,c==null||c()},onStepKeyDown:w=>{const k=Sk[y?"from-bottom":"from-top"].includes(w.key);u==null||u({event:w,direction:k?-1:1})}})})}),Ak=b.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:a,onSlideEnd:i,onHomeKeyDown:o,onEndKeyDown:c,onStepKeyDown:u,...h}=t,f=Sf(Ql,n);return s.jsx(ut.span,{...h,ref:e,onKeyDown:at(t.onKeyDown,m=>{m.key==="Home"?(o(m),m.preventDefault()):m.key==="End"?(c(m),m.preventDefault()):jk.concat(kk).includes(m.key)&&(u(m),m.preventDefault())}),onPointerDown:at(t.onPointerDown,m=>{const g=m.target;g.setPointerCapture(m.pointerId),m.preventDefault(),f.thumbs.has(g)?g.focus():r(m)}),onPointerMove:at(t.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&a(m)}),onPointerUp:at(t.onPointerUp,m=>{const g=m.target;g.hasPointerCapture(m.pointerId)&&(g.releasePointerCapture(m.pointerId),i(m))})})}),Ik="SliderTrack",Rk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,a=Sf(Ik,n);return s.jsx(ut.span,{"data-disabled":a.disabled?"":void 0,"data-orientation":a.orientation,...r,ref:e})});Rk.displayName=Ik;var Ug="SliderRange",Pk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,a=Sf(Ug,n),i=Mk(Ug,n),o=b.useRef(null),c=St(e,o),u=a.values.length,h=a.values.map(g=>Lk(g,a.min,a.max)),f=u>1?Math.min(...h):0,m=100-Math.max(...h);return s.jsx(ut.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...r,ref:c,style:{...t.style,[i.startEdge]:f+"%",[i.endEdge]:m+"%"}})});Pk.displayName=Ug;var Kg="SliderThumb",Ok=b.forwardRef((t,e)=>{const n=NP(t.__scopeSlider),[r,a]=b.useState(null),i=St(e,c=>a(c)),o=b.useMemo(()=>r?n().findIndex(c=>c.ref.current===r):-1,[n,r]);return s.jsx(CP,{...t,ref:i,index:o})}),CP=b.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:a,...i}=t,o=Sf(Kg,n),c=Mk(Kg,n),[u,h]=b.useState(null),f=St(e,C=>h(C)),m=u?o.form||!!u.closest("form"):!0,g=a0(u),y=o.values[r],v=y===void 0?0:Lk(y,o.min,o.max),w=MP(r,o.values.length),N=g==null?void 0:g[c.size],k=N?IP(N,v,c.direction):0;return b.useEffect(()=>{if(u)return o.thumbs.add(u),()=>{o.thumbs.delete(u)}},[u,o.thumbs]),s.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[c.startEdge]:`calc(${v}% + ${k}px)`},children:[s.jsx(Wg.ItemSlot,{scope:t.__scopeSlider,children:s.jsx(ut.span,{role:"slider","aria-label":t["aria-label"]||w,"aria-valuemin":o.min,"aria-valuenow":y,"aria-valuemax":o.max,"aria-orientation":o.orientation,"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,tabIndex:o.disabled?void 0:0,...i,ref:f,style:y===void 0?{display:"none"}:t.style,onFocus:at(t.onFocus,()=>{o.valueIndexToChangeRef.current=r})})}),m&&s.jsx(Dk,{name:a??(o.name?o.name+(o.values.length>1?"[]":""):void 0),form:o.form,value:y},r)]})});Ok.displayName=Kg;var EP="RadioBubbleInput",Dk=b.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const a=b.useRef(null),i=St(a,r),o=s0(e);return b.useEffect(()=>{const c=a.current;if(!c)return;const u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("input",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),s.jsx(ut.input,{style:{display:"none"},...n,ref:i,defaultValue:e})});Dk.displayName=EP;function TP(t=[],e,n){const r=[...t];return r[n]=e,r.sort((a,i)=>a-i)}function Lk(t,e,n){const i=100/(n-e)*(t-e);return bh(i,[0,100])}function MP(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function AP(t,e){if(t.length===1)return 0;const n=t.map(a=>Math.abs(a-e)),r=Math.min(...n);return n.indexOf(r)}function IP(t,e,n){const r=t/2,i=l0([0,50],[0,r]);return(r-i(e)*n)*n}function RP(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function PP(t,e){if(e>0){const n=RP(t);return Math.min(...n)>=e}return!0}function l0(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function OP(t){return(String(t).split(".")[1]||"").length}function DP(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var LP=Ek,_P=Rk,zP=Pk,$P=Ok;function FP({className:t,defaultValue:e,value:n,min:r=0,max:a=100,...i}){const o=b.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,a],[n,e,r,a]);return s.jsxs(LP,{defaultValue:e,value:n,min:r,max:a,className:Ct("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50",t),...i,children:[s.jsx(_P,{className:"bg-gray-600 relative grow overflow-hidden rounded-full h-1.5 w-full",children:s.jsx(zP,{className:"bg-[#38bdac] absolute h-full rounded-full"})}),Array.from({length:o.length},(c,u)=>s.jsx($P,{className:"block size-4 shrink-0 rounded-full border-2 border-[#38bdac] bg-white shadow-sm focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"},u))]})}const BP={distributorShare:90,minWithdrawAmount:10,bindingDays:30,userDiscount:5,enableAutoWithdraw:!1,vipOrderShareVip:20,vipOrderShareNonVip:10};function _k(t){const[e,n]=b.useState(BP),[r,a]=b.useState(!0),[i,o]=b.useState(!1);b.useEffect(()=>{De("/api/admin/referral-settings").then(h=>{const f=h==null?void 0:h.data;f&&typeof f=="object"&&n({distributorShare:f.distributorShare??90,minWithdrawAmount:f.minWithdrawAmount??10,bindingDays:f.bindingDays??30,userDiscount:f.userDiscount??5,enableAutoWithdraw:f.enableAutoWithdraw??!1,vipOrderShareVip:f.vipOrderShareVip??20,vipOrderShareNonVip:f.vipOrderShareNonVip??10})}).catch(console.error).finally(()=>a(!1))},[]);const c=async()=>{o(!0);try{const h={distributorShare:Number(e.distributorShare)||0,minWithdrawAmount:Number(e.minWithdrawAmount)||0,bindingDays:Number(e.bindingDays)||0,userDiscount:Number(e.userDiscount)||0,enableAutoWithdraw:!!e.enableAutoWithdraw,vipOrderShareVip:Number(e.vipOrderShareVip)||20,vipOrderShareNonVip:Number(e.vipOrderShareNonVip)||10},f=await Nt("/api/admin/referral-settings",h);if(!f||f.success===!1){oe.error("保存失败: "+(f&&typeof f=="object"&&"error"in f?f.error:""));return}oe.success(`✅ 分销配置已保存成功! +For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return b.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},zR="DialogDescriptionWarning",$R=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Jj(zR).contentName}}.`;return b.useEffect(()=>{var i;const a=(i=t.current)==null?void 0:i.getAttribute("aria-describedby");e&&a&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},FR=Lj,BR=$j,VR=Fj,HR=Bj,WR=Hj,UR=Uj,KR=qj;function Ft(t){return s.jsx(FR,{"data-slot":"dialog",...t})}function qR(t){return s.jsx(BR,{...t})}const Yj=b.forwardRef(({className:t,...e},n)=>s.jsx(VR,{ref:n,className:Ct("fixed inset-0 z-50 bg-black/50",t),...e}));Yj.displayName="DialogOverlay";const Rt=b.forwardRef(({className:t,children:e,showCloseButton:n=!0,...r},a)=>s.jsxs(qR,{children:[s.jsx(Yj,{}),s.jsxs(HR,{ref:a,"aria-describedby":void 0,className:Ct("fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2 gap-4 rounded-lg border bg-background p-6 shadow-lg",t),...r,children:[e,n&&s.jsxs(KR,{className:"absolute right-4 top-4 rounded-sm opacity-70 hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[s.jsx(nr,{className:"h-4 w-4"}),s.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Rt.displayName="DialogContent";function Bt({className:t,...e}){return s.jsx("div",{className:Ct("flex flex-col gap-2 text-center sm:text-left",t),...e})}function ln({className:t,...e}){return s.jsx("div",{className:Ct("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function Vt(t){return s.jsx(WR,{className:"text-lg font-semibold leading-none",...t})}function Qj(t){return s.jsx(UR,{className:"text-sm text-muted-foreground",...t})}const GR=cj("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 transition-colors",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground",secondary:"border-transparent bg-secondary text-secondary-foreground",destructive:"border-transparent bg-destructive text-white",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Ke({className:t,variant:e,asChild:n=!1,...r}){const a=n?ij:"span";return s.jsx(a,{className:Ct(GR({variant:e}),t),...r})}var JR=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],YR=JR.reduce((t,e)=>{const n=aj(`Primitive.${e}`),r=b.forwardRef((a,i)=>{const{asChild:o,...c}=a,u=o?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),s.jsx(u,{...c,ref:i})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{}),QR="Label",Xj=b.forwardRef((t,e)=>s.jsx(YR.label,{...t,ref:e,onMouseDown:n=>{var a;n.target.closest("button, input, select, textarea")||((a=t.onMouseDown)==null||a.call(t,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Xj.displayName=QR;var Zj=Xj;const te=b.forwardRef(({className:t,...e},n)=>s.jsx(Zj,{ref:n,className:Ct("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t),...e}));te.displayName=Zj.displayName;function s0(t){const e=t+"CollectionProvider",[n,r]=Li(e),[a,i]=n(e,{collectionRef:{current:null},itemMap:new Map}),o=w=>{const{scope:N,children:k}=w,C=fr.useRef(null),E=fr.useRef(new Map).current;return s.jsx(a,{scope:N,itemMap:E,collectionRef:C,children:k})};o.displayName=e;const c=t+"CollectionSlot",u=ld(c),h=fr.forwardRef((w,N)=>{const{scope:k,children:C}=w,E=i(c,k),A=St(N,E.collectionRef);return s.jsx(u,{ref:A,children:C})});h.displayName=c;const f=t+"CollectionItemSlot",m="data-radix-collection-item",g=ld(f),y=fr.forwardRef((w,N)=>{const{scope:k,children:C,...E}=w,A=fr.useRef(null),D=St(N,A),H=i(f,k);return fr.useEffect(()=>(H.itemMap.set(A,{ref:A,...E}),()=>void H.itemMap.delete(A))),s.jsx(g,{[m]:"",ref:D,children:C})});y.displayName=f;function v(w){const N=i(t+"CollectionConsumer",w);return fr.useCallback(()=>{const C=N.collectionRef.current;if(!C)return[];const E=Array.from(C.querySelectorAll(`[${m}]`));return Array.from(N.itemMap.values()).sort((H,_)=>E.indexOf(H.ref.current)-E.indexOf(_.ref.current))},[N.collectionRef,N.itemMap])}return[{Provider:o,Slot:h,ItemSlot:y},v,r]}var XR=b.createContext(void 0);function kf(t){const e=b.useContext(XR);return t||e||"ltr"}var Um="rovingFocusGroup.onEntryFocus",ZR={bubbles:!1,cancelable:!0},Cd="RovingFocusGroup",[Kg,ek,eP]=s0(Cd),[tP,tk]=Li(Cd,[eP]),[nP,rP]=tP(Cd),nk=b.forwardRef((t,e)=>s.jsx(Kg.Provider,{scope:t.__scopeRovingFocusGroup,children:s.jsx(Kg.Slot,{scope:t.__scopeRovingFocusGroup,children:s.jsx(sP,{...t,ref:e})})}));nk.displayName=Cd;var sP=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:a=!1,dir:i,currentTabStopId:o,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:u,onEntryFocus:h,preventScrollOnEntryFocus:f=!1,...m}=t,g=b.useRef(null),y=St(e,g),v=kf(i),[w,N]=Eo({prop:o,defaultProp:c??null,onChange:u,caller:Cd}),[k,C]=b.useState(!1),E=Ti(h),A=ek(n),D=b.useRef(!1),[H,_]=b.useState(0);return b.useEffect(()=>{const P=g.current;if(P)return P.addEventListener(Um,E),()=>P.removeEventListener(Um,E)},[E]),s.jsx(nP,{scope:n,orientation:r,dir:v,loop:a,currentTabStopId:w,onItemFocus:b.useCallback(P=>N(P),[N]),onItemShiftTab:b.useCallback(()=>C(!0),[]),onFocusableItemAdd:b.useCallback(()=>_(P=>P+1),[]),onFocusableItemRemove:b.useCallback(()=>_(P=>P-1),[]),children:s.jsx(ut.div,{tabIndex:k||H===0?-1:0,"data-orientation":r,...m,ref:y,style:{outline:"none",...t.style},onMouseDown:at(t.onMouseDown,()=>{D.current=!0}),onFocus:at(t.onFocus,P=>{const L=!D.current;if(P.target===P.currentTarget&&L&&!k){const $=new CustomEvent(Um,ZR);if(P.currentTarget.dispatchEvent($),!$.defaultPrevented){const ee=A().filter(O=>O.focusable),K=ee.find(O=>O.active),ue=ee.find(O=>O.id===w),R=[K,ue,...ee].filter(Boolean).map(O=>O.ref.current);ak(R,f)}}D.current=!1}),onBlur:at(t.onBlur,()=>C(!1))})})}),rk="RovingFocusGroupItem",sk=b.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:a=!1,tabStopId:i,children:o,...c}=t,u=ji(),h=i||u,f=rP(rk,n),m=f.currentTabStopId===h,g=ek(n),{onFocusableItemAdd:y,onFocusableItemRemove:v,currentTabStopId:w}=f;return b.useEffect(()=>{if(r)return y(),()=>v()},[r,y,v]),s.jsx(Kg.ItemSlot,{scope:n,id:h,focusable:r,active:a,children:s.jsx(ut.span,{tabIndex:m?0:-1,"data-orientation":f.orientation,...c,ref:e,onMouseDown:at(t.onMouseDown,N=>{r?f.onItemFocus(h):N.preventDefault()}),onFocus:at(t.onFocus,()=>f.onItemFocus(h)),onKeyDown:at(t.onKeyDown,N=>{if(N.key==="Tab"&&N.shiftKey){f.onItemShiftTab();return}if(N.target!==N.currentTarget)return;const k=oP(N,f.orientation,f.dir);if(k!==void 0){if(N.metaKey||N.ctrlKey||N.altKey||N.shiftKey)return;N.preventDefault();let E=g().filter(A=>A.focusable).map(A=>A.ref.current);if(k==="last")E.reverse();else if(k==="prev"||k==="next"){k==="prev"&&E.reverse();const A=E.indexOf(N.currentTarget);E=f.loop?lP(E,A+1):E.slice(A+1)}setTimeout(()=>ak(E))}}),children:typeof o=="function"?o({isCurrentTabStop:m,hasTabStop:w!=null}):o})})});sk.displayName=rk;var aP={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function iP(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function oP(t,e,n){const r=iP(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return aP[r]}function ak(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}function lP(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var cP=nk,dP=sk,Sf="Tabs",[uP]=Li(Sf,[tk]),ik=tk(),[hP,a0]=uP(Sf),ok=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:a,defaultValue:i,orientation:o="horizontal",dir:c,activationMode:u="automatic",...h}=t,f=kf(c),[m,g]=Eo({prop:r,onChange:a,defaultProp:i??"",caller:Sf});return s.jsx(hP,{scope:n,baseId:ji(),value:m,onValueChange:g,orientation:o,dir:f,activationMode:u,children:s.jsx(ut.div,{dir:f,"data-orientation":o,...h,ref:e})})});ok.displayName=Sf;var lk="TabsList",ck=b.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...a}=t,i=a0(lk,n),o=ik(n);return s.jsx(cP,{asChild:!0,...o,orientation:i.orientation,dir:i.dir,loop:r,children:s.jsx(ut.div,{role:"tablist","aria-orientation":i.orientation,...a,ref:e})})});ck.displayName=lk;var dk="TabsTrigger",uk=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:a=!1,...i}=t,o=a0(dk,n),c=ik(n),u=pk(o.baseId,r),h=mk(o.baseId,r),f=r===o.value;return s.jsx(dP,{asChild:!0,...c,focusable:!a,active:f,children:s.jsx(ut.button,{type:"button",role:"tab","aria-selected":f,"aria-controls":h,"data-state":f?"active":"inactive","data-disabled":a?"":void 0,disabled:a,id:u,...i,ref:e,onMouseDown:at(t.onMouseDown,m=>{!a&&m.button===0&&m.ctrlKey===!1?o.onValueChange(r):m.preventDefault()}),onKeyDown:at(t.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&o.onValueChange(r)}),onFocus:at(t.onFocus,()=>{const m=o.activationMode!=="manual";!f&&!a&&m&&o.onValueChange(r)})})})});uk.displayName=dk;var hk="TabsContent",fk=b.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:a,children:i,...o}=t,c=a0(hk,n),u=pk(c.baseId,r),h=mk(c.baseId,r),f=r===c.value,m=b.useRef(f);return b.useEffect(()=>{const g=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(g)},[]),s.jsx(Sd,{present:a||f,children:({present:g})=>s.jsx(ut.div,{"data-state":f?"active":"inactive","data-orientation":c.orientation,role:"tabpanel","aria-labelledby":u,hidden:!g,id:h,tabIndex:0,...o,ref:e,style:{...t.style,animationDuration:m.current?"0s":void 0},children:g&&i})})});fk.displayName=hk;function pk(t,e){return`${t}-trigger-${e}`}function mk(t,e){return`${t}-content-${e}`}var fP=ok,gk=ck,xk=uk,yk=fk;const Ed=fP,Jl=b.forwardRef(({className:t,...e},n)=>s.jsx(gk,{ref:n,className:Ct("inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",t),...e}));Jl.displayName=gk.displayName;const tn=b.forwardRef(({className:t,...e},n)=>s.jsx(xk,{ref:n,className:Ct("inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",t),...e}));tn.displayName=xk.displayName;const nn=b.forwardRef(({className:t,...e},n)=>s.jsx(yk,{ref:n,className:Ct("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...e}));nn.displayName=yk.displayName;function i0(t){const e=b.useRef({value:t,previous:t});return b.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}function o0(t){const[e,n]=b.useState(void 0);return rr(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let o,c;if("borderBoxSize"in i){const u=i.borderBoxSize,h=Array.isArray(u)?u[0]:u;o=h.inlineSize,c=h.blockSize}else o=t.offsetWidth,c=t.offsetHeight;n({width:o,height:c})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}var Cf="Switch",[pP]=Li(Cf),[mP,gP]=pP(Cf),bk=b.forwardRef((t,e)=>{const{__scopeSwitch:n,name:r,checked:a,defaultChecked:i,required:o,disabled:c,value:u="on",onCheckedChange:h,form:f,...m}=t,[g,y]=b.useState(null),v=St(e,E=>y(E)),w=b.useRef(!1),N=g?f||!!g.closest("form"):!0,[k,C]=Eo({prop:a,defaultProp:i??!1,onChange:h,caller:Cf});return s.jsxs(mP,{scope:n,checked:k,disabled:c,children:[s.jsx(ut.button,{type:"button",role:"switch","aria-checked":k,"aria-required":o,"data-state":jk(k),"data-disabled":c?"":void 0,disabled:c,value:u,...m,ref:v,onClick:at(t.onClick,E=>{C(A=>!A),N&&(w.current=E.isPropagationStopped(),w.current||E.stopPropagation())})}),N&&s.jsx(wk,{control:g,bubbles:!w.current,name:r,value:u,checked:k,required:o,disabled:c,form:f,style:{transform:"translateX(-100%)"}})]})});bk.displayName=Cf;var vk="SwitchThumb",Nk=b.forwardRef((t,e)=>{const{__scopeSwitch:n,...r}=t,a=gP(vk,n);return s.jsx(ut.span,{"data-state":jk(a.checked),"data-disabled":a.disabled?"":void 0,...r,ref:e})});Nk.displayName=vk;var xP="SwitchBubbleInput",wk=b.forwardRef(({__scopeSwitch:t,control:e,checked:n,bubbles:r=!0,...a},i)=>{const o=b.useRef(null),c=St(o,i),u=i0(n),h=o0(e);return b.useEffect(()=>{const f=o.current;if(!f)return;const m=window.HTMLInputElement.prototype,y=Object.getOwnPropertyDescriptor(m,"checked").set;if(u!==n&&y){const v=new Event("click",{bubbles:r});y.call(f,n),f.dispatchEvent(v)}},[u,n,r]),s.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...a,tabIndex:-1,ref:c,style:{...a.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});wk.displayName=xP;function jk(t){return t?"checked":"unchecked"}var kk=bk,yP=Nk;const Et=b.forwardRef(({className:t,...e},n)=>s.jsx(kk,{className:Ct("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent shadow-sm transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 focus-visible:ring-offset-[#0a1628] disabled:cursor-not-allowed disabled:opacity-50 data-[state=unchecked]:bg-gray-600 data-[state=checked]:bg-[#38bdac]",t),...e,ref:n,children:s.jsx(yP,{className:Ct("pointer-events-none block h-4 w-4 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-4 data-[state=unchecked]:translate-x-0")})}));Et.displayName=kk.displayName;function l0({open:t,onClose:e,userId:n,onUserUpdated:r}){var or;const[a,i]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,w]=b.useState(!1),[N,k]=b.useState("info"),[C,E]=b.useState(""),[A,D]=b.useState(""),[H,_]=b.useState([]),[P,L]=b.useState(""),[$,ee]=b.useState(""),[K,ue]=b.useState(""),[me,R]=b.useState(!1),[O,F]=b.useState({isVip:!1,vipExpireDate:"",vipRole:"",vipName:"",vipProject:"",vipContact:"",vipBio:""}),[I,se]=b.useState([]),[J,z]=b.useState(!1),[U,q]=b.useState(!1),[V,ce]=b.useState(null),[Y,X]=b.useState(null),[ae,ye]=b.useState(""),[je,_e]=b.useState(""),[He,gt]=b.useState(""),[Dt,jn]=b.useState(!1),[it,Mt]=b.useState(null),[re,Pe]=b.useState("");b.useEffect(()=>{t&&n&&(k("info"),ce(null),X(null),Mt(null),Pe(""),ee(""),ue(""),et(),De("/api/db/vip-roles").then(ge=>{ge!=null&&ge.success&&ge.data&&se(ge.data)}).catch(()=>{}))},[t,n]);async function et(){if(n){m(!0);try{const ge=await De(`/api/db/users?id=${encodeURIComponent(n)}`);if(ge!=null&&ge.success&&ge.user){const Ne=ge.user;i(Ne),E(Ne.phone||""),D(Ne.nickname||""),ye(Ne.phone||""),_e(Ne.wechatId||""),gt(Ne.openId||"");try{_(typeof Ne.tags=="string"?JSON.parse(Ne.tags||"[]"):[])}catch{_([])}F({isVip:!!(Ne.isVip??!1),vipExpireDate:Ne.vipExpireDate?String(Ne.vipExpireDate).slice(0,10):"",vipRole:String(Ne.vipRole??""),vipName:String(Ne.vipName??""),vipProject:String(Ne.vipProject??""),vipContact:String(Ne.vipContact??""),vipBio:String(Ne.vipBio??"")})}try{const Ne=await De(`/api/user/track?userId=${encodeURIComponent(n)}&limit=50`);Ne!=null&&Ne.success&&Ne.tracks&&c(Ne.tracks)}catch{c([])}try{const Ne=await De(`/api/db/users/referrals?userId=${encodeURIComponent(n)}`);Ne!=null&&Ne.success&&Ne.referrals&&h(Ne.referrals)}catch{h([])}}catch(ge){console.error("Load user detail error:",ge)}finally{m(!1)}}}async function xt(){if(!(a!=null&&a.phone)){oe.info("用户未绑定手机号,无法同步");return}y(!0);try{const ge=await Nt("/api/ckb/sync",{action:"full_sync",phone:a.phone,userId:a.id});ge!=null&&ge.success?(oe.success("同步成功"),et()):oe.error("同步失败: "+(ge==null?void 0:ge.error))}catch(ge){console.error("Sync CKB error:",ge),oe.error("同步失败")}finally{y(!1)}}async function ft(){if(a){w(!0);try{const ge={id:a.id,phone:C||void 0,nickname:A||void 0,tags:JSON.stringify(H)},Ne=await Tt("/api/db/users",ge);Ne!=null&&Ne.success?(oe.success("保存成功"),et(),r==null||r()):oe.error("保存失败: "+(Ne==null?void 0:Ne.error))}catch(ge){console.error("Save user error:",ge),oe.error("保存失败")}finally{w(!1)}}}const pt=()=>{P&&!H.includes(P)&&(_([...H,P]),L(""))},wt=ge=>_(H.filter(Ne=>Ne!==ge));async function Qt(){if(a){if(!$){oe.error("请输入新密码");return}if($!==K){oe.error("两次密码不一致");return}if($.length<6){oe.error("密码至少 6 位");return}R(!0);try{const ge=await Tt("/api/db/users",{id:a.id,password:$});ge!=null&&ge.success?(oe.success("修改成功"),ee(""),ue("")):oe.error("修改失败: "+((ge==null?void 0:ge.error)||""))}catch{oe.error("修改失败")}finally{R(!1)}}}async function Lt(){if(a){if(O.isVip&&!O.vipExpireDate.trim()){oe.error("开启 VIP 请填写有效到期日");return}z(!0);try{const ge={id:a.id,isVip:O.isVip,vipExpireDate:O.isVip?O.vipExpireDate:void 0,vipRole:O.vipRole||void 0,vipName:O.vipName||void 0,vipProject:O.vipProject||void 0,vipContact:O.vipContact||void 0,vipBio:O.vipBio||void 0},Ne=await Tt("/api/db/users",ge);Ne!=null&&Ne.success?(oe.success("VIP 设置已保存"),et(),r==null||r()):oe.error("保存失败: "+((Ne==null?void 0:Ne.error)||""))}catch{oe.error("保存失败")}finally{z(!1)}}}async function An(){if(!ae&&!He&&!je){X("请至少输入手机号、微信号或 OpenID 中的一项");return}q(!0),X(null),ce(null);try{const ge=new URLSearchParams;ae&&ge.set("phone",ae),He&&ge.set("openId",He),je&&ge.set("wechatId",je);const Ne=await De(`/api/admin/shensheshou/query?${ge}`);Ne!=null&&Ne.success&&Ne.data?(ce(Ne.data),a&&await At(Ne.data)):X((Ne==null?void 0:Ne.error)||"未查询到数据,该用户可能未在神射手收录")}catch(ge){console.error("SSS query error:",ge),X("请求失败,请检查神射手接口配置")}finally{q(!1)}}async function At(ge){if(a)try{await Nt("/api/admin/shensheshou/enrich",{userId:a.id,phone:ae||a.phone||"",openId:He||a.openId||"",wechatId:je||a.wechatId||""}),et()}catch(Ne){console.error("SSS enrich error:",Ne)}}async function Kn(){if(a){jn(!0),Mt(null);try{const ge={users:[{phone:a.phone||"",name:a.nickname||"",openId:a.openId||"",tags:H}]},Ne=await Nt("/api/admin/shensheshou/ingest",ge);Ne!=null&&Ne.success&&Ne.data?Mt(Ne.data):Mt({error:(Ne==null?void 0:Ne.error)||"推送失败"})}catch(ge){console.error("SSS ingest error:",ge),Mt({error:"请求失败"})}finally{jn(!1)}}}const ns=ge=>{const qn={view_chapter:$r,purchase:Fg,match:Mn,login:No,register:No,share:Ns,bind_phone:NA,bind_wechat:cA,fill_profile:qc,visit_page:Tl}[ge]||Lg;return s.jsx(qn,{className:"w-4 h-4"})};return t?s.jsx(Ft,{open:t,onOpenChange:()=>e(),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] overflow-hidden flex flex-col",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(No,{className:"w-5 h-5 text-[#38bdac]"}),"用户详情",(a==null?void 0:a.phone)&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0 ml-2",children:"已绑定手机"}),(a==null?void 0:a.isVip)&&s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 border-0",children:"VIP"})]})}),f?s.jsxs("div",{className:"flex items-center justify-center py-20",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):a?s.jsxs("div",{className:"flex flex-col min-h-0 flex-1 overflow-hidden",children:[s.jsxs("div",{className:"flex items-center gap-4 p-4 bg-[#0a1628] rounded-lg mb-3",children:[s.jsx("div",{className:"w-16 h-16 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-2xl text-[#38bdac] shrink-0",children:a.avatar?s.jsx("img",{src:ts(a.avatar),className:"w-full h-full rounded-full object-cover",alt:""}):((or=a.nickname)==null?void 0:or.charAt(0))||"?"}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[s.jsx("h3",{className:"text-lg font-bold text-white",children:a.nickname}),a.isAdmin&&s.jsx(Ke,{className:"bg-purple-500/20 text-purple-400 border-0",children:"管理员"}),a.hasFullBook&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0",children:"全书已购"}),a.vipRole&&s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 border-0",children:a.vipRole})]}),s.jsxs("p",{className:"text-gray-400 text-sm mt-1",children:[a.phone?`📱 ${a.phone}`:"未绑定手机",a.wechatId&&` · 💬 ${a.wechatId}`,a.mbti&&` · ${a.mbti}`]}),s.jsxs("div",{className:"flex items-center gap-4 mt-1",children:[s.jsxs("p",{className:"text-gray-600 text-xs",children:["ID: ",a.id.slice(0,16),"…"]}),a.referralCode&&s.jsxs("p",{className:"text-xs",children:[s.jsx("span",{className:"text-gray-500",children:"推广码:"}),s.jsx("code",{className:"text-[#38bdac] bg-[#38bdac]/10 px-1.5 py-0.5 rounded",children:a.referralCode})]})]})]}),s.jsxs("div",{className:"text-right shrink-0",children:[s.jsxs("p",{className:"text-[#38bdac] font-bold text-lg",children:["¥",(a.earnings||0).toFixed(2)]}),s.jsx("p",{className:"text-gray-500 text-xs",children:"累计收益"})]})]}),s.jsxs(Ed,{value:N,onValueChange:k,className:"flex-1 flex flex-col overflow-hidden",children:[s.jsxs(Jl,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-3 flex-wrap h-auto gap-1",children:[s.jsx(tn,{value:"info",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"基础信息"}),s.jsx(tn,{value:"tags",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"标签体系"}),s.jsxs(tn,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[s.jsx(Tl,{className:"w-3 h-3 mr-1"}),"用户旅程"]}),s.jsx(tn,{value:"relations",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:"关系链路"}),s.jsxs(tn,{value:"shensheshou",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-xs",children:[s.jsx(yi,{className:"w-3 h-3 mr-1"}),"用户资料完善"]})]}),s.jsxs(nn,{value:"info",className:"flex-1 overflow-auto space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"手机号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入手机号",value:C,onChange:ge=>E(ge.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"昵称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入昵称",value:A,onChange:ge=>D(ge.target.value)})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[a.openId&&s.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"微信 OpenID"}),s.jsx("p",{className:"text-gray-300 font-mono text-xs break-all",children:a.openId})]}),a.region&&s.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[s.jsx(nj,{className:"w-4 h-4 text-gray-500"}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs",children:"地区"}),s.jsx("p",{className:"text-white",children:a.region})]})]}),a.industry&&s.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"行业"}),s.jsx("p",{className:"text-white",children:a.industry})]}),a.position&&s.jsxs("div",{className:"p-3 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"职位"}),s.jsx("p",{className:"text-white",children:a.position})]})]}),s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"推荐人数"}),s.jsx("p",{className:"text-2xl font-bold text-white",children:a.referralCount??0})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"待提现"}),s.jsxs("p",{className:"text-2xl font-bold text-yellow-400",children:["¥",(a.pendingEarnings??0).toFixed(2)]})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"创建时间"}),s.jsx("p",{className:"text-sm text-white",children:a.createdAt?new Date(a.createdAt).toLocaleDateString():"-"})]})]}),s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(tj,{className:"w-4 h-4 text-yellow-400"}),s.jsx("span",{className:"text-white font-medium",children:"修改密码"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(le,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"新密码(至少6位)",value:$,onChange:ge=>ee(ge.target.value)}),s.jsx(le,{type:"password",className:"bg-[#162840] border-gray-700 text-white",placeholder:"确认密码",value:K,onChange:ge=>ue(ge.target.value)}),s.jsx(ne,{size:"sm",onClick:Qt,disabled:me||!$||!K,className:"bg-yellow-500/20 hover:bg-yellow-500/30 text-yellow-400 border border-yellow-500/40",children:me?"保存中...":"确认修改"})]})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Al,{className:"w-4 h-4 text-amber-400"}),s.jsx("span",{className:"text-white font-medium",children:"设成超级个体"})]}),s.jsxs("div",{className:"space-y-3",children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx(te,{className:"text-gray-400 text-sm",children:"VIP 会员"}),s.jsx(Et,{checked:O.isVip,onCheckedChange:ge=>F(Ne=>({...Ne,isVip:ge}))})]}),O.isVip&&s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"到期日"}),s.jsx(le,{type:"date",className:"bg-[#162840] border-gray-700 text-white text-sm",value:O.vipExpireDate,onChange:ge=>F(Ne=>({...Ne,vipExpireDate:ge.target.value}))})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"角色"}),s.jsxs("select",{className:"w-full bg-[#162840] border border-gray-700 text-white rounded px-2 py-1.5 text-sm",value:O.vipRole,onChange:ge=>F(Ne=>({...Ne,vipRole:ge.target.value})),children:[s.jsx("option",{value:"",children:"请选择"}),I.map(ge=>s.jsx("option",{value:ge.name,children:ge.name},ge.id))]})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"展示名"}),s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white text-sm",placeholder:"创业老板排行展示名",value:O.vipName,onChange:ge=>F(Ne=>({...Ne,vipName:ge.target.value}))})]}),s.jsx(ne,{size:"sm",onClick:Lt,disabled:J,className:"bg-amber-500/20 hover:bg-amber-500/30 text-amber-400 border border-amber-500/40",children:J?"保存中...":"保存 VIP"})]})]})]}),a.isVip&&s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-amber-500/20",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Al,{className:"w-4 h-4 text-amber-400"}),s.jsx("span",{className:"text-white font-medium",children:"VIP 信息"}),s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 border-0 text-xs",children:a.vipRole||"VIP"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3 text-sm",children:[a.vipName&&s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"展示名:"}),s.jsx("span",{className:"text-white",children:a.vipName})]}),a.vipProject&&s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"项目:"}),s.jsx("span",{className:"text-white",children:a.vipProject})]}),a.vipContact&&s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"联系方式:"}),s.jsx("span",{className:"text-white",children:a.vipContact})]}),a.vipExpireDate&&s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"到期时间:"}),s.jsx("span",{className:"text-white",children:new Date(a.vipExpireDate).toLocaleDateString()})]})]}),a.vipBio&&s.jsx("p",{className:"text-gray-400 text-sm mt-2",children:a.vipBio})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg border border-purple-500/20",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Dl,{className:"w-4 h-4 text-purple-400"}),s.jsx("span",{className:"text-white font-medium",children:"微信归属"}),s.jsx("span",{className:"text-gray-500 text-xs",children:"该用户归属在哪个微信号下"})]}),s.jsxs("div",{className:"flex gap-2 items-center",children:[s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"输入归属微信号(如 wxid_xxxx)",value:re,onChange:ge=>Pe(ge.target.value)}),s.jsxs(ne,{size:"sm",onClick:async()=>{if(!(!re||!a))try{await Tt("/api/db/users",{id:a.id,wechatId:re}),oe.success("已保存微信归属"),et()}catch{oe.error("保存失败")}},className:"bg-purple-500/20 hover:bg-purple-500/30 text-purple-400 border border-purple-500/30 shrink-0",children:[s.jsx(mn,{className:"w-4 h-4 mr-1"})," 保存"]})]}),a.wechatId&&s.jsxs("p",{className:"text-gray-500 text-xs mt-2",children:["当前归属:",s.jsx("span",{className:"text-purple-400",children:a.wechatId})]})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Ns,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx("span",{className:"text-white font-medium",children:"存客宝同步"})]}),s.jsx(ne,{size:"sm",onClick:xt,disabled:g||!a.phone,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-1 animate-spin"})," 同步中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-1"})," 同步数据"]})})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4 text-sm",children:[s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"同步状态:"}),a.ckbSyncedAt?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0 ml-1",children:"已同步"}):s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 border-0 ml-1",children:"未同步"})]}),s.jsxs("div",{children:[s.jsx("span",{className:"text-gray-500",children:"最后同步:"}),s.jsx("span",{className:"text-gray-300 ml-1",children:a.ckbSyncedAt?new Date(a.ckbSyncedAt).toLocaleString():"-"})]})]})]})]}),s.jsxs(nn,{value:"tags",className:"flex-1 overflow-auto space-y-4",children:[s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(qc,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx("span",{className:"text-white font-medium",children:"用户标签"}),s.jsx("span",{className:"text-gray-500 text-xs",children:"基于《一场 Soul 的创业实验》维度打标"})]}),s.jsxs("div",{className:"mb-3 p-2.5 bg-[#38bdac]/5 border border-[#38bdac]/20 rounded-lg flex items-center gap-2 text-xs text-gray-400",children:[s.jsx(Dg,{className:"w-3.5 h-3.5 text-[#38bdac] shrink-0"}),"命中的标签自动高亮 · 系统根据行为轨迹和填写资料自动打标 · 手动点击补充或取消"]}),s.jsx("div",{className:"mb-4 space-y-3",children:[{category:"身份类型",tags:["创业者","打工人","自由职业","学生","投资人","合伙人"]},{category:"行业背景",tags:["电商","内容","传统行业","科技/AI","金融","教育","餐饮"]},{category:"痛点标签",tags:["找资源","找方向","找合伙人","想赚钱","想学习","找情感出口"]},{category:"付费意愿",tags:["高意向","已付费","观望中","薅羊毛"]},{category:"MBTI",tags:["ENTJ","INTJ","ENFP","INFP","ENTP","INTP","ESTJ","ISFJ"]}].map(ge=>s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1.5",children:ge.category}),s.jsx("div",{className:"flex flex-wrap gap-1.5",children:ge.tags.map(Ne=>s.jsxs("button",{type:"button",onClick:()=>{H.includes(Ne)?wt(Ne):_([...H,Ne])},className:`px-2 py-0.5 rounded text-xs border transition-all ${H.includes(Ne)?"bg-[#38bdac]/20 border-[#38bdac]/50 text-[#38bdac]":"bg-transparent border-gray-700 text-gray-500 hover:border-gray-500 hover:text-gray-300"}`,children:[H.includes(Ne)?"✓ ":"",Ne]},Ne))})]},ge.category))}),s.jsxs("div",{className:"border-t border-gray-700/50 pt-3",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"已选标签"}),s.jsxs("div",{className:"flex flex-wrap gap-2 mb-3 min-h-[32px]",children:[H.map((ge,Ne)=>s.jsxs(Ke,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0 pr-1",children:[ge,s.jsx("button",{type:"button",onClick:()=>wt(ge),className:"ml-1 hover:text-red-400",children:s.jsx(nr,{className:"w-3 h-3"})})]},Ne)),H.length===0&&s.jsx("span",{className:"text-gray-600 text-sm",children:"暂未选择标签"})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white flex-1",placeholder:"自定义标签(回车添加)",value:P,onChange:ge=>L(ge.target.value),onKeyDown:ge=>ge.key==="Enter"&&pt()}),s.jsx(ne,{onClick:pt,className:"bg-[#38bdac] hover:bg-[#2da396]",children:"添加"})]})]})]}),a.ckbTags&&s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[s.jsx(qc,{className:"w-4 h-4 text-purple-400"}),s.jsx("span",{className:"text-white font-medium",children:"存客宝标签"})]}),s.jsx("div",{className:"flex flex-wrap gap-2",children:(typeof a.ckbTags=="string"?a.ckbTags.split(","):[]).map((ge,Ne)=>s.jsx(Ke,{className:"bg-purple-500/20 text-purple-400 border-0",children:ge.trim()},Ne))})]})]}),s.jsxs(nn,{value:"journey",className:"flex-1 overflow-auto",children:[s.jsxs("div",{className:"mb-3 p-3 bg-[#0a1628] rounded-lg flex items-center gap-2",children:[s.jsx(Tl,{className:"w-4 h-4 text-[#38bdac]"}),s.jsxs("span",{className:"text-gray-400 text-sm",children:["记录用户从注册到付费的完整行动路径,共 ",o.length," 条记录"]})]}),s.jsx("div",{className:"space-y-2",children:o.length>0?o.map((ge,Ne)=>s.jsxs("div",{className:"flex items-start gap-3 p-3 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-[#38bdac]",children:ns(ge.action)}),Ne0?u.map((ge,Ne)=>{var Es;const qn=ge;return s.jsxs("div",{className:"flex items-center justify-between p-2 bg-[#162840] rounded",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:"w-6 h-6 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-xs text-[#38bdac]",children:((Es=qn.nickname)==null?void 0:Es.charAt(0))||"?"}),s.jsx("span",{className:"text-white text-sm",children:qn.nickname})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[qn.status==="vip"&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"已购"}),s.jsx("span",{className:"text-gray-500 text-xs",children:qn.createdAt?new Date(qn.createdAt).toLocaleDateString():""})]})]},qn.id||Ne)}):s.jsx("p",{className:"text-gray-500 text-sm text-center py-4",children:"暂无推荐用户"})})]})}),s.jsxs(nn,{value:"shensheshou",className:"flex-1 overflow-auto space-y-4",children:[s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(yi,{className:"w-5 h-5 text-[#38bdac]"}),s.jsx("span",{className:"text-white font-medium",children:"用户资料完善"}),s.jsx("span",{className:"text-gray-500 text-xs",children:"通过多维度查询神射手数据,自动回填用户基础信息"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-2 mb-3",children:[s.jsxs("div",{children:[s.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"手机号"}),s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"11位手机号",value:ae,onChange:ge=>ye(ge.target.value)})]}),s.jsxs("div",{children:[s.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信号"}),s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"微信 ID",value:je,onChange:ge=>_e(ge.target.value)})]}),s.jsxs("div",{className:"col-span-2",children:[s.jsx(te,{className:"text-gray-500 text-xs mb-1 block",children:"微信 OpenID"}),s.jsx(le,{className:"bg-[#162840] border-gray-700 text-white",placeholder:"openid_xxxx(自动填入)",value:He,onChange:ge=>gt(ge.target.value)})]})]}),s.jsx(ne,{onClick:An,disabled:U,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:U?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-1 animate-spin"})," 查询并自动回填中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(Sa,{className:"w-4 h-4 mr-1"})," 查询并自动完善用户资料"]})}),s.jsx("p",{className:"text-gray-600 text-xs mt-2",children:"查询成功后,神射手返回的标签将自动同步到该用户"}),Y&&s.jsx("div",{className:"mt-3 p-3 bg-red-500/10 border border-red-500/30 rounded-lg text-red-400 text-sm",children:Y}),V&&s.jsxs("div",{className:"mt-3 space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"神射手 RFM 分"}),s.jsx("p",{className:"text-2xl font-bold text-[#38bdac]",children:V.rfm_score??"-"})]}),s.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"用户等级"}),s.jsx("p",{className:"text-2xl font-bold text-white",children:V.user_level??"-"})]})]}),V.tags&&V.tags.length>0&&s.jsxs("div",{className:"p-3 bg-[#162840] rounded-lg",children:[s.jsx("p",{className:"text-gray-500 text-xs mb-2",children:"神射手标签"}),s.jsx("div",{className:"flex flex-wrap gap-2",children:V.tags.map((ge,Ne)=>s.jsx(Ke,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/20",children:ge},Ne))})]}),V.last_active&&s.jsxs("div",{className:"text-sm text-gray-500",children:["最近活跃:",V.last_active]})]})]}),s.jsxs("div",{className:"p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsx(yi,{className:"w-4 h-4 text-purple-400"}),s.jsx("span",{className:"text-white font-medium",children:"推送用户数据到神射手"})]}),s.jsx("p",{className:"text-gray-500 text-xs",children:"将本用户信息(手机号、昵称、标签等)同步至神射手,自动完善用户画像"})]}),s.jsx(ne,{onClick:Kn,disabled:Dt||!a.phone,variant:"outline",className:"border-purple-500/40 text-purple-400 hover:bg-purple-500/10 bg-transparent shrink-0 ml-4",children:Dt?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-1 animate-spin"})," 推送中"]}):s.jsxs(s.Fragment,{children:[s.jsx(yi,{className:"w-4 h-4 mr-1"})," 推送"]})})]}),!a.phone&&s.jsx("p",{className:"text-yellow-500/70 text-xs",children:"⚠ 用户未绑定手机号,无法推送"}),it&&s.jsx("div",{className:"mt-3 p-3 bg-[#162840] rounded-lg text-sm",children:it.error?s.jsx("p",{className:"text-red-400",children:String(it.error)}):s.jsxs("div",{className:"space-y-1",children:[s.jsxs("p",{className:"text-green-400 flex items-center gap-1",children:[s.jsx(Dg,{className:"w-4 h-4"})," 推送成功"]}),it.enriched!==void 0&&s.jsxs("p",{className:"text-gray-400",children:["自动补全标签数:",String(it.new_tags_added??0)]})]})})]})]})]}),s.jsxs("div",{className:"flex justify-end gap-2 pt-3 border-t border-gray-700 mt-3 shrink-0",children:[s.jsxs(ne,{variant:"outline",onClick:e,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"关闭"]}),s.jsxs(ne,{onClick:ft,disabled:v,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),v?"保存中...":"保存修改"]})]})]}):s.jsx("div",{className:"text-center py-12 text-gray-500",children:"用户不存在"})]})}):null}function Fu(t){if(!t)return"";const e=t.replace(/\s+/g,"");return e.length<7?e:`${e.slice(0,3)}****${e.slice(-4)}`}function bP(){const t=Di(),[e,n]=b.useState(!0),[r,a]=b.useState(!0),[i,o]=b.useState(!0),[c,u]=b.useState([]),[h,f]=b.useState([]),[m,g]=b.useState(0),[y,v]=b.useState(0),[w,N]=b.useState(0),[k,C]=b.useState(0),[E,A]=b.useState(0),[D,H]=b.useState(null),[_,P]=b.useState(null),[L,$]=b.useState(!1),[ee,K]=b.useState("today"),[ue,me]=b.useState(null),[R,O]=b.useState(!1),F=q=>{const V=q;if((V==null?void 0:V.status)===401)H("登录已过期,请重新登录");else{if((V==null?void 0:V.name)==="AbortError")return;H("加载失败,请检查网络或联系管理员")}};async function I(q){const V=q?{signal:q}:void 0;n(!0),H(null);try{const X=await De("/api/admin/dashboard/stats",V);X!=null&&X.success&&(g(X.totalUsers??0),v(X.paidOrderCount??0),N(X.totalRevenue??0),C(X.conversionRate??0))}catch(X){if((X==null?void 0:X.name)!=="AbortError"){console.error("stats 失败,尝试 overview 降级",X);try{const ae=await De("/api/admin/dashboard/overview",V);ae!=null&&ae.success&&(g(ae.totalUsers??0),v(ae.paidOrderCount??0),N(ae.totalRevenue??0),C(ae.conversionRate??0))}catch(ae){F(ae)}}}finally{n(!1)}try{const X=await De("/api/admin/balance/summary",V);X!=null&&X.success&&X.data&&A(X.data.totalGifted??0)}catch{}a(!0),o(!0);const ce=async()=>{try{const X=await De("/api/admin/dashboard/recent-orders",V);if(X!=null&&X.success&&X.recentOrders)f(X.recentOrders);else throw new Error("no data")}catch(X){if((X==null?void 0:X.name)!=="AbortError")try{const ae=await De("/api/admin/orders?page=1&pageSize=20&status=paid",V),je=((ae==null?void 0:ae.orders)??[]).filter(_e=>["paid","completed","success"].includes(_e.status||""));f(je.slice(0,5))}catch{f([])}}finally{a(!1)}},Y=async()=>{try{const X=await De("/api/admin/dashboard/new-users",V);if(X!=null&&X.success&&X.newUsers)u(X.newUsers);else throw new Error("no data")}catch(X){if((X==null?void 0:X.name)!=="AbortError")try{const ae=await De("/api/db/users?page=1&pageSize=10",V);u((ae==null?void 0:ae.users)??[])}catch{u([])}}finally{o(!1)}};await Promise.all([ce(),Y()])}async function se(q){const V=q||ee;O(!0);try{const ce=await De(`/api/admin/track/stats?period=${V}`);ce!=null&&ce.success&&me({total:ce.total??0,byModule:ce.byModule??{}})}catch{me(null)}finally{O(!1)}}b.useEffect(()=>{const q=new AbortController;I(q.signal),se();const V=setInterval(()=>{I(),se()},3e4);return()=>{q.abort(),clearInterval(V)}},[]);const J=m,z=q=>{const V=q.productType||"",ce=q.description||"";if(ce){if(V==="section"&&ce.includes("章节")){if(ce.includes("-")){const Y=ce.split("-");if(Y.length>=3)return{title:`第${Y[1]}章 第${Y[2]}节`,subtitle:"《一场Soul的创业实验》"}}return{title:ce,subtitle:"章节购买"}}return V==="fullbook"||ce.includes("全书")?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:V==="match"||ce.includes("伙伴")?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:ce,subtitle:V==="section"?"单章":V==="fullbook"?"全书":"其他"}}return V==="section"?{title:`章节 ${q.productId||""}`,subtitle:"单章购买"}:V==="fullbook"?{title:"《一场Soul的创业实验》",subtitle:"全书购买"}:V==="match"?{title:"找伙伴匹配",subtitle:"功能服务"}:{title:"未知商品",subtitle:V||"其他"}},U=[{title:"总用户数",value:e?null:J,sub:null,icon:Mn,color:"text-blue-400",bg:"bg-blue-500/20",link:"/users"},{title:"总收入",value:e?null:`¥${(w??0).toFixed(2)}`,sub:E>0?`含代付 ¥${E.toFixed(2)}`:null,icon:vo,color:"text-[#38bdac]",bg:"bg-[#38bdac]/20",link:"/orders"},{title:"订单数",value:e?null:y,sub:null,icon:Fg,color:"text-purple-400",bg:"bg-purple-500/20",link:"/orders"},{title:"转化率",value:e?null:`${k.toFixed(1)}%`,sub:null,icon:vo,color:"text-amber-400",bg:"bg-amber-500/20",link:"/users"}];return s.jsxs("div",{className:"p-8 w-full",children:[s.jsx("h1",{className:"text-2xl font-bold mb-8 text-white",children:"数据概览"}),D&&s.jsxs("div",{className:"mb-6 px-4 py-3 rounded-lg bg-amber-500/20 border border-amber-500/50 text-amber-200 text-sm flex items-center justify-between",children:[s.jsx("span",{children:D}),s.jsx("button",{type:"button",onClick:()=>I(),className:"text-amber-400 hover:text-amber-300 underline",children:"重试"})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6",children:U.map((q,V)=>s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl cursor-pointer hover:border-[#38bdac]/50 transition-colors group",onClick:()=>q.link&&t(q.link),children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsx(Ge,{className:"text-sm font-medium text-gray-400",children:q.title}),s.jsx("div",{className:`p-2 rounded-lg ${q.bg}`,children:s.jsx(q.icon,{className:`w-4 h-4 ${q.color}`})})]}),s.jsx(Ee,{children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("div",{className:"text-2xl font-bold text-white min-h-8 flex items-center",children:q.value!=null?q.value:s.jsxs("span",{className:"inline-flex items-center gap-2 text-gray-500",children:[s.jsx(Ue,{className:"w-4 h-4 animate-spin"}),"加载中"]})}),q.sub&&s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:q.sub})]}),s.jsx(El,{className:"w-5 h-5 text-gray-600 group-hover:text-[#38bdac] transition-colors"})]})})]},V))}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between",children:[s.jsx(Ge,{className:"text-white",children:"最近订单"}),s.jsxs("button",{type:"button",onClick:()=>I(),disabled:r||i,className:"text-xs text-gray-400 hover:text-[#38bdac] flex items-center gap-1 disabled:opacity-50",title:"刷新",children:[r||i?s.jsx(Ue,{className:"w-3.5 h-3.5 animate-spin"}):s.jsx(Ue,{className:"w-3.5 h-3.5"}),"刷新"]})]}),s.jsx(Ee,{children:s.jsx("div",{className:"space-y-3",children:r&&h.length===0?s.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-gray-500",children:[s.jsx(Ue,{className:"w-8 h-8 animate-spin mb-2"}),s.jsx("span",{className:"text-sm",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[h.slice(0,5).map(q=>{var ae,ye;const V=q.referrerId?c.find(je=>je.id===q.referrerId):void 0,ce=q.referralCode||(V==null?void 0:V.referralCode)||(V==null?void 0:V.nickname)||(q.referrerId?String(q.referrerId).slice(0,8):""),Y=z(q),X=q.userNickname||((ae=c.find(je=>je.id===q.userId))==null?void 0:ae.nickname)||Fu((ye=c.find(je=>je.id===q.userId))==null?void 0:ye.phone)||"匿名用户";return s.jsxs("div",{className:"flex items-start justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30 hover:border-[#38bdac]/30 transition-colors",children:[s.jsxs("div",{className:"flex items-start gap-3 flex-1",children:[q.userAvatar?s.jsx("img",{src:ts(q.userAvatar),alt:X,className:"w-9 h-9 rounded-full object-cover shrink-0 mt-0.5",onError:je=>{je.currentTarget.style.display="none";const _e=je.currentTarget.nextElementSibling;_e&&_e.classList.remove("hidden")}}):null,s.jsx("div",{className:`w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] shrink-0 mt-0.5 ${q.userAvatar?"hidden":""}`,children:X.charAt(0)}),s.jsxs("div",{className:"flex-1 min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-1",children:[s.jsx("button",{type:"button",onClick:()=>{q.userId&&(P(q.userId),$(!0))},className:"text-sm text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:X}),s.jsx("span",{className:"text-gray-600",children:"·"}),s.jsx("span",{className:"text-sm font-medium text-white truncate",title:Y.title,children:Y.title})]}),s.jsxs("div",{className:"flex items-center gap-2 text-xs text-gray-500",children:[Y.subtitle&&Y.subtitle!=="章节购买"&&s.jsx("span",{className:"px-1.5 py-0.5 bg-gray-700/50 rounded",children:Y.subtitle}),s.jsx("span",{children:new Date(q.createdAt||0).toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})})]}),ce&&s.jsxs("p",{className:"text-xs text-gray-600 mt-1",children:["推荐: ",ce]})]})]}),s.jsxs("div",{className:"text-right ml-4 shrink-0",children:[s.jsxs("p",{className:"text-sm font-bold text-[#38bdac]",children:["+¥",Number(q.amount).toFixed(2)]}),s.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:q.paymentMethod||"微信"})]})]},q.id)}),h.length===0&&!r&&s.jsxs("div",{className:"text-center py-12",children:[s.jsx(Fg,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),s.jsx("p",{className:"text-gray-500",children:"暂无订单数据"})]})]})})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"新注册用户"})}),s.jsx(Ee,{children:s.jsx("div",{className:"space-y-3",children:i&&c.length===0?s.jsxs("div",{className:"flex flex-col items-center justify-center py-12 text-gray-500",children:[s.jsx(Ue,{className:"w-8 h-8 animate-spin mb-2"}),s.jsx("span",{className:"text-sm",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[c.slice(0,5).map(q=>s.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg border border-gray-700/30",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:(q.nickname||Fu(q.phone)||"?").charAt(0)}),s.jsxs("div",{children:[s.jsx("button",{type:"button",onClick:()=>{P(q.id),$(!0)},className:"text-sm font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:q.nickname||Fu(q.phone)||"匿名用户"}),s.jsx("p",{className:"text-xs text-gray-500",children:Fu(q.phone)||"未填写手机号"})]})]}),s.jsx("p",{className:"text-xs text-gray-400",children:q.createdAt?new Date(q.createdAt).toLocaleDateString():"-"})]},q.id)),c.length===0&&!i&&s.jsx("p",{className:"text-gray-500 text-center py-8",children:"暂无用户数据"})]})})})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mt-8",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between",children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Og,{className:"w-5 h-5 text-[#38bdac]"}),"分类标签点击统计"]}),s.jsx("div",{className:"flex items-center gap-2",children:["today","week","month","all"].map(q=>s.jsx("button",{type:"button",onClick:()=>{K(q),se(q)},className:`px-3 py-1 text-xs rounded-full transition-colors ${ee===q?"bg-[#38bdac] text-white":"bg-gray-700/50 text-gray-400 hover:bg-gray-700"}`,children:{today:"今日",week:"本周",month:"本月",all:"全部"}[q]},q))})]}),s.jsx(Ee,{children:R&&!ue?s.jsxs("div",{className:"flex items-center justify-center py-12 text-gray-500",children:[s.jsx(Ue,{className:"w-6 h-6 animate-spin mr-2"}),s.jsx("span",{children:"加载中..."})]}):ue&&Object.keys(ue.byModule).length>0?s.jsxs("div",{className:"space-y-6",children:[s.jsxs("p",{className:"text-sm text-gray-400",children:["总点击 ",s.jsx("span",{className:"text-white font-bold text-lg",children:ue.total})," 次"]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:Object.entries(ue.byModule).sort((q,V)=>V[1].reduce((ce,Y)=>ce+Y.count,0)-q[1].reduce((ce,Y)=>ce+Y.count,0)).map(([q,V])=>{const ce=V.reduce((X,ae)=>X+ae.count,0),Y={home:"首页",chapters:"目录",read:"阅读",my:"我的",vip:"VIP",wallet:"钱包",match:"找伙伴",referral:"推广",search:"搜索",settings:"设置",about:"关于",other:"其他"};return s.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("span",{className:"text-sm font-medium text-[#38bdac]",children:Y[q]||q}),s.jsxs("span",{className:"text-xs text-gray-500",children:[ce," 次"]})]}),s.jsx("div",{className:"space-y-2",children:V.sort((X,ae)=>ae.count-X.count).slice(0,8).map((X,ae)=>s.jsxs("div",{className:"flex items-center justify-between text-xs",children:[s.jsx("span",{className:"text-gray-300 truncate mr-2",title:`${X.action}: ${X.target}`,children:X.target||X.action}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.jsx("div",{className:"w-16 h-1.5 bg-gray-700 rounded-full overflow-hidden",children:s.jsx("div",{className:"h-full bg-[#38bdac] rounded-full",style:{width:`${ce>0?X.count/ce*100:0}%`}})}),s.jsx("span",{className:"text-gray-400 w-8 text-right",children:X.count})]})]},ae))})]},q)})})]}):s.jsxs("div",{className:"text-center py-12",children:[s.jsx(Og,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),s.jsx("p",{className:"text-gray-500",children:"暂无点击数据"}),s.jsx("p",{className:"text-gray-600 text-xs mt-1",children:"小程序端接入埋点后,数据将在此实时展示"})]})})]}),s.jsx(l0,{open:L,onClose:()=>{$(!1),P(null)},userId:_,onUserUpdated:()=>I()})]})}const pr=b.forwardRef(({className:t,...e},n)=>s.jsx("div",{className:"relative w-full overflow-auto",children:s.jsx("table",{ref:n,className:Ct("w-full caption-bottom text-sm",t),...e})}));pr.displayName="Table";const mr=b.forwardRef(({className:t,...e},n)=>s.jsx("thead",{ref:n,className:Ct("[&_tr]:border-b",t),...e}));mr.displayName="TableHeader";const gr=b.forwardRef(({className:t,...e},n)=>s.jsx("tbody",{ref:n,className:Ct("[&_tr:last-child]:border-0",t),...e}));gr.displayName="TableBody";const lt=b.forwardRef(({className:t,...e},n)=>s.jsx("tr",{ref:n,className:Ct("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",t),...e}));lt.displayName="TableRow";const Te=b.forwardRef(({className:t,...e},n)=>s.jsx("th",{ref:n,className:Ct("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",t),...e}));Te.displayName="TableHead";const be=b.forwardRef(({className:t,...e},n)=>s.jsx("td",{ref:n,className:Ct("p-4 align-middle [&:has([role=checkbox])]:pr-0",t),...e}));be.displayName="TableCell";function c0(t,e){const[n,r]=b.useState(t);return b.useEffect(()=>{const a=setTimeout(()=>r(t),e);return()=>clearTimeout(a)},[t,e]),n}function ws({page:t,totalPages:e,total:n,pageSize:r,onPageChange:a,onPageSizeChange:i,pageSizeOptions:o=[10,20,50,100]}){return e<=1&&!i?null:s.jsxs("div",{className:"flex items-center justify-between gap-4 py-4 px-5 border-t border-gray-700/50",children:[s.jsxs("div",{className:"flex items-center gap-2 text-sm text-gray-400",children:[s.jsxs("span",{children:["共 ",n," 条"]}),i&&s.jsx("select",{value:r,onChange:c=>i(Number(c.target.value)),className:"bg-[#0f2137] border border-gray-600 rounded px-2 py-1 text-gray-300 text-sm",children:o.map(c=>s.jsxs("option",{value:c,children:[c," 条/页"]},c))})]}),e>1&&s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("button",{type:"button",onClick:()=>a(1),disabled:t<=1,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"首页"}),s.jsx("button",{type:"button",onClick:()=>a(t-1),disabled:t<=1,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"上一页"}),s.jsxs("span",{className:"px-3 py-1 text-gray-400 text-sm",children:[t," / ",e]}),s.jsx("button",{type:"button",onClick:()=>a(t+1),disabled:t>=e,className:"px-3 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"下一页"}),s.jsx("button",{type:"button",onClick:()=>a(e),disabled:t>=e,className:"px-2 py-1 rounded border border-gray-600 text-gray-400 hover:bg-gray-700/50 disabled:opacity-40 text-sm",children:"末页"})]})]})}function vP(){const[t,e]=b.useState([]),[n,r]=b.useState([]),[a,i]=b.useState(0),[o,c]=b.useState(0),[u,h]=b.useState(0),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,w]=b.useState(""),N=c0(v,300),[k,C]=b.useState("all"),[E,A]=b.useState(!0),[D,H]=b.useState(null),[_,P]=b.useState(null),[L,$]=b.useState(""),[ee,K]=b.useState(!1);async function ue(){A(!0),H(null);try{const J=k==="all"?"":k==="completed"?"completed":k,z=new URLSearchParams({page:String(f),pageSize:String(g),...J&&{status:J},...N&&{search:N}}),[U,q]=await Promise.all([De(`/api/admin/orders?${z}`),De("/api/db/users?page=1&pageSize=500")]);U!=null&&U.success&&(e(U.orders||[]),i(U.total??0),c(U.totalRevenue??0),h(U.todayRevenue??0)),q!=null&&q.success&&q.users&&r(q.users)}catch(J){console.error("加载订单失败",J),H("加载订单失败,请检查网络后重试")}finally{A(!1)}}b.useEffect(()=>{m(1)},[N,k]),b.useEffect(()=>{ue()},[f,g,N,k]);const me=J=>{var z;return J.userNickname||((z=n.find(U=>U.id===J.userId))==null?void 0:z.nickname)||"匿名用户"},R=J=>{var z;return((z=n.find(U=>U.id===J))==null?void 0:z.phone)||"-"},O=J=>{const z=J.productType||J.type||"",U=J.description||"";if(U){if(z==="section"&&U.includes("章节")){if(U.includes("-")){const q=U.split("-");if(q.length>=3)return{name:`第${q[1]}章 第${q[2]}节`,type:"《一场Soul的创业实验》"}}return{name:U,type:"章节购买"}}return z==="fullbook"||U.includes("全书")?{name:"《一场Soul的创业实验》",type:"全书购买"}:z==="vip"||U.includes("VIP")?{name:"VIP年度会员",type:"VIP"}:z==="match"||U.includes("伙伴")?{name:"找伙伴匹配",type:"功能服务"}:{name:U,type:"其他"}}return z==="section"?{name:`章节 ${J.productId||J.sectionId||""}`,type:"单章"}:z==="fullbook"?{name:"《一场Soul的创业实验》",type:"全书"}:z==="vip"?{name:"VIP年度会员",type:"VIP"}:z==="match"?{name:"找伙伴匹配",type:"功能"}:{name:"未知商品",type:z||"其他"}},F=Math.ceil(a/g)||1;async function I(){var J;if(!(!(_!=null&&_.orderSn)&&!(_!=null&&_.id))){K(!0),H(null);try{const z=await Tt("/api/admin/orders/refund",{orderSn:_.orderSn||_.id,reason:L||void 0});z!=null&&z.success?(P(null),$(""),ue()):H((z==null?void 0:z.error)||"退款失败")}catch(z){const U=z;H(((J=U==null?void 0:U.data)==null?void 0:J.error)||"退款失败,请检查网络后重试")}finally{K(!1)}}}function se(){if(t.length===0){oe.info("暂无数据可导出");return}const J=["订单号","用户","手机号","商品","金额","支付方式","状态","退款原因","分销佣金","下单时间"],z=t.map(Y=>{const X=O(Y);return[Y.orderSn||Y.id||"",me(Y),R(Y.userId),X.name,Number(Y.amount||0).toFixed(2),Y.paymentMethod==="wechat"?"微信支付":Y.paymentMethod==="alipay"?"支付宝":Y.paymentMethod||"微信支付",Y.status==="refunded"?"已退款":Y.status==="paid"||Y.status==="completed"?"已完成":Y.status==="pending"||Y.status==="created"?"待支付":"已失败",Y.status==="refunded"&&Y.refundReason?Y.refundReason:"-",Y.referrerEarnings?Number(Y.referrerEarnings).toFixed(2):"-",Y.createdAt?new Date(Y.createdAt).toLocaleString("zh-CN"):""].join(",")}),U="\uFEFF"+[J.join(","),...z].join(` +`),q=new Blob([U],{type:"text/csv;charset=utf-8"}),V=URL.createObjectURL(q),ce=document.createElement("a");ce.href=V,ce.download=`订单列表_${new Date().toISOString().slice(0,10)}.csv`,ce.click(),URL.revokeObjectURL(V)}return s.jsxs("div",{className:"p-8 w-full",children:[D&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:D}),s.jsx("button",{type:"button",onClick:()=>H(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"订单管理"}),s.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",t.length," 笔订单"]})]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsxs(ne,{variant:"outline",onClick:ue,disabled:E,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${E?"animate-spin":""}`}),"刷新"]}),s.jsxs("div",{className:"flex items-center gap-2 text-sm",children:[s.jsx("span",{className:"text-gray-400",children:"总收入:"}),s.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",o.toFixed(2)]}),s.jsx("span",{className:"text-gray-600",children:"|"}),s.jsx("span",{className:"text-gray-400",children:"今日:"}),s.jsxs("span",{className:"text-[#FFD700] font-bold",children:["¥",u.toFixed(2)]})]})]})]}),s.jsxs("div",{className:"flex items-center gap-4 mb-6",children:[s.jsxs("div",{className:"relative flex-1 max-w-md",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),s.jsx(le,{type:"text",placeholder:"搜索订单号/用户/章节...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500",value:v,onChange:J=>w(J.target.value)})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Zw,{className:"w-4 h-4 text-gray-400"}),s.jsxs("select",{value:k,onChange:J=>C(J.target.value),className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[s.jsx("option",{value:"all",children:"全部状态"}),s.jsx("option",{value:"completed",children:"已完成"}),s.jsx("option",{value:"pending",children:"待支付"}),s.jsx("option",{value:"created",children:"已创建"}),s.jsx("option",{value:"failed",children:"已失败"}),s.jsx("option",{value:"refunded",children:"已退款"})]})]}),s.jsxs(ne,{variant:"outline",onClick:se,disabled:t.length===0,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(xM,{className:"w-4 h-4 mr-2"}),"导出 CSV"]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ee,{className:"p-0",children:E?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs("div",{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"订单号"}),s.jsx(Te,{className:"text-gray-400",children:"用户"}),s.jsx(Te,{className:"text-gray-400",children:"商品"}),s.jsx(Te,{className:"text-gray-400",children:"金额"}),s.jsx(Te,{className:"text-gray-400",children:"支付方式"}),s.jsx(Te,{className:"text-gray-400",children:"状态"}),s.jsx(Te,{className:"text-gray-400",children:"退款原因"}),s.jsx(Te,{className:"text-gray-400",children:"分销佣金"}),s.jsx(Te,{className:"text-gray-400",children:"下单时间"}),s.jsx(Te,{className:"text-gray-400",children:"操作"})]})}),s.jsxs(gr,{children:[t.map(J=>{const z=O(J);return s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsxs(be,{className:"font-mono text-xs text-gray-400",children:[(J.orderSn||J.id||"").slice(0,12),"..."]}),s.jsx(be,{children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white text-sm",children:me(J)}),s.jsx("p",{className:"text-gray-500 text-xs",children:R(J.userId)})]})}),s.jsx(be,{children:s.jsxs("div",{children:[s.jsxs("p",{className:"text-white text-sm flex items-center gap-2",children:[z.name,(J.productType||J.type)==="vip"&&s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0 text-xs",children:"VIP"})]}),s.jsx("p",{className:"text-gray-500 text-xs",children:z.type})]})}),s.jsxs(be,{className:"text-[#38bdac] font-bold",children:["¥",Number(J.amount||0).toFixed(2)]}),s.jsx(be,{className:"text-gray-300",children:J.paymentMethod==="wechat"?"微信支付":J.paymentMethod==="alipay"?"支付宝":J.paymentMethod||"微信支付"}),s.jsx(be,{children:J.status==="refunded"?s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 hover:bg-gray-500/20 border-0",children:"已退款"}):J.status==="paid"||J.status==="completed"?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"}):J.status==="pending"||J.status==="created"?s.jsx(Ke,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:"待支付"}):s.jsx(Ke,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已失败"})}),s.jsx(be,{className:"text-gray-400 text-sm max-w-[120px] truncate",title:J.refundReason,children:J.status==="refunded"&&J.refundReason?J.refundReason:"-"}),s.jsx(be,{className:"text-[#FFD700]",children:J.referrerEarnings?`¥${Number(J.referrerEarnings).toFixed(2)}`:"-"}),s.jsx(be,{className:"text-gray-400 text-sm",children:new Date(J.createdAt).toLocaleString("zh-CN")}),s.jsx(be,{children:(J.status==="paid"||J.status==="completed")&&s.jsxs(ne,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{P(J),$("")},children:[s.jsx(rj,{className:"w-3 h-3 mr-1"}),"退款"]})})]},J.id)}),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:10,className:"text-center py-12 text-gray-500",children:"暂无订单数据"})})]})]}),s.jsx(ws,{page:f,totalPages:F,total:a,pageSize:g,onPageChange:m,onPageSizeChange:J=>{y(J),m(1)}})]})})}),s.jsx(Ft,{open:!!_,onOpenChange:J=>!J&&P(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"订单退款"})}),_&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",_.orderSn||_.id]}),s.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",Number(_.amount||0).toFixed(2)]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),s.jsx("div",{className:"form-input",children:s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:L,onChange:J=>$(J.target.value)})})]}),s.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>P(null),disabled:ee,children:"取消"}),s.jsx(ne,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:I,disabled:ee,children:ee?"退款中...":"确认退款"})]})]})})]})}const Yl=b.forwardRef(({className:t,...e},n)=>s.jsx("textarea",{className:Ct("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:n,...e}));Yl.displayName="Textarea";const Oc=[{id:"register",label:"注册/登录",icon:"👤",color:"bg-blue-500/20 border-blue-500/40 text-blue-400",desc:"微信授权登录或手机号注册"},{id:"browse",label:"浏览章节",icon:"📖",color:"bg-purple-500/20 border-purple-500/40 text-purple-400",desc:"点击免费/付费章节预览"},{id:"bind_phone",label:"绑定手机",icon:"📱",color:"bg-cyan-500/20 border-cyan-500/40 text-cyan-400",desc:"触发付费章节后绑定手机"},{id:"first_pay",label:"首次付款",icon:"💳",color:"bg-green-500/20 border-green-500/40 text-green-400",desc:"购买单章或全书"},{id:"fill_profile",label:"完善资料",icon:"✍️",color:"bg-yellow-500/20 border-yellow-500/40 text-yellow-400",desc:"填写头像、MBTI、行业等"},{id:"match",label:"派对房匹配",icon:"🤝",color:"bg-orange-500/20 border-orange-500/40 text-orange-400",desc:"参与 Soul 派对房"},{id:"vip",label:"升级 VIP",icon:"👑",color:"bg-amber-500/20 border-amber-500/40 text-amber-400",desc:"付款 ¥1980 购买全书"},{id:"distribution",label:"开启分销",icon:"🔗",color:"bg-[#38bdac]/20 border-[#38bdac]/40 text-[#38bdac]",desc:"生成推广码并推荐好友"}];function NP(){var Fa,na,Rs,Ps,Os,Ds;const[t,e]=qw(),n=t.get("pool"),[r,a]=b.useState([]),[i,o]=b.useState(0),[c,u]=b.useState(1),[h,f]=b.useState(10),[m,g]=b.useState(""),y=c0(m,300),v=n==="vip"?"vip":n==="complete"?"complete":"all",[w,N]=b.useState(v),[k,C]=b.useState(!0),[E,A]=b.useState(!1),[D,H]=b.useState(null),[_,P]=b.useState(!1),[L,$]=b.useState("desc");b.useEffect(()=>{n==="vip"?N("vip"):n==="complete"?N("complete"):n==="all"&&N("all")},[n]);const[ee,K]=b.useState(!1),[ue,me]=b.useState(null),[R,O]=b.useState(!1),[F,I]=b.useState(!1),[se,J]=b.useState({referrals:[],stats:{}}),[z,U]=b.useState(!1),[q,V]=b.useState(null),[ce,Y]=b.useState(!1),[X,ae]=b.useState(null),[ye,je]=b.useState({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),[_e,He]=b.useState([]),[gt,Dt]=b.useState(!1),[jn,it]=b.useState(!1),[Mt,re]=b.useState(null),[Pe,et]=b.useState({title:"",description:"",trigger:"",sort:0,enabled:!0}),[xt,ft]=b.useState([]),[pt,wt]=b.useState(!1),[Qt,Lt]=b.useState(null),[An,At]=b.useState(null),[Kn,ns]=b.useState({}),[or,ge]=b.useState(!1),[Ne,qn]=b.useState(null),[Es,Ts]=b.useState([]),[Pa,br]=b.useState(!1),[Vi,vr]=b.useState(!1);async function lr(B=!1){var Ae;C(!0),B&&A(!0),H(null);try{if(_){const Ye=new URLSearchParams({search:y,limit:String(h*5)}),ct=await De(`/api/db/users/rfm?${Ye}`);if(ct!=null&&ct.success){let xn=ct.users||[];L==="asc"&&(xn=[...xn].reverse());const kn=(c-1)*h;a(xn.slice(kn,kn+h)),o(((Ae=ct.users)==null?void 0:Ae.length)??0),xn.length===0&&(P(!1),H("暂无订单数据,RFM 排序需要用户有购买记录后才能生效"))}else P(!1),H((ct==null?void 0:ct.error)||"RFM 加载失败,已切回普通模式")}else{const Ye=new URLSearchParams({page:String(c),pageSize:String(h),search:y,...w==="vip"&&{vip:"true"},...w==="complete"&&{pool:"complete"}}),ct=await De(`/api/db/users?${Ye}`);ct!=null&&ct.success?(a(ct.users||[]),o(ct.total??0)):H((ct==null?void 0:ct.error)||"加载失败")}}catch(Ye){console.error("Load users error:",Ye),H("网络错误")}finally{C(!1),B&&A(!1)}}b.useEffect(()=>{u(1)},[y,w,_]),b.useEffect(()=>{lr()},[c,h,y,w,_,L]);const Ms=Math.ceil(i/h)||1,Oa=()=>{_?L==="desc"?$("asc"):(P(!1),$("desc")):(P(!0),$("desc"))},Hi=B=>({S:"bg-amber-500/20 text-amber-400",A:"bg-green-500/20 text-green-400",B:"bg-blue-500/20 text-blue-400",C:"bg-gray-500/20 text-gray-400",D:"bg-red-500/20 text-red-400"})[B||""]||"bg-gray-500/20 text-gray-400";async function Xs(B){if(confirm("确定要删除这个用户吗?"))try{const Ae=await wa(`/api/db/users?id=${encodeURIComponent(B)}`);Ae!=null&&Ae.success?lr():oe.error("删除失败: "+((Ae==null?void 0:Ae.error)||""))}catch{oe.error("删除失败")}}const vt=B=>{me(B),je({phone:B.phone||"",nickname:B.nickname||"",password:"",isAdmin:!!(B.isAdmin??!1),hasFullBook:!!(B.hasFullBook??!1)}),K(!0)},Gn=()=>{me(null),je({phone:"",nickname:"",password:"",isAdmin:!1,hasFullBook:!1}),K(!0)};async function Da(){if(!ye.phone||!ye.nickname){oe.error("请填写手机号和昵称");return}O(!0);try{if(ue){const B=await Tt("/api/db/users",{id:ue.id,nickname:ye.nickname,isAdmin:ye.isAdmin,hasFullBook:ye.hasFullBook,...ye.password&&{password:ye.password}});if(!(B!=null&&B.success)){oe.error("更新失败: "+((B==null?void 0:B.error)||""));return}}else{const B=await Nt("/api/db/users",{phone:ye.phone,nickname:ye.nickname,password:ye.password,isAdmin:ye.isAdmin});if(!(B!=null&&B.success)){oe.error("创建失败: "+((B==null?void 0:B.error)||""));return}}K(!1),lr()}catch{oe.error("保存失败")}finally{O(!1)}}async function As(B){V(B),I(!0),U(!0);try{const Ae=await De(`/api/db/users/referrals?userId=${encodeURIComponent(B.id)}`);Ae!=null&&Ae.success?J({referrals:Ae.referrals||[],stats:Ae.stats||{}}):J({referrals:[],stats:{}})}catch{J({referrals:[],stats:{}})}finally{U(!1)}}const Nr=b.useCallback(async()=>{Dt(!0);try{const B=await De("/api/db/user-rules");B!=null&&B.success&&He(B.rules||[])}catch{}finally{Dt(!1)}},[]);async function Wi(){if(!Pe.title){oe.error("请填写规则标题");return}O(!0);try{if(Mt){const B=await Tt("/api/db/user-rules",{id:Mt.id,...Pe});if(!(B!=null&&B.success)){oe.error("更新失败: "+((B==null?void 0:B.error)||"未知错误"));return}oe.success("规则已更新")}else{const B=await Nt("/api/db/user-rules",Pe);if(!(B!=null&&B.success)){oe.error("创建失败: "+((B==null?void 0:B.error)||"未知错误"));return}oe.success("规则已创建")}it(!1),Nr()}catch(B){const Ae=B;(Ae==null?void 0:Ae.status)===401?oe.error("登录已过期,请重新登录"):(Ae==null?void 0:Ae.status)===404?oe.error("接口不存在,请确认后端已部署最新版本"):oe.error("保存失败: "+((Ae==null?void 0:Ae.message)||"网络错误"))}finally{O(!1)}}async function Zs(B){if(confirm("确定删除?"))try{const Ae=await wa(`/api/db/user-rules?id=${B}`);Ae!=null&&Ae.success&&Nr()}catch{}}async function nc(B){try{await Tt("/api/db/user-rules",{id:B.id,enabled:!B.enabled}),Nr()}catch{}}const Jn=b.useCallback(async()=>{wt(!0);try{const B=await De("/api/db/vip-members?limit=500");if(B!=null&&B.success&&B.data){const Ae=[...B.data].map((Ye,ct)=>({...Ye,vipSort:typeof Ye.vipSort=="number"?Ye.vipSort:ct+1}));Ae.sort((Ye,ct)=>(Ye.vipSort??999999)-(ct.vipSort??999999)),ft(Ae)}else B&&B.error&&oe.error(B.error)}catch{oe.error("加载超级个体列表失败")}finally{wt(!1)}},[]),[ea,rs]=b.useState(!1),[Ar,La]=b.useState(null),[ta,Ui]=b.useState(""),[cr,Ki]=b.useState(!1),ss=["创业者","资源整合者","技术达人","投资人","产品经理","流量操盘手"],rc=B=>{La(B),Ui(B.vipRole||""),rs(!0)},Vo=async B=>{const Ae=B.trim();if(Ar){if(!Ae){oe.error("请选择或输入标签");return}Ki(!0);try{const Ye=await Tt("/api/db/users",{id:Ar.id,vipRole:Ae});if(!(Ye!=null&&Ye.success)){oe.error((Ye==null?void 0:Ye.error)||"更新超级个体标签失败");return}oe.success("已更新超级个体标签"),rs(!1),La(null),await Jn()}catch{oe.error("更新超级个体标签失败")}finally{Ki(!1)}}},[qi,un]=b.useState(!1),[as,Is]=b.useState(null),[_a,It]=b.useState(""),[zn,Vr]=b.useState(!1),Ho=B=>{Is(B),It(B.vipSort!=null?String(B.vipSort):""),un(!0)},za=async()=>{if(!as)return;const B=Number(_a);if(!Number.isFinite(B)){oe.error("请输入有效的数字序号");return}Vr(!0);try{const Ae=await Tt("/api/db/users",{id:as.id,vipSort:B});if(!(Ae!=null&&Ae.success)){oe.error((Ae==null?void 0:Ae.error)||"更新排序序号失败");return}oe.success("已更新排序序号"),un(!1),Is(null),await Jn()}catch{oe.error("更新排序序号失败")}finally{Vr(!1)}},sc=(B,Ae)=>{B.dataTransfer.effectAllowed="move",B.dataTransfer.setData("text/plain",Ae),Lt(Ae)},Gi=(B,Ae)=>{B.preventDefault(),An!==Ae&&At(Ae)},$a=()=>{Lt(null),At(null)},dr=async(B,Ae)=>{B.preventDefault();const Ye=B.dataTransfer.getData("text/plain")||Qt;if(Lt(null),At(null),!Ye||Ye===Ae)return;const ct=xt.find(Xt=>Xt.id===Ye),xn=xt.find(Xt=>Xt.id===Ae);if(!ct||!xn)return;const kn=ct.vipSort??xt.findIndex(Xt=>Xt.id===Ye)+1,Uo=xn.vipSort??xt.findIndex(Xt=>Xt.id===Ae)+1;ft(Xt=>{const st=[...Xt],Ba=st.findIndex(ra=>ra.id===Ye),Va=st.findIndex(ra=>ra.id===Ae);if(Ba===-1||Va===-1)return Xt;const ls=[...st],[Ko,qo]=[ls[Ba],ls[Va]];return ls[Ba]={...qo,vipSort:kn},ls[Va]={...Ko,vipSort:Uo},ls});try{const[Xt,st]=await Promise.all([Tt("/api/db/users",{id:Ye,vipSort:Uo}),Tt("/api/db/users",{id:Ae,vipSort:kn})]);if(!(Xt!=null&&Xt.success)||!(st!=null&&st.success)){oe.error((Xt==null?void 0:Xt.error)||(st==null?void 0:st.error)||"更新排序失败"),await Jn();return}oe.success("已更新排序"),await Jn()}catch{oe.error("更新排序失败"),await Jn()}},is=b.useCallback(async()=>{ge(!0);try{const B=await De("/api/db/users/journey-stats");B!=null&&B.success&&B.stats&&ns(B.stats)}catch{}finally{ge(!1)}},[]);async function $n(B){qn(B),br(!0);try{const Ae=await De(`/api/db/users/journey-users?stage=${encodeURIComponent(B)}&limit=20`);Ae!=null&&Ae.success&&Ae.users?Ts(Ae.users):Ts([])}catch{Ts([])}finally{br(!1)}}async function Wo(B){if(!B.hasFullBook){oe.error("仅 VIP 用户可置顶到超级个体");return}if(confirm("确定将该用户置顶到首页超级个体位?(最多4位)"))try{const Ae=await Tt("/api/db/users",{id:B.id,vipSort:1});if(!(Ae!=null&&Ae.success)){oe.error((Ae==null?void 0:Ae.error)||"置顶失败");return}oe.success("已置顶到超级个体"),lr()}catch{oe.error("置顶失败")}}return s.jsxs("div",{className:"p-8 w-full",children:[D&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:D}),s.jsx("button",{type:"button",onClick:()=>H(null),children:"×"})]}),s.jsx("div",{className:"flex justify-between items-center mb-6",children:s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"用户管理"}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>vr(!0),className:"text-gray-500 hover:text-[#38bdac] h-8 w-8 p-0",title:"RFM 算法说明",children:s.jsx($c,{className:"w-4 h-4"})})]}),s.jsxs("p",{className:"text-gray-400 mt-1 text-sm",children:["共 ",i," 位注册用户",_&&" · RFM 排序中"]})]})}),s.jsxs(Ed,{defaultValue:"users",className:"w-full",children:[s.jsxs(Jl,{className:"bg-[#0a1628] border border-gray-700/50 p-1 mb-6 flex-wrap h-auto gap-1",children:[s.jsxs(tn,{value:"users",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",children:[s.jsx(Mn,{className:"w-4 h-4"})," 用户列表"]}),s.jsxs(tn,{value:"journey",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:is,children:[s.jsx(Tl,{className:"w-4 h-4"})," 用户旅程总览"]}),s.jsxs(tn,{value:"rules",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:Nr,children:[s.jsx(bo,{className:"w-4 h-4"})," 规则配置"]}),s.jsxs(tn,{value:"vip-roles",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] flex items-center gap-1.5",onClick:Jn,children:[s.jsx(Al,{className:"w-4 h-4"})," 超级个体列表"]})]}),s.jsxs(nn,{value:"users",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4 justify-end flex-wrap",children:[s.jsxs(ne,{variant:"outline",onClick:()=>lr(!0),disabled:E,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${E?"animate-spin":""}`})," 刷新"]}),s.jsxs("select",{value:w,onChange:B=>{const Ae=B.target.value;N(Ae),u(1),n&&(t.delete("pool"),e(t))},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",disabled:_,children:[s.jsx("option",{value:"all",children:"全部用户"}),s.jsx("option",{value:"vip",children:"VIP会员(超级个体)"}),s.jsx("option",{value:"complete",children:"完善资料用户"})]}),s.jsxs("div",{className:"relative",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-500"}),s.jsx(le,{type:"text",placeholder:"搜索用户...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500 w-56",value:m,onChange:B=>g(B.target.value)})]}),s.jsxs(ne,{onClick:Gn,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(Vg,{className:"w-4 h-4 mr-2"})," 添加用户"]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ee,{className:"p-0",children:k?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs("div",{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"用户信息"}),s.jsx(Te,{className:"text-gray-400",children:"绑定信息"}),s.jsx(Te,{className:"text-gray-400",children:"购买状态"}),s.jsx(Te,{className:"text-gray-400",children:"分销收益"}),s.jsx(Te,{className:"text-gray-400",children:"余额/提现"}),s.jsxs(Te,{className:"text-gray-400 cursor-pointer select-none",onClick:Oa,children:[s.jsxs("div",{className:"flex items-center gap-1 group",children:[s.jsx(vo,{className:"w-3.5 h-3.5"}),s.jsx("span",{children:"RFM分值"}),_?L==="desc"?s.jsx(od,{className:"w-3.5 h-3.5 text-[#38bdac]"}):s.jsx(Jw,{className:"w-3.5 h-3.5 text-[#38bdac]"}):s.jsx(Rm,{className:"w-3.5 h-3.5 text-gray-600 group-hover:text-gray-400"})]}),_&&s.jsx("div",{className:"text-[10px] text-[#38bdac] font-normal mt-0.5",children:"点击切换方向/关闭"})]}),s.jsx(Te,{className:"text-gray-400",children:"注册时间"}),s.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsxs(gr,{children:[r.map(B=>{var Ae,Ye,ct;return s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-10 h-10 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac]",children:B.avatar?s.jsx("img",{src:ts(B.avatar),className:"w-full h-full rounded-full object-cover",alt:""}):((Ae=B.nickname)==null?void 0:Ae.charAt(0))||"?"}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx("button",{type:"button",onClick:()=>{ae(B.id),Y(!0)},className:"font-medium text-[#38bdac] hover:text-[#2da396] hover:underline text-left",children:B.nickname}),B.isAdmin&&s.jsx(Ke,{className:"bg-purple-500/20 text-purple-400 hover:bg-purple-500/20 border-0 text-xs",children:"管理员"}),B.openId&&!((Ye=B.id)!=null&&Ye.startsWith("user_"))&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0 text-xs",children:"微信"})]}),s.jsx("p",{className:"text-xs text-gray-500 font-mono",children:B.openId?B.openId.slice(0,12)+"...":(ct=B.id)==null?void 0:ct.slice(0,12)})]})]})}),s.jsx(be,{children:s.jsxs("div",{className:"space-y-1",children:[B.phone&&s.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[s.jsx("span",{className:"text-gray-500",children:"📱"}),s.jsx("span",{className:"text-gray-300",children:B.phone})]}),B.wechatId&&s.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[s.jsx("span",{className:"text-gray-500",children:"💬"}),s.jsx("span",{className:"text-gray-300",children:B.wechatId})]}),B.openId&&s.jsxs("div",{className:"flex items-center gap-1 text-xs",children:[s.jsx("span",{className:"text-gray-500",children:"🔗"}),s.jsxs("span",{className:"text-gray-500 truncate max-w-[100px]",title:B.openId,children:[B.openId.slice(0,12),"..."]})]}),!B.phone&&!B.wechatId&&!B.openId&&s.jsx("span",{className:"text-gray-600 text-xs",children:"未绑定"})]})}),s.jsx(be,{children:B.hasFullBook?s.jsx(Ke,{className:"bg-amber-500/20 text-amber-400 hover:bg-amber-500/20 border-0",children:"VIP"}):s.jsx(Ke,{variant:"outline",className:"text-gray-500 border-gray-600",children:"未购买"})}),s.jsx(be,{children:s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"text-white font-medium",children:["¥",parseFloat(String(B.earnings||0)).toFixed(2)]}),parseFloat(String(B.pendingEarnings||0))>0&&s.jsxs("div",{className:"text-xs text-yellow-400",children:["待提现: ¥",parseFloat(String(B.pendingEarnings||0)).toFixed(2)]}),s.jsxs("div",{className:"text-xs text-[#38bdac] cursor-pointer hover:underline flex items-center gap-1",onClick:()=>As(B),role:"button",tabIndex:0,onKeyDown:xn=>xn.key==="Enter"&&As(B),children:[s.jsx(Mn,{className:"w-3 h-3"})," 绑定",B.referralCount||0,"人"]})]})}),s.jsx(be,{children:s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"text-white font-medium",children:["¥",parseFloat(String(B.walletBalance||0)).toFixed(2)]}),parseFloat(String(B.withdrawnEarnings||0))>0&&s.jsxs("div",{className:"text-xs text-gray-400",children:["已提现: ¥",parseFloat(String(B.withdrawnEarnings||0)).toFixed(2)]})]})}),s.jsx(be,{children:B.rfmScore!==void 0?s.jsx("div",{className:"flex flex-col gap-1",children:s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx("span",{className:"text-white font-bold text-base",children:B.rfmScore}),s.jsx(Ke,{className:`border-0 text-xs ${Hi(B.rfmLevel)}`,children:B.rfmLevel})]})}):s.jsxs("span",{className:"text-gray-600 text-sm",children:["— ",s.jsx("span",{className:"text-xs text-gray-700",children:"点列头排序"})]})}),s.jsx(be,{className:"text-gray-400",children:B.createdAt?new Date(B.createdAt).toLocaleDateString():"-"}),s.jsx(be,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-1",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>{ae(B.id),Y(!0)},className:"text-gray-400 hover:text-blue-400 hover:bg-blue-400/10",title:"用户详情",children:s.jsx(_g,{className:"w-4 h-4"})}),B.hasFullBook&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>Wo(B),className:"text-gray-400 hover:text-orange-400 hover:bg-orange-400/10",title:"置顶超级个体",children:s.jsx(xi,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>vt(B),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",title:"编辑用户",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",onClick:()=>Xs(B.id),title:"删除",children:s.jsx(er,{className:"w-4 h-4"})})]})})]},B.id)}),r.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无用户数据"})})]})]}),s.jsx(ws,{page:c,totalPages:Ms,total:i,pageSize:h,onPageChange:u,onPageSizeChange:B=>{f(B),u(1)}})]})})})]}),s.jsxs(nn,{value:"journey",children:[s.jsxs("div",{className:"flex items-center justify-between mb-5",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"用户从注册到 VIP 的完整行动路径,点击各阶段查看用户动态"}),s.jsxs(ne,{variant:"outline",onClick:is,disabled:or,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${or?"animate-spin":""}`})," 刷新数据"]})]}),s.jsxs("div",{className:"relative mb-8",children:[s.jsx("div",{className:"absolute top-16 left-0 right-0 h-0.5 bg-gradient-to-r from-blue-500/20 via-[#38bdac]/30 to-amber-500/20 mx-20"}),s.jsx("div",{className:"grid grid-cols-4 gap-4 lg:grid-cols-8",children:Oc.map((B,Ae)=>s.jsxs("div",{className:"relative flex flex-col items-center",children:[s.jsxs("div",{role:"button",tabIndex:0,className:`relative w-full p-3 rounded-xl border ${B.color} text-center cursor-pointer`,onClick:()=>$n(B.id),onKeyDown:Ye=>Ye.key==="Enter"&&$n(B.id),children:[s.jsx("div",{className:"text-2xl mb-1",children:B.icon}),s.jsx("div",{className:`text-xs font-medium ${B.color.split(" ").find(Ye=>Ye.startsWith("text-"))}`,children:B.label}),Kn[B.id]!==void 0&&s.jsxs("div",{className:"mt-1.5 text-xs text-gray-400",children:[s.jsx("span",{className:"font-bold text-white",children:Kn[B.id]})," 人"]}),s.jsx("div",{className:"absolute -top-2.5 -left-2.5 w-5 h-5 rounded-full bg-[#0a1628] border border-gray-700 flex items-center justify-center text-[10px] text-gray-500",children:Ae+1})]}),AeB.id===Ne))==null?void 0:Fa.label," — 用户列表"]}),s.jsxs(ne,{variant:"ghost",size:"sm",onClick:()=>qn(null),className:"text-gray-500 hover:text-white",children:[s.jsx(nr,{className:"w-4 h-4"})," 关闭"]})]}),Pa?s.jsx("div",{className:"flex items-center justify-center py-8",children:s.jsx(Ue,{className:"w-5 h-5 text-[#38bdac] animate-spin"})}):Es.length>0?s.jsx("div",{className:"space-y-2 max-h-60 overflow-y-auto",children:Es.map(B=>s.jsxs("div",{className:"flex items-center justify-between py-2 px-3 bg-[#0a1628] rounded-lg hover:bg-[#0a1628]/80 cursor-pointer",onClick:()=>{ae(B.id),Y(!0)},onKeyDown:Ae=>Ae.key==="Enter"&&(ae(B.id),Y(!0)),role:"button",tabIndex:0,children:[s.jsx("span",{className:"text-white font-medium",children:B.nickname}),s.jsx("span",{className:"text-gray-400 text-sm",children:B.phone||"—"}),s.jsx("span",{className:"text-gray-500 text-xs",children:B.createdAt?new Date(B.createdAt).toLocaleDateString():"—"})]},B.id))}):s.jsx("p",{className:"text-gray-500 text-sm py-4",children:"暂无用户"})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/50 rounded-lg p-4",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx(Tl,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx("span",{className:"text-white font-medium",children:"旅程关键节点"})]}),s.jsx("div",{className:"space-y-2 text-sm",children:[{step:"① 注册",action:"微信 OAuth 或手机号注册",next:"引导填写头像"},{step:"② 浏览",action:"点击章节/阅读免费内容",next:"触发绑定手机"},{step:"③ 首付",action:"购买单章或全书",next:"推送分销功能"},{step:"④ VIP",action:"¥1980 购买全书",next:"进入 VIP 私域群"},{step:"⑤ 分销",action:"推广好友购买",next:"提现分销收益"}].map(B=>s.jsxs("div",{className:"flex items-start gap-3 p-2 bg-[#0a1628] rounded",children:[s.jsx("span",{className:"text-[#38bdac] font-mono text-xs shrink-0 mt-0.5",children:B.step}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-300",children:B.action}),s.jsxs("p",{className:"text-gray-600 text-xs",children:["→ ",B.next]})]})]},B.step))})]}),s.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/50 rounded-lg p-4",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx($r,{className:"w-4 h-4 text-purple-400"}),s.jsx("span",{className:"text-white font-medium",children:"行为锚点统计"}),s.jsx("span",{className:"text-gray-500 text-xs ml-auto",children:"实时更新"})]}),or?s.jsx("div",{className:"flex items-center justify-center py-8",children:s.jsx(Ue,{className:"w-5 h-5 text-[#38bdac] animate-spin"})}):Object.keys(Kn).length>0?s.jsx("div",{className:"space-y-2",children:Oc.map(B=>{const Ae=Kn[B.id]||0,Ye=Math.max(...Oc.map(xn=>Kn[xn.id]||0),1),ct=Math.round(Ae/Ye*100);return s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("span",{className:"text-gray-500 text-xs w-20 shrink-0",children:[B.icon," ",B.label]}),s.jsx("div",{className:"flex-1 h-2 bg-[#0a1628] rounded-full overflow-hidden",children:s.jsx("div",{className:"h-full bg-[#38bdac]/60 rounded-full transition-all",style:{width:`${ct}%`}})}),s.jsx("span",{className:"text-gray-400 text-xs w-10 text-right",children:Ae})]},B.id)})}):s.jsx("div",{className:"text-center py-8",children:s.jsx("p",{className:"text-gray-500 text-sm",children:"点击「刷新数据」加载统计"})})]})]})]}),s.jsxs(nn,{value:"rules",children:[s.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"用户旅程引导规则,定义各行为节点的触发条件与引导内容"}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs(ne,{variant:"outline",onClick:Nr,disabled:gt,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${gt?"animate-spin":""}`})," 刷新"]}),s.jsxs(ne,{onClick:()=>{re(null),et({title:"",description:"",trigger:"",sort:0,enabled:!0}),it(!0)},className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"})," 添加规则"]})]})]}),gt?s.jsx("div",{className:"flex items-center justify-center py-12",children:s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"})}):_e.length===0?s.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[s.jsx($r,{className:"w-12 h-12 text-[#38bdac]/30 mx-auto mb-4"}),s.jsx("p",{className:"text-gray-400 mb-4",children:"暂无规则(重启服务将自动写入10条默认规则)"}),s.jsxs(ne,{onClick:Nr,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(Ue,{className:"w-4 h-4 mr-2"})," 重新加载"]})]}):s.jsx("div",{className:"space-y-2",children:_e.map(B=>s.jsx("div",{className:`p-4 rounded-lg border transition-all ${B.enabled?"bg-[#0f2137] border-gray-700/50":"bg-[#0a1628]/50 border-gray-700/30 opacity-55"}`,children:s.jsxs("div",{className:"flex items-start justify-between",children:[s.jsxs("div",{className:"flex-1",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap mb-1",children:[s.jsx($t,{className:"w-4 h-4 text-[#38bdac] shrink-0"}),s.jsx("span",{className:"text-white font-medium",children:B.title}),B.trigger&&s.jsxs(Ke,{className:"bg-[#38bdac]/10 text-[#38bdac] border border-[#38bdac]/30 text-xs",children:["触发:",B.trigger]}),s.jsx(Ke,{className:`text-xs border-0 ${B.enabled?"bg-green-500/20 text-green-400":"bg-gray-500/20 text-gray-400"}`,children:B.enabled?"启用":"禁用"})]}),B.description&&s.jsx("p",{className:"text-gray-400 text-sm ml-6",children:B.description})]}),s.jsxs("div",{className:"flex items-center gap-2 ml-4 shrink-0",children:[s.jsx(Et,{checked:B.enabled,onCheckedChange:()=>nc(B)}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>{re(B),et({title:B.title,description:B.description,trigger:B.trigger,sort:B.sort,enabled:B.enabled}),it(!0)},className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>Zs(B.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:s.jsx(er,{className:"w-4 h-4"})})]})]})},B.id))})]}),s.jsxs(nn,{value:"vip-roles",children:[s.jsxs("div",{className:"mb-4 flex items-center justify-between",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"展示当前所有有效的超级个体(VIP 用户),用于检查会员信息与排序值。"}),s.jsx("p",{className:"text-xs text-[#38bdac]",children:"提示:按住任意一行即可拖拽排序,释放后将同步更新小程序展示顺序。"})]}),s.jsx("div",{className:"flex items-center gap-2",children:s.jsxs(ne,{variant:"outline",onClick:Jn,disabled:pt,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${pt?"animate-spin":""}`})," ","刷新"]})})]}),pt?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):xt.length===0?s.jsxs("div",{className:"text-center py-16 bg-[#0f2137] rounded-lg border border-gray-700/50",children:[s.jsx(Al,{className:"w-12 h-12 text-amber-400/30 mx-auto mb-4"}),s.jsx("p",{className:"text-gray-400 mb-4",children:"当前没有有效的超级个体用户。"})]}):s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ee,{className:"p-0",children:s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400 w-16",children:"序号"}),s.jsx(Te,{className:"text-gray-400",children:"成员"}),s.jsx(Te,{className:"text-gray-400 min-w-48",children:"超级个体标签"}),s.jsx(Te,{className:"text-gray-400 w-24",children:"排序值"}),s.jsx(Te,{className:"text-gray-400 w-40 text-right",children:"操作"})]})}),s.jsx(gr,{children:xt.map((B,Ae)=>{var xn;const Ye=Qt===B.id,ct=An===B.id;return s.jsxs(lt,{draggable:!0,onDragStart:kn=>sc(kn,B.id),onDragOver:kn=>Gi(kn,B.id),onDrop:kn=>dr(kn,B.id),onDragEnd:$a,className:`border-gray-700/50 cursor-grab active:cursor-grabbing select-none ${Ye?"opacity-60":""} ${ct?"bg-[#38bdac]/10":""}`,children:[s.jsx(be,{className:"text-gray-300",children:Ae+1}),s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[B.avatar?s.jsx("img",{src:ts(B.avatar),className:"w-8 h-8 rounded-full object-cover border border-amber-400/60"}):s.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-500/20 border border-amber-400/60 flex items-center justify-center text-amber-300 text-sm",children:((xn=B.name)==null?void 0:xn[0])||"创"}),s.jsx("div",{className:"min-w-0",children:s.jsx("div",{className:"text-white text-sm truncate",children:B.name})})]})}),s.jsx(be,{className:"text-gray-300 whitespace-nowrap",children:B.vipRole||s.jsx("span",{className:"text-gray-500",children:"(未设置超级个体标签)"})}),s.jsx(be,{className:"text-gray-300",children:B.vipSort??Ae+1}),s.jsx(be,{className:"text-right text-xs text-gray-300",children:s.jsxs("div",{className:"inline-flex items-center gap-1.5",children:[s.jsx(ne,{variant:"ghost",size:"sm",className:"h-7 w-7 px-0 text-amber-300 hover:text-amber-200",onClick:()=>rc(B),title:"设置超级个体标签",children:s.jsx(qc,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"h-7 w-7 px-0 text-[#38bdac] hover:text-[#5fe0cd]",onClick:()=>{ae(B.id),Y(!0)},title:"编辑资料",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"h-7 w-7 px-0 text-sky-300 hover:text-sky-200",onClick:()=>Ho(B),title:"设置排序序号",children:s.jsx(Rm,{className:"w-3.5 h-3.5"})})]})})]},B.id)})})]})})})]})]}),s.jsx(Ft,{open:qi,onOpenChange:B=>{un(B),B||Is(null)},children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Rm,{className:"w-5 h-5 text-[#38bdac]"}),"设置排序 — ",as==null?void 0:as.name]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsx(te,{className:"text-gray-300 text-sm",children:"排序序号(数字越小越靠前)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:1",value:_a,onChange:B=>It(B.target.value)})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>un(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:za,disabled:zn,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),zn?"保存中...":"保存"]})]})]})}),s.jsx(Ft,{open:ea,onOpenChange:B=>{rs(B),B||La(null)},children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Al,{className:"w-5 h-5 text-amber-400"}),"设置超级个体标签 — ",Ar==null?void 0:Ar.name]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsx(te,{className:"text-gray-300 text-sm",children:"选择或输入标签"}),s.jsx("div",{className:"flex flex-wrap gap-2",children:ss.map(B=>s.jsx(ne,{variant:ta===B?"default":"outline",size:"sm",className:ta===B?"bg-[#38bdac] hover:bg-[#2da396] text-white":"border-gray-600 text-gray-300 hover:bg-gray-700/50",onClick:()=>Ui(B),children:B},B))}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"或手动输入"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:创业者、资源整合者等",value:ta,onChange:B=>Ui(B.target.value)})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>rs(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:()=>Vo(ta),disabled:cr,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),cr?"保存中...":"保存"]})]})]})}),s.jsx(Ft,{open:ee,onOpenChange:K,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[ue?s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}):s.jsx(Vg,{className:"w-5 h-5 text-[#38bdac]"}),ue?"编辑用户":"添加用户"]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"手机号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入手机号",value:ye.phone,onChange:B=>je({...ye,phone:B.target.value}),disabled:!!ue})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"昵称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"请输入昵称",value:ye.nickname,onChange:B=>je({...ye,nickname:B.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:ue?"新密码 (留空则不修改)":"密码"}),s.jsx(le,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:ue?"留空则不修改":"请输入密码",value:ye.password,onChange:B=>je({...ye,password:B.target.value})})]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx(te,{className:"text-gray-300",children:"管理员权限"}),s.jsx(Et,{checked:ye.isAdmin,onCheckedChange:B=>je({...ye,isAdmin:B})})]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx(te,{className:"text-gray-300",children:"已购全书"}),s.jsx(Et,{checked:ye.hasFullBook,onCheckedChange:B=>je({...ye,hasFullBook:B})})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>K(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:Da,disabled:R,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),R?"保存中...":"保存"]})]})]})}),s.jsx(Ft,{open:jn,onOpenChange:it,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}),Mt?"编辑规则":"添加规则"]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"规则标题 *"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:匹配后填写头像、付款1980需填写信息",value:Pe.title,onChange:B=>et({...Pe,title:B.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"规则描述"}),s.jsx(Yl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[80px] resize-none",placeholder:"详细说明规则内容...",value:Pe.description,onChange:B=>et({...Pe,description:B.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"触发条件"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例:完成匹配、付款后、注册时",value:Pe.trigger,onChange:B=>et({...Pe,trigger:B.target.value})})]}),s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsx("div",{children:s.jsx(te,{className:"text-gray-300",children:"启用状态"})}),s.jsx(Et,{checked:Pe.enabled,onCheckedChange:B=>et({...Pe,enabled:B})})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>it(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:Wi,disabled:R,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),R?"保存中...":"保存"]})]})]})}),s.jsx(Ft,{open:F,onOpenChange:I,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-2xl max-h-[80vh] overflow-auto",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"}),"绑定关系 - ",q==null?void 0:q.nickname]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-4 gap-3",children:[s.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[s.jsx("div",{className:"text-2xl font-bold text-[#38bdac]",children:((na=se.stats)==null?void 0:na.total)||0}),s.jsx("div",{className:"text-xs text-gray-400",children:"绑定总数"})]}),s.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[s.jsx("div",{className:"text-2xl font-bold text-green-400",children:((Rs=se.stats)==null?void 0:Rs.purchased)||0}),s.jsx("div",{className:"text-xs text-gray-400",children:"已付费"})]}),s.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[s.jsxs("div",{className:"text-2xl font-bold text-yellow-400",children:["¥",(((Ps=se.stats)==null?void 0:Ps.earnings)||0).toFixed(2)]}),s.jsx("div",{className:"text-xs text-gray-400",children:"累计收益"})]}),s.jsxs("div",{className:"bg-[#0a1628] rounded-lg p-3 text-center",children:[s.jsxs("div",{className:"text-2xl font-bold text-orange-400",children:["¥",(((Os=se.stats)==null?void 0:Os.pendingEarnings)||0).toFixed(2)]}),s.jsx("div",{className:"text-xs text-gray-400",children:"待提现"})]})]}),z?s.jsxs("div",{className:"flex items-center justify-center py-8",children:[s.jsx(Ue,{className:"w-5 h-5 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):(((Ds=se.referrals)==null?void 0:Ds.length)??0)>0?s.jsx("div",{className:"space-y-2 max-h-[300px] overflow-y-auto",children:(se.referrals??[]).map((B,Ae)=>{var ct;const Ye=B;return s.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg p-3",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:((ct=Ye.nickname)==null?void 0:ct.charAt(0))||"?"}),s.jsxs("div",{children:[s.jsx("div",{className:"text-white text-sm",children:Ye.nickname}),s.jsx("div",{className:"text-xs text-gray-500",children:Ye.phone||(Ye.hasOpenId?"微信用户":"未绑定")})]})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[Ye.status==="vip"&&s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0 text-xs",children:"全书已购"}),Ye.status==="paid"&&s.jsxs(Ke,{className:"bg-blue-500/20 text-blue-400 border-0 text-xs",children:["已付费",Ye.purchasedSections,"章"]}),Ye.status==="free"&&s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 border-0 text-xs",children:"未付费"}),s.jsx("span",{className:"text-xs text-gray-500",children:Ye.createdAt?new Date(Ye.createdAt).toLocaleDateString():""})]})]},Ye.id||Ae)})}):s.jsx("div",{className:"text-center py-8 text-gray-500",children:"暂无绑定用户"})]}),s.jsx(ln,{children:s.jsx(ne,{variant:"outline",onClick:()=>I(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"关闭"})})]})}),s.jsx(Ft,{open:Vi,onOpenChange:vr,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(vo,{className:"w-5 h-5 text-[#38bdac]"}),"RFM 算法说明"]})}),s.jsxs("div",{className:"space-y-3 py-4 text-sm text-gray-300",children:[s.jsxs("p",{children:[s.jsx("span",{className:"text-[#38bdac] font-medium",children:"R(Recency)"}),":距最近购买天数,越近分越高,权重 40%"]}),s.jsxs("p",{children:[s.jsx("span",{className:"text-[#38bdac] font-medium",children:"F(Frequency)"}),":购买频次,越多分越高,权重 30%"]}),s.jsxs("p",{children:[s.jsx("span",{className:"text-[#38bdac] font-medium",children:"M(Monetary)"}),":消费金额,越高分越高,权重 30%"]}),s.jsx("p",{className:"text-gray-400",children:"综合分 = R×40% + F×30% + M×30%,归一化到 0-100"}),s.jsxs("p",{className:"text-gray-400",children:["等级:",s.jsx("span",{className:"text-amber-400",children:"S"}),"(≥85)、",s.jsx("span",{className:"text-green-400",children:"A"}),"(≥70)、",s.jsx("span",{className:"text-blue-400",children:"B"}),"(≥50)、",s.jsx("span",{className:"text-gray-400",children:"C"}),"(≥30)、",s.jsx("span",{className:"text-red-400",children:"D"}),"(<30)"]})]}),s.jsx(ln,{children:s.jsx(ne,{variant:"outline",onClick:()=>vr(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"关闭"})})]})}),s.jsx(l0,{open:ce,onClose:()=>Y(!1),userId:X,onUserUpdated:lr})]})}function Nh(t,[e,n]){return Math.min(n,Math.max(e,t))}var Sk=["PageUp","PageDown"],Ck=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Ek={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Ql="Slider",[qg,wP,jP]=s0(Ql),[Tk]=Li(Ql,[jP]),[kP,Ef]=Tk(Ql),Mk=b.forwardRef((t,e)=>{const{name:n,min:r=0,max:a=100,step:i=1,orientation:o="horizontal",disabled:c=!1,minStepsBetweenThumbs:u=0,defaultValue:h=[r],value:f,onValueChange:m=()=>{},onValueCommit:g=()=>{},inverted:y=!1,form:v,...w}=t,N=b.useRef(new Set),k=b.useRef(0),E=o==="horizontal"?SP:CP,[A=[],D]=Eo({prop:f,defaultProp:h,onChange:ee=>{var ue;(ue=[...N.current][k.current])==null||ue.focus(),m(ee)}}),H=b.useRef(A);function _(ee){const K=IP(A,ee);$(ee,K)}function P(ee){$(ee,k.current)}function L(){const ee=H.current[k.current];A[k.current]!==ee&&g(A)}function $(ee,K,{commit:ue}={commit:!1}){const me=DP(i),R=LP(Math.round((ee-r)/i)*i+r,me),O=Nh(R,[r,a]);D((F=[])=>{const I=MP(F,O,K);if(OP(I,u*i)){k.current=I.indexOf(O);const se=String(I)!==String(F);return se&&ue&&g(I),se?I:F}else return F})}return s.jsx(kP,{scope:t.__scopeSlider,name:n,disabled:c,min:r,max:a,valueIndexToChangeRef:k,thumbs:N.current,values:A,orientation:o,form:v,children:s.jsx(qg.Provider,{scope:t.__scopeSlider,children:s.jsx(qg.Slot,{scope:t.__scopeSlider,children:s.jsx(E,{"aria-disabled":c,"data-disabled":c?"":void 0,...w,ref:e,onPointerDown:at(w.onPointerDown,()=>{c||(H.current=A)}),min:r,max:a,inverted:y,onSlideStart:c?void 0:_,onSlideMove:c?void 0:P,onSlideEnd:c?void 0:L,onHomeKeyDown:()=>!c&&$(r,0,{commit:!0}),onEndKeyDown:()=>!c&&$(a,A.length-1,{commit:!0}),onStepKeyDown:({event:ee,direction:K})=>{if(!c){const R=Sk.includes(ee.key)||ee.shiftKey&&Ck.includes(ee.key)?10:1,O=k.current,F=A[O],I=i*R*K;$(F+I,O,{commit:!0})}}})})})})});Mk.displayName=Ql;var[Ak,Ik]=Tk(Ql,{startEdge:"left",endEdge:"right",size:"width",direction:1}),SP=b.forwardRef((t,e)=>{const{min:n,max:r,dir:a,inverted:i,onSlideStart:o,onSlideMove:c,onSlideEnd:u,onStepKeyDown:h,...f}=t,[m,g]=b.useState(null),y=St(e,E=>g(E)),v=b.useRef(void 0),w=kf(a),N=w==="ltr",k=N&&!i||!N&&i;function C(E){const A=v.current||m.getBoundingClientRect(),D=[0,A.width],_=d0(D,k?[n,r]:[r,n]);return v.current=A,_(E-A.left)}return s.jsx(Ak,{scope:t.__scopeSlider,startEdge:k?"left":"right",endEdge:k?"right":"left",direction:k?1:-1,size:"width",children:s.jsx(Rk,{dir:w,"data-orientation":"horizontal",...f,ref:y,style:{...f.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:E=>{const A=C(E.clientX);o==null||o(A)},onSlideMove:E=>{const A=C(E.clientX);c==null||c(A)},onSlideEnd:()=>{v.current=void 0,u==null||u()},onStepKeyDown:E=>{const D=Ek[k?"from-left":"from-right"].includes(E.key);h==null||h({event:E,direction:D?-1:1})}})})}),CP=b.forwardRef((t,e)=>{const{min:n,max:r,inverted:a,onSlideStart:i,onSlideMove:o,onSlideEnd:c,onStepKeyDown:u,...h}=t,f=b.useRef(null),m=St(e,f),g=b.useRef(void 0),y=!a;function v(w){const N=g.current||f.current.getBoundingClientRect(),k=[0,N.height],E=d0(k,y?[r,n]:[n,r]);return g.current=N,E(w-N.top)}return s.jsx(Ak,{scope:t.__scopeSlider,startEdge:y?"bottom":"top",endEdge:y?"top":"bottom",size:"height",direction:y?1:-1,children:s.jsx(Rk,{"data-orientation":"vertical",...h,ref:m,style:{...h.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:w=>{const N=v(w.clientY);i==null||i(N)},onSlideMove:w=>{const N=v(w.clientY);o==null||o(N)},onSlideEnd:()=>{g.current=void 0,c==null||c()},onStepKeyDown:w=>{const k=Ek[y?"from-bottom":"from-top"].includes(w.key);u==null||u({event:w,direction:k?-1:1})}})})}),Rk=b.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:a,onSlideEnd:i,onHomeKeyDown:o,onEndKeyDown:c,onStepKeyDown:u,...h}=t,f=Ef(Ql,n);return s.jsx(ut.span,{...h,ref:e,onKeyDown:at(t.onKeyDown,m=>{m.key==="Home"?(o(m),m.preventDefault()):m.key==="End"?(c(m),m.preventDefault()):Sk.concat(Ck).includes(m.key)&&(u(m),m.preventDefault())}),onPointerDown:at(t.onPointerDown,m=>{const g=m.target;g.setPointerCapture(m.pointerId),m.preventDefault(),f.thumbs.has(g)?g.focus():r(m)}),onPointerMove:at(t.onPointerMove,m=>{m.target.hasPointerCapture(m.pointerId)&&a(m)}),onPointerUp:at(t.onPointerUp,m=>{const g=m.target;g.hasPointerCapture(m.pointerId)&&(g.releasePointerCapture(m.pointerId),i(m))})})}),Pk="SliderTrack",Ok=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,a=Ef(Pk,n);return s.jsx(ut.span,{"data-disabled":a.disabled?"":void 0,"data-orientation":a.orientation,...r,ref:e})});Ok.displayName=Pk;var Gg="SliderRange",Dk=b.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,a=Ef(Gg,n),i=Ik(Gg,n),o=b.useRef(null),c=St(e,o),u=a.values.length,h=a.values.map(g=>zk(g,a.min,a.max)),f=u>1?Math.min(...h):0,m=100-Math.max(...h);return s.jsx(ut.span,{"data-orientation":a.orientation,"data-disabled":a.disabled?"":void 0,...r,ref:c,style:{...t.style,[i.startEdge]:f+"%",[i.endEdge]:m+"%"}})});Dk.displayName=Gg;var Jg="SliderThumb",Lk=b.forwardRef((t,e)=>{const n=wP(t.__scopeSlider),[r,a]=b.useState(null),i=St(e,c=>a(c)),o=b.useMemo(()=>r?n().findIndex(c=>c.ref.current===r):-1,[n,r]);return s.jsx(EP,{...t,ref:i,index:o})}),EP=b.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:a,...i}=t,o=Ef(Jg,n),c=Ik(Jg,n),[u,h]=b.useState(null),f=St(e,C=>h(C)),m=u?o.form||!!u.closest("form"):!0,g=o0(u),y=o.values[r],v=y===void 0?0:zk(y,o.min,o.max),w=AP(r,o.values.length),N=g==null?void 0:g[c.size],k=N?RP(N,v,c.direction):0;return b.useEffect(()=>{if(u)return o.thumbs.add(u),()=>{o.thumbs.delete(u)}},[u,o.thumbs]),s.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[c.startEdge]:`calc(${v}% + ${k}px)`},children:[s.jsx(qg.ItemSlot,{scope:t.__scopeSlider,children:s.jsx(ut.span,{role:"slider","aria-label":t["aria-label"]||w,"aria-valuemin":o.min,"aria-valuenow":y,"aria-valuemax":o.max,"aria-orientation":o.orientation,"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,tabIndex:o.disabled?void 0:0,...i,ref:f,style:y===void 0?{display:"none"}:t.style,onFocus:at(t.onFocus,()=>{o.valueIndexToChangeRef.current=r})})}),m&&s.jsx(_k,{name:a??(o.name?o.name+(o.values.length>1?"[]":""):void 0),form:o.form,value:y},r)]})});Lk.displayName=Jg;var TP="RadioBubbleInput",_k=b.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const a=b.useRef(null),i=St(a,r),o=i0(e);return b.useEffect(()=>{const c=a.current;if(!c)return;const u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("input",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),s.jsx(ut.input,{style:{display:"none"},...n,ref:i,defaultValue:e})});_k.displayName=TP;function MP(t=[],e,n){const r=[...t];return r[n]=e,r.sort((a,i)=>a-i)}function zk(t,e,n){const i=100/(n-e)*(t-e);return Nh(i,[0,100])}function AP(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function IP(t,e){if(t.length===1)return 0;const n=t.map(a=>Math.abs(a-e)),r=Math.min(...n);return n.indexOf(r)}function RP(t,e,n){const r=t/2,i=d0([0,50],[0,r]);return(r-i(e)*n)*n}function PP(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function OP(t,e){if(e>0){const n=PP(t);return Math.min(...n)>=e}return!0}function d0(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function DP(t){return(String(t).split(".")[1]||"").length}function LP(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var _P=Mk,zP=Ok,$P=Dk,FP=Lk;function BP({className:t,defaultValue:e,value:n,min:r=0,max:a=100,...i}){const o=b.useMemo(()=>Array.isArray(n)?n:Array.isArray(e)?e:[r,a],[n,e,r,a]);return s.jsxs(_P,{defaultValue:e,value:n,min:r,max:a,className:Ct("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50",t),...i,children:[s.jsx(zP,{className:"bg-gray-600 relative grow overflow-hidden rounded-full h-1.5 w-full",children:s.jsx($P,{className:"bg-[#38bdac] absolute h-full rounded-full"})}),Array.from({length:o.length},(c,u)=>s.jsx(FP,{className:"block size-4 shrink-0 rounded-full border-2 border-[#38bdac] bg-white shadow-sm focus-visible:ring-2 focus-visible:ring-[#38bdac] focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"},u))]})}const VP={distributorShare:90,minWithdrawAmount:10,bindingDays:30,userDiscount:5,enableAutoWithdraw:!1,vipOrderShareVip:20,vipOrderShareNonVip:10};function $k(t){const[e,n]=b.useState(VP),[r,a]=b.useState(!0),[i,o]=b.useState(!1);b.useEffect(()=>{De("/api/admin/referral-settings").then(h=>{const f=h==null?void 0:h.data;f&&typeof f=="object"&&n({distributorShare:f.distributorShare??90,minWithdrawAmount:f.minWithdrawAmount??10,bindingDays:f.bindingDays??30,userDiscount:f.userDiscount??5,enableAutoWithdraw:f.enableAutoWithdraw??!1,vipOrderShareVip:f.vipOrderShareVip??20,vipOrderShareNonVip:f.vipOrderShareNonVip??10})}).catch(console.error).finally(()=>a(!1))},[]);const c=async()=>{o(!0);try{const h={distributorShare:Number(e.distributorShare)||0,minWithdrawAmount:Number(e.minWithdrawAmount)||0,bindingDays:Number(e.bindingDays)||0,userDiscount:Number(e.userDiscount)||0,enableAutoWithdraw:!!e.enableAutoWithdraw,vipOrderShareVip:Number(e.vipOrderShareVip)||20,vipOrderShareNonVip:Number(e.vipOrderShareNonVip)||10},f=await Nt("/api/admin/referral-settings",h);if(!f||f.success===!1){oe.error("保存失败: "+(f&&typeof f=="object"&&"error"in f?f.error:""));return}oe.success(`✅ 分销配置已保存成功! • 小程序与网站的推广规则会一起生效 • 绑定关系会使用新的天数配置 • 佣金比例会立即应用到新订单 -如有缓存,请刷新前台/小程序页面。`)}catch(h){console.error(h),oe.error("保存失败: "+(h instanceof Error?h.message:String(h)))}finally{o(!1)}},u=h=>f=>{const m=parseFloat(f.target.value||"0");n(g=>({...g,[h]:isNaN(m)?0:m}))};return r?s.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Ll,{className:"w-5 h-5 text-[#38bdac]"}),"推广 / 分销设置"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理「好友优惠」「你得 90% 收益」「绑定期 30 天」「提现门槛」等规则,小程序和 Web 共用这套配置。"})]}),s.jsxs(ne,{onClick:c,disabled:i||r,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),i?"保存中...":"保存配置"]})]}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"flex items-center gap-2 text-white",children:[s.jsx(xA,{className:"w-4 h-4 text-[#38bdac]"}),"推广规则"]}),s.jsx(Ht,{className:"text-gray-400",children:"这三项会直接体现在小程序「推广规则」卡片上,同时影响实收佣金计算。"})]}),s.jsx(Ce,{className:"space-y-6",children:s.jsxs("div",{className:"grid grid-cols-3 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx($c,{className:"w-3 h-3 text-[#38bdac]"}),"好友优惠(%)"]}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.userDiscount,onChange:u("userDiscount")}),s.jsx("p",{className:"text-xs text-gray-500",children:"例如 5 表示好友立减 5%(在价格配置基础上生效)。"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx(Mn,{className:"w-3 h-3 text-[#38bdac]"}),"推广者分成(%)"]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx(FP,{className:"flex-1",min:10,max:100,step:1,value:[e.distributorShare],onValueChange:([h])=>n(f=>({...f,distributorShare:h}))}),s.jsx(le,{type:"number",min:0,max:100,className:"w-20 bg-[#0a1628] border-gray-700 text-white text-center",value:e.distributorShare,onChange:u("distributorShare")})]}),s.jsxs("p",{className:"text-xs text-gray-500",children:["内容订单佣金 = 订单金额 ×"," ",s.jsxs("span",{className:"text-[#38bdac] font-mono",children:[e.distributorShare,"%"]}),";会员订单见下方。"]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx($c,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者是会员 %)"]}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareVip,onChange:u("vipOrderShareVip")}),s.jsx("p",{className:"text-xs text-gray-500",children:"推广者已是会员时,会员订单佣金比例,默认 20%。"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx($c,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者非会员 %)"]}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareNonVip,onChange:u("vipOrderShareNonVip")}),s.jsx("p",{className:"text-xs text-gray-500",children:"推广者非会员时,会员订单佣金比例,默认 10%。"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx(Mn,{className:"w-3 h-3 text-[#38bdac]"}),"绑定有效期(天)"]}),s.jsx(le,{type:"number",min:1,max:365,className:"bg-[#0a1628] border-gray-700 text-white",value:e.bindingDays,onChange:u("bindingDays")}),s.jsx("p",{className:"text-xs text-gray-500",children:"好友通过你的链接进来并登录后,绑定在你名下的天数。"})]})]})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"flex items-center gap-2 text-white",children:[s.jsx(Ll,{className:"w-4 h-4 text-[#38bdac]"}),"提现规则"]}),s.jsx(Ht,{className:"text-gray-400",children:"与「提现中心」「自动提现」相关的参数,影响推广者看到的可提现金额和最低门槛。"})]}),s.jsx(Ce,{className:"space-y-6",children:s.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"最低提现金额(元)"}),s.jsx(le,{type:"number",min:0,step:1,className:"bg-[#0a1628] border-gray-700 text-white",value:e.minWithdrawAmount,onChange:u("minWithdrawAmount")}),s.jsx("p",{className:"text-xs text-gray-500",children:"小程序「满 X 元可提现」展示的门槛,同时用于后端接口校验。"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:["自动提现开关",s.jsx(Ke,{variant:"outline",className:"border-[#38bdac]/40 text-[#38bdac] text-[10px]",children:"预留"})]}),s.jsxs("div",{className:"flex items-center gap-3 mt-1",children:[s.jsx(Et,{checked:e.enableAutoWithdraw,onCheckedChange:h=>n(f=>({...f,enableAutoWithdraw:h}))}),s.jsx("span",{className:"text-sm text-gray-400",children:"开启后,可结合定时任务实现「收益自动打款到微信零钱」。"})]})]})]})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsx(qe,{children:s.jsxs(Ge,{className:"flex items-center gap-2 text-gray-200 text-sm",children:[s.jsx($c,{className:"w-4 h-4 text-[#38bdac]"}),"使用说明"]})}),s.jsxs(Ce,{className:"space-y-2 text-xs text-gray-400 leading-relaxed",children:[s.jsxs("p",{children:["1. 以上配置会写入"," ",s.jsx("code",{className:"font-mono text-[11px] text-[#38bdac]",children:"system_config.referral_config"}),",小程序「推广中心」、Web 推广页以及支付回调都会读取同一份配置。"]}),s.jsx("p",{children:"2. 修改后新订单立即生效;旧订单的历史佣金不会自动重算,只影响之后产生的订单。"}),s.jsx("p",{children:"3. 如遇前端展示与实际结算不一致,优先以此处配置为准,再排查缓存和小程序版本。"})]})]})]})]})}function VP(){var Mt;const[t,e]=b.useState("overview"),[n,r]=b.useState([]),[a,i]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState([]),[g,y]=b.useState(!0),[v,w]=b.useState(null),[N,k]=b.useState(""),[C,E]=b.useState("all"),[A,D]=b.useState(1),[H,_]=b.useState(10),[P,L]=b.useState(0),[$,ee]=b.useState(new Set),[K,ue]=b.useState(null),[me,R]=b.useState(""),[O,F]=b.useState(!1),[I,se]=b.useState(null),[J,z]=b.useState(""),[U,q]=b.useState(!1);b.useEffect(()=>{B()},[]),b.useEffect(()=>{D(1)},[t,C]),b.useEffect(()=>{ce(t)},[t]),b.useEffect(()=>{["orders","bindings","withdrawals"].includes(t)&&ce(t,!0)},[A,H,C,N]);async function B(){w(null);try{const re=await De("/api/admin/distribution/overview");re!=null&&re.success&&re.overview&&i(re.overview)}catch(re){console.error("[Admin] 概览接口异常:",re),w("加载概览失败")}try{const re=await De("/api/db/users");m((re==null?void 0:re.users)||[])}catch(re){console.error("[Admin] 用户数据加载失败:",re)}}async function ce(re,Pe=!1){var et;if(!(!Pe&&$.has(re))){y(!0);try{const xt=f;switch(re){case"overview":break;case"orders":{try{const ft=new URLSearchParams({page:String(A),pageSize:String(H),...C!=="all"&&{status:C},...N&&{search:N}}),pt=await De(`/api/admin/orders?${ft}`);if(pt!=null&&pt.success&&pt.orders){const wt=pt.orders.map(Qt=>{const Lt=xt.find(At=>At.id===Qt.userId),An=Qt.referrerId?xt.find(At=>At.id===Qt.referrerId):null;return{...Qt,amount:parseFloat(String(Qt.amount))||0,userNickname:(Lt==null?void 0:Lt.nickname)||Qt.userNickname||"未知用户",userPhone:(Lt==null?void 0:Lt.phone)||Qt.userPhone||"-",referrerNickname:(An==null?void 0:An.nickname)||null,referrerCode:(An==null?void 0:An.referralCode)??null,type:Qt.productType||Qt.type}});r(wt),L(pt.total??wt.length)}else r([]),L(0)}catch(ft){console.error(ft),w("加载订单失败"),r([])}break}case"bindings":{try{const ft=new URLSearchParams({page:String(A),pageSize:String(H),...C!=="all"&&{status:C}}),pt=await De(`/api/db/distribution?${ft}`);c((pt==null?void 0:pt.bindings)||[]),L((pt==null?void 0:pt.total)??((et=pt==null?void 0:pt.bindings)==null?void 0:et.length)??0)}catch(ft){console.error(ft),w("加载绑定数据失败"),c([])}break}case"withdrawals":{try{const ft=C==="completed"?"success":C==="rejected"?"failed":C,pt=new URLSearchParams({...ft&&ft!=="all"&&{status:ft},page:String(A),pageSize:String(H)}),wt=await De(`/api/admin/withdrawals?${pt}`);if(wt!=null&&wt.success&&wt.withdrawals){const Qt=wt.withdrawals.map(Lt=>({...Lt,account:Lt.account??"未绑定微信号",status:Lt.status==="success"?"completed":Lt.status==="failed"?"rejected":Lt.status}));h(Qt),L((wt==null?void 0:wt.total)??Qt.length)}else wt!=null&&wt.success||w(`获取提现记录失败: ${(wt==null?void 0:wt.error)||"未知错误"}`),h([])}catch(ft){console.error(ft),w("加载提现数据失败"),h([])}break}}ee(ft=>new Set(ft).add(re))}catch(xt){console.error(xt)}finally{y(!1)}}}async function Y(){w(null),ee(re=>{const Pe=new Set(re);return Pe.delete(t),Pe}),t==="overview"&&B(),await ce(t,!0)}async function X(re){if(confirm("确认审核通过并打款?"))try{const Pe=await Tt("/api/admin/withdrawals",{id:re,action:"approve"});if(!(Pe!=null&&Pe.success)){const et=(Pe==null?void 0:Pe.message)||(Pe==null?void 0:Pe.error)||"操作失败";oe.error(et);return}await Y()}catch(Pe){console.error(Pe),oe.error("操作失败")}}function ae(re){se(re),z("")}async function ye(){const re=I;if(!re)return;const Pe=J.trim();if(!Pe){oe.error("请填写拒绝原因");return}q(!0);try{const et=await Tt("/api/admin/withdrawals",{id:re,action:"reject",errorMessage:Pe});if(!(et!=null&&et.success)){oe.error((et==null?void 0:et.error)||"操作失败");return}oe.success("已拒绝该提现申请"),se(null),z(""),await Y()}catch(et){console.error(et),oe.error("操作失败")}finally{q(!1)}}function Me(){I&&oe.info("已取消操作"),se(null),z("")}async function Be(){var re;if(!(!(K!=null&&K.orderSn)&&!(K!=null&&K.id))){F(!0),w(null);try{const Pe=await Tt("/api/admin/orders/refund",{orderSn:K.orderSn||K.id,reason:me||void 0});Pe!=null&&Pe.success?(ue(null),R(""),await ce("orders",!0)):w((Pe==null?void 0:Pe.error)||"退款失败")}catch(Pe){const et=Pe;w(((re=et==null?void 0:et.data)==null?void 0:re.error)||"退款失败,请检查网络后重试")}finally{F(!1)}}}function He(re){const Pe={active:"bg-green-500/20 text-green-400",converted:"bg-blue-500/20 text-blue-400",expired:"bg-gray-500/20 text-gray-400",cancelled:"bg-red-500/20 text-red-400",pending:"bg-orange-500/20 text-orange-400",pending_confirm:"bg-orange-500/20 text-orange-400",processing:"bg-blue-500/20 text-blue-400",completed:"bg-green-500/20 text-green-400",rejected:"bg-red-500/20 text-red-400"},et={active:"有效",converted:"已转化",expired:"已过期",cancelled:"已取消",pending:"待审核",pending_confirm:"待用户确认",processing:"处理中",completed:"已完成",rejected:"已拒绝"};return s.jsx(Ke,{className:`${Pe[re]||"bg-gray-500/20 text-gray-400"} border-0`,children:et[re]||re})}const gt=Math.ceil(P/H)||1,Dt=n,jn=o.filter(re=>{var et,xt,ft,pt;if(!N)return!0;const Pe=N.toLowerCase();return((et=re.refereeNickname)==null?void 0:et.toLowerCase().includes(Pe))||((xt=re.refereePhone)==null?void 0:xt.includes(Pe))||((ft=re.referrerName)==null?void 0:ft.toLowerCase().includes(Pe))||((pt=re.referrerCode)==null?void 0:pt.toLowerCase().includes(Pe))}),it=u.filter(re=>{var et;if(!N)return!0;const Pe=N.toLowerCase();return((et=re.userName)==null?void 0:et.toLowerCase().includes(Pe))||re.account&&re.account.toLowerCase().includes(Pe)});return s.jsxs("div",{className:"p-8 w-full",children:[v&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:v}),s.jsx("button",{type:"button",onClick:()=>w(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex items-center justify-between mb-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold text-white",children:"推广中心"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理:订单、分销绑定、提现审核"})]}),s.jsxs(ne,{onClick:Y,disabled:g,variant:"outline",className:"border-gray-700 text-gray-300 hover:bg-gray-800",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${g?"animate-spin":""}`}),"刷新数据"]})]}),s.jsx("div",{className:"flex gap-2 mb-6 border-b border-gray-700 pb-4 flex-wrap",children:[{key:"overview",label:"数据概览",icon:vo},{key:"orders",label:"订单管理",icon:ph},{key:"bindings",label:"绑定管理",icon:Ns},{key:"withdrawals",label:"提现审核",icon:Ll},{key:"settings",label:"推广设置",icon:bo}].map(re=>s.jsxs("button",{type:"button",onClick:()=>{e(re.key),E("all"),k("")},className:`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-colors ${t===re.key?"bg-[#38bdac] text-white":"text-gray-400 hover:text-white hover:bg-gray-800"}`,children:[s.jsx(re.icon,{className:"w-4 h-4"}),re.label]},re.key))}),g?s.jsxs("div",{className:"flex items-center justify-center py-20",children:[s.jsx(Ue,{className:"w-8 h-8 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[t==="overview"&&a&&s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日点击"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:a.todayClicks}),s.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"总点击次数(实时)"})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:s.jsx(Og,{className:"w-6 h-6 text-blue-400"})})]})})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日独立用户"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:a.todayUniqueVisitors??0}),s.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"去重访客数(实时)"})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-cyan-500/20 flex items-center justify-center",children:s.jsx(Mn,{className:"w-6 h-6 text-cyan-400"})})]})})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日总文章点击率"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:(a.todayClickRate??0).toFixed(2)}),s.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"人均点击(总点击/独立用户)"})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/20 flex items-center justify-center",children:s.jsx(vo,{className:"w-6 h-6 text-amber-400"})})]})})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日绑定"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:a.todayBindings})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-green-500/20 flex items-center justify-center",children:s.jsx(Ns,{className:"w-6 h-6 text-green-400"})})]})})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日转化"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:a.todayConversions})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-purple-500/20 flex items-center justify-center",children:s.jsx(Bv,{className:"w-6 h-6 text-purple-400"})})]})})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日佣金"}),s.jsxs("p",{className:"text-2xl font-bold text-[#38bdac] mt-1",children:["¥",a.todayEarnings.toFixed(2)]})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac]/20 flex items-center justify-center",children:s.jsx(ph,{className:"w-6 h-6 text-[#38bdac]"})})]})})})]}),(((Mt=a.todayClicksByPage)==null?void 0:Mt.length)??0)>0&&s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Og,{className:"w-5 h-5 text-[#38bdac]"}),"每篇文章今日点击(按来源页/文章统计)"]}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"实际用户与实际文章的点击均计入;今日总点击与上表一致"})]}),s.jsx(Ce,{children:s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[s.jsx("th",{className:"pb-3 pr-4",children:"来源页/文章"}),s.jsx("th",{className:"pb-3 pr-4 text-right",children:"今日点击"}),s.jsx("th",{className:"pb-3 text-right",children:"占比"})]})}),s.jsx("tbody",{children:[...a.todayClicksByPage??[]].sort((re,Pe)=>Pe.clicks-re.clicks).map((re,Pe)=>s.jsxs("tr",{className:"border-b border-gray-700/50",children:[s.jsx("td",{className:"py-2 pr-4 text-white font-mono",children:re.page||"(未区分)"}),s.jsx("td",{className:"py-2 pr-4 text-right text-white",children:re.clicks}),s.jsxs("td",{className:"py-2 text-right text-gray-400",children:[a.todayClicks>0?(re.clicks/a.todayClicks*100).toFixed(1):0,"%"]})]},Pe))})]})})})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsx(Se,{className:"bg-orange-500/10 border-orange-500/30",children:s.jsx(Ce,{className:"p-6",children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-orange-500/20 flex items-center justify-center",children:s.jsx(Pg,{className:"w-6 h-6 text-orange-400"})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"text-orange-300 font-medium",children:"即将过期绑定"}),s.jsxs("p",{className:"text-2xl font-bold text-white",children:[a.expiringBindings," 个"]}),s.jsx("p",{className:"text-orange-300/60 text-sm",children:"7天内到期,需关注转化"})]})]})})}),s.jsx(Se,{className:"bg-blue-500/10 border-blue-500/30",children:s.jsx(Ce,{className:"p-6",children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:s.jsx(Ll,{className:"w-6 h-6 text-blue-400"})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"text-blue-300 font-medium",children:"待审核提现"}),s.jsxs("p",{className:"text-2xl font-bold text-white",children:[a.pendingWithdrawals," 笔"]}),s.jsxs("p",{className:"text-blue-300/60 text-sm",children:["共 ¥",a.pendingWithdrawAmount.toFixed(2)]})]}),s.jsx(ne,{onClick:()=>e("withdrawals"),variant:"outline",className:"border-blue-500/50 text-blue-400 hover:bg-blue-500/20",children:"去审核"})]})})})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsx(qe,{children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(fh,{className:"w-5 h-5 text-[#38bdac]"}),"本月统计"]})}),s.jsx(Ce,{children:s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"点击量"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.monthClicks})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"绑定数"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.monthBindings})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"转化数"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.monthConversions})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"佣金"}),s.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",a.monthEarnings.toFixed(2)]})]})]})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsx(qe,{children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(vo,{className:"w-5 h-5 text-[#38bdac]"}),"累计统计"]})}),s.jsxs(Ce,{children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"总点击"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.totalClicks.toLocaleString()})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"总绑定"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.totalBindings.toLocaleString()})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"总转化"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.totalConversions})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"总佣金"}),s.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",a.totalEarnings.toFixed(2)]})]})]}),s.jsxs("div",{className:"mt-4 p-4 bg-[#38bdac]/10 rounded-lg flex items-center justify-between",children:[s.jsx("span",{className:"text-gray-300",children:"点击转化率"}),s.jsxs("span",{className:"text-[#38bdac] font-bold text-xl",children:[a.conversionRate,"%"]})]})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsx(qe,{children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"}),"推广统计"]})}),s.jsx(Ce,{children:s.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[s.jsx("p",{className:"text-3xl font-bold text-white",children:a.totalDistributors}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"推广用户数"})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[s.jsx("p",{className:"text-3xl font-bold text-green-400",children:a.activeDistributors}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"有收益用户"})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[s.jsx("p",{className:"text-3xl font-bold text-[#38bdac]",children:"90%"}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"佣金比例"})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[s.jsx("p",{className:"text-3xl font-bold text-orange-400",children:"30天"}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"绑定有效期"})]})]})})]})]}),t==="orders"&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-4",children:[s.jsxs("div",{className:"relative flex-1",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),s.jsx(le,{value:N,onChange:re=>k(re.target.value),placeholder:"搜索订单号、用户名、手机号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),s.jsxs("select",{value:C,onChange:re=>E(re.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[s.jsx("option",{value:"all",children:"全部状态"}),s.jsx("option",{value:"completed",children:"已完成"}),s.jsx("option",{value:"pending",children:"待支付"}),s.jsx("option",{value:"failed",children:"已失败"}),s.jsx("option",{value:"refunded",children:"已退款"})]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ce,{className:"p-0",children:[n.length===0?s.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无订单数据"}):s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[s.jsx("th",{className:"p-4 text-left font-medium",children:"订单号"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"商品"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"支付方式"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"退款原因"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"推荐人/邀请码"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"分销佣金"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"下单时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"操作"})]})}),s.jsx("tbody",{className:"divide-y divide-gray-700/50",children:Dt.map(re=>{var Pe,et;return s.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[s.jsxs("td",{className:"p-4 font-mono text-xs text-gray-400",children:[(Pe=re.id)==null?void 0:Pe.slice(0,12),"..."]}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white text-sm",children:re.userNickname}),s.jsx("p",{className:"text-gray-500 text-xs",children:re.userPhone})]})}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white text-sm",children:(()=>{const xt=re.productType||re.type;return xt==="fullbook"?`${re.bookName||"《底层逻辑》"} - 全本`:xt==="match"?"匹配次数购买":`${re.bookName||"《底层逻辑》"} - ${re.sectionTitle||re.chapterTitle||`章节${re.productId||re.sectionId||""}`}`})()}),s.jsx("p",{className:"text-gray-500 text-xs",children:(()=>{const xt=re.productType||re.type;return xt==="fullbook"?"全书解锁":xt==="match"?"功能权益":re.chapterTitle||"单章购买"})()})]})}),s.jsxs("td",{className:"p-4 text-[#38bdac] font-bold",children:["¥",typeof re.amount=="number"?re.amount.toFixed(2):parseFloat(String(re.amount||"0")).toFixed(2)]}),s.jsx("td",{className:"p-4 text-gray-300",children:re.paymentMethod==="wechat"?"微信支付":re.paymentMethod==="alipay"?"支付宝":re.paymentMethod||"微信支付"}),s.jsx("td",{className:"p-4",children:re.status==="refunded"?s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 border-0",children:"已退款"}):re.status==="completed"||re.status==="paid"?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0",children:"已完成"}):re.status==="pending"||re.status==="created"?s.jsx(Ke,{className:"bg-yellow-500/20 text-yellow-400 border-0",children:"待支付"}):s.jsx(Ke,{className:"bg-red-500/20 text-red-400 border-0",children:"已失败"})}),s.jsx("td",{className:"p-4 text-gray-400 text-sm max-w-[120px]",title:re.refundReason,children:re.status==="refunded"&&re.refundReason?re.refundReason:"-"}),s.jsx("td",{className:"p-4 text-gray-300 text-sm",children:re.referrerId||re.referralCode?s.jsxs("span",{title:re.referralCode||re.referrerCode||re.referrerId||"",children:[re.referrerNickname||re.referralCode||re.referrerCode||((et=re.referrerId)==null?void 0:et.slice(0,8)),(re.referralCode||re.referrerCode)&&` (${re.referralCode||re.referrerCode})`]}):"-"}),s.jsx("td",{className:"p-4 text-[#FFD700]",children:re.referrerEarnings?`¥${(typeof re.referrerEarnings=="number"?re.referrerEarnings:parseFloat(String(re.referrerEarnings))).toFixed(2)}`:"-"}),s.jsx("td",{className:"p-4 text-gray-400 text-sm",children:re.createdAt?new Date(re.createdAt).toLocaleString("zh-CN"):"-"}),s.jsx("td",{className:"p-4",children:(re.status==="paid"||re.status==="completed")&&s.jsxs(ne,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{ue(re),R("")},children:[s.jsx(tj,{className:"w-3 h-3 mr-1"}),"退款"]})})]},re.id)})})]})}),t==="orders"&&s.jsx(ws,{page:A,totalPages:gt,total:P,pageSize:H,onPageChange:D,onPageSizeChange:re=>{_(re),D(1)}})]})})]}),t==="bindings"&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-4",children:[s.jsxs("div",{className:"relative flex-1",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),s.jsx(le,{value:N,onChange:re=>k(re.target.value),placeholder:"搜索用户昵称、手机号、推广码...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),s.jsxs("select",{value:C,onChange:re=>E(re.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[s.jsx("option",{value:"all",children:"全部状态"}),s.jsx("option",{value:"active",children:"有效"}),s.jsx("option",{value:"converted",children:"已转化"}),s.jsx("option",{value:"expired",children:"已过期"})]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ce,{className:"p-0",children:[jn.length===0?s.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无绑定数据"}):s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[s.jsx("th",{className:"p-4 text-left font-medium",children:"访客"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"分销商"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"绑定时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"到期时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"佣金"})]})}),s.jsx("tbody",{className:"divide-y divide-gray-700/50",children:jn.map(re=>s.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white font-medium",children:re.refereeNickname||"匿名用户"}),s.jsx("p",{className:"text-gray-500 text-xs",children:re.refereePhone})]})}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white",children:re.referrerName||"-"}),s.jsx("p",{className:"text-gray-500 text-xs font-mono",children:re.referrerCode})]})}),s.jsx("td",{className:"p-4 text-gray-400",children:re.boundAt?new Date(re.boundAt).toLocaleDateString("zh-CN"):"-"}),s.jsx("td",{className:"p-4 text-gray-400",children:re.expiresAt?new Date(re.expiresAt).toLocaleDateString("zh-CN"):"-"}),s.jsx("td",{className:"p-4",children:He(re.status)}),s.jsx("td",{className:"p-4",children:re.commission?s.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",re.commission.toFixed(2)]}):s.jsx("span",{className:"text-gray-500",children:"-"})})]},re.id))})]})}),t==="bindings"&&s.jsx(ws,{page:A,totalPages:gt,total:P,pageSize:H,onPageChange:D,onPageSizeChange:re=>{_(re),D(1)}})]})})]}),t==="withdrawals"&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-4",children:[s.jsxs("div",{className:"relative flex-1",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),s.jsx(le,{value:N,onChange:re=>k(re.target.value),placeholder:"搜索用户名称、账号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),s.jsxs("select",{value:C,onChange:re=>E(re.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[s.jsx("option",{value:"all",children:"全部状态"}),s.jsx("option",{value:"pending",children:"待审核"}),s.jsx("option",{value:"completed",children:"已完成"}),s.jsx("option",{value:"rejected",children:"已拒绝"})]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ce,{className:"p-0",children:[it.length===0?s.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无提现记录"}):s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[s.jsx("th",{className:"p-4 text-left font-medium",children:"申请人"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"收款方式"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"收款账号"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),s.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),s.jsx("tbody",{className:"divide-y divide-gray-700/50",children:it.map(re=>s.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[s.jsx("td",{className:"p-4",children:s.jsxs("div",{className:"flex items-center gap-2",children:[re.userAvatar?s.jsx("img",{src:ts(re.userAvatar),alt:"",className:"w-8 h-8 rounded-full object-cover"}):s.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-600 flex items-center justify-center text-white text-sm font-medium",children:(re.userName||re.name||"?").slice(0,1)}),s.jsx("p",{className:"text-white font-medium",children:re.userName||re.name})]})}),s.jsx("td",{className:"p-4",children:s.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",re.amount.toFixed(2)]})}),s.jsx("td",{className:"p-4",children:s.jsx(Ke,{className:re.method==="wechat"?"bg-green-500/20 text-green-400 border-0":"bg-blue-500/20 text-blue-400 border-0",children:re.method==="wechat"?"微信":"支付宝"})}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white font-mono text-xs",children:re.account}),s.jsx("p",{className:"text-gray-500 text-xs",children:re.name})]})}),s.jsx("td",{className:"p-4 text-gray-400",children:re.createdAt?new Date(re.createdAt).toLocaleString("zh-CN"):"-"}),s.jsx("td",{className:"p-4",children:He(re.status)}),s.jsx("td",{className:"p-4 text-right",children:re.status==="pending"&&s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsxs(ne,{size:"sm",onClick:()=>X(re.id),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(Bv,{className:"w-4 h-4 mr-1"}),"通过"]}),s.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>ae(re.id),className:"border-red-500/50 text-red-400 hover:bg-red-500/20",children:[s.jsx(Jw,{className:"w-4 h-4 mr-1"}),"拒绝"]})]})})]},re.id))})]})}),t==="withdrawals"&&s.jsx(ws,{page:A,totalPages:gt,total:P,pageSize:H,onPageChange:D,onPageSizeChange:re=>{_(re),D(1)}})]})})]})]}),s.jsx(Ft,{open:!!K,onOpenChange:re=>!re&&ue(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"订单退款"})}),K&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",K.orderSn||K.id]}),s.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",typeof K.amount=="number"?K.amount.toFixed(2):parseFloat(String(K.amount||"0")).toFixed(2)]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),s.jsx("div",{className:"form-input",children:s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:me,onChange:re=>R(re.target.value)})})]}),s.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>ue(null),disabled:O,children:"取消"}),s.jsx(ne,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:Be,disabled:O,children:O?"退款中...":"确认退款"})]})]})}),s.jsx(Ft,{open:!!I,onOpenChange:re=>!re&&Me(),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"拒绝提现"})}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"拒绝后该笔提现金额将返还用户余额。"}),s.jsxs("div",{children:[s.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"拒绝原因(必填)"}),s.jsx("div",{className:"form-input",children:s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"请输入拒绝原因",value:J,onChange:re=>z(re.target.value)})})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:Me,disabled:U,children:"取消"}),s.jsx(ne,{className:"bg-red-600 hover:bg-red-700 text-white",onClick:ye,disabled:U||!J.trim(),children:U?"提交中...":"确认拒绝"})]})]})}),t==="settings"&&s.jsx("div",{className:"-mx-8 -mt-6",children:s.jsx(_k,{embedded:!0})})]})}function HP(){const[t,e]=b.useState([]),[n,r]=b.useState({total:0,pendingCount:0,pendingAmount:0,successCount:0,successAmount:0,failedCount:0}),[a,i]=b.useState(!0),[o,c]=b.useState(null),[u,h]=b.useState("all"),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,w]=b.useState(0),[N,k]=b.useState(null),[C,E]=b.useState(null),[A,D]=b.useState(""),[H,_]=b.useState(!1);async function P(){var R,O,F,I,se,J,z;i(!0),c(null);try{const U=new URLSearchParams({status:u,page:String(f),pageSize:String(g)}),q=await De(`/api/admin/withdrawals?${U}`);if(q!=null&&q.success){const B=q.withdrawals||[];e(B),w(q.total??((R=q.stats)==null?void 0:R.total)??B.length),r({total:((O=q.stats)==null?void 0:O.total)??q.total??B.length,pendingCount:((F=q.stats)==null?void 0:F.pendingCount)??0,pendingAmount:((I=q.stats)==null?void 0:I.pendingAmount)??0,successCount:((se=q.stats)==null?void 0:se.successCount)??0,successAmount:((J=q.stats)==null?void 0:J.successAmount)??0,failedCount:((z=q.stats)==null?void 0:z.failedCount)??0})}else c("加载提现记录失败")}catch(U){console.error("Load withdrawals error:",U),c("加载失败,请检查网络后重试")}finally{i(!1)}}b.useEffect(()=>{m(1)},[u]),b.useEffect(()=>{P()},[u,f,g]);const L=Math.ceil(v/g)||1;async function $(R){const O=t.find(F=>F.id===R);if(O!=null&&O.userCommissionInfo&&O.userCommissionInfo.availableAfterThis<0){if(!confirm(`⚠️ 风险警告:该用户审核后余额为负数(¥${O.userCommissionInfo.availableAfterThis.toFixed(2)}),可能存在超额提现。 +如有缓存,请刷新前台/小程序页面。`)}catch(h){console.error(h),oe.error("保存失败: "+(h instanceof Error?h.message:String(h)))}finally{o(!1)}},u=h=>f=>{const m=parseFloat(f.target.value||"0");n(g=>({...g,[h]:isNaN(m)?0:m}))};return r?s.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Ll,{className:"w-5 h-5 text-[#38bdac]"}),"推广 / 分销设置"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理「好友优惠」「你得 90% 收益」「绑定期 30 天」「提现门槛」等规则,小程序和 Web 共用这套配置。"})]}),s.jsxs(ne,{onClick:c,disabled:i||r,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),i?"保存中...":"保存配置"]})]}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"flex items-center gap-2 text-white",children:[s.jsx(bA,{className:"w-4 h-4 text-[#38bdac]"}),"推广规则"]}),s.jsx(Ht,{className:"text-gray-400",children:"这三项会直接体现在小程序「推广规则」卡片上,同时影响实收佣金计算。"})]}),s.jsx(Ee,{className:"space-y-6",children:s.jsxs("div",{className:"grid grid-cols-3 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx($c,{className:"w-3 h-3 text-[#38bdac]"}),"好友优惠(%)"]}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.userDiscount,onChange:u("userDiscount")}),s.jsx("p",{className:"text-xs text-gray-500",children:"例如 5 表示好友立减 5%(在价格配置基础上生效)。"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx(Mn,{className:"w-3 h-3 text-[#38bdac]"}),"推广者分成(%)"]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx(BP,{className:"flex-1",min:10,max:100,step:1,value:[e.distributorShare],onValueChange:([h])=>n(f=>({...f,distributorShare:h}))}),s.jsx(le,{type:"number",min:0,max:100,className:"w-20 bg-[#0a1628] border-gray-700 text-white text-center",value:e.distributorShare,onChange:u("distributorShare")})]}),s.jsxs("p",{className:"text-xs text-gray-500",children:["内容订单佣金 = 订单金额 ×"," ",s.jsxs("span",{className:"text-[#38bdac] font-mono",children:[e.distributorShare,"%"]}),";会员订单见下方。"]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx($c,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者是会员 %)"]}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareVip,onChange:u("vipOrderShareVip")}),s.jsx("p",{className:"text-xs text-gray-500",children:"推广者已是会员时,会员订单佣金比例,默认 20%。"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx($c,{className:"w-3 h-3 text-[#38bdac]"}),"会员订单分润(推广者非会员 %)"]}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.vipOrderShareNonVip,onChange:u("vipOrderShareNonVip")}),s.jsx("p",{className:"text-xs text-gray-500",children:"推广者非会员时,会员订单佣金比例,默认 10%。"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx(Mn,{className:"w-3 h-3 text-[#38bdac]"}),"绑定有效期(天)"]}),s.jsx(le,{type:"number",min:1,max:365,className:"bg-[#0a1628] border-gray-700 text-white",value:e.bindingDays,onChange:u("bindingDays")}),s.jsx("p",{className:"text-xs text-gray-500",children:"好友通过你的链接进来并登录后,绑定在你名下的天数。"})]})]})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"flex items-center gap-2 text-white",children:[s.jsx(Ll,{className:"w-4 h-4 text-[#38bdac]"}),"提现规则"]}),s.jsx(Ht,{className:"text-gray-400",children:"与「提现中心」「自动提现」相关的参数,影响推广者看到的可提现金额和最低门槛。"})]}),s.jsx(Ee,{className:"space-y-6",children:s.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"最低提现金额(元)"}),s.jsx(le,{type:"number",min:0,step:1,className:"bg-[#0a1628] border-gray-700 text-white",value:e.minWithdrawAmount,onChange:u("minWithdrawAmount")}),s.jsx("p",{className:"text-xs text-gray-500",children:"小程序「满 X 元可提现」展示的门槛,同时用于后端接口校验。"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:["自动提现开关",s.jsx(Ke,{variant:"outline",className:"border-[#38bdac]/40 text-[#38bdac] text-[10px]",children:"预留"})]}),s.jsxs("div",{className:"flex items-center gap-3 mt-1",children:[s.jsx(Et,{checked:e.enableAutoWithdraw,onCheckedChange:h=>n(f=>({...f,enableAutoWithdraw:h}))}),s.jsx("span",{className:"text-sm text-gray-400",children:"开启后,可结合定时任务实现「收益自动打款到微信零钱」。"})]})]})]})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsx(qe,{children:s.jsxs(Ge,{className:"flex items-center gap-2 text-gray-200 text-sm",children:[s.jsx($c,{className:"w-4 h-4 text-[#38bdac]"}),"使用说明"]})}),s.jsxs(Ee,{className:"space-y-2 text-xs text-gray-400 leading-relaxed",children:[s.jsxs("p",{children:["1. 以上配置会写入"," ",s.jsx("code",{className:"font-mono text-[11px] text-[#38bdac]",children:"system_config.referral_config"}),",小程序「推广中心」、Web 推广页以及支付回调都会读取同一份配置。"]}),s.jsx("p",{children:"2. 修改后新订单立即生效;旧订单的历史佣金不会自动重算,只影响之后产生的订单。"}),s.jsx("p",{children:"3. 如遇前端展示与实际结算不一致,优先以此处配置为准,再排查缓存和小程序版本。"})]})]})]})]})}function HP(){var Mt;const[t,e]=b.useState("overview"),[n,r]=b.useState([]),[a,i]=b.useState(null),[o,c]=b.useState([]),[u,h]=b.useState([]),[f,m]=b.useState([]),[g,y]=b.useState(!0),[v,w]=b.useState(null),[N,k]=b.useState(""),[C,E]=b.useState("all"),[A,D]=b.useState(1),[H,_]=b.useState(10),[P,L]=b.useState(0),[$,ee]=b.useState(new Set),[K,ue]=b.useState(null),[me,R]=b.useState(""),[O,F]=b.useState(!1),[I,se]=b.useState(null),[J,z]=b.useState(""),[U,q]=b.useState(!1);b.useEffect(()=>{V()},[]),b.useEffect(()=>{D(1)},[t,C]),b.useEffect(()=>{ce(t)},[t]),b.useEffect(()=>{["orders","bindings","withdrawals"].includes(t)&&ce(t,!0)},[A,H,C,N]);async function V(){w(null);try{const re=await De("/api/admin/distribution/overview");re!=null&&re.success&&re.overview&&i(re.overview)}catch(re){console.error("[Admin] 概览接口异常:",re),w("加载概览失败")}try{const re=await De("/api/db/users");m((re==null?void 0:re.users)||[])}catch(re){console.error("[Admin] 用户数据加载失败:",re)}}async function ce(re,Pe=!1){var et;if(!(!Pe&&$.has(re))){y(!0);try{const xt=f;switch(re){case"overview":break;case"orders":{try{const ft=new URLSearchParams({page:String(A),pageSize:String(H),...C!=="all"&&{status:C},...N&&{search:N}}),pt=await De(`/api/admin/orders?${ft}`);if(pt!=null&&pt.success&&pt.orders){const wt=pt.orders.map(Qt=>{const Lt=xt.find(At=>At.id===Qt.userId),An=Qt.referrerId?xt.find(At=>At.id===Qt.referrerId):null;return{...Qt,amount:parseFloat(String(Qt.amount))||0,userNickname:(Lt==null?void 0:Lt.nickname)||Qt.userNickname||"未知用户",userPhone:(Lt==null?void 0:Lt.phone)||Qt.userPhone||"-",referrerNickname:(An==null?void 0:An.nickname)||null,referrerCode:(An==null?void 0:An.referralCode)??null,type:Qt.productType||Qt.type}});r(wt),L(pt.total??wt.length)}else r([]),L(0)}catch(ft){console.error(ft),w("加载订单失败"),r([])}break}case"bindings":{try{const ft=new URLSearchParams({page:String(A),pageSize:String(H),...C!=="all"&&{status:C}}),pt=await De(`/api/db/distribution?${ft}`);c((pt==null?void 0:pt.bindings)||[]),L((pt==null?void 0:pt.total)??((et=pt==null?void 0:pt.bindings)==null?void 0:et.length)??0)}catch(ft){console.error(ft),w("加载绑定数据失败"),c([])}break}case"withdrawals":{try{const ft=C==="completed"?"success":C==="rejected"?"failed":C,pt=new URLSearchParams({...ft&&ft!=="all"&&{status:ft},page:String(A),pageSize:String(H)}),wt=await De(`/api/admin/withdrawals?${pt}`);if(wt!=null&&wt.success&&wt.withdrawals){const Qt=wt.withdrawals.map(Lt=>({...Lt,account:Lt.account??"未绑定微信号",status:Lt.status==="success"?"completed":Lt.status==="failed"?"rejected":Lt.status}));h(Qt),L((wt==null?void 0:wt.total)??Qt.length)}else wt!=null&&wt.success||w(`获取提现记录失败: ${(wt==null?void 0:wt.error)||"未知错误"}`),h([])}catch(ft){console.error(ft),w("加载提现数据失败"),h([])}break}}ee(ft=>new Set(ft).add(re))}catch(xt){console.error(xt)}finally{y(!1)}}}async function Y(){w(null),ee(re=>{const Pe=new Set(re);return Pe.delete(t),Pe}),t==="overview"&&V(),await ce(t,!0)}async function X(re){if(confirm("确认审核通过并打款?"))try{const Pe=await Tt("/api/admin/withdrawals",{id:re,action:"approve"});if(!(Pe!=null&&Pe.success)){const et=(Pe==null?void 0:Pe.message)||(Pe==null?void 0:Pe.error)||"操作失败";oe.error(et);return}await Y()}catch(Pe){console.error(Pe),oe.error("操作失败")}}function ae(re){se(re),z("")}async function ye(){const re=I;if(!re)return;const Pe=J.trim();if(!Pe){oe.error("请填写拒绝原因");return}q(!0);try{const et=await Tt("/api/admin/withdrawals",{id:re,action:"reject",errorMessage:Pe});if(!(et!=null&&et.success)){oe.error((et==null?void 0:et.error)||"操作失败");return}oe.success("已拒绝该提现申请"),se(null),z(""),await Y()}catch(et){console.error(et),oe.error("操作失败")}finally{q(!1)}}function je(){I&&oe.info("已取消操作"),se(null),z("")}async function _e(){var re;if(!(!(K!=null&&K.orderSn)&&!(K!=null&&K.id))){F(!0),w(null);try{const Pe=await Tt("/api/admin/orders/refund",{orderSn:K.orderSn||K.id,reason:me||void 0});Pe!=null&&Pe.success?(ue(null),R(""),await ce("orders",!0)):w((Pe==null?void 0:Pe.error)||"退款失败")}catch(Pe){const et=Pe;w(((re=et==null?void 0:et.data)==null?void 0:re.error)||"退款失败,请检查网络后重试")}finally{F(!1)}}}function He(re){const Pe={active:"bg-green-500/20 text-green-400",converted:"bg-blue-500/20 text-blue-400",expired:"bg-gray-500/20 text-gray-400",cancelled:"bg-red-500/20 text-red-400",pending:"bg-orange-500/20 text-orange-400",pending_confirm:"bg-orange-500/20 text-orange-400",processing:"bg-blue-500/20 text-blue-400",completed:"bg-green-500/20 text-green-400",rejected:"bg-red-500/20 text-red-400"},et={active:"有效",converted:"已转化",expired:"已过期",cancelled:"已取消",pending:"待审核",pending_confirm:"待用户确认",processing:"处理中",completed:"已完成",rejected:"已拒绝"};return s.jsx(Ke,{className:`${Pe[re]||"bg-gray-500/20 text-gray-400"} border-0`,children:et[re]||re})}const gt=Math.ceil(P/H)||1,Dt=n,jn=o.filter(re=>{var et,xt,ft,pt;if(!N)return!0;const Pe=N.toLowerCase();return((et=re.refereeNickname)==null?void 0:et.toLowerCase().includes(Pe))||((xt=re.refereePhone)==null?void 0:xt.includes(Pe))||((ft=re.referrerName)==null?void 0:ft.toLowerCase().includes(Pe))||((pt=re.referrerCode)==null?void 0:pt.toLowerCase().includes(Pe))}),it=u.filter(re=>{var et;if(!N)return!0;const Pe=N.toLowerCase();return((et=re.userName)==null?void 0:et.toLowerCase().includes(Pe))||re.account&&re.account.toLowerCase().includes(Pe)});return s.jsxs("div",{className:"p-8 w-full",children:[v&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:v}),s.jsx("button",{type:"button",onClick:()=>w(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex items-center justify-between mb-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold text-white",children:"推广中心"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"统一管理:订单、分销绑定、提现审核"})]}),s.jsxs(ne,{onClick:Y,disabled:g,variant:"outline",className:"border-gray-700 text-gray-300 hover:bg-gray-800",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${g?"animate-spin":""}`}),"刷新数据"]})]}),s.jsx("div",{className:"flex gap-2 mb-6 border-b border-gray-700 pb-4 flex-wrap",children:[{key:"overview",label:"数据概览",icon:vo},{key:"orders",label:"订单管理",icon:gh},{key:"bindings",label:"绑定管理",icon:Ns},{key:"withdrawals",label:"提现审核",icon:Ll},{key:"settings",label:"推广设置",icon:bo}].map(re=>s.jsxs("button",{type:"button",onClick:()=>{e(re.key),E("all"),k("")},className:`flex items-center gap-2 px-4 py-2 rounded-lg text-sm font-medium transition-colors ${t===re.key?"bg-[#38bdac] text-white":"text-gray-400 hover:text-white hover:bg-gray-800"}`,children:[s.jsx(re.icon,{className:"w-4 h-4"}),re.label]},re.key))}),g?s.jsxs("div",{className:"flex items-center justify-center py-20",children:[s.jsx(Ue,{className:"w-8 h-8 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[t==="overview"&&a&&s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日点击"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:a.todayClicks}),s.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"总点击次数(实时)"})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:s.jsx(_g,{className:"w-6 h-6 text-blue-400"})})]})})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日独立用户"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:a.todayUniqueVisitors??0}),s.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"去重访客数(实时)"})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-cyan-500/20 flex items-center justify-center",children:s.jsx(Mn,{className:"w-6 h-6 text-cyan-400"})})]})})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日总文章点击率"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:(a.todayClickRate??0).toFixed(2)}),s.jsx("p",{className:"text-xs text-gray-500 mt-0.5",children:"人均点击(总点击/独立用户)"})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-amber-500/20 flex items-center justify-center",children:s.jsx(vo,{className:"w-6 h-6 text-amber-400"})})]})})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日绑定"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:a.todayBindings})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-green-500/20 flex items-center justify-center",children:s.jsx(Ns,{className:"w-6 h-6 text-green-400"})})]})})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日转化"}),s.jsx("p",{className:"text-2xl font-bold text-white mt-1",children:a.todayConversions})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-purple-500/20 flex items-center justify-center",children:s.jsx(Hv,{className:"w-6 h-6 text-purple-400"})})]})})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-6",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"今日佣金"}),s.jsxs("p",{className:"text-2xl font-bold text-[#38bdac] mt-1",children:["¥",a.todayEarnings.toFixed(2)]})]}),s.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac]/20 flex items-center justify-center",children:s.jsx(gh,{className:"w-6 h-6 text-[#38bdac]"})})]})})})]}),(((Mt=a.todayClicksByPage)==null?void 0:Mt.length)??0)>0&&s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(_g,{className:"w-5 h-5 text-[#38bdac]"}),"每篇文章今日点击(按来源页/文章统计)"]}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"实际用户与实际文章的点击均计入;今日总点击与上表一致"})]}),s.jsx(Ee,{children:s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[s.jsx("th",{className:"pb-3 pr-4",children:"来源页/文章"}),s.jsx("th",{className:"pb-3 pr-4 text-right",children:"今日点击"}),s.jsx("th",{className:"pb-3 text-right",children:"占比"})]})}),s.jsx("tbody",{children:[...a.todayClicksByPage??[]].sort((re,Pe)=>Pe.clicks-re.clicks).map((re,Pe)=>s.jsxs("tr",{className:"border-b border-gray-700/50",children:[s.jsx("td",{className:"py-2 pr-4 text-white font-mono",children:re.page||"(未区分)"}),s.jsx("td",{className:"py-2 pr-4 text-right text-white",children:re.clicks}),s.jsxs("td",{className:"py-2 text-right text-gray-400",children:[a.todayClicks>0?(re.clicks/a.todayClicks*100).toFixed(1):0,"%"]})]},Pe))})]})})})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsx(Ce,{className:"bg-orange-500/10 border-orange-500/30",children:s.jsx(Ee,{className:"p-6",children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-orange-500/20 flex items-center justify-center",children:s.jsx(Lg,{className:"w-6 h-6 text-orange-400"})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"text-orange-300 font-medium",children:"即将过期绑定"}),s.jsxs("p",{className:"text-2xl font-bold text-white",children:[a.expiringBindings," 个"]}),s.jsx("p",{className:"text-orange-300/60 text-sm",children:"7天内到期,需关注转化"})]})]})})}),s.jsx(Ce,{className:"bg-blue-500/10 border-blue-500/30",children:s.jsx(Ee,{className:"p-6",children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-blue-500/20 flex items-center justify-center",children:s.jsx(Ll,{className:"w-6 h-6 text-blue-400"})}),s.jsxs("div",{className:"flex-1",children:[s.jsx("p",{className:"text-blue-300 font-medium",children:"待审核提现"}),s.jsxs("p",{className:"text-2xl font-bold text-white",children:[a.pendingWithdrawals," 笔"]}),s.jsxs("p",{className:"text-blue-300/60 text-sm",children:["共 ¥",a.pendingWithdrawAmount.toFixed(2)]})]}),s.jsx(ne,{onClick:()=>e("withdrawals"),variant:"outline",className:"border-blue-500/50 text-blue-400 hover:bg-blue-500/20",children:"去审核"})]})})})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-6",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsx(qe,{children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(mh,{className:"w-5 h-5 text-[#38bdac]"}),"本月统计"]})}),s.jsx(Ee,{children:s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"点击量"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.monthClicks})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"绑定数"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.monthBindings})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"转化数"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.monthConversions})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"佣金"}),s.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",a.monthEarnings.toFixed(2)]})]})]})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsx(qe,{children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(vo,{className:"w-5 h-5 text-[#38bdac]"}),"累计统计"]})}),s.jsxs(Ee,{children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"总点击"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.totalClicks.toLocaleString()})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"总绑定"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.totalBindings.toLocaleString()})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"总转化"}),s.jsx("p",{className:"text-xl font-bold text-white",children:a.totalConversions})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"总佣金"}),s.jsxs("p",{className:"text-xl font-bold text-[#38bdac]",children:["¥",a.totalEarnings.toFixed(2)]})]})]}),s.jsxs("div",{className:"mt-4 p-4 bg-[#38bdac]/10 rounded-lg flex items-center justify-between",children:[s.jsx("span",{className:"text-gray-300",children:"点击转化率"}),s.jsxs("span",{className:"text-[#38bdac] font-bold text-xl",children:[a.conversionRate,"%"]})]})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsx(qe,{children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"}),"推广统计"]})}),s.jsx(Ee,{children:s.jsxs("div",{className:"grid grid-cols-4 gap-4",children:[s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[s.jsx("p",{className:"text-3xl font-bold text-white",children:a.totalDistributors}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"推广用户数"})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[s.jsx("p",{className:"text-3xl font-bold text-green-400",children:a.activeDistributors}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"有收益用户"})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[s.jsx("p",{className:"text-3xl font-bold text-[#38bdac]",children:"90%"}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"佣金比例"})]}),s.jsxs("div",{className:"p-4 bg-white/5 rounded-lg text-center",children:[s.jsx("p",{className:"text-3xl font-bold text-orange-400",children:"30天"}),s.jsx("p",{className:"text-gray-400 text-sm mt-1",children:"绑定有效期"})]})]})})]})]}),t==="orders"&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-4",children:[s.jsxs("div",{className:"relative flex-1",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),s.jsx(le,{value:N,onChange:re=>k(re.target.value),placeholder:"搜索订单号、用户名、手机号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),s.jsxs("select",{value:C,onChange:re=>E(re.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[s.jsx("option",{value:"all",children:"全部状态"}),s.jsx("option",{value:"completed",children:"已完成"}),s.jsx("option",{value:"pending",children:"待支付"}),s.jsx("option",{value:"failed",children:"已失败"}),s.jsx("option",{value:"refunded",children:"已退款"})]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ee,{className:"p-0",children:[n.length===0?s.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无订单数据"}):s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[s.jsx("th",{className:"p-4 text-left font-medium",children:"订单号"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"商品"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"支付方式"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"退款原因"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"推荐人/邀请码"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"分销佣金"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"下单时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"操作"})]})}),s.jsx("tbody",{className:"divide-y divide-gray-700/50",children:Dt.map(re=>{var Pe,et;return s.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[s.jsxs("td",{className:"p-4 font-mono text-xs text-gray-400",children:[(Pe=re.id)==null?void 0:Pe.slice(0,12),"..."]}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white text-sm",children:re.userNickname}),s.jsx("p",{className:"text-gray-500 text-xs",children:re.userPhone})]})}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white text-sm",children:(()=>{const xt=re.productType||re.type;return xt==="fullbook"?`${re.bookName||"《底层逻辑》"} - 全本`:xt==="match"?"匹配次数购买":`${re.bookName||"《底层逻辑》"} - ${re.sectionTitle||re.chapterTitle||`章节${re.productId||re.sectionId||""}`}`})()}),s.jsx("p",{className:"text-gray-500 text-xs",children:(()=>{const xt=re.productType||re.type;return xt==="fullbook"?"全书解锁":xt==="match"?"功能权益":re.chapterTitle||"单章购买"})()})]})}),s.jsxs("td",{className:"p-4 text-[#38bdac] font-bold",children:["¥",typeof re.amount=="number"?re.amount.toFixed(2):parseFloat(String(re.amount||"0")).toFixed(2)]}),s.jsx("td",{className:"p-4 text-gray-300",children:re.paymentMethod==="wechat"?"微信支付":re.paymentMethod==="alipay"?"支付宝":re.paymentMethod||"微信支付"}),s.jsx("td",{className:"p-4",children:re.status==="refunded"?s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 border-0",children:"已退款"}):re.status==="completed"||re.status==="paid"?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 border-0",children:"已完成"}):re.status==="pending"||re.status==="created"?s.jsx(Ke,{className:"bg-yellow-500/20 text-yellow-400 border-0",children:"待支付"}):s.jsx(Ke,{className:"bg-red-500/20 text-red-400 border-0",children:"已失败"})}),s.jsx("td",{className:"p-4 text-gray-400 text-sm max-w-[120px]",title:re.refundReason,children:re.status==="refunded"&&re.refundReason?re.refundReason:"-"}),s.jsx("td",{className:"p-4 text-gray-300 text-sm",children:re.referrerId||re.referralCode?s.jsxs("span",{title:re.referralCode||re.referrerCode||re.referrerId||"",children:[re.referrerNickname||re.referralCode||re.referrerCode||((et=re.referrerId)==null?void 0:et.slice(0,8)),(re.referralCode||re.referrerCode)&&` (${re.referralCode||re.referrerCode})`]}):"-"}),s.jsx("td",{className:"p-4 text-[#FFD700]",children:re.referrerEarnings?`¥${(typeof re.referrerEarnings=="number"?re.referrerEarnings:parseFloat(String(re.referrerEarnings))).toFixed(2)}`:"-"}),s.jsx("td",{className:"p-4 text-gray-400 text-sm",children:re.createdAt?new Date(re.createdAt).toLocaleString("zh-CN"):"-"}),s.jsx("td",{className:"p-4",children:(re.status==="paid"||re.status==="completed")&&s.jsxs(ne,{variant:"outline",size:"sm",className:"border-orange-500/50 text-orange-400 hover:bg-orange-500/20",onClick:()=>{ue(re),R("")},children:[s.jsx(rj,{className:"w-3 h-3 mr-1"}),"退款"]})})]},re.id)})})]})}),t==="orders"&&s.jsx(ws,{page:A,totalPages:gt,total:P,pageSize:H,onPageChange:D,onPageSizeChange:re=>{_(re),D(1)}})]})})]}),t==="bindings"&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-4",children:[s.jsxs("div",{className:"relative flex-1",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),s.jsx(le,{value:N,onChange:re=>k(re.target.value),placeholder:"搜索用户昵称、手机号、推广码...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),s.jsxs("select",{value:C,onChange:re=>E(re.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[s.jsx("option",{value:"all",children:"全部状态"}),s.jsx("option",{value:"active",children:"有效"}),s.jsx("option",{value:"converted",children:"已转化"}),s.jsx("option",{value:"expired",children:"已过期"})]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ee,{className:"p-0",children:[jn.length===0?s.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无绑定数据"}):s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[s.jsx("th",{className:"p-4 text-left font-medium",children:"访客"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"分销商"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"绑定时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"到期时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"佣金"})]})}),s.jsx("tbody",{className:"divide-y divide-gray-700/50",children:jn.map(re=>s.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white font-medium",children:re.refereeNickname||"匿名用户"}),s.jsx("p",{className:"text-gray-500 text-xs",children:re.refereePhone})]})}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white",children:re.referrerName||"-"}),s.jsx("p",{className:"text-gray-500 text-xs font-mono",children:re.referrerCode})]})}),s.jsx("td",{className:"p-4 text-gray-400",children:re.boundAt?new Date(re.boundAt).toLocaleDateString("zh-CN"):"-"}),s.jsx("td",{className:"p-4 text-gray-400",children:re.expiresAt?new Date(re.expiresAt).toLocaleDateString("zh-CN"):"-"}),s.jsx("td",{className:"p-4",children:He(re.status)}),s.jsx("td",{className:"p-4",children:re.commission?s.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",re.commission.toFixed(2)]}):s.jsx("span",{className:"text-gray-500",children:"-"})})]},re.id))})]})}),t==="bindings"&&s.jsx(ws,{page:A,totalPages:gt,total:P,pageSize:H,onPageChange:D,onPageSizeChange:re=>{_(re),D(1)}})]})})]}),t==="withdrawals"&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-4",children:[s.jsxs("div",{className:"relative flex-1",children:[s.jsx(Sa,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-gray-400"}),s.jsx(le,{value:N,onChange:re=>k(re.target.value),placeholder:"搜索用户名称、账号...",className:"pl-10 bg-[#0f2137] border-gray-700 text-white"})]}),s.jsxs("select",{value:C,onChange:re=>E(re.target.value),className:"px-4 py-2 bg-[#0f2137] border border-gray-700 rounded-lg text-white",children:[s.jsx("option",{value:"all",children:"全部状态"}),s.jsx("option",{value:"pending",children:"待审核"}),s.jsx("option",{value:"completed",children:"已完成"}),s.jsx("option",{value:"rejected",children:"已拒绝"})]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ee,{className:"p-0",children:[it.length===0?s.jsx("div",{className:"py-12 text-center text-gray-500",children:"暂无提现记录"}):s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[s.jsx("th",{className:"p-4 text-left font-medium",children:"申请人"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"金额"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"收款方式"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"收款账号"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),s.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),s.jsx("tbody",{className:"divide-y divide-gray-700/50",children:it.map(re=>s.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[s.jsx("td",{className:"p-4",children:s.jsxs("div",{className:"flex items-center gap-2",children:[re.userAvatar?s.jsx("img",{src:ts(re.userAvatar),alt:"",className:"w-8 h-8 rounded-full object-cover"}):s.jsx("div",{className:"w-8 h-8 rounded-full bg-gray-600 flex items-center justify-center text-white text-sm font-medium",children:(re.userName||re.name||"?").slice(0,1)}),s.jsx("p",{className:"text-white font-medium",children:re.userName||re.name})]})}),s.jsx("td",{className:"p-4",children:s.jsxs("span",{className:"text-[#38bdac] font-bold",children:["¥",re.amount.toFixed(2)]})}),s.jsx("td",{className:"p-4",children:s.jsx(Ke,{className:re.method==="wechat"?"bg-green-500/20 text-green-400 border-0":"bg-blue-500/20 text-blue-400 border-0",children:re.method==="wechat"?"微信":"支付宝"})}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{children:[s.jsx("p",{className:"text-white font-mono text-xs",children:re.account}),s.jsx("p",{className:"text-gray-500 text-xs",children:re.name})]})}),s.jsx("td",{className:"p-4 text-gray-400",children:re.createdAt?new Date(re.createdAt).toLocaleString("zh-CN"):"-"}),s.jsx("td",{className:"p-4",children:He(re.status)}),s.jsx("td",{className:"p-4 text-right",children:re.status==="pending"&&s.jsxs("div",{className:"flex gap-2 justify-end",children:[s.jsxs(ne,{size:"sm",onClick:()=>X(re.id),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(Hv,{className:"w-4 h-4 mr-1"}),"通过"]}),s.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>ae(re.id),className:"border-red-500/50 text-red-400 hover:bg-red-500/20",children:[s.jsx(Qw,{className:"w-4 h-4 mr-1"}),"拒绝"]})]})})]},re.id))})]})}),t==="withdrawals"&&s.jsx(ws,{page:A,totalPages:gt,total:P,pageSize:H,onPageChange:D,onPageSizeChange:re=>{_(re),D(1)}})]})})]})]}),s.jsx(Ft,{open:!!K,onOpenChange:re=>!re&&ue(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"订单退款"})}),K&&s.jsxs("div",{className:"space-y-4",children:[s.jsxs("p",{className:"text-gray-400 text-sm",children:["订单号:",K.orderSn||K.id]}),s.jsxs("p",{className:"text-gray-400 text-sm",children:["退款金额:¥",typeof K.amount=="number"?K.amount.toFixed(2):parseFloat(String(K.amount||"0")).toFixed(2)]}),s.jsxs("div",{children:[s.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"退款原因(选填)"}),s.jsx("div",{className:"form-input",children:s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"如:用户申请退款",value:me,onChange:re=>R(re.target.value)})})]}),s.jsx("p",{className:"text-orange-400/80 text-xs",children:"退款将原路退回至用户微信,且无法撤销,请确认后再操作。"})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:()=>ue(null),disabled:O,children:"取消"}),s.jsx(ne,{className:"bg-orange-500 hover:bg-orange-600 text-white",onClick:_e,disabled:O,children:O?"退款中...":"确认退款"})]})]})}),s.jsx(Ft,{open:!!I,onOpenChange:re=>!re&&je(),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"拒绝提现"})}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"拒绝后该笔提现金额将返还用户余额。"}),s.jsxs("div",{children:[s.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"拒绝原因(必填)"}),s.jsx("div",{className:"form-input",children:s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"请输入拒绝原因",value:J,onChange:re=>z(re.target.value)})})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:je,disabled:U,children:"取消"}),s.jsx(ne,{className:"bg-red-600 hover:bg-red-700 text-white",onClick:ye,disabled:U||!J.trim(),children:U?"提交中...":"确认拒绝"})]})]})}),t==="settings"&&s.jsx("div",{className:"-mx-8 -mt-6",children:s.jsx($k,{embedded:!0})})]})}function WP(){const[t,e]=b.useState([]),[n,r]=b.useState({total:0,pendingCount:0,pendingAmount:0,successCount:0,successAmount:0,failedCount:0}),[a,i]=b.useState(!0),[o,c]=b.useState(null),[u,h]=b.useState("all"),[f,m]=b.useState(1),[g,y]=b.useState(10),[v,w]=b.useState(0),[N,k]=b.useState(null),[C,E]=b.useState(null),[A,D]=b.useState(""),[H,_]=b.useState(!1);async function P(){var R,O,F,I,se,J,z;i(!0),c(null);try{const U=new URLSearchParams({status:u,page:String(f),pageSize:String(g)}),q=await De(`/api/admin/withdrawals?${U}`);if(q!=null&&q.success){const V=q.withdrawals||[];e(V),w(q.total??((R=q.stats)==null?void 0:R.total)??V.length),r({total:((O=q.stats)==null?void 0:O.total)??q.total??V.length,pendingCount:((F=q.stats)==null?void 0:F.pendingCount)??0,pendingAmount:((I=q.stats)==null?void 0:I.pendingAmount)??0,successCount:((se=q.stats)==null?void 0:se.successCount)??0,successAmount:((J=q.stats)==null?void 0:J.successAmount)??0,failedCount:((z=q.stats)==null?void 0:z.failedCount)??0})}else c("加载提现记录失败")}catch(U){console.error("Load withdrawals error:",U),c("加载失败,请检查网络后重试")}finally{i(!1)}}b.useEffect(()=>{m(1)},[u]),b.useEffect(()=>{P()},[u,f,g]);const L=Math.ceil(v/g)||1;async function $(R){const O=t.find(F=>F.id===R);if(O!=null&&O.userCommissionInfo&&O.userCommissionInfo.availableAfterThis<0){if(!confirm(`⚠️ 风险警告:该用户审核后余额为负数(¥${O.userCommissionInfo.availableAfterThis.toFixed(2)}),可能存在超额提现。 -确认已核实用户账户并完成打款?`))return}else if(!confirm("确认已完成打款?批准后将更新用户提现记录。"))return;k(R);try{const F=await Tt("/api/admin/withdrawals",{id:R,action:"approve"});F!=null&&F.success?P():oe.error("操作失败: "+((F==null?void 0:F.error)??""))}catch{oe.error("操作失败")}finally{k(null)}}function ee(R){E(R),D("")}async function K(){const R=C;if(!R)return;const O=A.trim();if(!O){oe.error("请填写拒绝原因");return}_(!0);try{const F=await Tt("/api/admin/withdrawals",{id:R,action:"reject",errorMessage:O});F!=null&&F.success?(oe.success("已拒绝该提现申请"),E(null),D(""),P()):oe.error("操作失败: "+((F==null?void 0:F.error)??""))}catch{oe.error("操作失败")}finally{_(!1)}}function ue(){C&&oe.info("已取消操作"),E(null),D("")}function me(R){switch(R){case"pending":return s.jsx(Ke,{className:"bg-orange-500/20 text-orange-400 hover:bg-orange-500/20 border-0",children:"待处理"});case"pending_confirm":return s.jsx(Ke,{className:"bg-orange-500/20 text-orange-400 hover:bg-orange-500/20 border-0",children:"待用户确认"});case"processing":return s.jsx(Ke,{className:"bg-blue-500/20 text-blue-400 hover:bg-blue-500/20 border-0",children:"已审批等待打款"});case"success":case"completed":return s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"});case"failed":case"rejected":return s.jsx(Ke,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已拒绝"});default:return s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 border-0",children:R})}}return s.jsxs("div",{className:"p-8 w-full",children:[o&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:o}),s.jsx("button",{type:"button",onClick:()=>c(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex justify-between items-start mb-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold text-white",children:"分账提现管理"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"管理用户分销收益的提现申请"})]}),s.jsxs(ne,{variant:"outline",onClick:P,disabled:a,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${a?"animate-spin":""}`}),"刷新"]})]}),s.jsx(Se,{className:"bg-gradient-to-r from-[#38bdac]/10 to-[#0f2137] border-[#38bdac]/30 mb-6",children:s.jsx(Ce,{className:"p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(ph,{className:"w-5 h-5 text-[#38bdac] mt-0.5"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-white font-medium mb-2",children:"自动分账规则"}),s.jsxs("div",{className:"text-sm text-gray-400 space-y-1",children:[s.jsxs("p",{children:["• ",s.jsx("span",{className:"text-[#38bdac]",children:"分销比例"}),":推广者获得订单金额的"," ",s.jsx("span",{className:"text-white font-medium",children:"90%"})]}),s.jsxs("p",{children:["• ",s.jsx("span",{className:"text-[#38bdac]",children:"结算方式"}),":用户付款后,分销收益自动计入推广者账户"]}),s.jsxs("p",{children:["• ",s.jsx("span",{className:"text-[#38bdac]",children:"提现方式"}),":用户在小程序端点击提现,系统自动转账到微信零钱"]}),s.jsxs("p",{children:["• ",s.jsx("span",{className:"text-[#38bdac]",children:"审批流程"}),":待处理的提现需管理员手动确认打款后批准"]})]})]})]})})}),s.jsxs("div",{className:"grid grid-cols-4 gap-4 mb-6",children:[s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ce,{className:"p-4 text-center",children:[s.jsx("div",{className:"text-3xl font-bold text-[#38bdac]",children:n.total}),s.jsx("div",{className:"text-sm text-gray-400",children:"总申请"})]})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ce,{className:"p-4 text-center",children:[s.jsx("div",{className:"text-3xl font-bold text-orange-400",children:n.pendingCount}),s.jsx("div",{className:"text-sm text-gray-400",children:"待处理"}),s.jsxs("div",{className:"text-xs text-orange-400 mt-1",children:["¥",n.pendingAmount.toFixed(2)]})]})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ce,{className:"p-4 text-center",children:[s.jsx("div",{className:"text-3xl font-bold text-green-400",children:n.successCount}),s.jsx("div",{className:"text-sm text-gray-400",children:"已完成"}),s.jsxs("div",{className:"text-xs text-green-400 mt-1",children:["¥",n.successAmount.toFixed(2)]})]})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ce,{className:"p-4 text-center",children:[s.jsx("div",{className:"text-3xl font-bold text-red-400",children:n.failedCount}),s.jsx("div",{className:"text-sm text-gray-400",children:"已拒绝"})]})})]}),s.jsx("div",{className:"flex gap-2 mb-4",children:["all","pending","success","failed"].map(R=>s.jsx(ne,{variant:u===R?"default":"outline",size:"sm",onClick:()=>h(R),className:u===R?"bg-[#38bdac] hover:bg-[#2da396] text-white":"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:R==="all"?"全部":R==="pending"?"待处理":R==="success"?"已完成":"已拒绝"},R))}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ce,{className:"p-0",children:a?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):t.length===0?s.jsxs("div",{className:"text-center py-12",children:[s.jsx(Ll,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),s.jsx("p",{className:"text-gray-500",children:"暂无提现记录"})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[s.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"提现金额"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"用户佣金信息"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"处理时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"确认收款"}),s.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),s.jsx("tbody",{className:"divide-y divide-gray-700/50",children:t.map(R=>s.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[s.jsx("td",{className:"p-4 text-gray-400",children:new Date(R.createdAt??"").toLocaleString()}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{className:"flex items-center gap-2",children:[R.userAvatar?s.jsx("img",{src:ts(R.userAvatar),alt:R.userName??"",className:"w-8 h-8 rounded-full object-cover"}):s.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:(R.userName??"?").charAt(0)}),s.jsxs("div",{children:[s.jsx("p",{className:"font-medium text-white",children:R.userName??"未知"}),s.jsx("p",{className:"text-xs text-gray-500",children:R.userPhone??R.referralCode??(R.userId??"").slice(0,10)})]})]})}),s.jsx("td",{className:"p-4",children:s.jsxs("span",{className:"font-bold text-orange-400",children:["¥",Number(R.amount).toFixed(2)]})}),s.jsx("td",{className:"p-4",children:R.userCommissionInfo?s.jsxs("div",{className:"text-xs space-y-1",children:[s.jsxs("div",{className:"flex justify-between gap-4",children:[s.jsx("span",{className:"text-gray-500",children:"累计佣金:"}),s.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",R.userCommissionInfo.totalCommission.toFixed(2)]})]}),s.jsxs("div",{className:"flex justify-between gap-4",children:[s.jsx("span",{className:"text-gray-500",children:"已提现:"}),s.jsxs("span",{className:"text-gray-400",children:["¥",R.userCommissionInfo.withdrawnEarnings.toFixed(2)]})]}),s.jsxs("div",{className:"flex justify-between gap-4",children:[s.jsx("span",{className:"text-gray-500",children:"待审核:"}),s.jsxs("span",{className:"text-orange-400",children:["¥",R.userCommissionInfo.pendingWithdrawals.toFixed(2)]})]}),s.jsxs("div",{className:"flex justify-between gap-4 pt-1 border-t border-gray-700/30",children:[s.jsx("span",{className:"text-gray-500",children:"审核后余额:"}),s.jsxs("span",{className:R.userCommissionInfo.availableAfterThis>=0?"text-green-400 font-medium":"text-red-400 font-medium",children:["¥",R.userCommissionInfo.availableAfterThis.toFixed(2)]})]})]}):s.jsx("span",{className:"text-gray-500 text-xs",children:"暂无数据"})}),s.jsxs("td",{className:"p-4",children:[me(R.status),R.errorMessage&&s.jsx("p",{className:"text-xs text-red-400 mt-1",children:R.errorMessage})]}),s.jsx("td",{className:"p-4 text-gray-400",children:R.processedAt?new Date(R.processedAt).toLocaleString():"-"}),s.jsx("td",{className:"p-4 text-gray-400",children:R.userConfirmedAt?s.jsxs("span",{className:"text-green-400",title:R.userConfirmedAt,children:["已确认 ",new Date(R.userConfirmedAt).toLocaleString()]}):"-"}),s.jsxs("td",{className:"p-4 text-right",children:[(R.status==="pending"||R.status==="pending_confirm")&&s.jsxs("div",{className:"flex items-center justify-end gap-2",children:[s.jsxs(ne,{size:"sm",onClick:()=>$(R.id),disabled:N===R.id,className:"bg-green-600 hover:bg-green-700 text-white",children:[s.jsx(yf,{className:"w-4 h-4 mr-1"}),"批准"]}),s.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>ee(R.id),disabled:N===R.id,className:"border-red-500/50 text-red-400 hover:bg-red-500/10 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-1"}),"拒绝"]})]}),(R.status==="success"||R.status==="completed")&&R.transactionId&&s.jsx("span",{className:"text-xs text-gray-500 font-mono",children:R.transactionId})]})]},R.id))})]})}),s.jsx(ws,{page:f,totalPages:L,total:v,pageSize:g,onPageChange:m,onPageSizeChange:R=>{y(R),m(1)}})]})})}),s.jsx(Ft,{open:!!C,onOpenChange:R=>!R&&ue(),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"拒绝提现"})}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"拒绝后该笔提现金额将返还用户余额。"}),s.jsxs("div",{children:[s.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"拒绝原因(必填)"}),s.jsx("div",{className:"form-input",children:s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"请输入拒绝原因",value:A,onChange:R=>D(R.target.value)})})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:ue,disabled:H,children:"取消"}),s.jsx(ne,{className:"bg-red-600 hover:bg-red-700 text-white",onClick:K,disabled:H||!A.trim(),children:H?"提交中...":"确认拒绝"})]})]})})]})}var Hm={exports:{}},Wm={};/** +确认已核实用户账户并完成打款?`))return}else if(!confirm("确认已完成打款?批准后将更新用户提现记录。"))return;k(R);try{const F=await Tt("/api/admin/withdrawals",{id:R,action:"approve"});F!=null&&F.success?P():oe.error("操作失败: "+((F==null?void 0:F.error)??""))}catch{oe.error("操作失败")}finally{k(null)}}function ee(R){E(R),D("")}async function K(){const R=C;if(!R)return;const O=A.trim();if(!O){oe.error("请填写拒绝原因");return}_(!0);try{const F=await Tt("/api/admin/withdrawals",{id:R,action:"reject",errorMessage:O});F!=null&&F.success?(oe.success("已拒绝该提现申请"),E(null),D(""),P()):oe.error("操作失败: "+((F==null?void 0:F.error)??""))}catch{oe.error("操作失败")}finally{_(!1)}}function ue(){C&&oe.info("已取消操作"),E(null),D("")}function me(R){switch(R){case"pending":return s.jsx(Ke,{className:"bg-orange-500/20 text-orange-400 hover:bg-orange-500/20 border-0",children:"待处理"});case"pending_confirm":return s.jsx(Ke,{className:"bg-orange-500/20 text-orange-400 hover:bg-orange-500/20 border-0",children:"待用户确认"});case"processing":return s.jsx(Ke,{className:"bg-blue-500/20 text-blue-400 hover:bg-blue-500/20 border-0",children:"已审批等待打款"});case"success":case"completed":return s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"已完成"});case"failed":case"rejected":return s.jsx(Ke,{className:"bg-red-500/20 text-red-400 hover:bg-red-500/20 border-0",children:"已拒绝"});default:return s.jsx(Ke,{className:"bg-gray-500/20 text-gray-400 border-0",children:R})}}return s.jsxs("div",{className:"p-8 w-full",children:[o&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:o}),s.jsx("button",{type:"button",onClick:()=>c(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex justify-between items-start mb-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold text-white",children:"分账提现管理"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"管理用户分销收益的提现申请"})]}),s.jsxs(ne,{variant:"outline",onClick:P,disabled:a,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${a?"animate-spin":""}`}),"刷新"]})]}),s.jsx(Ce,{className:"bg-gradient-to-r from-[#38bdac]/10 to-[#0f2137] border-[#38bdac]/30 mb-6",children:s.jsx(Ee,{className:"p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(gh,{className:"w-5 h-5 text-[#38bdac] mt-0.5"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-white font-medium mb-2",children:"自动分账规则"}),s.jsxs("div",{className:"text-sm text-gray-400 space-y-1",children:[s.jsxs("p",{children:["• ",s.jsx("span",{className:"text-[#38bdac]",children:"分销比例"}),":推广者获得订单金额的"," ",s.jsx("span",{className:"text-white font-medium",children:"90%"})]}),s.jsxs("p",{children:["• ",s.jsx("span",{className:"text-[#38bdac]",children:"结算方式"}),":用户付款后,分销收益自动计入推广者账户"]}),s.jsxs("p",{children:["• ",s.jsx("span",{className:"text-[#38bdac]",children:"提现方式"}),":用户在小程序端点击提现,系统自动转账到微信零钱"]}),s.jsxs("p",{children:["• ",s.jsx("span",{className:"text-[#38bdac]",children:"审批流程"}),":待处理的提现需管理员手动确认打款后批准"]})]})]})]})})}),s.jsxs("div",{className:"grid grid-cols-4 gap-4 mb-6",children:[s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ee,{className:"p-4 text-center",children:[s.jsx("div",{className:"text-3xl font-bold text-[#38bdac]",children:n.total}),s.jsx("div",{className:"text-sm text-gray-400",children:"总申请"})]})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ee,{className:"p-4 text-center",children:[s.jsx("div",{className:"text-3xl font-bold text-orange-400",children:n.pendingCount}),s.jsx("div",{className:"text-sm text-gray-400",children:"待处理"}),s.jsxs("div",{className:"text-xs text-orange-400 mt-1",children:["¥",n.pendingAmount.toFixed(2)]})]})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ee,{className:"p-4 text-center",children:[s.jsx("div",{className:"text-3xl font-bold text-green-400",children:n.successCount}),s.jsx("div",{className:"text-sm text-gray-400",children:"已完成"}),s.jsxs("div",{className:"text-xs text-green-400 mt-1",children:["¥",n.successAmount.toFixed(2)]})]})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsxs(Ee,{className:"p-4 text-center",children:[s.jsx("div",{className:"text-3xl font-bold text-red-400",children:n.failedCount}),s.jsx("div",{className:"text-sm text-gray-400",children:"已拒绝"})]})})]}),s.jsx("div",{className:"flex gap-2 mb-4",children:["all","pending","success","failed"].map(R=>s.jsx(ne,{variant:u===R?"default":"outline",size:"sm",onClick:()=>h(R),className:u===R?"bg-[#38bdac] hover:bg-[#2da396] text-white":"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:R==="all"?"全部":R==="pending"?"待处理":R==="success"?"已完成":"已拒绝"},R))}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ee,{className:"p-0",children:a?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):t.length===0?s.jsxs("div",{className:"text-center py-12",children:[s.jsx(Ll,{className:"w-12 h-12 text-gray-600 mx-auto mb-3"}),s.jsx("p",{className:"text-gray-500",children:"暂无提现记录"})]}):s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"overflow-x-auto",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"bg-[#0a1628] text-gray-400",children:[s.jsx("th",{className:"p-4 text-left font-medium",children:"申请时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"用户"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"提现金额"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"用户佣金信息"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"状态"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"处理时间"}),s.jsx("th",{className:"p-4 text-left font-medium",children:"确认收款"}),s.jsx("th",{className:"p-4 text-right font-medium",children:"操作"})]})}),s.jsx("tbody",{className:"divide-y divide-gray-700/50",children:t.map(R=>s.jsxs("tr",{className:"hover:bg-[#0a1628] transition-colors",children:[s.jsx("td",{className:"p-4 text-gray-400",children:new Date(R.createdAt??"").toLocaleString()}),s.jsx("td",{className:"p-4",children:s.jsxs("div",{className:"flex items-center gap-2",children:[R.userAvatar?s.jsx("img",{src:ts(R.userAvatar),alt:R.userName??"",className:"w-8 h-8 rounded-full object-cover"}):s.jsx("div",{className:"w-8 h-8 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm text-[#38bdac]",children:(R.userName??"?").charAt(0)}),s.jsxs("div",{children:[s.jsx("p",{className:"font-medium text-white",children:R.userName??"未知"}),s.jsx("p",{className:"text-xs text-gray-500",children:R.userPhone??R.referralCode??(R.userId??"").slice(0,10)})]})]})}),s.jsx("td",{className:"p-4",children:s.jsxs("span",{className:"font-bold text-orange-400",children:["¥",Number(R.amount).toFixed(2)]})}),s.jsx("td",{className:"p-4",children:R.userCommissionInfo?s.jsxs("div",{className:"text-xs space-y-1",children:[s.jsxs("div",{className:"flex justify-between gap-4",children:[s.jsx("span",{className:"text-gray-500",children:"累计佣金:"}),s.jsxs("span",{className:"text-[#38bdac] font-medium",children:["¥",R.userCommissionInfo.totalCommission.toFixed(2)]})]}),s.jsxs("div",{className:"flex justify-between gap-4",children:[s.jsx("span",{className:"text-gray-500",children:"已提现:"}),s.jsxs("span",{className:"text-gray-400",children:["¥",R.userCommissionInfo.withdrawnEarnings.toFixed(2)]})]}),s.jsxs("div",{className:"flex justify-between gap-4",children:[s.jsx("span",{className:"text-gray-500",children:"待审核:"}),s.jsxs("span",{className:"text-orange-400",children:["¥",R.userCommissionInfo.pendingWithdrawals.toFixed(2)]})]}),s.jsxs("div",{className:"flex justify-between gap-4 pt-1 border-t border-gray-700/30",children:[s.jsx("span",{className:"text-gray-500",children:"审核后余额:"}),s.jsxs("span",{className:R.userCommissionInfo.availableAfterThis>=0?"text-green-400 font-medium":"text-red-400 font-medium",children:["¥",R.userCommissionInfo.availableAfterThis.toFixed(2)]})]})]}):s.jsx("span",{className:"text-gray-500 text-xs",children:"暂无数据"})}),s.jsxs("td",{className:"p-4",children:[me(R.status),R.errorMessage&&s.jsx("p",{className:"text-xs text-red-400 mt-1",children:R.errorMessage})]}),s.jsx("td",{className:"p-4 text-gray-400",children:R.processedAt?new Date(R.processedAt).toLocaleString():"-"}),s.jsx("td",{className:"p-4 text-gray-400",children:R.userConfirmedAt?s.jsxs("span",{className:"text-green-400",title:R.userConfirmedAt,children:["已确认 ",new Date(R.userConfirmedAt).toLocaleString()]}):"-"}),s.jsxs("td",{className:"p-4 text-right",children:[(R.status==="pending"||R.status==="pending_confirm")&&s.jsxs("div",{className:"flex items-center justify-end gap-2",children:[s.jsxs(ne,{size:"sm",onClick:()=>$(R.id),disabled:N===R.id,className:"bg-green-600 hover:bg-green-700 text-white",children:[s.jsx(vf,{className:"w-4 h-4 mr-1"}),"批准"]}),s.jsxs(ne,{size:"sm",variant:"outline",onClick:()=>ee(R.id),disabled:N===R.id,className:"border-red-500/50 text-red-400 hover:bg-red-500/10 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-1"}),"拒绝"]})]}),(R.status==="success"||R.status==="completed")&&R.transactionId&&s.jsx("span",{className:"text-xs text-gray-500 font-mono",children:R.transactionId})]})]},R.id))})]})}),s.jsx(ws,{page:f,totalPages:L,total:v,pageSize:g,onPageChange:m,onPageSizeChange:R=>{y(R),m(1)}})]})})}),s.jsx(Ft,{open:!!C,onOpenChange:R=>!R&&ue(),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"拒绝提现"})}),s.jsxs("div",{className:"space-y-4",children:[s.jsx("p",{className:"text-gray-400 text-sm",children:"拒绝后该笔提现金额将返还用户余额。"}),s.jsxs("div",{children:[s.jsx("label",{className:"text-sm text-gray-400 block mb-2",children:"拒绝原因(必填)"}),s.jsx("div",{className:"form-input",children:s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"请输入拒绝原因",value:A,onChange:R=>D(R.target.value)})})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",className:"border-gray-600 text-gray-300",onClick:ue,disabled:H,children:"取消"}),s.jsx(ne,{className:"bg-red-600 hover:bg-red-700 text-white",onClick:K,disabled:H||!A.trim(),children:H?"提交中...":"确认拒绝"})]})]})})]})}var Km={exports:{}},qm={};/** * @license React * use-sync-external-store-shim.production.js * @@ -610,19 +610,19 @@ For more information, see https://radix-ui.com/primitives/docs/components/${e.do * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var u1;function WP(){if(u1)return Wm;u1=1;var t=wd();function e(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,a=t.useEffect,i=t.useLayoutEffect,o=t.useDebugValue;function c(m,g){var y=g(),v=r({inst:{value:y,getSnapshot:g}}),w=v[0].inst,N=v[1];return i(function(){w.value=y,w.getSnapshot=g,u(w)&&N({inst:w})},[m,y,g]),a(function(){return u(w)&&N({inst:w}),m(function(){u(w)&&N({inst:w})})},[m]),o(y),y}function u(m){var g=m.getSnapshot;m=m.value;try{var y=g();return!n(m,y)}catch{return!0}}function h(m,g){return g()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:c;return Wm.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,Wm}var h1;function zk(){return h1||(h1=1,Hm.exports=WP()),Hm.exports}var $k=zk();function Vn(t){this.content=t}Vn.prototype={constructor:Vn,find:function(t){for(var e=0;e>1}};Vn.from=function(t){if(t instanceof Vn)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Vn(e)};function Fk(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let a=t.child(r),i=e.child(r);if(a==i){n+=a.nodeSize;continue}if(!a.sameMarkup(i))return n;if(a.isText&&a.text!=i.text){for(let o=0;a.text[o]==i.text[o];o++)n++;return n}if(a.content.size||i.content.size){let o=Fk(a.content,i.content,n+1);if(o!=null)return o}n+=a.nodeSize}}function Bk(t,e,n,r){for(let a=t.childCount,i=e.childCount;;){if(a==0||i==0)return a==i?null:{a:n,b:r};let o=t.child(--a),c=e.child(--i),u=o.nodeSize;if(o==c){n-=u,r-=u;continue}if(!o.sameMarkup(c))return{a:n,b:r};if(o.isText&&o.text!=c.text){let h=0,f=Math.min(o.text.length,c.text.length);for(;he&&r(u,a+c,i||null,o)!==!1&&u.content.size){let f=c+1;u.nodesBetween(Math.max(0,e-f),Math.min(u.content.size,n-f),r,a+f)}c=h}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,a){let i="",o=!0;return this.nodesBetween(e,n,(c,u)=>{let h=c.isText?c.text.slice(Math.max(e,u)-u,n-u):c.isLeaf?a?typeof a=="function"?a(c):a:c.type.spec.leafText?c.type.spec.leafText(c):"":"";c.isBlock&&(c.isLeaf&&h||c.isTextblock)&&r&&(o?o=!1:i+=r),i+=h},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,a=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(a[a.length-1]=n.withText(n.text+r.text),i=1);ie)for(let i=0,o=0;oe&&((on)&&(c.isText?c=c.cut(Math.max(0,e-o),Math.min(c.text.length,n-o)):c=c.cut(Math.max(0,e-o-1),Math.min(c.content.size,n-o-1))),r.push(c),a+=c.nodeSize),o=u}return new xe(r,a)}cutByIndex(e,n){return e==n?xe.empty:e==0&&n==this.content.length?this:new xe(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let a=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return a[e]=n,new xe(a,i)}addToStart(e){return new xe([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new xe(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let a=this.child(n),i=r+a.nodeSize;if(i>=e)return i==e?$u(n+1,i):$u(n,r);r=i}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return xe.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new xe(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return xe.empty;let n,r=0;for(let a=0;athis.type.rank&&(n||(n=e.slice(0,a)),n.push(this),r=!0),n&&n.push(i)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-a.type.rank),n}};Ot.none=[];class Nh extends Error{}class Re{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=Hk(this.content,e+this.openStart,n);return r&&new Re(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Re(Vk(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Re.empty;let r=n.openStart||0,a=n.openEnd||0;if(typeof r!="number"||typeof a!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Re(xe.fromJSON(e,n.content),r,a)}static maxOpen(e,n=!0){let r=0,a=0;for(let i=e.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=e.lastChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.lastChild)a++;return new Re(e,r,a)}}Re.empty=new Re(xe.empty,0,0);function Vk(t,e,n){let{index:r,offset:a}=t.findIndex(e),i=t.maybeChild(r),{index:o,offset:c}=t.findIndex(n);if(a==e||i.isText){if(c!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(r,i.copy(Vk(i.content,e-a-1,n-a-1)))}function Hk(t,e,n,r){let{index:a,offset:i}=t.findIndex(e),o=t.maybeChild(a);if(i==e||o.isText)return r&&!r.canReplace(a,a,n)?null:t.cut(0,e).append(n).append(t.cut(e));let c=Hk(o.content,e-i-1,n,o);return c&&t.replaceChild(a,o.copy(c))}function UP(t,e,n){if(n.openStart>t.depth)throw new Nh("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new Nh("Inconsistent open depths");return Wk(t,e,n,0)}function Wk(t,e,n,r){let a=t.index(r),i=t.node(r);if(a==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function Gc(t,e,n,r){let a=(e||t).node(n),i=0,o=e?e.index(n):a.childCount;t&&(i=t.index(n),t.depth>n?i++:t.textOffset&&(wo(t.nodeAfter,r),i++));for(let c=i;ca&&Gg(t,e,a+1),o=r.depth>a&&Gg(n,r,a+1),c=[];return Gc(null,t,a,c),i&&o&&e.index(a)==n.index(a)?(Uk(i,o),wo(jo(i,Kk(t,e,n,r,a+1)),c)):(i&&wo(jo(i,wh(t,e,a+1)),c),Gc(e,n,a,c),o&&wo(jo(o,wh(n,r,a+1)),c)),Gc(r,null,a,c),new xe(c)}function wh(t,e,n){let r=[];if(Gc(null,t,n,r),t.depth>n){let a=Gg(t,e,n+1);wo(jo(a,wh(t,e,n+1)),r)}return Gc(e,null,n,r),new xe(r)}function KP(t,e){let n=e.depth-t.openStart,a=e.node(n).copy(t.content);for(let i=n-1;i>=0;i--)a=e.node(i).copy(xe.from(a));return{start:a.resolveNoCache(t.openStart+n),end:a.resolveNoCache(a.content.size-t.openEnd-n)}}class cd{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],a=e.child(n);return r?e.child(n).cut(r):a}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],a=n==0?0:this.path[n*3-1]+1;for(let i=0;i0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new jh(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],a=0,i=n;for(let o=e;;){let{index:c,offset:u}=o.content.findIndex(i),h=i-u;if(r.push(o,c,a+u),!h||(o=o.child(c),o.isText))break;i=h-1,a+=u+1}return new cd(n,r,i)}static resolveCached(e,n){let r=f1.get(e);if(r)for(let i=0;ie&&this.nodesBetween(e,n,i=>(r.isInSet(i.marks)&&(a=!0),!a)),a}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),qk(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=xe.empty,a=0,i=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,a,i),c=o&&o.matchFragment(this.content,n);if(!c||!c.validEnd)return!1;for(let u=a;un.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let a=xe.fromJSON(e,n.content),i=e.nodeType(n.type).create(n.attrs,a,r);return i.type.checkAttrs(i.attrs),i}};Ca.prototype.text=void 0;class kh extends Ca{constructor(e,n,r,a){if(super(e,n,null,a),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):qk(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new kh(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new kh(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function qk(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class Mo{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new YP(e,n);if(r.next==null)return Mo.empty;let a=Gk(r);r.next&&r.err("Unexpected trailing text");let i=rO(nO(a));return sO(i,r),i}matchType(e){for(let n=0;nh.createAndFill()));for(let h=0;h=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let a=0;a{let i=a+(r.validEnd?"*":" ")+" ";for(let o=0;o"+e.indexOf(r.next[o].next);return i}).join(` -`)}}Mo.empty=new Mo(!0);class YP{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Gk(t){let e=[];do e.push(QP(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function QP(t){let e=[];do e.push(XP(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function XP(t){let e=tO(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=ZP(t,e);else break;return e}function p1(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function ZP(t,e){let n=p1(t),r=n;return t.eat(",")&&(t.next!="}"?r=p1(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function eO(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let a=[];for(let i in n){let o=n[i];o.isInGroup(e)&&a.push(o)}return a.length==0&&t.err("No node type or group '"+e+"' found"),a}function tO(t){if(t.eat("(")){let e=Gk(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=eO(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function nO(t){let e=[[]];return a(i(t,0),n()),e;function n(){return e.push([])-1}function r(o,c,u){let h={term:u,to:c};return e[o].push(h),h}function a(o,c){o.forEach(u=>u.to=c)}function i(o,c){if(o.type=="choice")return o.exprs.reduce((u,h)=>u.concat(i(h,c)),[]);if(o.type=="seq")for(let u=0;;u++){let h=i(o.exprs[u],c);if(u==o.exprs.length-1)return h;a(h,c=n())}else if(o.type=="star"){let u=n();return r(c,u),a(i(o.expr,u),u),[r(u)]}else if(o.type=="plus"){let u=n();return a(i(o.expr,c),u),a(i(o.expr,u),u),[r(u)]}else{if(o.type=="opt")return[r(c)].concat(i(o.expr,c));if(o.type=="range"){let u=c;for(let h=0;h{t[o].forEach(({term:c,to:u})=>{if(!c)return;let h;for(let f=0;f{h||a.push([c,h=[]]),h.indexOf(f)==-1&&h.push(f)})})});let i=e[r.join(",")]=new Mo(r.indexOf(t.length-1)>-1);for(let o=0;o-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Qk(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Ca(this,this.computeAttrs(e),xe.from(n),Ot.setFrom(r))}createChecked(e=null,n,r){return n=xe.from(n),this.checkContent(n),new Ca(this,this.computeAttrs(e),n,Ot.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=xe.from(n),n.size){let o=this.contentMatch.fillBefore(n);if(!o)return null;n=o.append(n)}let a=this.contentMatch.matchFragment(n),i=a&&a.fillBefore(xe.empty,!0);return i?new Ca(this,e,n.append(i),Ot.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[i]=new eS(i,n,o));let a=n.spec.topNode||"doc";if(!r[a])throw new RangeError("Schema is missing its top node type ('"+a+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function aO(t,e,n){let r=n.split("|");return a=>{let i=a===null?"null":typeof a;if(r.indexOf(i)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${i}`)}}class iO{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?aO(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Cf{constructor(e,n,r,a){this.name=e,this.rank=n,this.schema=r,this.spec=a,this.attrs=Zk(e,a.attrs),this.excluded=null;let i=Yk(this.attrs);this.instance=i?new Ot(this,i):null}create(e=null){return!e&&this.instance?this.instance:new Ot(this,Qk(this.attrs,e))}static compile(e,n){let r=Object.create(null),a=0;return e.forEach((i,o)=>r[i]=new Cf(i,a++,n,o)),r}removeFromSet(e){for(var n=0;n-1}}class tS{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let a in e)n[a]=e[a];n.nodes=Vn.from(e.nodes),n.marks=Vn.from(e.marks||{}),this.nodes=g1.compile(this.spec.nodes,this),this.marks=Cf.compile(this.spec.marks,this);let r=Object.create(null);for(let a in this.nodes){if(a in this.marks)throw new RangeError(a+" can not be both a node and a mark");let i=this.nodes[a],o=i.spec.content||"",c=i.spec.marks;if(i.contentMatch=r[o]||(r[o]=Mo.parse(o,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!i.isInline||!i.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=i}i.markSet=c=="_"?null:c?x1(this,c.split(" ")):c==""||!i.inlineContent?[]:null}for(let a in this.marks){let i=this.marks[a],o=i.spec.excludes;i.excluded=o==null?[i]:o==""?[]:x1(this,o.split(" "))}this.nodeFromJSON=a=>Ca.fromJSON(this,a),this.markFromJSON=a=>Ot.fromJSON(this,a),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,a){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof g1){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,a)}text(e,n){let r=this.nodes.text;return new kh(r,r.defaultAttrs,e,Ot.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function x1(t,e){let n=[];for(let r=0;r-1)&&n.push(o=u)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function oO(t){return t.tag!=null}function lO(t){return t.style!=null}class ki{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(a=>{if(oO(a))this.tags.push(a);else if(lO(a)){let i=/[^=]*/.exec(a.style)[0];r.indexOf(i)<0&&r.push(i),this.styles.push(a)}}),this.normalizeLists=!this.tags.some(a=>{if(!/^(ul|ol)\b/.test(a.tag)||!a.node)return!1;let i=e.nodes[a.node];return i.contentMatch.matchType(i)})}parse(e,n={}){let r=new b1(this,n,!1);return r.addAll(e,Ot.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new b1(this,n,!0);return r.addAll(e,Ot.none,n.from,n.to),Re.maxOpen(r.finish())}matchTag(e,n,r){for(let a=r?this.tags.indexOf(r)+1:0;ae.length&&(c.charCodeAt(e.length)!=61||c.slice(e.length+1)!=n))){if(o.getAttrs){let u=o.getAttrs(n);if(u===!1)continue;o.attrs=u||void 0}return o}}}static schemaRules(e){let n=[];function r(a){let i=a.priority==null?50:a.priority,o=0;for(;o{r(o=v1(o)),o.mark||o.ignore||o.clearMark||(o.mark=a)})}for(let a in e.nodes){let i=e.nodes[a].spec.parseDOM;i&&i.forEach(o=>{r(o=v1(o)),o.node||o.ignore||o.mark||(o.node=a)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new ki(e,ki.schemaRules(e)))}}const nS={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},cO={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},rS={ol:!0,ul:!0},dd=1,Yg=2,Jc=4;function y1(t,e,n){return e!=null?(e?dd:0)|(e==="full"?Yg:0):t&&t.whitespace=="pre"?dd|Yg:n&~Jc}class Fu{constructor(e,n,r,a,i,o){this.type=e,this.attrs=n,this.marks=r,this.solid=a,this.options=o,this.content=[],this.activeMarks=Ot.none,this.match=i||(o&Jc?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(xe.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,a;return(a=r.findWrapping(e.type))?(this.match=r,a):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&dd)){let r=this.content[this.content.length-1],a;if(r&&r.isText&&(a=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==a[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-a[0].length))}}let n=xe.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(xe.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!nS.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class b1{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let a=n.topNode,i,o=y1(null,n.preserveWhitespace,0)|(r?Jc:0);a?i=new Fu(a.type,a.attrs,Ot.none,!0,n.topMatch||a.type.contentMatch,o):r?i=new Fu(null,null,Ot.none,!0,null,o):i=new Fu(e.schema.topNodeType,null,Ot.none,!0,null,o),this.nodes=[i],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,a=this.top,i=a.options&Yg?"full":this.localPreserveWS||(a.options&dd)>0,{schema:o}=this.parser;if(i==="full"||a.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(i)if(i==="full")r=r.replace(/\r\n?/g,` -`);else if(o.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(o.linebreakReplacement.create())){let c=r.split(/\r?\n|\r/);for(let u=0;u!u.clearMark(h)):n=n.concat(this.parser.schema.marks[u.mark].create(u.attrs)),u.consuming===!1)c=u;else break}}return n}addElementByRule(e,n,r,a){let i,o;if(n.node)if(o=this.parser.schema.nodes[n.node],o.isLeaf)this.insertNode(o.create(n.attrs),r,e.nodeName=="BR")||this.leafFallback(e,r);else{let u=this.enter(o,n.attrs||null,r,n.preserveWhitespace);u&&(i=!0,r=u)}else{let u=this.parser.schema.marks[n.mark];r=r.concat(u.create(n.attrs))}let c=this.top;if(o&&o.isLeaf)this.findInside(e);else if(a)this.addElement(e,r,a);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(u=>this.insertNode(u,r,!1));else{let u=e;typeof n.contentElement=="string"?u=e.querySelector(n.contentElement):typeof n.contentElement=="function"?u=n.contentElement(e):n.contentElement&&(u=n.contentElement),this.findAround(e,u,!0),this.addAll(u,r),this.findAround(e,u,!1)}i&&this.sync(c)&&this.open--}addAll(e,n,r,a){let i=r||0;for(let o=r?e.childNodes[r]:e.firstChild,c=a==null?null:e.childNodes[a];o!=c;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o,n);this.findAtPoint(e,i)}findPlace(e,n,r){let a,i;for(let o=this.open,c=0;o>=0;o--){let u=this.nodes[o],h=u.findWrapping(e);if(h&&(!a||a.length>h.length+c)&&(a=h,i=u,!h.length))break;if(u.solid){if(r)break;c+=2}}if(!a)return null;this.sync(i);for(let o=0;o(o.type?o.type.allowsMarkType(h.type):N1(h.type,e))?(u=h.addToSet(u),!1):!0),this.nodes.push(new Fu(e,n,u,a,null,c)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=dd)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let a=r.length-1;a>=0;a--)e+=r[a].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,a=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(a?0:1),o=(c,u)=>{for(;c>=0;c--){let h=n[c];if(h==""){if(c==n.length-1||c==0)continue;for(;u>=i;u--)if(o(c-1,u))return!0;return!1}else{let f=u>0||u==0&&a?this.nodes[u].type:r&&u>=i?r.node(u-i).type:null;if(!f||f.name!=h&&!f.isInGroup(h))return!1;u--}}return!0};return o(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function dO(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&rS.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function uO(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function v1(t){let e={};for(let n in t)e[n]=t[n];return e}function N1(t,e){let n=e.schema.nodes;for(let r in n){let a=n[r];if(!a.allowsMarkType(t))continue;let i=[],o=c=>{i.push(c);for(let u=0;u{if(i.length||o.marks.length){let c=0,u=0;for(;c=0;a--){let i=this.serializeMark(e.marks[a],e.isInline,n);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(e,n,r={}){let a=this.marks[e.type.name];return a&&sh(Km(r),a(e,n),null,e.attrs)}static renderSpec(e,n,r=null,a){return sh(e,n,r,a)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new $o(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=w1(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return w1(e.marks)}}function w1(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Km(t){return t.document||window.document}const j1=new WeakMap;function hO(t){let e=j1.get(t);return e===void 0&&j1.set(t,e=fO(t)),e}function fO(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let a=0;a-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=a.indexOf(" ");o>0&&(n=a.slice(0,o),a=a.slice(o+1));let c,u=n?t.createElementNS(n,a):t.createElement(a),h=e[1],f=1;if(h&&typeof h=="object"&&h.nodeType==null&&!Array.isArray(h)){f=2;for(let m in h)if(h[m]!=null){let g=m.indexOf(" ");g>0?u.setAttributeNS(m.slice(0,g),m.slice(g+1),h[m]):m=="style"&&u.style?u.style.cssText=h[m]:u.setAttribute(m,h[m])}}for(let m=f;mf)throw new RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}else{let{dom:y,contentDOM:v}=sh(t,g,n,r);if(u.appendChild(y),v){if(c)throw new RangeError("Multiple content holes");c=v}}}return{dom:u,contentDOM:c}}const sS=65535,aS=Math.pow(2,16);function pO(t,e){return t+e*aS}function k1(t){return t&sS}function mO(t){return(t-(t&sS))/aS}const iS=1,oS=2,ah=4,lS=8;class Qg{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&lS)>0}get deletedBefore(){return(this.delInfo&(iS|ah))>0}get deletedAfter(){return(this.delInfo&(oS|ah))>0}get deletedAcross(){return(this.delInfo&ah)>0}}class _r{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&_r.empty)return _r.empty}recover(e){let n=0,r=k1(e);if(!this.inverted)for(let a=0;ae)break;let h=this.ranges[c+i],f=this.ranges[c+o],m=u+h;if(e<=m){let g=h?e==u?-1:e==m?1:n:n,y=u+a+(g<0?0:f);if(r)return y;let v=e==(n<0?u:m)?null:pO(c/3,e-u),w=e==u?oS:e==m?iS:ah;return(n<0?e!=u:e!=m)&&(w|=lS),new Qg(y,w,v)}a+=f-h}return r?e+a:new Qg(e+a,0,null)}touches(e,n){let r=0,a=k1(n),i=this.inverted?2:1,o=this.inverted?1:2;for(let c=0;ce)break;let h=this.ranges[c+i],f=u+h;if(e<=f&&c==a*3)return!0;r+=this.ranges[c+o]-h}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let a=0,i=0;a=0;n--){let a=e.getMirror(n);this.appendMap(e._maps[n].invert(),a!=null&&a>n?r-a-1:void 0)}}invert(){let e=new ud;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ri&&u!o.isAtom||!c.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),a),n.openStart,n.openEnd);return vn.fromReplace(e,this.from,this.to,i)}invert(){return new vs(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new bi(n.pos,r.pos,this.mark)}merge(e){return e instanceof bi&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new bi(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new bi(n.from,n.to,e.markFromJSON(n.mark))}}ir.jsonID("addMark",bi);class vs extends ir{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new Re(c0(n.content,a=>a.mark(this.mark.removeFromSet(a.marks)),e),n.openStart,n.openEnd);return vn.fromReplace(e,this.from,this.to,r)}invert(){return new bi(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new vs(n.pos,r.pos,this.mark)}merge(e){return e instanceof vs&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new vs(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new vs(n.from,n.to,e.markFromJSON(n.mark))}}ir.jsonID("removeMark",vs);class vi extends ir{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return vn.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return vn.fromReplace(e,this.pos,this.pos+1,new Re(xe.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let a=0;ar.pos?null:new Ln(n.pos,r.pos,a,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Ln(n.from,n.to,n.gapFrom,n.gapTo,Re.fromJSON(e,n.slice),n.insert,!!n.structure)}}ir.jsonID("replaceAround",Ln);function Xg(t,e,n){let r=t.resolve(e),a=n-e,i=r.depth;for(;a>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,a--;if(a>0){let o=r.node(i).maybeChild(r.indexAfter(i));for(;a>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,a--}}return!1}function gO(t,e,n,r){let a=[],i=[],o,c;t.doc.nodesBetween(e,n,(u,h,f)=>{if(!u.isInline)return;let m=u.marks;if(!r.isInSet(m)&&f.type.allowsMarkType(r.type)){let g=Math.max(h,e),y=Math.min(h+u.nodeSize,n),v=r.addToSet(m);for(let w=0;wt.step(u)),i.forEach(u=>t.step(u))}function xO(t,e,n,r){let a=[],i=0;t.doc.nodesBetween(e,n,(o,c)=>{if(!o.isInline)return;i++;let u=null;if(r instanceof Cf){let h=o.marks,f;for(;f=r.isInSet(h);)(u||(u=[])).push(f),h=f.removeFromSet(h)}else r?r.isInSet(o.marks)&&(u=[r]):u=o.marks;if(u&&u.length){let h=Math.min(c+o.nodeSize,n);for(let f=0;ft.step(new vs(o.from,o.to,o.style)))}function d0(t,e,n,r=n.contentMatch,a=!0){let i=t.doc.nodeAt(e),o=[],c=e+1;for(let u=0;u=0;u--)t.step(o[u])}function yO(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function Xl(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth,a=0,i=0;;--r){let o=t.$from.node(r),c=t.$from.index(r)+a,u=t.$to.indexAfter(r)-i;if(rn;v--)w||r.index(v)>0?(w=!0,f=xe.from(r.node(v).copy(f)),m++):u--;let g=xe.empty,y=0;for(let v=i,w=!1;v>n;v--)w||a.after(v+1)=0;o--){if(r.size){let c=n[o].type.contentMatch.matchFragment(r);if(!c||!c.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=xe.from(n[o].type.create(n[o].attrs,r))}let a=e.start,i=e.end;t.step(new Ln(a,i,a,i,new Re(r,0,0),n.length,!0))}function jO(t,e,n,r,a){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=t.steps.length;t.doc.nodesBetween(e,n,(o,c)=>{let u=typeof a=="function"?a(o):a;if(o.isTextblock&&!o.hasMarkup(r,u)&&kO(t.doc,t.mapping.slice(i).map(c),r)){let h=null;if(r.schema.linebreakReplacement){let y=r.whitespace=="pre",v=!!r.contentMatch.matchType(r.schema.linebreakReplacement);y&&!v?h=!1:!y&&v&&(h=!0)}h===!1&&dS(t,o,c,i),d0(t,t.mapping.slice(i).map(c,1),r,void 0,h===null);let f=t.mapping.slice(i),m=f.map(c,1),g=f.map(c+o.nodeSize,1);return t.step(new Ln(m,g,m+1,g-1,new Re(xe.from(r.create(u,null,o.marks)),0,0),1,!0)),h===!0&&cS(t,o,c,i),!1}})}function cS(t,e,n,r){e.forEach((a,i)=>{if(a.isText){let o,c=/\r?\n|\r/g;for(;o=c.exec(a.text);){let u=t.mapping.slice(r).map(n+1+i+o.index);t.replaceWith(u,u+1,e.type.schema.linebreakReplacement.create())}}})}function dS(t,e,n,r){e.forEach((a,i)=>{if(a.type==a.type.schema.linebreakReplacement){let o=t.mapping.slice(r).map(n+1+i);t.replaceWith(o,o+1,e.type.schema.text(` -`))}})}function kO(t,e,n){let r=t.resolve(e),a=r.index();return r.parent.canReplaceWith(a,a+1,n)}function SO(t,e,n,r,a){let i=t.doc.nodeAt(e);if(!i)throw new RangeError("No node at given position");n||(n=i.type);let o=n.create(r,null,a||i.marks);if(i.isLeaf)return t.replaceWith(e,e+i.nodeSize,o);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new Ln(e,e+i.nodeSize,e+1,e+i.nodeSize-1,new Re(xe.from(o),0,0),1,!0))}function Ea(t,e,n=1,r){let a=t.resolve(e),i=a.depth-n,o=r&&r[r.length-1]||a.parent;if(i<0||a.parent.type.spec.isolating||!a.parent.canReplace(a.index(),a.parent.childCount)||!o.type.validContent(a.parent.content.cutByIndex(a.index(),a.parent.childCount)))return!1;for(let h=a.depth-1,f=n-2;h>i;h--,f--){let m=a.node(h),g=a.index(h);if(m.type.spec.isolating)return!1;let y=m.content.cutByIndex(g,m.childCount),v=r&&r[f+1];v&&(y=y.replaceChild(0,v.type.create(v.attrs)));let w=r&&r[f]||m;if(!m.canReplace(g+1,m.childCount)||!w.type.validContent(y))return!1}let c=a.indexAfter(i),u=r&&r[0];return a.node(i).canReplaceWith(c,c,u?u.type:a.node(i+1).type)}function CO(t,e,n=1,r){let a=t.doc.resolve(e),i=xe.empty,o=xe.empty;for(let c=a.depth,u=a.depth-n,h=n-1;c>u;c--,h--){i=xe.from(a.node(c).copy(i));let f=r&&r[h];o=xe.from(f?f.type.create(f.attrs,o):a.node(c).copy(o))}t.step(new Dn(e,e,new Re(i.append(o),n,n),!0))}function _i(t,e){let n=t.resolve(e),r=n.index();return uS(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function EO(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let a=0;a0?(i=r.node(a+1),c++,o=r.node(a).maybeChild(c)):(i=r.node(a).maybeChild(c-1),o=r.node(a+1)),i&&!i.isTextblock&&uS(i,o)&&r.node(a).canReplace(c,c+1))return e;if(a==0)break;e=n<0?r.before(a):r.after(a)}}function TO(t,e,n){let r=null,{linebreakReplacement:a}=t.doc.type.schema,i=t.doc.resolve(e-n),o=i.node().type;if(a&&o.inlineContent){let f=o.whitespace=="pre",m=!!o.contentMatch.matchType(a);f&&!m?r=!1:!f&&m&&(r=!0)}let c=t.steps.length;if(r===!1){let f=t.doc.resolve(e+n);dS(t,f.node(),f.before(),c)}o.inlineContent&&d0(t,e+n-1,o,i.node().contentMatchAt(i.index()),r==null);let u=t.mapping.slice(c),h=u.map(e-n);if(t.step(new Dn(h,u.map(e+n,-1),Re.empty,!0)),r===!0){let f=t.doc.resolve(h);cS(t,f.node(),f.before(),t.steps.length)}return t}function MO(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let a=r.depth-1;a>=0;a--){let i=r.index(a);if(r.node(a).canReplaceWith(i,i,n))return r.before(a+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(let a=r.depth-1;a>=0;a--){let i=r.indexAfter(a);if(r.node(a).canReplaceWith(i,i,n))return r.after(a+1);if(i=0;o--){let c=o==r.depth?0:r.pos<=(r.start(o+1)+r.end(o+1))/2?-1:1,u=r.index(o)+(c>0?1:0),h=r.node(o),f=!1;if(i==1)f=h.canReplace(u,u,a);else{let m=h.contentMatchAt(u).findWrapping(a.firstChild.type);f=m&&h.canReplaceWith(u,u,m[0])}if(f)return c==0?r.pos:c<0?r.before(o+1):r.after(o+1)}return null}function Tf(t,e,n=e,r=Re.empty){if(e==n&&!r.size)return null;let a=t.resolve(e),i=t.resolve(n);return fS(a,i,r)?new Dn(e,n,r):new AO(a,i,r).fit()}function fS(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class AO{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=xe.empty;for(let a=0;a<=e.depth;a++){let i=e.node(a);this.frontier.push({type:i.type,match:i.contentMatchAt(e.indexAfter(a))})}for(let a=e.depth;a>0;a--)this.placed=xe.from(e.node(a).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let h=this.findFittable();h?this.placeNodes(h):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,a=this.close(e<0?this.$to:r.doc.resolve(e));if(!a)return null;let i=this.placed,o=r.depth,c=a.depth;for(;o&&c&&i.childCount==1;)i=i.firstChild.content,o--,c--;let u=new Re(i,o,c);return e>-1?new Ln(r.pos,e,this.$to.pos,this.$to.end(),u,n):u.size||r.pos!=this.$to.pos?new Dn(r.pos,a.pos,u):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,a=this.unplaced.openEnd;r1&&(a=0),i.type.spec.isolating&&a<=r){e=r;break}n=i.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let a,i=null;r?(i=Gm(this.unplaced.content,r-1).firstChild,a=i.content):a=this.unplaced.content;let o=a.firstChild;for(let c=this.depth;c>=0;c--){let{type:u,match:h}=this.frontier[c],f,m=null;if(n==1&&(o?h.matchType(o.type)||(m=h.fillBefore(xe.from(o),!1)):i&&u.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:c,parent:i,inject:m};if(n==2&&o&&(f=h.findWrapping(o.type)))return{sliceDepth:r,frontierDepth:c,parent:i,wrap:f};if(i&&h.matchType(i.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,a=Gm(e,n);return!a.childCount||a.firstChild.isLeaf?!1:(this.unplaced=new Re(e,n+1,Math.max(r,a.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,a=Gm(e,n);if(a.childCount<=1&&n>0){let i=e.size-n<=n+a.size;this.unplaced=new Re(Fc(e,n-1,1),n-1,i?n-1:r)}else this.unplaced=new Re(Fc(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:a,wrap:i}){for(;this.depth>n;)this.closeFrontierNode();if(i)for(let w=0;w1||u==0||w.content.size)&&(m=N,f.push(pS(w.mark(g.allowedMarks(w.marks)),h==1?u:0,h==c.childCount?y:-1)))}let v=h==c.childCount;v||(y=-1),this.placed=Bc(this.placed,n,xe.from(f)),this.frontier[n].match=m,v&&y<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let w=0,N=c;w1&&a==this.$to.end(--r);)++a;return a}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:a}=this.frontier[n],i=n=0;c--){let{match:u,type:h}=this.frontier[c],f=Jm(e,c,h,u,!0);if(!f||f.childCount)continue e}return{depth:n,fit:o,move:i?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=Bc(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let a=e.node(r),i=a.type.contentMatch.fillBefore(a.content,!0,e.index(r));this.openFrontierNode(a.type,a.attrs,i)}return e}openFrontierNode(e,n=null,r){let a=this.frontier[this.depth];a.match=a.match.matchType(e),this.placed=Bc(this.placed,this.depth,xe.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(xe.empty,!0);n.childCount&&(this.placed=Bc(this.placed,this.frontier.length,n))}}function Fc(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(Fc(t.firstChild.content,e-1,n)))}function Bc(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(Bc(t.lastChild.content,e-1,n)))}function Gm(t,e){for(let n=0;n1&&(r=r.replaceChild(0,pS(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(xe.empty,!0)))),t.copy(r)}function Jm(t,e,n,r,a){let i=t.node(e),o=a?t.indexAfter(e):t.index(e);if(o==i.childCount&&!n.compatibleContent(i.type))return null;let c=r.fillBefore(i.content,!0,o);return c&&!IO(n,i.content,o)?c:null}function IO(t,e,n){for(let r=n;r0;g--,y--){let v=a.node(g).type.spec;if(v.defining||v.definingAsContext||v.isolating)break;o.indexOf(g)>-1?c=g:a.before(g)==y&&o.splice(1,0,-g)}let u=o.indexOf(c),h=[],f=r.openStart;for(let g=r.content,y=0;;y++){let v=g.firstChild;if(h.push(v),y==r.openStart)break;g=v.content}for(let g=f-1;g>=0;g--){let y=h[g],v=RO(y.type);if(v&&!y.sameMarkup(a.node(Math.abs(c)-1)))f=g;else if(v||!y.type.isTextblock)break}for(let g=r.openStart;g>=0;g--){let y=(g+f+1)%(r.openStart+1),v=h[y];if(v)for(let w=0;w=0&&(t.replace(e,n,r),!(t.steps.length>m));g--){let y=o[g];y<0||(e=a.before(y),n=i.after(y))}}function mS(t,e,n,r,a){if(er){let i=a.contentMatchAt(0),o=i.fillBefore(t).append(t);t=o.append(i.matchFragment(o).fillBefore(xe.empty,!0))}return t}function OO(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let a=MO(t.doc,e,r.type);a!=null&&(e=n=a)}t.replaceRange(e,n,new Re(xe.from(r),0,0))}function DO(t,e,n){let r=t.doc.resolve(e),a=t.doc.resolve(n),i=gS(r,a);for(let o=0;o0&&(u||r.node(c-1).canReplace(r.index(c-1),a.indexAfter(c-1))))return t.delete(r.before(c),a.after(c))}for(let o=1;o<=r.depth&&o<=a.depth;o++)if(e-r.start(o)==r.depth-o&&n>r.end(o)&&a.end(o)-n!=a.depth-o&&r.start(o-1)==a.start(o-1)&&r.node(o-1).canReplace(r.index(o-1),a.index(o-1)))return t.delete(r.before(o),n);t.delete(e,n)}function gS(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let a=r;a>=0;a--){let i=t.start(a);if(ie.pos+(e.depth-a)||t.node(a).type.spec.isolating||e.node(a).type.spec.isolating)break;(i==e.start(a)||a==t.depth&&a==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&a&&e.start(a-1)==i-1)&&n.push(a)}return n}class Rl extends ir{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return vn.fail("No node at attribute step's position");let r=Object.create(null);for(let i in n.attrs)r[i]=n.attrs[i];r[this.attr]=this.value;let a=n.type.create(r,null,n.marks);return vn.fromReplace(e,this.pos,this.pos+1,new Re(xe.from(a),0,n.isLeaf?0:1))}getMap(){return _r.empty}invert(e){return new Rl(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Rl(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Rl(n.pos,n.attr,n.value)}}ir.jsonID("attr",Rl);class hd extends ir{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let a in e.attrs)n[a]=e.attrs[a];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return vn.ok(r)}getMap(){return _r.empty}invert(e){return new hd(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new hd(n.attr,n.value)}}ir.jsonID("docAttr",hd);let _l=class extends Error{};_l=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};_l.prototype=Object.create(Error.prototype);_l.prototype.constructor=_l;_l.prototype.name="TransformError";class h0{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new ud}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new _l(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,n=-1e9;for(let r=0;r{e=Math.min(e,c),n=Math.max(n,u)})}return e==1e9?null:{from:e,to:n}}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=Re.empty){let a=Tf(this.doc,e,n,r);return a&&this.step(a),this}replaceWith(e,n,r){return this.replace(e,n,new Re(xe.from(r),0,0))}delete(e,n){return this.replace(e,n,Re.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return PO(this,e,n,r),this}replaceRangeWith(e,n,r){return OO(this,e,n,r),this}deleteRange(e,n){return DO(this,e,n),this}lift(e,n){return bO(this,e,n),this}join(e,n=1){return TO(this,e,n),this}wrap(e,n){return wO(this,e,n),this}setBlockType(e,n=e,r,a=null){return jO(this,e,n,r,a),this}setNodeMarkup(e,n,r=null,a){return SO(this,e,n,r,a),this}setNodeAttribute(e,n,r){return this.step(new Rl(e,n,r)),this}setDocAttribute(e,n){return this.step(new hd(e,n)),this}addNodeMark(e,n){return this.step(new vi(e,n)),this}removeNodeMark(e,n){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n instanceof Ot)n.isInSet(r.marks)&&this.step(new Ao(e,n));else{let a=r.marks,i,o=[];for(;i=n.isInSet(a);)o.push(new Ao(e,i)),a=i.removeFromSet(a);for(let c=o.length-1;c>=0;c--)this.step(o[c])}return this}split(e,n=1,r){return CO(this,e,n,r),this}addMark(e,n,r){return gO(this,e,n,r),this}removeMark(e,n,r){return xO(this,e,n,r),this}clearIncompatible(e,n,r){return d0(this,e,n,r),this}}const Ym=Object.create(null);class tt{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new xS(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;i--){let o=n<0?wl(e.node(0),e.node(i),e.before(i+1),e.index(i),n,r):wl(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,n,r);if(o)return o}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new Fr(e.node(0))}static atStart(e){return wl(e,e,0,0,1)||new Fr(e)}static atEnd(e){return wl(e,e,e.content.size,e.childCount,-1)||new Fr(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Ym[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Ym)throw new RangeError("Duplicate use of selection JSON ID "+e);return Ym[e]=n,n.prototype.jsonID=e,n}getBookmark(){return Qe.between(this.$anchor,this.$head).getBookmark()}}tt.prototype.visible=!0;class xS{constructor(e,n){this.$from=e,this.$to=n}}let C1=!1;function E1(t){!C1&&!t.parent.inlineContent&&(C1=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class Qe extends tt{constructor(e,n=e){E1(e),E1(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return tt.near(r);let a=e.resolve(n.map(this.anchor));return new Qe(a.parent.inlineContent?a:r,r)}replace(e,n=Re.empty){if(super.replace(e,n),n==Re.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Qe&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new Mf(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Qe(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let a=e.resolve(n);return new this(a,r==n?a:e.resolve(r))}static between(e,n,r){let a=e.pos-n.pos;if((!r||a)&&(r=a>=0?1:-1),!n.parent.inlineContent){let i=tt.findFrom(n,r,!0)||tt.findFrom(n,-r,!0);if(i)n=i.$head;else return tt.near(n,r)}return e.parent.inlineContent||(a==0?e=n:(e=(tt.findFrom(e,-r,!0)||tt.findFrom(e,r,!0)).$anchor,e.pos0?0:1);a>0?o=0;o+=a){let c=e.child(o);if(c.isAtom){if(!i&&Je.isSelectable(c))return Je.create(t,n-(a<0?c.nodeSize:0))}else{let u=wl(t,c,n+a,a<0?c.childCount:0,a,i);if(u)return u}n+=c.nodeSize*a}return null}function T1(t,e,n){let r=t.steps.length-1;if(r{o==null&&(o=f)}),t.setSelection(tt.near(t.doc.resolve(o),n))}const M1=1,Bu=2,A1=4;class _O extends h0{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Bu,this}ensureMarks(e){return Ot.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Bu)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~Bu,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Ot.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let a=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(a.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),!e)return this.deleteRange(n,r);let i=this.storedMarks;if(!i){let o=this.doc.resolve(n);i=r==n?o.marks():o.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,a.text(e,i)),!this.selection.empty&&this.selection.to==n+e.length&&this.setSelection(tt.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=A1,this}get scrolledIntoView(){return(this.updated&A1)>0}}function I1(t,e){return!e||!t?t:t.bind(e)}class Vc{constructor(e,n,r){this.name=e,this.init=I1(n.init,r),this.apply=I1(n.apply,r)}}const zO=[new Vc("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Vc("selection",{init(t,e){return t.selection||tt.atStart(e.doc)},apply(t){return t.selection}}),new Vc("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new Vc("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class Qm{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=zO.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new Vc(r.key,r.spec.state,r))})}}class Ml{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let a=e[r],i=a.spec.state;i&&i.toJSON&&(n[r]=i.toJSON.call(a,this[a.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let a=new Qm(e.schema,e.plugins),i=new Ml(a);return a.fields.forEach(o=>{if(o.name=="doc")i.doc=Ca.fromJSON(e.schema,n.doc);else if(o.name=="selection")i.selection=tt.fromJSON(i.doc,n.selection);else if(o.name=="storedMarks")n.storedMarks&&(i.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let c in r){let u=r[c],h=u.spec.state;if(u.key==o.name&&h&&h.fromJSON&&Object.prototype.hasOwnProperty.call(n,c)){i[o.name]=h.fromJSON.call(u,e,n[c],i);return}}i[o.name]=o.init(e,i)}}),i}}function yS(t,e,n){for(let r in t){let a=t[r];a instanceof Function?a=a.bind(e):r=="handleDOMEvents"&&(a=yS(a,e,{})),n[r]=a}return n}class Ut{constructor(e){this.spec=e,this.props={},e.props&&yS(e.props,this,this.props),this.key=e.key?e.key.key:bS("plugin")}getState(e){return e[this.key]}}const Xm=Object.create(null);function bS(t){return t in Xm?t+"$"+ ++Xm[t]:(Xm[t]=0,t+"$")}class Yt{constructor(e="key"){this.key=bS(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const p0=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function vS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const NS=(t,e,n)=>{let r=vS(t,n);if(!r)return!1;let a=m0(r);if(!a){let o=r.blockRange(),c=o&&Xl(o);return c==null?!1:(e&&e(t.tr.lift(o,c).scrollIntoView()),!0)}let i=a.nodeBefore;if(AS(t,a,e,-1))return!0;if(r.parent.content.size==0&&(zl(i,"end")||Je.isSelectable(i)))for(let o=r.depth;;o--){let c=Tf(t.doc,r.before(o),r.after(o),Re.empty);if(c&&c.slice.size1)break}return i.isAtom&&a.depth==r.depth-1?(e&&e(t.tr.delete(a.pos-i.nodeSize,a.pos).scrollIntoView()),!0):!1},$O=(t,e,n)=>{let r=vS(t,n);if(!r)return!1;let a=m0(r);return a?wS(t,a,e):!1},FO=(t,e,n)=>{let r=kS(t,n);if(!r)return!1;let a=g0(r);return a?wS(t,a,e):!1};function wS(t,e,n){let r=e.nodeBefore,a=r,i=e.pos-1;for(;!a.isTextblock;i--){if(a.type.spec.isolating)return!1;let f=a.lastChild;if(!f)return!1;a=f}let o=e.nodeAfter,c=o,u=e.pos+1;for(;!c.isTextblock;u++){if(c.type.spec.isolating)return!1;let f=c.firstChild;if(!f)return!1;c=f}let h=Tf(t.doc,i,u,Re.empty);if(!h||h.from!=i||h instanceof Dn&&h.slice.size>=u-i)return!1;if(n){let f=t.tr.step(h);f.setSelection(Qe.create(f.doc,i)),n(f.scrollIntoView())}return!0}function zl(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const jS=(t,e,n)=>{let{$head:r,empty:a}=t.selection,i=r;if(!a)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;i=m0(r)}let o=i&&i.nodeBefore;return!o||!Je.isSelectable(o)?!1:(e&&e(t.tr.setSelection(Je.create(t.doc,i.pos-o.nodeSize)).scrollIntoView()),!0)};function m0(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function kS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=kS(t,n);if(!r)return!1;let a=g0(r);if(!a)return!1;let i=a.nodeAfter;if(AS(t,a,e,1))return!0;if(r.parent.content.size==0&&(zl(i,"start")||Je.isSelectable(i))){let o=Tf(t.doc,r.before(),r.after(),Re.empty);if(o&&o.slice.size{let{$head:r,empty:a}=t.selection,i=r;if(!a)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof Je,a;if(r){if(n.node.isTextblock||!_i(t.doc,n.from))return!1;a=n.from}else if(a=Ef(t.doc,n.from,-1),a==null)return!1;if(e){let i=t.tr.join(a);r&&i.setSelection(Je.create(i.doc,a-t.doc.resolve(a).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0},VO=(t,e)=>{let n=t.selection,r;if(n instanceof Je){if(n.node.isTextblock||!_i(t.doc,n.to))return!1;r=n.to}else if(r=Ef(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},HO=(t,e)=>{let{$from:n,$to:r}=t.selection,a=n.blockRange(r),i=a&&Xl(a);return i==null?!1:(e&&e(t.tr.lift(a,i).scrollIntoView()),!0)},ES=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` -`).scrollIntoView()),!0)};function x0(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let a=n.node(-1),i=n.indexAfter(-1),o=x0(a.contentMatchAt(i));if(!o||!a.canReplaceWith(i,i,o))return!1;if(e){let c=n.after(),u=t.tr.replaceWith(c,c,o.createAndFill());u.setSelection(tt.near(u.doc.resolve(c),1)),e(u.scrollIntoView())}return!0},TS=(t,e)=>{let n=t.selection,{$from:r,$to:a}=n;if(n instanceof Fr||r.parent.inlineContent||a.parent.inlineContent)return!1;let i=x0(a.parent.contentMatchAt(a.indexAfter()));if(!i||!i.isTextblock)return!1;if(e){let o=(!r.parentOffset&&a.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if(Ea(t.doc,i))return e&&e(t.tr.split(i).scrollIntoView()),!0}let r=n.blockRange(),a=r&&Xl(r);return a==null?!1:(e&&e(t.tr.lift(r,a).scrollIntoView()),!0)};function UO(t){return(e,n)=>{let{$from:r,$to:a}=e.selection;if(e.selection instanceof Je&&e.selection.node.isBlock)return!r.parentOffset||!Ea(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let i=[],o,c,u=!1,h=!1;for(let y=r.depth;;y--)if(r.node(y).isBlock){u=r.end(y)==r.pos+(r.depth-y),h=r.start(y)==r.pos-(r.depth-y),c=x0(r.node(y-1).contentMatchAt(r.indexAfter(y-1))),i.unshift(u&&c?{type:c}:null),o=y;break}else{if(y==1)return!1;i.unshift(null)}let f=e.tr;(e.selection instanceof Qe||e.selection instanceof Fr)&&f.deleteSelection();let m=f.mapping.map(r.pos),g=Ea(f.doc,m,i.length,i);if(g||(i[0]=c?{type:c}:null,g=Ea(f.doc,m,i.length,i)),!g)return!1;if(f.split(m,i.length,i),!u&&h&&r.node(o).type!=c){let y=f.mapping.map(r.before(o)),v=f.doc.resolve(y);c&&r.node(o-1).canReplaceWith(v.index(),v.index()+1,c)&&f.setNodeMarkup(f.mapping.map(r.before(o)),c)}return n&&n(f.scrollIntoView()),!0}}const KO=UO(),qO=(t,e)=>{let{$from:n,to:r}=t.selection,a,i=n.sharedDepth(r);return i==0?!1:(a=n.before(i),e&&e(t.tr.setSelection(Je.create(t.doc,a))),!0)};function GO(t,e,n){let r=e.nodeBefore,a=e.nodeAfter,i=e.index();return!r||!a||!r.type.compatibleContent(a.type)?!1:!r.content.size&&e.parent.canReplace(i-1,i)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(i,i+1)||!(a.isTextblock||_i(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function AS(t,e,n,r){let a=e.nodeBefore,i=e.nodeAfter,o,c,u=a.type.spec.isolating||i.type.spec.isolating;if(!u&&GO(t,e,n))return!0;let h=!u&&e.parent.canReplace(e.index(),e.index()+1);if(h&&(o=(c=a.contentMatchAt(a.childCount)).findWrapping(i.type))&&c.matchType(o[0]||i.type).validEnd){if(n){let y=e.pos+i.nodeSize,v=xe.empty;for(let k=o.length-1;k>=0;k--)v=xe.from(o[k].create(null,v));v=xe.from(a.copy(v));let w=t.tr.step(new Ln(e.pos-1,y,e.pos,y,new Re(v,1,0),o.length,!0)),N=w.doc.resolve(y+2*o.length);N.nodeAfter&&N.nodeAfter.type==a.type&&_i(w.doc,N.pos)&&w.join(N.pos),n(w.scrollIntoView())}return!0}let f=i.type.spec.isolating||r>0&&u?null:tt.findFrom(e,1),m=f&&f.$from.blockRange(f.$to),g=m&&Xl(m);if(g!=null&&g>=e.depth)return n&&n(t.tr.lift(m,g).scrollIntoView()),!0;if(h&&zl(i,"start",!0)&&zl(a,"end")){let y=a,v=[];for(;v.push(y),!y.isTextblock;)y=y.lastChild;let w=i,N=1;for(;!w.isTextblock;w=w.firstChild)N++;if(y.canReplace(y.childCount,y.childCount,w.content)){if(n){let k=xe.empty;for(let E=v.length-1;E>=0;E--)k=xe.from(v[E].copy(k));let C=t.tr.step(new Ln(e.pos-v.length,e.pos+i.nodeSize,e.pos+N,e.pos+i.nodeSize-N,new Re(k,v.length,0),0,!0));n(C.scrollIntoView())}return!0}}return!1}function IS(t){return function(e,n){let r=e.selection,a=t<0?r.$from:r.$to,i=a.depth;for(;a.node(i).isInline;){if(!i)return!1;i--}return a.node(i).isTextblock?(n&&n(e.tr.setSelection(Qe.create(e.doc,t<0?a.start(i):a.end(i)))),!0):!1}}const JO=IS(-1),YO=IS(1);function QO(t,e=null){return function(n,r){let{$from:a,$to:i}=n.selection,o=a.blockRange(i),c=o&&u0(o,t,e);return c?(r&&r(n.tr.wrap(o,c).scrollIntoView()),!0):!1}}function R1(t,e=null){return function(n,r){let a=!1;for(let i=0;i{if(a)return!1;if(!(!u.isTextblock||u.hasMarkup(t,e)))if(u.type==t)a=!0;else{let f=n.doc.resolve(h),m=f.index();a=f.parent.canReplaceWith(m,m+1,t)}})}if(!a)return!1;if(r){let i=n.tr;for(let o=0;o=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let u=o.resolve(e.start-2);i=new jh(u,u,e.depth),e.endIndex=0;f--)i=xe.from(n[f].type.create(n[f].attrs,i));t.step(new Ln(e.start-(r?2:0),e.end,e.start,e.end,new Re(i,0,0),n.length,!0));let o=0;for(let f=0;fo.childCount>0&&o.firstChild.type==t);return i?n?r.node(i.depth-1).type==t?nD(e,n,t,i):rD(e,n,i):!0:!1}}function nD(t,e,n,r){let a=t.tr,i=r.end,o=r.$to.end(r.depth);iw;v--)y-=a.child(v).nodeSize,r.delete(y-1,y+1);let i=r.doc.resolve(n.start),o=i.nodeAfter;if(r.mapping.map(n.end)!=n.start+i.nodeAfter.nodeSize)return!1;let c=n.startIndex==0,u=n.endIndex==a.childCount,h=i.node(-1),f=i.index(-1);if(!h.canReplace(f+(c?0:1),f+1,o.content.append(u?xe.empty:xe.from(a))))return!1;let m=i.pos,g=m+o.nodeSize;return r.step(new Ln(m-(c?1:0),g+(u?1:0),m+1,g-1,new Re((c?xe.empty:xe.from(a.copy(xe.empty))).append(u?xe.empty:xe.from(a.copy(xe.empty))),c?0:1,u?0:1),c?0:1)),e(r.scrollIntoView()),!0}function sD(t){return function(e,n){let{$from:r,$to:a}=e.selection,i=r.blockRange(a,h=>h.childCount>0&&h.firstChild.type==t);if(!i)return!1;let o=i.startIndex;if(o==0)return!1;let c=i.parent,u=c.child(o-1);if(u.type!=t)return!1;if(n){let h=u.lastChild&&u.lastChild.type==c.type,f=xe.from(h?t.create():null),m=new Re(xe.from(t.create(null,xe.from(c.type.create(null,f)))),h?3:1,0),g=i.start,y=i.end;n(e.tr.step(new Ln(g-(h?3:1),y,g,y,m,1,!0)).scrollIntoView())}return!0}}const Hn=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},$l=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let Zg=null;const va=function(t,e,n){let r=Zg||(Zg=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},aD=function(){Zg=null},Io=function(t,e,n,r){return n&&(P1(t,e,n,r,-1)||P1(t,e,n,r,1))},iD=/^(img|br|input|textarea|hr)$/i;function P1(t,e,n,r,a){for(var i;;){if(t==n&&e==r)return!0;if(e==(a<0?0:Xr(t))){let o=t.parentNode;if(!o||o.nodeType!=1||Ed(t)||iD.test(t.nodeName)||t.contentEditable=="false")return!1;e=Hn(t)+(a<0?0:1),t=o}else if(t.nodeType==1){let o=t.childNodes[e+(a<0?-1:0)];if(o.nodeType==1&&o.contentEditable=="false")if(!((i=o.pmViewDesc)===null||i===void 0)&&i.ignoreForSelection)e+=a;else return!1;else t=o,e=a<0?Xr(t):0}else return!1}}function Xr(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function oD(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=Xr(t)}else if(t.parentNode&&!Ed(t))e=Hn(t),t=t.parentNode;else return null}}function lD(t,e){for(;;){if(t.nodeType==3&&e2),Qr=Fl||(qs?/Mac/.test(qs.platform):!1),OS=qs?/Win/.test(qs.platform):!1,ka=/Android \d/.test(zi),Td=!!O1&&"webkitFontSmoothing"in O1.documentElement.style,hD=Td?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function fD(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function ma(t,e){return typeof t=="number"?t:t[e]}function pD(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function D1(t,e,n){let r=t.someProp("scrollThreshold")||0,a=t.someProp("scrollMargin")||5,i=t.dom.ownerDocument;for(let o=n||t.dom;o;){if(o.nodeType!=1){o=$l(o);continue}let c=o,u=c==i.body,h=u?fD(i):pD(c),f=0,m=0;if(e.toph.bottom-ma(r,"bottom")&&(m=e.bottom-e.top>h.bottom-h.top?e.top+ma(a,"top")-h.top:e.bottom-h.bottom+ma(a,"bottom")),e.lefth.right-ma(r,"right")&&(f=e.right-h.right+ma(a,"right")),f||m)if(u)i.defaultView.scrollBy(f,m);else{let y=c.scrollLeft,v=c.scrollTop;m&&(c.scrollTop+=m),f&&(c.scrollLeft+=f);let w=c.scrollLeft-y,N=c.scrollTop-v;e={left:e.left-w,top:e.top-N,right:e.right-w,bottom:e.bottom-N}}let g=u?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(g))break;o=g=="absolute"?o.offsetParent:$l(o)}}function mD(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,a;for(let i=(e.left+e.right)/2,o=n+1;o=n-20){r=c,a=u.top;break}}return{refDOM:r,refTop:a,stack:DS(t.dom)}}function DS(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=$l(r));return e}function gD({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;LS(n,r==0?0:r-e)}function LS(t,e){for(let n=0;n=c){o=Math.max(v.bottom,o),c=Math.min(v.top,c);let w=v.left>e.left?v.left-e.left:v.right=(v.left+v.right)/2?1:0));continue}}else v.top>e.top&&!u&&v.left<=e.left&&v.right>=e.left&&(u=f,h={left:Math.max(v.left,Math.min(v.right,e.left)),top:v.top});!n&&(e.left>=v.right&&e.top>=v.top||e.left>=v.left&&e.top>=v.bottom)&&(i=m+1)}}return!n&&u&&(n=u,a=h,r=0),n&&n.nodeType==3?yD(n,a):!n||r&&n.nodeType==1?{node:t,offset:i}:_S(n,a)}function yD(t,e){let n=t.nodeValue.length,r=document.createRange(),a;for(let i=0;i=(o.left+o.right)/2?1:0)};break}}return r.detach(),a||{node:t,offset:0}}function b0(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function bD(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(o.left+o.right)/2?1:-1}return t.docView.posFromDOM(r,a,i)}function ND(t,e,n,r){let a=-1;for(let i=e,o=!1;i!=t.dom;){let c=t.docView.nearestDesc(i,!0),u;if(!c)return null;if(c.dom.nodeType==1&&(c.node.isBlock&&c.parent||!c.contentDOM)&&((u=c.dom.getBoundingClientRect()).width||u.height)&&(c.node.isBlock&&c.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(c.dom.nodeName)&&(!o&&u.left>r.left||u.top>r.top?a=c.posBefore:(!o&&u.right-1?a:t.docView.posFromDOM(e,n,-1)}function zS(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&a++}let h;Td&&a&&r.nodeType==1&&(h=r.childNodes[a-1]).nodeType==1&&h.contentEditable=="false"&&h.getBoundingClientRect().top>=e.top&&a--,r==t.dom&&a==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?c=t.state.doc.content.size:(a==0||r.nodeType!=1||r.childNodes[a-1].nodeName!="BR")&&(c=ND(t,r,a,e))}c==null&&(c=vD(t,o,e));let u=t.docView.nearestDesc(o,!0);return{pos:c,inside:u?u.posAtStart-u.border:-1}}function L1(t){return t.top=0&&a==r.nodeValue.length?(u--,f=1):n<0?u--:h++,Dc(ci(va(r,u,h),f),f<0)}if(!t.state.doc.resolve(e-(i||0)).parent.inlineContent){if(i==null&&a&&(n<0||a==Xr(r))){let u=r.childNodes[a-1];if(u.nodeType==1)return Zm(u.getBoundingClientRect(),!1)}if(i==null&&a=0)}if(i==null&&a&&(n<0||a==Xr(r))){let u=r.childNodes[a-1],h=u.nodeType==3?va(u,Xr(u)-(o?0:1)):u.nodeType==1&&(u.nodeName!="BR"||!u.nextSibling)?u:null;if(h)return Dc(ci(h,1),!1)}if(i==null&&a=0)}function Dc(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function Zm(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function FS(t,e,n){let r=t.state,a=t.root.activeElement;r!=e&&t.updateState(e),a!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),a!=t.dom&&a&&a.focus()}}function kD(t,e,n){let r=e.selection,a=n=="up"?r.$from:r.$to;return FS(t,e,()=>{let{node:i}=t.docView.domFromPos(a.pos,n=="up"?-1:1);for(;;){let c=t.docView.nearestDesc(i,!0);if(!c)break;if(c.node.isBlock){i=c.contentDOM||c.dom;break}i=c.dom.parentNode}let o=$S(t,a.pos,1);for(let c=i.firstChild;c;c=c.nextSibling){let u;if(c.nodeType==1)u=c.getClientRects();else if(c.nodeType==3)u=va(c,0,c.nodeValue.length).getClientRects();else continue;for(let h=0;hf.top+1&&(n=="up"?o.top-f.top>(f.bottom-o.top)*2:f.bottom-o.bottom>(o.bottom-f.top)*2))return!1}}return!0})}const SD=/[\u0590-\u08ac]/;function CD(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let a=r.parentOffset,i=!a,o=a==r.parent.content.size,c=t.domSelection();return c?!SD.test(r.parent.textContent)||!c.modify?n=="left"||n=="backward"?i:o:FS(t,e,()=>{let{focusNode:u,focusOffset:h,anchorNode:f,anchorOffset:m}=t.domSelectionRange(),g=c.caretBidiLevel;c.modify("move",n,"character");let y=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:v,focusOffset:w}=t.domSelectionRange(),N=v&&!y.contains(v.nodeType==1?v:v.parentNode)||u==v&&h==w;try{c.collapse(f,m),u&&(u!=f||h!=m)&&c.extend&&c.extend(u,h)}catch{}return g!=null&&(c.caretBidiLevel=g),N}):r.pos==r.start()||r.pos==r.end()}let _1=null,z1=null,$1=!1;function ED(t,e,n){return _1==e&&z1==n?$1:(_1=e,z1=n,$1=n=="up"||n=="down"?kD(t,e,n):CD(t,e,n))}const es=0,F1=1,mo=2,Gs=3;class Md{constructor(e,n,r,a){this.parent=e,this.children=n,this.dom=r,this.contentDOM=a,this.dirty=es,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;nHn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))a=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let i=e;;i=i.parentNode){if(i==this.dom){a=!1;break}if(i.previousSibling)break}if(a==null&&n==e.childNodes.length)for(let i=e;;i=i.parentNode){if(i==this.dom){a=!0;break}if(i.nextSibling)break}}return a??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,a=e;a;a=a.parentNode){let i=this.getDesc(a),o;if(i&&(!n||i.node))if(r&&(o=i.nodeDOM)&&!(o.nodeType==1?o.contains(e.nodeType==1?e:e.parentNode):o==e))r=!1;else return i}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let a=e;a;a=a.parentNode){let i=this.getDesc(a);if(i)return i.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||o instanceof VS){a=e-i;break}i=c}if(a)return this.children[r].domFromPos(a-this.children[r].border,n);for(let i;r&&!(i=this.children[r-1]).size&&i instanceof BS&&i.side>=0;r--);if(n<=0){let i,o=!0;for(;i=r?this.children[r-1]:null,!(!i||i.dom.parentNode==this.contentDOM);r--,o=!1);return i&&n&&o&&!i.border&&!i.domAtom?i.domFromPos(i.size,n):{node:this.contentDOM,offset:i?Hn(i.dom)+1:0}}else{let i,o=!0;for(;i=r=f&&n<=h-u.border&&u.node&&u.contentDOM&&this.contentDOM.contains(u.contentDOM))return u.parseRange(e,n,f);e=o;for(let m=c;m>0;m--){let g=this.children[m-1];if(g.size&&g.dom.parentNode==this.contentDOM&&!g.emptyChildAt(1)){a=Hn(g.dom)+1;break}e-=g.size}a==-1&&(a=0)}if(a>-1&&(h>n||c==this.children.length-1)){n=h;for(let f=c+1;fv&&on){let v=c;c=u,u=v}let y=document.createRange();y.setEnd(u.node,u.offset),y.setStart(c.node,c.offset),h.removeAllRanges(),h.addRange(y)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,a=0;a=r:er){let c=r+i.border,u=o-i.border;if(e>=c&&n<=u){this.dirty=e==r||n==o?mo:F1,e==c&&n==u&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=Gs:i.markDirty(e-c,n-c);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?mo:Gs}r=o}this.dirty=mo}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?mo:F1;n.dirty{if(!i)return a;if(i.parent)return i.parent.posBeforeChild(i)})),!n.type.spec.raw){if(o.nodeType!=1){let c=document.createElement("span");c.appendChild(o),o=c}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=n,this.widget=n,i=this}matchesWidget(e){return this.dirty==es&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class TD extends Md{constructor(e,n,r,a){super(e,[],n,null),this.textDOM=r,this.text=a}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Ro extends Md{constructor(e,n,r,a,i){super(e,[],r,a),this.mark=n,this.spec=i}static create(e,n,r,a){let i=a.nodeViews[n.type.name],o=i&&i(n,a,r);return(!o||!o.dom)&&(o=$o.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new Ro(e,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&Gs||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Gs&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=es){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(i=sx(i,0,e,r));for(let c=0;c{if(!u)return o;if(u.parent)return u.parent.posBeforeChild(u)},r,a),f=h&&h.dom,m=h&&h.contentDOM;if(n.isText){if(!f)f=document.createTextNode(n.text);else if(f.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else f||({dom:f,contentDOM:m}=$o.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!m&&!n.isText&&f.nodeName!="BR"&&(f.hasAttribute("contenteditable")||(f.contentEditable="false"),n.type.spec.draggable&&(f.draggable=!0));let g=f;return f=US(f,r,n),h?u=new MD(e,n,r,a,f,m||null,g,h,i,o+1):n.isText?new If(e,n,r,a,f,g,i):new Ci(e,n,r,a,f,m||null,g,i,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>xe.empty)}return e}matchesNode(e,n,r){return this.dirty==es&&e.eq(this.node)&&Sh(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,a=n,i=e.composing?this.localCompositionInfo(e,n):null,o=i&&i.pos>-1?i:null,c=i&&i.pos<0,u=new ID(this,o&&o.node,e);OD(this.node,this.innerDeco,(h,f,m)=>{h.spec.marks?u.syncToMarks(h.spec.marks,r,e,f):h.type.side>=0&&!m&&u.syncToMarks(f==this.node.childCount?Ot.none:this.node.child(f).marks,r,e,f),u.placeWidget(h,e,a)},(h,f,m,g)=>{u.syncToMarks(h.marks,r,e,g);let y;u.findNodeMatch(h,f,m,g)||c&&e.state.selection.from>a&&e.state.selection.to-1&&u.updateNodeAt(h,f,m,y,e)||u.updateNextNode(h,f,m,e,g,a)||u.addNode(h,f,m,e,a),a+=h.nodeSize}),u.syncToMarks([],r,e,0),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==mo)&&(o&&this.protectLocalComposition(e,o),HS(this.contentDOM,this.children,e),Fl&&DD(this.dom))}localCompositionInfo(e,n){let{from:r,to:a}=e.state.selection;if(!(e.state.selection instanceof Qe)||rn+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let o=i.nodeValue,c=LD(this.node.content,o,r-n,a-n);return c<0?null:{node:i,pos:c,text:o}}else return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:a}){if(this.getDesc(n))return;let i=n;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let o=new TD(this,i,n,a);e.input.compositionNodes.push(o),this.children=sx(this.children,r,r+a.length,e,o)}update(e,n,r,a){return this.dirty==Gs||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,a),!0)}updateInner(e,n,r,a){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(a,this.posAtStart),this.dirty=es}updateOuterDeco(e){if(Sh(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=WS(this.dom,this.nodeDOM,rx(this.outerDeco,this.node,n),rx(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function B1(t,e,n,r,a){US(r,e,t);let i=new Ci(void 0,t,e,n,r,r,r,a,0);return i.contentDOM&&i.updateChildren(a,0),i}class If extends Ci{constructor(e,n,r,a,i,o,c){super(e,n,r,a,i,null,o,c,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,a){return this.dirty==Gs||this.dirty!=es&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=es||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,a.trackWrites==this.nodeDOM&&(a.trackWrites=null)),this.node=e,this.dirty=es,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let a=this.node.cut(e,n),i=document.createTextNode(a.text);return new If(this.parent,a,this.outerDeco,this.innerDeco,i,i,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=Gs)}get domAtom(){return!1}isText(e){return this.node.text==e}}class VS extends Md{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==es&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class MD extends Ci{constructor(e,n,r,a,i,o,c,u,h,f){super(e,n,r,a,i,o,c,h,f),this.spec=u}update(e,n,r,a){if(this.dirty==Gs)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,n,r);return i&&this.updateInner(e,n,r,a),i}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,a)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,a){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,a)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function HS(t,e,n){let r=t.firstChild,a=!1;for(let i=0;i>1,c=Math.min(o,e.length);for(;i-1)u>this.index&&(this.changed=!0,this.destroyBetween(this.index,u)),this.top=this.top.children[this.index];else{let f=Ro.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,f),this.top=f,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,a){let i=-1,o;if(a>=this.preMatch.index&&(o=this.preMatch.matches[a-this.preMatch.index]).parent==this.top&&o.matchesNode(e,n,r))i=this.top.children.indexOf(o,this.index);else for(let c=this.index,u=Math.min(this.top.children.length,c+5);c0;){let c;for(;;)if(r){let h=n.children[r-1];if(h instanceof Ro)n=h,r=h.children.length;else{c=h,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let u=c.node;if(u){if(u!=t.child(a-1))break;--a,i.set(c,a),o.push(c)}}return{index:a,matched:i,matches:o.reverse()}}function PD(t,e){return t.type.side-e.type.side}function OD(t,e,n,r){let a=e.locals(t),i=0;if(a.length==0){for(let h=0;hi;)c.push(a[o++]);let v=i+g.nodeSize;if(g.isText){let N=v;o!N.inline):c.slice();r(g,w,e.forChild(i,g),y),i=v}}function DD(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function LD(t,e,n,r){for(let a=0,i=0;a=n){if(i>=r&&u.slice(r-e.length-c,r-c)==e)return r-e.length;let h=c=0&&h+e.length+c>=n)return c+h;if(n==r&&u.length>=r+e.length-c&&u.slice(r-c,r-c+e.length)==e)return r}}return-1}function sx(t,e,n,r,a){let i=[];for(let o=0,c=0;o=n||f<=e?i.push(u):(hn&&i.push(u.slice(n-h,u.size,r)))}return i}function v0(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let a=t.docView.nearestDesc(n.focusNode),i=a&&a.size==0,o=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let c=r.resolve(o),u,h;if(Af(n)){for(u=o;a&&!a.node;)a=a.parent;let m=a.node;if(a&&m.isAtom&&Je.isSelectable(m)&&a.parent&&!(m.isInline&&cD(n.focusNode,n.focusOffset,a.dom))){let g=a.posBefore;h=new Je(o==g?c:r.resolve(g))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let m=o,g=o;for(let y=0;y{(n.anchorNode!=r||n.anchorOffset!=a)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!KS(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function zD(t){let e=t.domSelection();if(!e)return;let n=t.cursorWrapper.dom,r=n.nodeName=="IMG";r?e.collapse(n.parentNode,Hn(n)+1):e.collapse(n,0),!r&&!t.state.selection.visible&&Mr&&Si<=11&&(n.disabled=!0,n.disabled=!1)}function qS(t,e){if(e instanceof Je){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(K1(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else K1(t)}function K1(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function N0(t,e,n,r){return t.someProp("createSelectionBetween",a=>a(t,e,n))||Qe.between(e,n,r)}function q1(t){return t.editable&&!t.hasFocus()?!1:GS(t)}function GS(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function $D(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return Io(e.node,e.offset,n.anchorNode,n.anchorOffset)}function ax(t,e){let{$anchor:n,$head:r}=t.selection,a=e>0?n.max(r):n.min(r),i=a.parent.inlineContent?a.depth?t.doc.resolve(e>0?a.after():a.before()):null:a;return i&&tt.findFrom(i,e)}function di(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function G1(t,e,n){let r=t.state.selection;if(r instanceof Qe)if(n.indexOf("s")>-1){let{$head:a}=r,i=a.textOffset?null:e<0?a.nodeBefore:a.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let o=t.state.doc.resolve(a.pos+i.nodeSize*(e<0?-1:1));return di(t,new Qe(r.$anchor,o))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let a=ax(t.state,e);return a&&a instanceof Je?di(t,a):!1}else if(!(Qr&&n.indexOf("m")>-1)){let a=r.$head,i=a.textOffset?null:e<0?a.nodeBefore:a.nodeAfter,o;if(!i||i.isText)return!1;let c=e<0?a.pos-i.nodeSize:a.pos;return i.isAtom||(o=t.docView.descAt(c))&&!o.contentDOM?Je.isSelectable(i)?di(t,new Je(e<0?t.state.doc.resolve(a.pos-i.nodeSize):a)):Td?di(t,new Qe(t.state.doc.resolve(e<0?c:c+i.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Je&&r.node.isInline)return di(t,new Qe(e>0?r.$to:r.$from));{let a=ax(t.state,e);return a?di(t,a):!1}}}function Ch(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Qc(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function Nl(t,e){return e<0?FD(t):BD(t)}function FD(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let a,i,o=!1;for(Zr&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let c=n.childNodes[r-1];if(Qc(c,-1))a=n,i=--r;else if(c.nodeType==3)n=c,r=n.nodeValue.length;else break}}else{if(JS(n))break;{let c=n.previousSibling;for(;c&&Qc(c,-1);)a=n.parentNode,i=Hn(c),c=c.previousSibling;if(c)n=c,r=Ch(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}o?ix(t,n,r):a&&ix(t,a,i)}function BD(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let a=Ch(n),i,o;for(;;)if(r{t.state==a&&Ta(t)},50)}function J1(t,e){let n=t.state.doc.resolve(e);if(!(Un||OS)&&n.parent.inlineContent){let a=t.coordsAtPos(e);if(e>n.start()){let i=t.coordsAtPos(e-1),o=(i.top+i.bottom)/2;if(o>a.top&&o1)return i.lefta.top&&o1)return i.left>a.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function Y1(t,e,n){let r=t.state.selection;if(r instanceof Qe&&!r.empty||n.indexOf("s")>-1||Qr&&n.indexOf("m")>-1)return!1;let{$from:a,$to:i}=r;if(!a.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let o=ax(t.state,e);if(o&&o instanceof Je)return di(t,o)}if(!a.parent.inlineContent){let o=e<0?a:i,c=r instanceof Fr?tt.near(o,e):tt.findFrom(o,e);return c?di(t,c):!1}return!1}function Q1(t,e){if(!(t.state.selection instanceof Qe))return!0;let{$head:n,$anchor:r,empty:a}=t.state.selection;if(!n.sameParent(r))return!0;if(!a)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let i=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(i&&!i.isText){let o=t.state.tr;return e<0?o.delete(n.pos-i.nodeSize,n.pos):o.delete(n.pos,n.pos+i.nodeSize),t.dispatch(o),!0}return!1}function X1(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function WD(t){if(!sr||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;X1(t,r,"true"),setTimeout(()=>X1(t,r,"false"),20)}return!1}function UD(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function KD(t,e){let n=e.keyCode,r=UD(e);if(n==8||Qr&&n==72&&r=="c")return Q1(t,-1)||Nl(t,-1);if(n==46&&!e.shiftKey||Qr&&n==68&&r=="c")return Q1(t,1)||Nl(t,1);if(n==13||n==27)return!0;if(n==37||Qr&&n==66&&r=="c"){let a=n==37?J1(t,t.state.selection.from)=="ltr"?-1:1:-1;return G1(t,a,r)||Nl(t,a)}else if(n==39||Qr&&n==70&&r=="c"){let a=n==39?J1(t,t.state.selection.from)=="ltr"?1:-1:1;return G1(t,a,r)||Nl(t,a)}else{if(n==38||Qr&&n==80&&r=="c")return Y1(t,-1,r)||Nl(t,-1);if(n==40||Qr&&n==78&&r=="c")return WD(t)||Y1(t,1,r)||Nl(t,1);if(r==(Qr?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function w0(t,e){t.someProp("transformCopied",y=>{e=y(e,t)});let n=[],{content:r,openStart:a,openEnd:i}=e;for(;a>1&&i>1&&r.childCount==1&&r.firstChild.childCount==1;){a--,i--;let y=r.firstChild;n.push(y.type.name,y.attrs!=y.type.defaultAttrs?y.attrs:null),r=y.content}let o=t.someProp("clipboardSerializer")||$o.fromSchema(t.state.schema),c=t2(),u=c.createElement("div");u.appendChild(o.serializeFragment(r,{document:c}));let h=u.firstChild,f,m=0;for(;h&&h.nodeType==1&&(f=e2[h.nodeName.toLowerCase()]);){for(let y=f.length-1;y>=0;y--){let v=c.createElement(f[y]);for(;u.firstChild;)v.appendChild(u.firstChild);u.appendChild(v),m++}h=u.firstChild}h&&h.nodeType==1&&h.setAttribute("data-pm-slice",`${a} ${i}${m?` -${m}`:""} ${JSON.stringify(n)}`);let g=t.someProp("clipboardTextSerializer",y=>y(e,t))||e.content.textBetween(0,e.content.size,` + */var f1;function UP(){if(f1)return qm;f1=1;var t=wd();function e(m,g){return m===g&&(m!==0||1/m===1/g)||m!==m&&g!==g}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,a=t.useEffect,i=t.useLayoutEffect,o=t.useDebugValue;function c(m,g){var y=g(),v=r({inst:{value:y,getSnapshot:g}}),w=v[0].inst,N=v[1];return i(function(){w.value=y,w.getSnapshot=g,u(w)&&N({inst:w})},[m,y,g]),a(function(){return u(w)&&N({inst:w}),m(function(){u(w)&&N({inst:w})})},[m]),o(y),y}function u(m){var g=m.getSnapshot;m=m.value;try{var y=g();return!n(m,y)}catch{return!0}}function h(m,g){return g()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:c;return qm.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,qm}var p1;function Fk(){return p1||(p1=1,Km.exports=UP()),Km.exports}var Bk=Fk();function Vn(t){this.content=t}Vn.prototype={constructor:Vn,find:function(t){for(var e=0;e>1}};Vn.from=function(t){if(t instanceof Vn)return t;var e=[];if(t)for(var n in t)e.push(n,t[n]);return new Vn(e)};function Vk(t,e,n){for(let r=0;;r++){if(r==t.childCount||r==e.childCount)return t.childCount==e.childCount?null:n;let a=t.child(r),i=e.child(r);if(a==i){n+=a.nodeSize;continue}if(!a.sameMarkup(i))return n;if(a.isText&&a.text!=i.text){for(let o=0;a.text[o]==i.text[o];o++)n++;return n}if(a.content.size||i.content.size){let o=Vk(a.content,i.content,n+1);if(o!=null)return o}n+=a.nodeSize}}function Hk(t,e,n,r){for(let a=t.childCount,i=e.childCount;;){if(a==0||i==0)return a==i?null:{a:n,b:r};let o=t.child(--a),c=e.child(--i),u=o.nodeSize;if(o==c){n-=u,r-=u;continue}if(!o.sameMarkup(c))return{a:n,b:r};if(o.isText&&o.text!=c.text){let h=0,f=Math.min(o.text.length,c.text.length);for(;he&&r(u,a+c,i||null,o)!==!1&&u.content.size){let f=c+1;u.nodesBetween(Math.max(0,e-f),Math.min(u.content.size,n-f),r,a+f)}c=h}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,n,r,a){let i="",o=!0;return this.nodesBetween(e,n,(c,u)=>{let h=c.isText?c.text.slice(Math.max(e,u)-u,n-u):c.isLeaf?a?typeof a=="function"?a(c):a:c.type.spec.leafText?c.type.spec.leafText(c):"":"";c.isBlock&&(c.isLeaf&&h||c.isTextblock)&&r&&(o?o=!1:i+=r),i+=h},0),i}append(e){if(!e.size)return this;if(!this.size)return e;let n=this.lastChild,r=e.firstChild,a=this.content.slice(),i=0;for(n.isText&&n.sameMarkup(r)&&(a[a.length-1]=n.withText(n.text+r.text),i=1);ie)for(let i=0,o=0;oe&&((on)&&(c.isText?c=c.cut(Math.max(0,e-o),Math.min(c.text.length,n-o)):c=c.cut(Math.max(0,e-o-1),Math.min(c.content.size,n-o-1))),r.push(c),a+=c.nodeSize),o=u}return new xe(r,a)}cutByIndex(e,n){return e==n?xe.empty:e==0&&n==this.content.length?this:new xe(this.content.slice(e,n))}replaceChild(e,n){let r=this.content[e];if(r==n)return this;let a=this.content.slice(),i=this.size+n.nodeSize-r.nodeSize;return a[e]=n,new xe(a,i)}addToStart(e){return new xe([e].concat(this.content),this.size+e.nodeSize)}addToEnd(e){return new xe(this.content.concat(e),this.size+e.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let n=0;nthis.size||e<0)throw new RangeError(`Position ${e} outside of fragment (${this})`);for(let n=0,r=0;;n++){let a=this.child(n),i=r+a.nodeSize;if(i>=e)return i==e?Bu(n+1,i):Bu(n,r);r=i}}toString(){return"<"+this.toStringInner()+">"}toStringInner(){return this.content.join(", ")}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(e,n){if(!n)return xe.empty;if(!Array.isArray(n))throw new RangeError("Invalid input for Fragment.fromJSON");return new xe(n.map(e.nodeFromJSON))}static fromArray(e){if(!e.length)return xe.empty;let n,r=0;for(let a=0;athis.type.rank&&(n||(n=e.slice(0,a)),n.push(this),r=!0),n&&n.push(i)}}return n||(n=e.slice()),r||n.push(this),n}removeFromSet(e){for(let n=0;nr.type.rank-a.type.rank),n}};Ot.none=[];class jh extends Error{}class Re{constructor(e,n,r){this.content=e,this.openStart=n,this.openEnd=r}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(e,n){let r=Uk(this.content,e+this.openStart,n);return r&&new Re(r,this.openStart,this.openEnd)}removeBetween(e,n){return new Re(Wk(this.content,e+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+"("+this.openStart+","+this.openEnd+")"}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(e,n){if(!n)return Re.empty;let r=n.openStart||0,a=n.openEnd||0;if(typeof r!="number"||typeof a!="number")throw new RangeError("Invalid input for Slice.fromJSON");return new Re(xe.fromJSON(e,n.content),r,a)}static maxOpen(e,n=!0){let r=0,a=0;for(let i=e.firstChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.firstChild)r++;for(let i=e.lastChild;i&&!i.isLeaf&&(n||!i.type.spec.isolating);i=i.lastChild)a++;return new Re(e,r,a)}}Re.empty=new Re(xe.empty,0,0);function Wk(t,e,n){let{index:r,offset:a}=t.findIndex(e),i=t.maybeChild(r),{index:o,offset:c}=t.findIndex(n);if(a==e||i.isText){if(c!=n&&!t.child(o).isText)throw new RangeError("Removing non-flat range");return t.cut(0,e).append(t.cut(n))}if(r!=o)throw new RangeError("Removing non-flat range");return t.replaceChild(r,i.copy(Wk(i.content,e-a-1,n-a-1)))}function Uk(t,e,n,r){let{index:a,offset:i}=t.findIndex(e),o=t.maybeChild(a);if(i==e||o.isText)return r&&!r.canReplace(a,a,n)?null:t.cut(0,e).append(n).append(t.cut(e));let c=Uk(o.content,e-i-1,n,o);return c&&t.replaceChild(a,o.copy(c))}function KP(t,e,n){if(n.openStart>t.depth)throw new jh("Inserted content deeper than insertion position");if(t.depth-n.openStart!=e.depth-n.openEnd)throw new jh("Inconsistent open depths");return Kk(t,e,n,0)}function Kk(t,e,n,r){let a=t.index(r),i=t.node(r);if(a==e.index(r)&&r=0&&t.isText&&t.sameMarkup(e[n])?e[n]=t.withText(e[n].text+t.text):e.push(t)}function Gc(t,e,n,r){let a=(e||t).node(n),i=0,o=e?e.index(n):a.childCount;t&&(i=t.index(n),t.depth>n?i++:t.textOffset&&(wo(t.nodeAfter,r),i++));for(let c=i;ca&&Qg(t,e,a+1),o=r.depth>a&&Qg(n,r,a+1),c=[];return Gc(null,t,a,c),i&&o&&e.index(a)==n.index(a)?(qk(i,o),wo(jo(i,Gk(t,e,n,r,a+1)),c)):(i&&wo(jo(i,kh(t,e,a+1)),c),Gc(e,n,a,c),o&&wo(jo(o,kh(n,r,a+1)),c)),Gc(r,null,a,c),new xe(c)}function kh(t,e,n){let r=[];if(Gc(null,t,n,r),t.depth>n){let a=Qg(t,e,n+1);wo(jo(a,kh(t,e,n+1)),r)}return Gc(e,null,n,r),new xe(r)}function qP(t,e){let n=e.depth-t.openStart,a=e.node(n).copy(t.content);for(let i=n-1;i>=0;i--)a=e.node(i).copy(xe.from(a));return{start:a.resolveNoCache(t.openStart+n),end:a.resolveNoCache(a.content.size-t.openEnd-n)}}class cd{constructor(e,n,r){this.pos=e,this.path=n,this.parentOffset=r,this.depth=n.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position before the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw new RangeError("There is no position after the top-level node");return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,n=this.index(this.depth);if(n==e.childCount)return null;let r=this.pos-this.path[this.path.length-1],a=e.child(n);return r?e.child(n).cut(r):a}get nodeBefore(){let e=this.index(this.depth),n=this.pos-this.path[this.path.length-1];return n?this.parent.child(e).cut(0,n):e==0?null:this.parent.child(e-1)}posAtIndex(e,n){n=this.resolveDepth(n);let r=this.path[n*3],a=n==0?0:this.path[n*3-1]+1;for(let i=0;i0;n--)if(this.start(n)<=e&&this.end(n)>=e)return n;return 0}blockRange(e=this,n){if(e.pos=0;r--)if(e.pos<=this.end(r)&&(!n||n(this.node(r))))return new Sh(this,e,r);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos=0&&n<=e.content.size))throw new RangeError("Position "+n+" out of range");let r=[],a=0,i=n;for(let o=e;;){let{index:c,offset:u}=o.content.findIndex(i),h=i-u;if(r.push(o,c,a+u),!h||(o=o.child(c),o.isText))break;i=h-1,a+=u+1}return new cd(n,r,i)}static resolveCached(e,n){let r=m1.get(e);if(r)for(let i=0;ie&&this.nodesBetween(e,n,i=>(r.isInSet(i.marks)&&(a=!0),!a)),a}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+="("+this.content.toStringInner()+")"),Jk(this.marks,e)}contentMatchAt(e){let n=this.type.contentMatch.matchFragment(this.content,0,e);if(!n)throw new Error("Called contentMatchAt on a node with invalid content");return n}canReplace(e,n,r=xe.empty,a=0,i=r.childCount){let o=this.contentMatchAt(e).matchFragment(r,a,i),c=o&&o.matchFragment(this.content,n);if(!c||!c.validEnd)return!1;for(let u=a;un.type.name)}`);this.content.forEach(n=>n.check())}toJSON(){let e={type:this.type.name};for(let n in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(n=>n.toJSON())),e}static fromJSON(e,n){if(!n)throw new RangeError("Invalid input for Node.fromJSON");let r;if(n.marks){if(!Array.isArray(n.marks))throw new RangeError("Invalid mark data for Node.fromJSON");r=n.marks.map(e.markFromJSON)}if(n.type=="text"){if(typeof n.text!="string")throw new RangeError("Invalid text node in JSON");return e.text(n.text,r)}let a=xe.fromJSON(e,n.content),i=e.nodeType(n.type).create(n.attrs,a,r);return i.type.checkAttrs(i.attrs),i}};Ca.prototype.text=void 0;class Ch extends Ca{constructor(e,n,r,a){if(super(e,n,null,a),!r)throw new RangeError("Empty text nodes are not allowed");this.text=r}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):Jk(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,n){return this.text.slice(e,n)}get nodeSize(){return this.text.length}mark(e){return e==this.marks?this:new Ch(this.type,this.attrs,this.text,e)}withText(e){return e==this.text?this:new Ch(this.type,this.attrs,e,this.marks)}cut(e=0,n=this.text.length){return e==0&&n==this.text.length?this:this.withText(this.text.slice(e,n))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}}function Jk(t,e){for(let n=t.length-1;n>=0;n--)e=t[n].type.name+"("+e+")";return e}class Mo{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(e,n){let r=new QP(e,n);if(r.next==null)return Mo.empty;let a=Yk(r);r.next&&r.err("Unexpected trailing text");let i=sO(rO(a));return aO(i,r),i}matchType(e){for(let n=0;nh.createAndFill()));for(let h=0;h=this.next.length)throw new RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function n(r){e.push(r);for(let a=0;a{let i=a+(r.validEnd?"*":" ")+" ";for(let o=0;o"+e.indexOf(r.next[o].next);return i}).join(` +`)}}Mo.empty=new Mo(!0);class QP{constructor(e,n){this.string=e,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw new SyntaxError(e+" (in content expression '"+this.string+"')")}}function Yk(t){let e=[];do e.push(XP(t));while(t.eat("|"));return e.length==1?e[0]:{type:"choice",exprs:e}}function XP(t){let e=[];do e.push(ZP(t));while(t.next&&t.next!=")"&&t.next!="|");return e.length==1?e[0]:{type:"seq",exprs:e}}function ZP(t){let e=nO(t);for(;;)if(t.eat("+"))e={type:"plus",expr:e};else if(t.eat("*"))e={type:"star",expr:e};else if(t.eat("?"))e={type:"opt",expr:e};else if(t.eat("{"))e=eO(t,e);else break;return e}function g1(t){/\D/.test(t.next)&&t.err("Expected number, got '"+t.next+"'");let e=Number(t.next);return t.pos++,e}function eO(t,e){let n=g1(t),r=n;return t.eat(",")&&(t.next!="}"?r=g1(t):r=-1),t.eat("}")||t.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:e}}function tO(t,e){let n=t.nodeTypes,r=n[e];if(r)return[r];let a=[];for(let i in n){let o=n[i];o.isInGroup(e)&&a.push(o)}return a.length==0&&t.err("No node type or group '"+e+"' found"),a}function nO(t){if(t.eat("(")){let e=Yk(t);return t.eat(")")||t.err("Missing closing paren"),e}else if(/\W/.test(t.next))t.err("Unexpected token '"+t.next+"'");else{let e=tO(t,t.next).map(n=>(t.inline==null?t.inline=n.isInline:t.inline!=n.isInline&&t.err("Mixing inline and block content"),{type:"name",value:n}));return t.pos++,e.length==1?e[0]:{type:"choice",exprs:e}}}function rO(t){let e=[[]];return a(i(t,0),n()),e;function n(){return e.push([])-1}function r(o,c,u){let h={term:u,to:c};return e[o].push(h),h}function a(o,c){o.forEach(u=>u.to=c)}function i(o,c){if(o.type=="choice")return o.exprs.reduce((u,h)=>u.concat(i(h,c)),[]);if(o.type=="seq")for(let u=0;;u++){let h=i(o.exprs[u],c);if(u==o.exprs.length-1)return h;a(h,c=n())}else if(o.type=="star"){let u=n();return r(c,u),a(i(o.expr,u),u),[r(u)]}else if(o.type=="plus"){let u=n();return a(i(o.expr,c),u),a(i(o.expr,u),u),[r(u)]}else{if(o.type=="opt")return[r(c)].concat(i(o.expr,c));if(o.type=="range"){let u=c;for(let h=0;h{t[o].forEach(({term:c,to:u})=>{if(!c)return;let h;for(let f=0;f{h||a.push([c,h=[]]),h.indexOf(f)==-1&&h.push(f)})})});let i=e[r.join(",")]=new Mo(r.indexOf(t.length-1)>-1);for(let o=0;o-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Zk(this.attrs,e)}create(e=null,n,r){if(this.isText)throw new Error("NodeType.create can't construct text nodes");return new Ca(this,this.computeAttrs(e),xe.from(n),Ot.setFrom(r))}createChecked(e=null,n,r){return n=xe.from(n),this.checkContent(n),new Ca(this,this.computeAttrs(e),n,Ot.setFrom(r))}createAndFill(e=null,n,r){if(e=this.computeAttrs(e),n=xe.from(n),n.size){let o=this.contentMatch.fillBefore(n);if(!o)return null;n=o.append(n)}let a=this.contentMatch.matchFragment(n),i=a&&a.fillBefore(xe.empty,!0);return i?new Ca(this,e,n.append(i),Ot.setFrom(r)):null}validContent(e){let n=this.contentMatch.matchFragment(e);if(!n||!n.validEnd)return!1;for(let r=0;r-1}allowsMarks(e){if(this.markSet==null)return!0;for(let n=0;nr[i]=new nS(i,n,o));let a=n.spec.topNode||"doc";if(!r[a])throw new RangeError("Schema is missing its top node type ('"+a+"')");if(!r.text)throw new RangeError("Every schema needs a 'text' type");for(let i in r.text.attrs)throw new RangeError("The text node type should not have attributes");return r}};function iO(t,e,n){let r=n.split("|");return a=>{let i=a===null?"null":typeof a;if(r.indexOf(i)<0)throw new RangeError(`Expected value of type ${r} for attribute ${e} on type ${t}, got ${i}`)}}class oO{constructor(e,n,r){this.hasDefault=Object.prototype.hasOwnProperty.call(r,"default"),this.default=r.default,this.validate=typeof r.validate=="string"?iO(e,n,r.validate):r.validate}get isRequired(){return!this.hasDefault}}class Tf{constructor(e,n,r,a){this.name=e,this.rank=n,this.schema=r,this.spec=a,this.attrs=tS(e,a.attrs),this.excluded=null;let i=Xk(this.attrs);this.instance=i?new Ot(this,i):null}create(e=null){return!e&&this.instance?this.instance:new Ot(this,Zk(this.attrs,e))}static compile(e,n){let r=Object.create(null),a=0;return e.forEach((i,o)=>r[i]=new Tf(i,a++,n,o)),r}removeFromSet(e){for(var n=0;n-1}}class rS{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let n=this.spec={};for(let a in e)n[a]=e[a];n.nodes=Vn.from(e.nodes),n.marks=Vn.from(e.marks||{}),this.nodes=y1.compile(this.spec.nodes,this),this.marks=Tf.compile(this.spec.marks,this);let r=Object.create(null);for(let a in this.nodes){if(a in this.marks)throw new RangeError(a+" can not be both a node and a mark");let i=this.nodes[a],o=i.spec.content||"",c=i.spec.marks;if(i.contentMatch=r[o]||(r[o]=Mo.parse(o,this.nodes)),i.inlineContent=i.contentMatch.inlineContent,i.spec.linebreakReplacement){if(this.linebreakReplacement)throw new RangeError("Multiple linebreak nodes defined");if(!i.isInline||!i.isLeaf)throw new RangeError("Linebreak replacement nodes must be inline leaf nodes");this.linebreakReplacement=i}i.markSet=c=="_"?null:c?b1(this,c.split(" ")):c==""||!i.inlineContent?[]:null}for(let a in this.marks){let i=this.marks[a],o=i.spec.excludes;i.excluded=o==null?[i]:o==""?[]:b1(this,o.split(" "))}this.nodeFromJSON=a=>Ca.fromJSON(this,a),this.markFromJSON=a=>Ot.fromJSON(this,a),this.topNodeType=this.nodes[this.spec.topNode||"doc"],this.cached.wrappings=Object.create(null)}node(e,n=null,r,a){if(typeof e=="string")e=this.nodeType(e);else if(e instanceof y1){if(e.schema!=this)throw new RangeError("Node type from different schema used ("+e.name+")")}else throw new RangeError("Invalid node type: "+e);return e.createChecked(n,r,a)}text(e,n){let r=this.nodes.text;return new Ch(r,r.defaultAttrs,e,Ot.setFrom(n))}mark(e,n){return typeof e=="string"&&(e=this.marks[e]),e.create(n)}nodeType(e){let n=this.nodes[e];if(!n)throw new RangeError("Unknown node type: "+e);return n}}function b1(t,e){let n=[];for(let r=0;r-1)&&n.push(o=u)}if(!o)throw new SyntaxError("Unknown mark type: '"+e[r]+"'")}return n}function lO(t){return t.tag!=null}function cO(t){return t.style!=null}class ki{constructor(e,n){this.schema=e,this.rules=n,this.tags=[],this.styles=[];let r=this.matchedStyles=[];n.forEach(a=>{if(lO(a))this.tags.push(a);else if(cO(a)){let i=/[^=]*/.exec(a.style)[0];r.indexOf(i)<0&&r.push(i),this.styles.push(a)}}),this.normalizeLists=!this.tags.some(a=>{if(!/^(ul|ol)\b/.test(a.tag)||!a.node)return!1;let i=e.nodes[a.node];return i.contentMatch.matchType(i)})}parse(e,n={}){let r=new N1(this,n,!1);return r.addAll(e,Ot.none,n.from,n.to),r.finish()}parseSlice(e,n={}){let r=new N1(this,n,!0);return r.addAll(e,Ot.none,n.from,n.to),Re.maxOpen(r.finish())}matchTag(e,n,r){for(let a=r?this.tags.indexOf(r)+1:0;ae.length&&(c.charCodeAt(e.length)!=61||c.slice(e.length+1)!=n))){if(o.getAttrs){let u=o.getAttrs(n);if(u===!1)continue;o.attrs=u||void 0}return o}}}static schemaRules(e){let n=[];function r(a){let i=a.priority==null?50:a.priority,o=0;for(;o{r(o=w1(o)),o.mark||o.ignore||o.clearMark||(o.mark=a)})}for(let a in e.nodes){let i=e.nodes[a].spec.parseDOM;i&&i.forEach(o=>{r(o=w1(o)),o.node||o.ignore||o.mark||(o.node=a)})}return n}static fromSchema(e){return e.cached.domParser||(e.cached.domParser=new ki(e,ki.schemaRules(e)))}}const sS={address:!0,article:!0,aside:!0,blockquote:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},dO={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},aS={ol:!0,ul:!0},dd=1,Zg=2,Jc=4;function v1(t,e,n){return e!=null?(e?dd:0)|(e==="full"?Zg:0):t&&t.whitespace=="pre"?dd|Zg:n&~Jc}class Vu{constructor(e,n,r,a,i,o){this.type=e,this.attrs=n,this.marks=r,this.solid=a,this.options=o,this.content=[],this.activeMarks=Ot.none,this.match=i||(o&Jc?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let n=this.type.contentMatch.fillBefore(xe.from(e));if(n)this.match=this.type.contentMatch.matchFragment(n);else{let r=this.type.contentMatch,a;return(a=r.findWrapping(e.type))?(this.match=r,a):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&dd)){let r=this.content[this.content.length-1],a;if(r&&r.isText&&(a=/[ \t\r\n\u000c]+$/.exec(r.text))){let i=r;r.text.length==a[0].length?this.content.pop():this.content[this.content.length-1]=i.withText(i.text.slice(0,i.text.length-a[0].length))}}let n=xe.from(this.content);return!e&&this.match&&(n=n.append(this.match.fillBefore(xe.empty,!0))),this.type?this.type.create(this.attrs,n,this.marks):n}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!sS.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}}class N1{constructor(e,n,r){this.parser=e,this.options=n,this.isOpen=r,this.open=0,this.localPreserveWS=!1;let a=n.topNode,i,o=v1(null,n.preserveWhitespace,0)|(r?Jc:0);a?i=new Vu(a.type,a.attrs,Ot.none,!0,n.topMatch||a.type.contentMatch,o):r?i=new Vu(null,null,Ot.none,!0,null,o):i=new Vu(e.schema.topNodeType,null,Ot.none,!0,null,o),this.nodes=[i],this.find=n.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,n){e.nodeType==3?this.addTextNode(e,n):e.nodeType==1&&this.addElement(e,n)}addTextNode(e,n){let r=e.nodeValue,a=this.top,i=a.options&Zg?"full":this.localPreserveWS||(a.options&dd)>0,{schema:o}=this.parser;if(i==="full"||a.inlineContext(e)||/[^ \t\r\n\u000c]/.test(r)){if(i)if(i==="full")r=r.replace(/\r\n?/g,` +`);else if(o.linebreakReplacement&&/[\r\n]/.test(r)&&this.top.findWrapping(o.linebreakReplacement.create())){let c=r.split(/\r?\n|\r/);for(let u=0;u!u.clearMark(h)):n=n.concat(this.parser.schema.marks[u.mark].create(u.attrs)),u.consuming===!1)c=u;else break}}return n}addElementByRule(e,n,r,a){let i,o;if(n.node)if(o=this.parser.schema.nodes[n.node],o.isLeaf)this.insertNode(o.create(n.attrs),r,e.nodeName=="BR")||this.leafFallback(e,r);else{let u=this.enter(o,n.attrs||null,r,n.preserveWhitespace);u&&(i=!0,r=u)}else{let u=this.parser.schema.marks[n.mark];r=r.concat(u.create(n.attrs))}let c=this.top;if(o&&o.isLeaf)this.findInside(e);else if(a)this.addElement(e,r,a);else if(n.getContent)this.findInside(e),n.getContent(e,this.parser.schema).forEach(u=>this.insertNode(u,r,!1));else{let u=e;typeof n.contentElement=="string"?u=e.querySelector(n.contentElement):typeof n.contentElement=="function"?u=n.contentElement(e):n.contentElement&&(u=n.contentElement),this.findAround(e,u,!0),this.addAll(u,r),this.findAround(e,u,!1)}i&&this.sync(c)&&this.open--}addAll(e,n,r,a){let i=r||0;for(let o=r?e.childNodes[r]:e.firstChild,c=a==null?null:e.childNodes[a];o!=c;o=o.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(o,n);this.findAtPoint(e,i)}findPlace(e,n,r){let a,i;for(let o=this.open,c=0;o>=0;o--){let u=this.nodes[o],h=u.findWrapping(e);if(h&&(!a||a.length>h.length+c)&&(a=h,i=u,!h.length))break;if(u.solid){if(r)break;c+=2}}if(!a)return null;this.sync(i);for(let o=0;o(o.type?o.type.allowsMarkType(h.type):j1(h.type,e))?(u=h.addToSet(u),!1):!0),this.nodes.push(new Vu(e,n,u,a,null,c)),this.open++,r}closeExtra(e=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let n=this.open;n>=0;n--){if(this.nodes[n]==e)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=dd)}return!1}get currentPos(){this.closeExtra();let e=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let a=r.length-1;a>=0;a--)e+=r[a].nodeSize;n&&e++}return e}findAtPoint(e,n){if(this.find)for(let r=0;r-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let n=e.split("/"),r=this.options.context,a=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),i=-(r?r.depth+1:0)+(a?0:1),o=(c,u)=>{for(;c>=0;c--){let h=n[c];if(h==""){if(c==n.length-1||c==0)continue;for(;u>=i;u--)if(o(c-1,u))return!0;return!1}else{let f=u>0||u==0&&a?this.nodes[u].type:r&&u>=i?r.node(u-i).type:null;if(!f||f.name!=h&&!f.isInGroup(h))return!1;u--}}return!0};return o(n.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let n=e.depth;n>=0;n--){let r=e.node(n).contentMatchAt(e.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function uO(t){for(let e=t.firstChild,n=null;e;e=e.nextSibling){let r=e.nodeType==1?e.nodeName.toLowerCase():null;r&&aS.hasOwnProperty(r)&&n?(n.appendChild(e),e=n):r=="li"?n=e:r&&(n=null)}}function hO(t,e){return(t.matches||t.msMatchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector).call(t,e)}function w1(t){let e={};for(let n in t)e[n]=t[n];return e}function j1(t,e){let n=e.schema.nodes;for(let r in n){let a=n[r];if(!a.allowsMarkType(t))continue;let i=[],o=c=>{i.push(c);for(let u=0;u{if(i.length||o.marks.length){let c=0,u=0;for(;c=0;a--){let i=this.serializeMark(e.marks[a],e.isInline,n);i&&((i.contentDOM||i.dom).appendChild(r),r=i.dom)}return r}serializeMark(e,n,r={}){let a=this.marks[e.type.name];return a&&ih(Jm(r),a(e,n),null,e.attrs)}static renderSpec(e,n,r=null,a){return ih(e,n,r,a)}static fromSchema(e){return e.cached.domSerializer||(e.cached.domSerializer=new $o(this.nodesFromSchema(e),this.marksFromSchema(e)))}static nodesFromSchema(e){let n=k1(e.nodes);return n.text||(n.text=r=>r.text),n}static marksFromSchema(e){return k1(e.marks)}}function k1(t){let e={};for(let n in t){let r=t[n].spec.toDOM;r&&(e[n]=r)}return e}function Jm(t){return t.document||window.document}const S1=new WeakMap;function fO(t){let e=S1.get(t);return e===void 0&&S1.set(t,e=pO(t)),e}function pO(t){let e=null;function n(r){if(r&&typeof r=="object")if(Array.isArray(r))if(typeof r[0]=="string")e||(e=[]),e.push(r);else for(let a=0;a-1)throw new RangeError("Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.");let o=a.indexOf(" ");o>0&&(n=a.slice(0,o),a=a.slice(o+1));let c,u=n?t.createElementNS(n,a):t.createElement(a),h=e[1],f=1;if(h&&typeof h=="object"&&h.nodeType==null&&!Array.isArray(h)){f=2;for(let m in h)if(h[m]!=null){let g=m.indexOf(" ");g>0?u.setAttributeNS(m.slice(0,g),m.slice(g+1),h[m]):m=="style"&&u.style?u.style.cssText=h[m]:u.setAttribute(m,h[m])}}for(let m=f;mf)throw new RangeError("Content hole must be the only child of its parent node");return{dom:u,contentDOM:u}}else{let{dom:y,contentDOM:v}=ih(t,g,n,r);if(u.appendChild(y),v){if(c)throw new RangeError("Multiple content holes");c=v}}}return{dom:u,contentDOM:c}}const iS=65535,oS=Math.pow(2,16);function mO(t,e){return t+e*oS}function C1(t){return t&iS}function gO(t){return(t-(t&iS))/oS}const lS=1,cS=2,oh=4,dS=8;class ex{constructor(e,n,r){this.pos=e,this.delInfo=n,this.recover=r}get deleted(){return(this.delInfo&dS)>0}get deletedBefore(){return(this.delInfo&(lS|oh))>0}get deletedAfter(){return(this.delInfo&(cS|oh))>0}get deletedAcross(){return(this.delInfo&oh)>0}}class _r{constructor(e,n=!1){if(this.ranges=e,this.inverted=n,!e.length&&_r.empty)return _r.empty}recover(e){let n=0,r=C1(e);if(!this.inverted)for(let a=0;ae)break;let h=this.ranges[c+i],f=this.ranges[c+o],m=u+h;if(e<=m){let g=h?e==u?-1:e==m?1:n:n,y=u+a+(g<0?0:f);if(r)return y;let v=e==(n<0?u:m)?null:mO(c/3,e-u),w=e==u?cS:e==m?lS:oh;return(n<0?e!=u:e!=m)&&(w|=dS),new ex(y,w,v)}a+=f-h}return r?e+a:new ex(e+a,0,null)}touches(e,n){let r=0,a=C1(n),i=this.inverted?2:1,o=this.inverted?1:2;for(let c=0;ce)break;let h=this.ranges[c+i],f=u+h;if(e<=f&&c==a*3)return!0;r+=this.ranges[c+o]-h}return!1}forEach(e){let n=this.inverted?2:1,r=this.inverted?1:2;for(let a=0,i=0;a=0;n--){let a=e.getMirror(n);this.appendMap(e._maps[n].invert(),a!=null&&a>n?r-a-1:void 0)}}invert(){let e=new ud;return e.appendMappingInverted(this),e}map(e,n=1){if(this.mirror)return this._map(e,n,!0);for(let r=this.from;ri&&u!o.isAtom||!c.type.allowsMarkType(this.mark.type)?o:o.mark(this.mark.addToSet(o.marks)),a),n.openStart,n.openEnd);return vn.fromReplace(e,this.from,this.to,i)}invert(){return new vs(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new bi(n.pos,r.pos,this.mark)}merge(e){return e instanceof bi&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new bi(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"addMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for AddMarkStep.fromJSON");return new bi(n.from,n.to,e.markFromJSON(n.mark))}}ir.jsonID("addMark",bi);class vs extends ir{constructor(e,n,r){super(),this.from=e,this.to=n,this.mark=r}apply(e){let n=e.slice(this.from,this.to),r=new Re(u0(n.content,a=>a.mark(this.mark.removeFromSet(a.marks)),e),n.openStart,n.openEnd);return vn.fromReplace(e,this.from,this.to,r)}invert(){return new bi(this.from,this.to,this.mark)}map(e){let n=e.mapResult(this.from,1),r=e.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new vs(n.pos,r.pos,this.mark)}merge(e){return e instanceof vs&&e.mark.eq(this.mark)&&this.from<=e.to&&this.to>=e.from?new vs(Math.min(this.from,e.from),Math.max(this.to,e.to),this.mark):null}toJSON(){return{stepType:"removeMark",mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number")throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");return new vs(n.from,n.to,e.markFromJSON(n.mark))}}ir.jsonID("removeMark",vs);class vi extends ir{constructor(e,n){super(),this.pos=e,this.mark=n}apply(e){let n=e.nodeAt(this.pos);if(!n)return vn.fail("No node at mark step's position");let r=n.type.create(n.attrs,null,this.mark.addToSet(n.marks));return vn.fromReplace(e,this.pos,this.pos+1,new Re(xe.from(r),0,n.isLeaf?0:1))}invert(e){let n=e.nodeAt(this.pos);if(n){let r=this.mark.addToSet(n.marks);if(r.length==n.marks.length){for(let a=0;ar.pos?null:new Ln(n.pos,r.pos,a,i,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:"replaceAround",from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(e,n){if(typeof n.from!="number"||typeof n.to!="number"||typeof n.gapFrom!="number"||typeof n.gapTo!="number"||typeof n.insert!="number")throw new RangeError("Invalid input for ReplaceAroundStep.fromJSON");return new Ln(n.from,n.to,n.gapFrom,n.gapTo,Re.fromJSON(e,n.slice),n.insert,!!n.structure)}}ir.jsonID("replaceAround",Ln);function tx(t,e,n){let r=t.resolve(e),a=n-e,i=r.depth;for(;a>0&&i>0&&r.indexAfter(i)==r.node(i).childCount;)i--,a--;if(a>0){let o=r.node(i).maybeChild(r.indexAfter(i));for(;a>0;){if(!o||o.isLeaf)return!0;o=o.firstChild,a--}}return!1}function xO(t,e,n,r){let a=[],i=[],o,c;t.doc.nodesBetween(e,n,(u,h,f)=>{if(!u.isInline)return;let m=u.marks;if(!r.isInSet(m)&&f.type.allowsMarkType(r.type)){let g=Math.max(h,e),y=Math.min(h+u.nodeSize,n),v=r.addToSet(m);for(let w=0;wt.step(u)),i.forEach(u=>t.step(u))}function yO(t,e,n,r){let a=[],i=0;t.doc.nodesBetween(e,n,(o,c)=>{if(!o.isInline)return;i++;let u=null;if(r instanceof Tf){let h=o.marks,f;for(;f=r.isInSet(h);)(u||(u=[])).push(f),h=f.removeFromSet(h)}else r?r.isInSet(o.marks)&&(u=[r]):u=o.marks;if(u&&u.length){let h=Math.min(c+o.nodeSize,n);for(let f=0;ft.step(new vs(o.from,o.to,o.style)))}function h0(t,e,n,r=n.contentMatch,a=!0){let i=t.doc.nodeAt(e),o=[],c=e+1;for(let u=0;u=0;u--)t.step(o[u])}function bO(t,e,n){return(e==0||t.canReplace(e,t.childCount))&&(n==t.childCount||t.canReplace(0,n))}function Xl(t){let n=t.parent.content.cutByIndex(t.startIndex,t.endIndex);for(let r=t.depth,a=0,i=0;;--r){let o=t.$from.node(r),c=t.$from.index(r)+a,u=t.$to.indexAfter(r)-i;if(rn;v--)w||r.index(v)>0?(w=!0,f=xe.from(r.node(v).copy(f)),m++):u--;let g=xe.empty,y=0;for(let v=i,w=!1;v>n;v--)w||a.after(v+1)=0;o--){if(r.size){let c=n[o].type.contentMatch.matchFragment(r);if(!c||!c.validEnd)throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper")}r=xe.from(n[o].type.create(n[o].attrs,r))}let a=e.start,i=e.end;t.step(new Ln(a,i,a,i,new Re(r,0,0),n.length,!0))}function kO(t,e,n,r,a){if(!r.isTextblock)throw new RangeError("Type given to setBlockType should be a textblock");let i=t.steps.length;t.doc.nodesBetween(e,n,(o,c)=>{let u=typeof a=="function"?a(o):a;if(o.isTextblock&&!o.hasMarkup(r,u)&&SO(t.doc,t.mapping.slice(i).map(c),r)){let h=null;if(r.schema.linebreakReplacement){let y=r.whitespace=="pre",v=!!r.contentMatch.matchType(r.schema.linebreakReplacement);y&&!v?h=!1:!y&&v&&(h=!0)}h===!1&&hS(t,o,c,i),h0(t,t.mapping.slice(i).map(c,1),r,void 0,h===null);let f=t.mapping.slice(i),m=f.map(c,1),g=f.map(c+o.nodeSize,1);return t.step(new Ln(m,g,m+1,g-1,new Re(xe.from(r.create(u,null,o.marks)),0,0),1,!0)),h===!0&&uS(t,o,c,i),!1}})}function uS(t,e,n,r){e.forEach((a,i)=>{if(a.isText){let o,c=/\r?\n|\r/g;for(;o=c.exec(a.text);){let u=t.mapping.slice(r).map(n+1+i+o.index);t.replaceWith(u,u+1,e.type.schema.linebreakReplacement.create())}}})}function hS(t,e,n,r){e.forEach((a,i)=>{if(a.type==a.type.schema.linebreakReplacement){let o=t.mapping.slice(r).map(n+1+i);t.replaceWith(o,o+1,e.type.schema.text(` +`))}})}function SO(t,e,n){let r=t.resolve(e),a=r.index();return r.parent.canReplaceWith(a,a+1,n)}function CO(t,e,n,r,a){let i=t.doc.nodeAt(e);if(!i)throw new RangeError("No node at given position");n||(n=i.type);let o=n.create(r,null,a||i.marks);if(i.isLeaf)return t.replaceWith(e,e+i.nodeSize,o);if(!n.validContent(i.content))throw new RangeError("Invalid content for node type "+n.name);t.step(new Ln(e,e+i.nodeSize,e+1,e+i.nodeSize-1,new Re(xe.from(o),0,0),1,!0))}function Ea(t,e,n=1,r){let a=t.resolve(e),i=a.depth-n,o=r&&r[r.length-1]||a.parent;if(i<0||a.parent.type.spec.isolating||!a.parent.canReplace(a.index(),a.parent.childCount)||!o.type.validContent(a.parent.content.cutByIndex(a.index(),a.parent.childCount)))return!1;for(let h=a.depth-1,f=n-2;h>i;h--,f--){let m=a.node(h),g=a.index(h);if(m.type.spec.isolating)return!1;let y=m.content.cutByIndex(g,m.childCount),v=r&&r[f+1];v&&(y=y.replaceChild(0,v.type.create(v.attrs)));let w=r&&r[f]||m;if(!m.canReplace(g+1,m.childCount)||!w.type.validContent(y))return!1}let c=a.indexAfter(i),u=r&&r[0];return a.node(i).canReplaceWith(c,c,u?u.type:a.node(i+1).type)}function EO(t,e,n=1,r){let a=t.doc.resolve(e),i=xe.empty,o=xe.empty;for(let c=a.depth,u=a.depth-n,h=n-1;c>u;c--,h--){i=xe.from(a.node(c).copy(i));let f=r&&r[h];o=xe.from(f?f.type.create(f.attrs,o):a.node(c).copy(o))}t.step(new Dn(e,e,new Re(i.append(o),n,n),!0))}function _i(t,e){let n=t.resolve(e),r=n.index();return fS(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function TO(t,e){e.content.size||t.type.compatibleContent(e.type);let n=t.contentMatchAt(t.childCount),{linebreakReplacement:r}=t.type.schema;for(let a=0;a0?(i=r.node(a+1),c++,o=r.node(a).maybeChild(c)):(i=r.node(a).maybeChild(c-1),o=r.node(a+1)),i&&!i.isTextblock&&fS(i,o)&&r.node(a).canReplace(c,c+1))return e;if(a==0)break;e=n<0?r.before(a):r.after(a)}}function MO(t,e,n){let r=null,{linebreakReplacement:a}=t.doc.type.schema,i=t.doc.resolve(e-n),o=i.node().type;if(a&&o.inlineContent){let f=o.whitespace=="pre",m=!!o.contentMatch.matchType(a);f&&!m?r=!1:!f&&m&&(r=!0)}let c=t.steps.length;if(r===!1){let f=t.doc.resolve(e+n);hS(t,f.node(),f.before(),c)}o.inlineContent&&h0(t,e+n-1,o,i.node().contentMatchAt(i.index()),r==null);let u=t.mapping.slice(c),h=u.map(e-n);if(t.step(new Dn(h,u.map(e+n,-1),Re.empty,!0)),r===!0){let f=t.doc.resolve(h);uS(t,f.node(),f.before(),t.steps.length)}return t}function AO(t,e,n){let r=t.resolve(e);if(r.parent.canReplaceWith(r.index(),r.index(),n))return e;if(r.parentOffset==0)for(let a=r.depth-1;a>=0;a--){let i=r.index(a);if(r.node(a).canReplaceWith(i,i,n))return r.before(a+1);if(i>0)return null}if(r.parentOffset==r.parent.content.size)for(let a=r.depth-1;a>=0;a--){let i=r.indexAfter(a);if(r.node(a).canReplaceWith(i,i,n))return r.after(a+1);if(i=0;o--){let c=o==r.depth?0:r.pos<=(r.start(o+1)+r.end(o+1))/2?-1:1,u=r.index(o)+(c>0?1:0),h=r.node(o),f=!1;if(i==1)f=h.canReplace(u,u,a);else{let m=h.contentMatchAt(u).findWrapping(a.firstChild.type);f=m&&h.canReplaceWith(u,u,m[0])}if(f)return c==0?r.pos:c<0?r.before(o+1):r.after(o+1)}return null}function Af(t,e,n=e,r=Re.empty){if(e==n&&!r.size)return null;let a=t.resolve(e),i=t.resolve(n);return mS(a,i,r)?new Dn(e,n,r):new IO(a,i,r).fit()}function mS(t,e,n){return!n.openStart&&!n.openEnd&&t.start()==e.start()&&t.parent.canReplace(t.index(),e.index(),n.content)}class IO{constructor(e,n,r){this.$from=e,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=xe.empty;for(let a=0;a<=e.depth;a++){let i=e.node(a);this.frontier.push({type:i.type,match:i.contentMatchAt(e.indexAfter(a))})}for(let a=e.depth;a>0;a--)this.placed=xe.from(e.node(a).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let h=this.findFittable();h?this.placeNodes(h):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,a=this.close(e<0?this.$to:r.doc.resolve(e));if(!a)return null;let i=this.placed,o=r.depth,c=a.depth;for(;o&&c&&i.childCount==1;)i=i.firstChild.content,o--,c--;let u=new Re(i,o,c);return e>-1?new Ln(r.pos,e,this.$to.pos,this.$to.end(),u,n):u.size||r.pos!=this.$to.pos?new Dn(r.pos,a.pos,u):null}findFittable(){let e=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,a=this.unplaced.openEnd;r1&&(a=0),i.type.spec.isolating&&a<=r){e=r;break}n=i.content}for(let n=1;n<=2;n++)for(let r=n==1?e:this.unplaced.openStart;r>=0;r--){let a,i=null;r?(i=Qm(this.unplaced.content,r-1).firstChild,a=i.content):a=this.unplaced.content;let o=a.firstChild;for(let c=this.depth;c>=0;c--){let{type:u,match:h}=this.frontier[c],f,m=null;if(n==1&&(o?h.matchType(o.type)||(m=h.fillBefore(xe.from(o),!1)):i&&u.compatibleContent(i.type)))return{sliceDepth:r,frontierDepth:c,parent:i,inject:m};if(n==2&&o&&(f=h.findWrapping(o.type)))return{sliceDepth:r,frontierDepth:c,parent:i,wrap:f};if(i&&h.matchType(i.type))break}}}openMore(){let{content:e,openStart:n,openEnd:r}=this.unplaced,a=Qm(e,n);return!a.childCount||a.firstChild.isLeaf?!1:(this.unplaced=new Re(e,n+1,Math.max(r,a.size+n>=e.size-r?n+1:0)),!0)}dropNode(){let{content:e,openStart:n,openEnd:r}=this.unplaced,a=Qm(e,n);if(a.childCount<=1&&n>0){let i=e.size-n<=n+a.size;this.unplaced=new Re(Fc(e,n-1,1),n-1,i?n-1:r)}else this.unplaced=new Re(Fc(e,n,1),n,r)}placeNodes({sliceDepth:e,frontierDepth:n,parent:r,inject:a,wrap:i}){for(;this.depth>n;)this.closeFrontierNode();if(i)for(let w=0;w1||u==0||w.content.size)&&(m=N,f.push(gS(w.mark(g.allowedMarks(w.marks)),h==1?u:0,h==c.childCount?y:-1)))}let v=h==c.childCount;v||(y=-1),this.placed=Bc(this.placed,n,xe.from(f)),this.frontier[n].match=m,v&&y<0&&r&&r.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let w=0,N=c;w1&&a==this.$to.end(--r);)++a;return a}findCloseLevel(e){e:for(let n=Math.min(this.depth,e.depth);n>=0;n--){let{match:r,type:a}=this.frontier[n],i=n=0;c--){let{match:u,type:h}=this.frontier[c],f=Xm(e,c,h,u,!0);if(!f||f.childCount)continue e}return{depth:n,fit:o,move:i?e.doc.resolve(e.after(n+1)):e}}}}close(e){let n=this.findCloseLevel(e);if(!n)return null;for(;this.depth>n.depth;)this.closeFrontierNode();n.fit.childCount&&(this.placed=Bc(this.placed,n.depth,n.fit)),e=n.move;for(let r=n.depth+1;r<=e.depth;r++){let a=e.node(r),i=a.type.contentMatch.fillBefore(a.content,!0,e.index(r));this.openFrontierNode(a.type,a.attrs,i)}return e}openFrontierNode(e,n=null,r){let a=this.frontier[this.depth];a.match=a.match.matchType(e),this.placed=Bc(this.placed,this.depth,xe.from(e.create(n,r))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let n=this.frontier.pop().match.fillBefore(xe.empty,!0);n.childCount&&(this.placed=Bc(this.placed,this.frontier.length,n))}}function Fc(t,e,n){return e==0?t.cutByIndex(n,t.childCount):t.replaceChild(0,t.firstChild.copy(Fc(t.firstChild.content,e-1,n)))}function Bc(t,e,n){return e==0?t.append(n):t.replaceChild(t.childCount-1,t.lastChild.copy(Bc(t.lastChild.content,e-1,n)))}function Qm(t,e){for(let n=0;n1&&(r=r.replaceChild(0,gS(r.firstChild,e-1,r.childCount==1?n-1:0))),e>0&&(r=t.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(t.type.contentMatch.matchFragment(r).fillBefore(xe.empty,!0)))),t.copy(r)}function Xm(t,e,n,r,a){let i=t.node(e),o=a?t.indexAfter(e):t.index(e);if(o==i.childCount&&!n.compatibleContent(i.type))return null;let c=r.fillBefore(i.content,!0,o);return c&&!RO(n,i.content,o)?c:null}function RO(t,e,n){for(let r=n;r0;g--,y--){let v=a.node(g).type.spec;if(v.defining||v.definingAsContext||v.isolating)break;o.indexOf(g)>-1?c=g:a.before(g)==y&&o.splice(1,0,-g)}let u=o.indexOf(c),h=[],f=r.openStart;for(let g=r.content,y=0;;y++){let v=g.firstChild;if(h.push(v),y==r.openStart)break;g=v.content}for(let g=f-1;g>=0;g--){let y=h[g],v=PO(y.type);if(v&&!y.sameMarkup(a.node(Math.abs(c)-1)))f=g;else if(v||!y.type.isTextblock)break}for(let g=r.openStart;g>=0;g--){let y=(g+f+1)%(r.openStart+1),v=h[y];if(v)for(let w=0;w=0&&(t.replace(e,n,r),!(t.steps.length>m));g--){let y=o[g];y<0||(e=a.before(y),n=i.after(y))}}function xS(t,e,n,r,a){if(er){let i=a.contentMatchAt(0),o=i.fillBefore(t).append(t);t=o.append(i.matchFragment(o).fillBefore(xe.empty,!0))}return t}function DO(t,e,n,r){if(!r.isInline&&e==n&&t.doc.resolve(e).parent.content.size){let a=AO(t.doc,e,r.type);a!=null&&(e=n=a)}t.replaceRange(e,n,new Re(xe.from(r),0,0))}function LO(t,e,n){let r=t.doc.resolve(e),a=t.doc.resolve(n),i=yS(r,a);for(let o=0;o0&&(u||r.node(c-1).canReplace(r.index(c-1),a.indexAfter(c-1))))return t.delete(r.before(c),a.after(c))}for(let o=1;o<=r.depth&&o<=a.depth;o++)if(e-r.start(o)==r.depth-o&&n>r.end(o)&&a.end(o)-n!=a.depth-o&&r.start(o-1)==a.start(o-1)&&r.node(o-1).canReplace(r.index(o-1),a.index(o-1)))return t.delete(r.before(o),n);t.delete(e,n)}function yS(t,e){let n=[],r=Math.min(t.depth,e.depth);for(let a=r;a>=0;a--){let i=t.start(a);if(ie.pos+(e.depth-a)||t.node(a).type.spec.isolating||e.node(a).type.spec.isolating)break;(i==e.start(a)||a==t.depth&&a==e.depth&&t.parent.inlineContent&&e.parent.inlineContent&&a&&e.start(a-1)==i-1)&&n.push(a)}return n}class Rl extends ir{constructor(e,n,r){super(),this.pos=e,this.attr=n,this.value=r}apply(e){let n=e.nodeAt(this.pos);if(!n)return vn.fail("No node at attribute step's position");let r=Object.create(null);for(let i in n.attrs)r[i]=n.attrs[i];r[this.attr]=this.value;let a=n.type.create(r,null,n.marks);return vn.fromReplace(e,this.pos,this.pos+1,new Re(xe.from(a),0,n.isLeaf?0:1))}getMap(){return _r.empty}invert(e){return new Rl(this.pos,this.attr,e.nodeAt(this.pos).attrs[this.attr])}map(e){let n=e.mapResult(this.pos,1);return n.deletedAfter?null:new Rl(n.pos,this.attr,this.value)}toJSON(){return{stepType:"attr",pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.pos!="number"||typeof n.attr!="string")throw new RangeError("Invalid input for AttrStep.fromJSON");return new Rl(n.pos,n.attr,n.value)}}ir.jsonID("attr",Rl);class hd extends ir{constructor(e,n){super(),this.attr=e,this.value=n}apply(e){let n=Object.create(null);for(let a in e.attrs)n[a]=e.attrs[a];n[this.attr]=this.value;let r=e.type.create(n,e.content,e.marks);return vn.ok(r)}getMap(){return _r.empty}invert(e){return new hd(this.attr,e.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:"docAttr",attr:this.attr,value:this.value}}static fromJSON(e,n){if(typeof n.attr!="string")throw new RangeError("Invalid input for DocAttrStep.fromJSON");return new hd(n.attr,n.value)}}ir.jsonID("docAttr",hd);let _l=class extends Error{};_l=function t(e){let n=Error.call(this,e);return n.__proto__=t.prototype,n};_l.prototype=Object.create(Error.prototype);_l.prototype.constructor=_l;_l.prototype.name="TransformError";class p0{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new ud}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let n=this.maybeStep(e);if(n.failed)throw new _l(n.failed);return this}maybeStep(e){let n=e.apply(this.doc);return n.failed||this.addStep(e,n.doc),n}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,n=-1e9;for(let r=0;r{e=Math.min(e,c),n=Math.max(n,u)})}return e==1e9?null:{from:e,to:n}}addStep(e,n){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=n}replace(e,n=e,r=Re.empty){let a=Af(this.doc,e,n,r);return a&&this.step(a),this}replaceWith(e,n,r){return this.replace(e,n,new Re(xe.from(r),0,0))}delete(e,n){return this.replace(e,n,Re.empty)}insert(e,n){return this.replaceWith(e,e,n)}replaceRange(e,n,r){return OO(this,e,n,r),this}replaceRangeWith(e,n,r){return DO(this,e,n,r),this}deleteRange(e,n){return LO(this,e,n),this}lift(e,n){return vO(this,e,n),this}join(e,n=1){return MO(this,e,n),this}wrap(e,n){return jO(this,e,n),this}setBlockType(e,n=e,r,a=null){return kO(this,e,n,r,a),this}setNodeMarkup(e,n,r=null,a){return CO(this,e,n,r,a),this}setNodeAttribute(e,n,r){return this.step(new Rl(e,n,r)),this}setDocAttribute(e,n){return this.step(new hd(e,n)),this}addNodeMark(e,n){return this.step(new vi(e,n)),this}removeNodeMark(e,n){let r=this.doc.nodeAt(e);if(!r)throw new RangeError("No node at position "+e);if(n instanceof Ot)n.isInSet(r.marks)&&this.step(new Ao(e,n));else{let a=r.marks,i,o=[];for(;i=n.isInSet(a);)o.push(new Ao(e,i)),a=i.removeFromSet(a);for(let c=o.length-1;c>=0;c--)this.step(o[c])}return this}split(e,n=1,r){return EO(this,e,n,r),this}addMark(e,n,r){return xO(this,e,n,r),this}removeMark(e,n,r){return yO(this,e,n,r),this}clearIncompatible(e,n,r){return h0(this,e,n,r),this}}const Zm=Object.create(null);class tt{constructor(e,n,r){this.$anchor=e,this.$head=n,this.ranges=r||[new bS(e.min(n),e.max(n))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let n=0;n=0;i--){let o=n<0?wl(e.node(0),e.node(i),e.before(i+1),e.index(i),n,r):wl(e.node(0),e.node(i),e.after(i+1),e.index(i)+1,n,r);if(o)return o}return null}static near(e,n=1){return this.findFrom(e,n)||this.findFrom(e,-n)||new Fr(e.node(0))}static atStart(e){return wl(e,e,0,0,1)||new Fr(e)}static atEnd(e){return wl(e,e,e.content.size,e.childCount,-1)||new Fr(e)}static fromJSON(e,n){if(!n||!n.type)throw new RangeError("Invalid input for Selection.fromJSON");let r=Zm[n.type];if(!r)throw new RangeError(`No selection type ${n.type} defined`);return r.fromJSON(e,n)}static jsonID(e,n){if(e in Zm)throw new RangeError("Duplicate use of selection JSON ID "+e);return Zm[e]=n,n.prototype.jsonID=e,n}getBookmark(){return Qe.between(this.$anchor,this.$head).getBookmark()}}tt.prototype.visible=!0;class bS{constructor(e,n){this.$from=e,this.$to=n}}let T1=!1;function M1(t){!T1&&!t.parent.inlineContent&&(T1=!0,console.warn("TextSelection endpoint not pointing into a node with inline content ("+t.parent.type.name+")"))}class Qe extends tt{constructor(e,n=e){M1(e),M1(n),super(e,n)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(e,n){let r=e.resolve(n.map(this.head));if(!r.parent.inlineContent)return tt.near(r);let a=e.resolve(n.map(this.anchor));return new Qe(a.parent.inlineContent?a:r,r)}replace(e,n=Re.empty){if(super.replace(e,n),n==Re.empty){let r=this.$from.marksAcross(this.$to);r&&e.ensureMarks(r)}}eq(e){return e instanceof Qe&&e.anchor==this.anchor&&e.head==this.head}getBookmark(){return new If(this.anchor,this.head)}toJSON(){return{type:"text",anchor:this.anchor,head:this.head}}static fromJSON(e,n){if(typeof n.anchor!="number"||typeof n.head!="number")throw new RangeError("Invalid input for TextSelection.fromJSON");return new Qe(e.resolve(n.anchor),e.resolve(n.head))}static create(e,n,r=n){let a=e.resolve(n);return new this(a,r==n?a:e.resolve(r))}static between(e,n,r){let a=e.pos-n.pos;if((!r||a)&&(r=a>=0?1:-1),!n.parent.inlineContent){let i=tt.findFrom(n,r,!0)||tt.findFrom(n,-r,!0);if(i)n=i.$head;else return tt.near(n,r)}return e.parent.inlineContent||(a==0?e=n:(e=(tt.findFrom(e,-r,!0)||tt.findFrom(e,r,!0)).$anchor,e.pos0?0:1);a>0?o=0;o+=a){let c=e.child(o);if(c.isAtom){if(!i&&Je.isSelectable(c))return Je.create(t,n-(a<0?c.nodeSize:0))}else{let u=wl(t,c,n+a,a<0?c.childCount:0,a,i);if(u)return u}n+=c.nodeSize*a}return null}function A1(t,e,n){let r=t.steps.length-1;if(r{o==null&&(o=f)}),t.setSelection(tt.near(t.doc.resolve(o),n))}const I1=1,Hu=2,R1=4;class zO extends p0{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor0}setStoredMarks(e){return this.storedMarks=e,this.updated|=Hu,this}ensureMarks(e){return Ot.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&Hu)>0}addStep(e,n){super.addStep(e,n),this.updated=this.updated&~Hu,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,n=!0){let r=this.selection;return n&&(e=e.mark(this.storedMarks||(r.empty?r.$from.marks():r.$from.marksAcross(r.$to)||Ot.none))),r.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,n,r){let a=this.doc.type.schema;if(n==null)return e?this.replaceSelectionWith(a.text(e),!0):this.deleteSelection();{if(r==null&&(r=n),!e)return this.deleteRange(n,r);let i=this.storedMarks;if(!i){let o=this.doc.resolve(n);i=r==n?o.marks():o.marksAcross(this.doc.resolve(r))}return this.replaceRangeWith(n,r,a.text(e,i)),!this.selection.empty&&this.selection.to==n+e.length&&this.setSelection(tt.near(this.selection.$to)),this}}setMeta(e,n){return this.meta[typeof e=="string"?e:e.key]=n,this}getMeta(e){return this.meta[typeof e=="string"?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=R1,this}get scrolledIntoView(){return(this.updated&R1)>0}}function P1(t,e){return!e||!t?t:t.bind(e)}class Vc{constructor(e,n,r){this.name=e,this.init=P1(n.init,r),this.apply=P1(n.apply,r)}}const $O=[new Vc("doc",{init(t){return t.doc||t.schema.topNodeType.createAndFill()},apply(t){return t.doc}}),new Vc("selection",{init(t,e){return t.selection||tt.atStart(e.doc)},apply(t){return t.selection}}),new Vc("storedMarks",{init(t){return t.storedMarks||null},apply(t,e,n,r){return r.selection.$cursor?t.storedMarks:null}}),new Vc("scrollToSelection",{init(){return 0},apply(t,e){return t.scrolledIntoView?e+1:e}})];class eg{constructor(e,n){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=$O.slice(),n&&n.forEach(r=>{if(this.pluginsByKey[r.key])throw new RangeError("Adding different instances of a keyed plugin ("+r.key+")");this.plugins.push(r),this.pluginsByKey[r.key]=r,r.spec.state&&this.fields.push(new Vc(r.key,r.spec.state,r))})}}class Ml{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,n=-1){for(let r=0;rr.toJSON())),e&&typeof e=="object")for(let r in e){if(r=="doc"||r=="selection")throw new RangeError("The JSON fields `doc` and `selection` are reserved");let a=e[r],i=a.spec.state;i&&i.toJSON&&(n[r]=i.toJSON.call(a,this[a.key]))}return n}static fromJSON(e,n,r){if(!n)throw new RangeError("Invalid input for EditorState.fromJSON");if(!e.schema)throw new RangeError("Required config field 'schema' missing");let a=new eg(e.schema,e.plugins),i=new Ml(a);return a.fields.forEach(o=>{if(o.name=="doc")i.doc=Ca.fromJSON(e.schema,n.doc);else if(o.name=="selection")i.selection=tt.fromJSON(i.doc,n.selection);else if(o.name=="storedMarks")n.storedMarks&&(i.storedMarks=n.storedMarks.map(e.schema.markFromJSON));else{if(r)for(let c in r){let u=r[c],h=u.spec.state;if(u.key==o.name&&h&&h.fromJSON&&Object.prototype.hasOwnProperty.call(n,c)){i[o.name]=h.fromJSON.call(u,e,n[c],i);return}}i[o.name]=o.init(e,i)}}),i}}function vS(t,e,n){for(let r in t){let a=t[r];a instanceof Function?a=a.bind(e):r=="handleDOMEvents"&&(a=vS(a,e,{})),n[r]=a}return n}class Ut{constructor(e){this.spec=e,this.props={},e.props&&vS(e.props,this,this.props),this.key=e.key?e.key.key:NS("plugin")}getState(e){return e[this.key]}}const tg=Object.create(null);function NS(t){return t in tg?t+"$"+ ++tg[t]:(tg[t]=0,t+"$")}class Yt{constructor(e="key"){this.key=NS(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}}const g0=(t,e)=>t.selection.empty?!1:(e&&e(t.tr.deleteSelection().scrollIntoView()),!0);function wS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("backward",t):n.parentOffset>0)?null:n}const jS=(t,e,n)=>{let r=wS(t,n);if(!r)return!1;let a=x0(r);if(!a){let o=r.blockRange(),c=o&&Xl(o);return c==null?!1:(e&&e(t.tr.lift(o,c).scrollIntoView()),!0)}let i=a.nodeBefore;if(RS(t,a,e,-1))return!0;if(r.parent.content.size==0&&(zl(i,"end")||Je.isSelectable(i)))for(let o=r.depth;;o--){let c=Af(t.doc,r.before(o),r.after(o),Re.empty);if(c&&c.slice.size1)break}return i.isAtom&&a.depth==r.depth-1?(e&&e(t.tr.delete(a.pos-i.nodeSize,a.pos).scrollIntoView()),!0):!1},FO=(t,e,n)=>{let r=wS(t,n);if(!r)return!1;let a=x0(r);return a?kS(t,a,e):!1},BO=(t,e,n)=>{let r=CS(t,n);if(!r)return!1;let a=y0(r);return a?kS(t,a,e):!1};function kS(t,e,n){let r=e.nodeBefore,a=r,i=e.pos-1;for(;!a.isTextblock;i--){if(a.type.spec.isolating)return!1;let f=a.lastChild;if(!f)return!1;a=f}let o=e.nodeAfter,c=o,u=e.pos+1;for(;!c.isTextblock;u++){if(c.type.spec.isolating)return!1;let f=c.firstChild;if(!f)return!1;c=f}let h=Af(t.doc,i,u,Re.empty);if(!h||h.from!=i||h instanceof Dn&&h.slice.size>=u-i)return!1;if(n){let f=t.tr.step(h);f.setSelection(Qe.create(f.doc,i)),n(f.scrollIntoView())}return!0}function zl(t,e,n=!1){for(let r=t;r;r=e=="start"?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}const SS=(t,e,n)=>{let{$head:r,empty:a}=t.selection,i=r;if(!a)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("backward",t):r.parentOffset>0)return!1;i=x0(r)}let o=i&&i.nodeBefore;return!o||!Je.isSelectable(o)?!1:(e&&e(t.tr.setSelection(Je.create(t.doc,i.pos-o.nodeSize)).scrollIntoView()),!0)};function x0(t){if(!t.parent.type.spec.isolating)for(let e=t.depth-1;e>=0;e--){if(t.index(e)>0)return t.doc.resolve(t.before(e+1));if(t.node(e).type.spec.isolating)break}return null}function CS(t,e){let{$cursor:n}=t.selection;return!n||(e?!e.endOfTextblock("forward",t):n.parentOffset{let r=CS(t,n);if(!r)return!1;let a=y0(r);if(!a)return!1;let i=a.nodeAfter;if(RS(t,a,e,1))return!0;if(r.parent.content.size==0&&(zl(i,"start")||Je.isSelectable(i))){let o=Af(t.doc,r.before(),r.after(),Re.empty);if(o&&o.slice.size{let{$head:r,empty:a}=t.selection,i=r;if(!a)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock("forward",t):r.parentOffset=0;e--){let n=t.node(e);if(t.index(e)+1{let n=t.selection,r=n instanceof Je,a;if(r){if(n.node.isTextblock||!_i(t.doc,n.from))return!1;a=n.from}else if(a=Mf(t.doc,n.from,-1),a==null)return!1;if(e){let i=t.tr.join(a);r&&i.setSelection(Je.create(i.doc,a-t.doc.resolve(a).nodeBefore.nodeSize)),e(i.scrollIntoView())}return!0},HO=(t,e)=>{let n=t.selection,r;if(n instanceof Je){if(n.node.isTextblock||!_i(t.doc,n.to))return!1;r=n.to}else if(r=Mf(t.doc,n.to,1),r==null)return!1;return e&&e(t.tr.join(r).scrollIntoView()),!0},WO=(t,e)=>{let{$from:n,$to:r}=t.selection,a=n.blockRange(r),i=a&&Xl(a);return i==null?!1:(e&&e(t.tr.lift(a,i).scrollIntoView()),!0)},MS=(t,e)=>{let{$head:n,$anchor:r}=t.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(e&&e(t.tr.insertText(` +`).scrollIntoView()),!0)};function b0(t){for(let e=0;e{let{$head:n,$anchor:r}=t.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let a=n.node(-1),i=n.indexAfter(-1),o=b0(a.contentMatchAt(i));if(!o||!a.canReplaceWith(i,i,o))return!1;if(e){let c=n.after(),u=t.tr.replaceWith(c,c,o.createAndFill());u.setSelection(tt.near(u.doc.resolve(c),1)),e(u.scrollIntoView())}return!0},AS=(t,e)=>{let n=t.selection,{$from:r,$to:a}=n;if(n instanceof Fr||r.parent.inlineContent||a.parent.inlineContent)return!1;let i=b0(a.parent.contentMatchAt(a.indexAfter()));if(!i||!i.isTextblock)return!1;if(e){let o=(!r.parentOffset&&a.index(){let{$cursor:n}=t.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let i=n.before();if(Ea(t.doc,i))return e&&e(t.tr.split(i).scrollIntoView()),!0}let r=n.blockRange(),a=r&&Xl(r);return a==null?!1:(e&&e(t.tr.lift(r,a).scrollIntoView()),!0)};function KO(t){return(e,n)=>{let{$from:r,$to:a}=e.selection;if(e.selection instanceof Je&&e.selection.node.isBlock)return!r.parentOffset||!Ea(e.doc,r.pos)?!1:(n&&n(e.tr.split(r.pos).scrollIntoView()),!0);if(!r.depth)return!1;let i=[],o,c,u=!1,h=!1;for(let y=r.depth;;y--)if(r.node(y).isBlock){u=r.end(y)==r.pos+(r.depth-y),h=r.start(y)==r.pos-(r.depth-y),c=b0(r.node(y-1).contentMatchAt(r.indexAfter(y-1))),i.unshift(u&&c?{type:c}:null),o=y;break}else{if(y==1)return!1;i.unshift(null)}let f=e.tr;(e.selection instanceof Qe||e.selection instanceof Fr)&&f.deleteSelection();let m=f.mapping.map(r.pos),g=Ea(f.doc,m,i.length,i);if(g||(i[0]=c?{type:c}:null,g=Ea(f.doc,m,i.length,i)),!g)return!1;if(f.split(m,i.length,i),!u&&h&&r.node(o).type!=c){let y=f.mapping.map(r.before(o)),v=f.doc.resolve(y);c&&r.node(o-1).canReplaceWith(v.index(),v.index()+1,c)&&f.setNodeMarkup(f.mapping.map(r.before(o)),c)}return n&&n(f.scrollIntoView()),!0}}const qO=KO(),GO=(t,e)=>{let{$from:n,to:r}=t.selection,a,i=n.sharedDepth(r);return i==0?!1:(a=n.before(i),e&&e(t.tr.setSelection(Je.create(t.doc,a))),!0)};function JO(t,e,n){let r=e.nodeBefore,a=e.nodeAfter,i=e.index();return!r||!a||!r.type.compatibleContent(a.type)?!1:!r.content.size&&e.parent.canReplace(i-1,i)?(n&&n(t.tr.delete(e.pos-r.nodeSize,e.pos).scrollIntoView()),!0):!e.parent.canReplace(i,i+1)||!(a.isTextblock||_i(t.doc,e.pos))?!1:(n&&n(t.tr.join(e.pos).scrollIntoView()),!0)}function RS(t,e,n,r){let a=e.nodeBefore,i=e.nodeAfter,o,c,u=a.type.spec.isolating||i.type.spec.isolating;if(!u&&JO(t,e,n))return!0;let h=!u&&e.parent.canReplace(e.index(),e.index()+1);if(h&&(o=(c=a.contentMatchAt(a.childCount)).findWrapping(i.type))&&c.matchType(o[0]||i.type).validEnd){if(n){let y=e.pos+i.nodeSize,v=xe.empty;for(let k=o.length-1;k>=0;k--)v=xe.from(o[k].create(null,v));v=xe.from(a.copy(v));let w=t.tr.step(new Ln(e.pos-1,y,e.pos,y,new Re(v,1,0),o.length,!0)),N=w.doc.resolve(y+2*o.length);N.nodeAfter&&N.nodeAfter.type==a.type&&_i(w.doc,N.pos)&&w.join(N.pos),n(w.scrollIntoView())}return!0}let f=i.type.spec.isolating||r>0&&u?null:tt.findFrom(e,1),m=f&&f.$from.blockRange(f.$to),g=m&&Xl(m);if(g!=null&&g>=e.depth)return n&&n(t.tr.lift(m,g).scrollIntoView()),!0;if(h&&zl(i,"start",!0)&&zl(a,"end")){let y=a,v=[];for(;v.push(y),!y.isTextblock;)y=y.lastChild;let w=i,N=1;for(;!w.isTextblock;w=w.firstChild)N++;if(y.canReplace(y.childCount,y.childCount,w.content)){if(n){let k=xe.empty;for(let E=v.length-1;E>=0;E--)k=xe.from(v[E].copy(k));let C=t.tr.step(new Ln(e.pos-v.length,e.pos+i.nodeSize,e.pos+N,e.pos+i.nodeSize-N,new Re(k,v.length,0),0,!0));n(C.scrollIntoView())}return!0}}return!1}function PS(t){return function(e,n){let r=e.selection,a=t<0?r.$from:r.$to,i=a.depth;for(;a.node(i).isInline;){if(!i)return!1;i--}return a.node(i).isTextblock?(n&&n(e.tr.setSelection(Qe.create(e.doc,t<0?a.start(i):a.end(i)))),!0):!1}}const YO=PS(-1),QO=PS(1);function XO(t,e=null){return function(n,r){let{$from:a,$to:i}=n.selection,o=a.blockRange(i),c=o&&f0(o,t,e);return c?(r&&r(n.tr.wrap(o,c).scrollIntoView()),!0):!1}}function O1(t,e=null){return function(n,r){let a=!1;for(let i=0;i{if(a)return!1;if(!(!u.isTextblock||u.hasMarkup(t,e)))if(u.type==t)a=!0;else{let f=n.doc.resolve(h),m=f.index();a=f.parent.canReplaceWith(m,m+1,t)}})}if(!a)return!1;if(r){let i=n.tr;for(let o=0;o=2&&e.$from.node(e.depth-1).type.compatibleContent(n)&&e.startIndex==0){if(e.$from.index(e.depth-1)==0)return!1;let u=o.resolve(e.start-2);i=new Sh(u,u,e.depth),e.endIndex=0;f--)i=xe.from(n[f].type.create(n[f].attrs,i));t.step(new Ln(e.start-(r?2:0),e.end,e.start,e.end,new Re(i,0,0),n.length,!0));let o=0;for(let f=0;fo.childCount>0&&o.firstChild.type==t);return i?n?r.node(i.depth-1).type==t?rD(e,n,t,i):sD(e,n,i):!0:!1}}function rD(t,e,n,r){let a=t.tr,i=r.end,o=r.$to.end(r.depth);iw;v--)y-=a.child(v).nodeSize,r.delete(y-1,y+1);let i=r.doc.resolve(n.start),o=i.nodeAfter;if(r.mapping.map(n.end)!=n.start+i.nodeAfter.nodeSize)return!1;let c=n.startIndex==0,u=n.endIndex==a.childCount,h=i.node(-1),f=i.index(-1);if(!h.canReplace(f+(c?0:1),f+1,o.content.append(u?xe.empty:xe.from(a))))return!1;let m=i.pos,g=m+o.nodeSize;return r.step(new Ln(m-(c?1:0),g+(u?1:0),m+1,g-1,new Re((c?xe.empty:xe.from(a.copy(xe.empty))).append(u?xe.empty:xe.from(a.copy(xe.empty))),c?0:1,u?0:1),c?0:1)),e(r.scrollIntoView()),!0}function aD(t){return function(e,n){let{$from:r,$to:a}=e.selection,i=r.blockRange(a,h=>h.childCount>0&&h.firstChild.type==t);if(!i)return!1;let o=i.startIndex;if(o==0)return!1;let c=i.parent,u=c.child(o-1);if(u.type!=t)return!1;if(n){let h=u.lastChild&&u.lastChild.type==c.type,f=xe.from(h?t.create():null),m=new Re(xe.from(t.create(null,xe.from(c.type.create(null,f)))),h?3:1,0),g=i.start,y=i.end;n(e.tr.step(new Ln(g-(h?3:1),y,g,y,m,1,!0)).scrollIntoView())}return!0}}const Hn=function(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e},$l=function(t){let e=t.assignedSlot||t.parentNode;return e&&e.nodeType==11?e.host:e};let nx=null;const va=function(t,e,n){let r=nx||(nx=document.createRange());return r.setEnd(t,n??t.nodeValue.length),r.setStart(t,e||0),r},iD=function(){nx=null},Io=function(t,e,n,r){return n&&(D1(t,e,n,r,-1)||D1(t,e,n,r,1))},oD=/^(img|br|input|textarea|hr)$/i;function D1(t,e,n,r,a){for(var i;;){if(t==n&&e==r)return!0;if(e==(a<0?0:Xr(t))){let o=t.parentNode;if(!o||o.nodeType!=1||Td(t)||oD.test(t.nodeName)||t.contentEditable=="false")return!1;e=Hn(t)+(a<0?0:1),t=o}else if(t.nodeType==1){let o=t.childNodes[e+(a<0?-1:0)];if(o.nodeType==1&&o.contentEditable=="false")if(!((i=o.pmViewDesc)===null||i===void 0)&&i.ignoreForSelection)e+=a;else return!1;else t=o,e=a<0?Xr(t):0}else return!1}}function Xr(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function lD(t,e){for(;;){if(t.nodeType==3&&e)return t;if(t.nodeType==1&&e>0){if(t.contentEditable=="false")return null;t=t.childNodes[e-1],e=Xr(t)}else if(t.parentNode&&!Td(t))e=Hn(t),t=t.parentNode;else return null}}function cD(t,e){for(;;){if(t.nodeType==3&&e2),Qr=Fl||(qs?/Mac/.test(qs.platform):!1),LS=qs?/Win/.test(qs.platform):!1,ka=/Android \d/.test(zi),Md=!!L1&&"webkitFontSmoothing"in L1.documentElement.style,fD=Md?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function pD(t){let e=t.defaultView&&t.defaultView.visualViewport;return e?{left:0,right:e.width,top:0,bottom:e.height}:{left:0,right:t.documentElement.clientWidth,top:0,bottom:t.documentElement.clientHeight}}function ma(t,e){return typeof t=="number"?t:t[e]}function mD(t){let e=t.getBoundingClientRect(),n=e.width/t.offsetWidth||1,r=e.height/t.offsetHeight||1;return{left:e.left,right:e.left+t.clientWidth*n,top:e.top,bottom:e.top+t.clientHeight*r}}function _1(t,e,n){let r=t.someProp("scrollThreshold")||0,a=t.someProp("scrollMargin")||5,i=t.dom.ownerDocument;for(let o=n||t.dom;o;){if(o.nodeType!=1){o=$l(o);continue}let c=o,u=c==i.body,h=u?pD(i):mD(c),f=0,m=0;if(e.toph.bottom-ma(r,"bottom")&&(m=e.bottom-e.top>h.bottom-h.top?e.top+ma(a,"top")-h.top:e.bottom-h.bottom+ma(a,"bottom")),e.lefth.right-ma(r,"right")&&(f=e.right-h.right+ma(a,"right")),f||m)if(u)i.defaultView.scrollBy(f,m);else{let y=c.scrollLeft,v=c.scrollTop;m&&(c.scrollTop+=m),f&&(c.scrollLeft+=f);let w=c.scrollLeft-y,N=c.scrollTop-v;e={left:e.left-w,top:e.top-N,right:e.right-w,bottom:e.bottom-N}}let g=u?"fixed":getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(g))break;o=g=="absolute"?o.offsetParent:$l(o)}}function gD(t){let e=t.dom.getBoundingClientRect(),n=Math.max(0,e.top),r,a;for(let i=(e.left+e.right)/2,o=n+1;o=n-20){r=c,a=u.top;break}}return{refDOM:r,refTop:a,stack:_S(t.dom)}}function _S(t){let e=[],n=t.ownerDocument;for(let r=t;r&&(e.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),t!=n);r=$l(r));return e}function xD({refDOM:t,refTop:e,stack:n}){let r=t?t.getBoundingClientRect().top:0;zS(n,r==0?0:r-e)}function zS(t,e){for(let n=0;n=c){o=Math.max(v.bottom,o),c=Math.min(v.top,c);let w=v.left>e.left?v.left-e.left:v.right=(v.left+v.right)/2?1:0));continue}}else v.top>e.top&&!u&&v.left<=e.left&&v.right>=e.left&&(u=f,h={left:Math.max(v.left,Math.min(v.right,e.left)),top:v.top});!n&&(e.left>=v.right&&e.top>=v.top||e.left>=v.left&&e.top>=v.bottom)&&(i=m+1)}}return!n&&u&&(n=u,a=h,r=0),n&&n.nodeType==3?bD(n,a):!n||r&&n.nodeType==1?{node:t,offset:i}:$S(n,a)}function bD(t,e){let n=t.nodeValue.length,r=document.createRange(),a;for(let i=0;i=(o.left+o.right)/2?1:0)};break}}return r.detach(),a||{node:t,offset:0}}function N0(t,e){return t.left>=e.left-1&&t.left<=e.right+1&&t.top>=e.top-1&&t.top<=e.bottom+1}function vD(t,e){let n=t.parentNode;return n&&/^li$/i.test(n.nodeName)&&e.left(o.left+o.right)/2?1:-1}return t.docView.posFromDOM(r,a,i)}function wD(t,e,n,r){let a=-1;for(let i=e,o=!1;i!=t.dom;){let c=t.docView.nearestDesc(i,!0),u;if(!c)return null;if(c.dom.nodeType==1&&(c.node.isBlock&&c.parent||!c.contentDOM)&&((u=c.dom.getBoundingClientRect()).width||u.height)&&(c.node.isBlock&&c.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(c.dom.nodeName)&&(!o&&u.left>r.left||u.top>r.top?a=c.posBefore:(!o&&u.right-1?a:t.docView.posFromDOM(e,n,-1)}function FS(t,e,n){let r=t.childNodes.length;if(r&&n.tope.top&&a++}let h;Md&&a&&r.nodeType==1&&(h=r.childNodes[a-1]).nodeType==1&&h.contentEditable=="false"&&h.getBoundingClientRect().top>=e.top&&a--,r==t.dom&&a==r.childNodes.length-1&&r.lastChild.nodeType==1&&e.top>r.lastChild.getBoundingClientRect().bottom?c=t.state.doc.content.size:(a==0||r.nodeType!=1||r.childNodes[a-1].nodeName!="BR")&&(c=wD(t,r,a,e))}c==null&&(c=ND(t,o,e));let u=t.docView.nearestDesc(o,!0);return{pos:c,inside:u?u.posAtStart-u.border:-1}}function z1(t){return t.top=0&&a==r.nodeValue.length?(u--,f=1):n<0?u--:h++,Dc(ci(va(r,u,h),f),f<0)}if(!t.state.doc.resolve(e-(i||0)).parent.inlineContent){if(i==null&&a&&(n<0||a==Xr(r))){let u=r.childNodes[a-1];if(u.nodeType==1)return ng(u.getBoundingClientRect(),!1)}if(i==null&&a=0)}if(i==null&&a&&(n<0||a==Xr(r))){let u=r.childNodes[a-1],h=u.nodeType==3?va(u,Xr(u)-(o?0:1)):u.nodeType==1&&(u.nodeName!="BR"||!u.nextSibling)?u:null;if(h)return Dc(ci(h,1),!1)}if(i==null&&a=0)}function Dc(t,e){if(t.width==0)return t;let n=e?t.left:t.right;return{top:t.top,bottom:t.bottom,left:n,right:n}}function ng(t,e){if(t.height==0)return t;let n=e?t.top:t.bottom;return{top:n,bottom:n,left:t.left,right:t.right}}function VS(t,e,n){let r=t.state,a=t.root.activeElement;r!=e&&t.updateState(e),a!=t.dom&&t.focus();try{return n()}finally{r!=e&&t.updateState(r),a!=t.dom&&a&&a.focus()}}function SD(t,e,n){let r=e.selection,a=n=="up"?r.$from:r.$to;return VS(t,e,()=>{let{node:i}=t.docView.domFromPos(a.pos,n=="up"?-1:1);for(;;){let c=t.docView.nearestDesc(i,!0);if(!c)break;if(c.node.isBlock){i=c.contentDOM||c.dom;break}i=c.dom.parentNode}let o=BS(t,a.pos,1);for(let c=i.firstChild;c;c=c.nextSibling){let u;if(c.nodeType==1)u=c.getClientRects();else if(c.nodeType==3)u=va(c,0,c.nodeValue.length).getClientRects();else continue;for(let h=0;hf.top+1&&(n=="up"?o.top-f.top>(f.bottom-o.top)*2:f.bottom-o.bottom>(o.bottom-f.top)*2))return!1}}return!0})}const CD=/[\u0590-\u08ac]/;function ED(t,e,n){let{$head:r}=e.selection;if(!r.parent.isTextblock)return!1;let a=r.parentOffset,i=!a,o=a==r.parent.content.size,c=t.domSelection();return c?!CD.test(r.parent.textContent)||!c.modify?n=="left"||n=="backward"?i:o:VS(t,e,()=>{let{focusNode:u,focusOffset:h,anchorNode:f,anchorOffset:m}=t.domSelectionRange(),g=c.caretBidiLevel;c.modify("move",n,"character");let y=r.depth?t.docView.domAfterPos(r.before()):t.dom,{focusNode:v,focusOffset:w}=t.domSelectionRange(),N=v&&!y.contains(v.nodeType==1?v:v.parentNode)||u==v&&h==w;try{c.collapse(f,m),u&&(u!=f||h!=m)&&c.extend&&c.extend(u,h)}catch{}return g!=null&&(c.caretBidiLevel=g),N}):r.pos==r.start()||r.pos==r.end()}let $1=null,F1=null,B1=!1;function TD(t,e,n){return $1==e&&F1==n?B1:($1=e,F1=n,B1=n=="up"||n=="down"?SD(t,e,n):ED(t,e,n))}const es=0,V1=1,mo=2,Gs=3;class Ad{constructor(e,n,r,a){this.parent=e,this.children=n,this.dom=r,this.contentDOM=a,this.dirty=es,r.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,n,r){return!1}matchesHack(e){return!1}parseRule(){return null}stopEvent(e){return!1}get size(){let e=0;for(let n=0;nHn(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))a=e.compareDocumentPosition(this.contentDOM)&2;else if(this.dom.firstChild){if(n==0)for(let i=e;;i=i.parentNode){if(i==this.dom){a=!1;break}if(i.previousSibling)break}if(a==null&&n==e.childNodes.length)for(let i=e;;i=i.parentNode){if(i==this.dom){a=!0;break}if(i.nextSibling)break}}return a??r>0?this.posAtEnd:this.posAtStart}nearestDesc(e,n=!1){for(let r=!0,a=e;a;a=a.parentNode){let i=this.getDesc(a),o;if(i&&(!n||i.node))if(r&&(o=i.nodeDOM)&&!(o.nodeType==1?o.contains(e.nodeType==1?e:e.parentNode):o==e))r=!1;else return i}}getDesc(e){let n=e.pmViewDesc;for(let r=n;r;r=r.parent)if(r==this)return n}posFromDOM(e,n,r){for(let a=e;a;a=a.parentNode){let i=this.getDesc(a);if(i)return i.localPosFromDOM(e,n,r)}return-1}descAt(e){for(let n=0,r=0;ne||o instanceof WS){a=e-i;break}i=c}if(a)return this.children[r].domFromPos(a-this.children[r].border,n);for(let i;r&&!(i=this.children[r-1]).size&&i instanceof HS&&i.side>=0;r--);if(n<=0){let i,o=!0;for(;i=r?this.children[r-1]:null,!(!i||i.dom.parentNode==this.contentDOM);r--,o=!1);return i&&n&&o&&!i.border&&!i.domAtom?i.domFromPos(i.size,n):{node:this.contentDOM,offset:i?Hn(i.dom)+1:0}}else{let i,o=!0;for(;i=r=f&&n<=h-u.border&&u.node&&u.contentDOM&&this.contentDOM.contains(u.contentDOM))return u.parseRange(e,n,f);e=o;for(let m=c;m>0;m--){let g=this.children[m-1];if(g.size&&g.dom.parentNode==this.contentDOM&&!g.emptyChildAt(1)){a=Hn(g.dom)+1;break}e-=g.size}a==-1&&(a=0)}if(a>-1&&(h>n||c==this.children.length-1)){n=h;for(let f=c+1;fv&&on){let v=c;c=u,u=v}let y=document.createRange();y.setEnd(u.node,u.offset),y.setStart(c.node,c.offset),h.removeAllRanges(),h.addRange(y)}}ignoreMutation(e){return!this.contentDOM&&e.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,n){for(let r=0,a=0;a=r:er){let c=r+i.border,u=o-i.border;if(e>=c&&n<=u){this.dirty=e==r||n==o?mo:V1,e==c&&n==u&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=Gs:i.markDirty(e-c,n-c);return}else i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?mo:Gs}r=o}this.dirty=mo}markParentsDirty(){let e=1;for(let n=this.parent;n;n=n.parent,e++){let r=e==1?mo:V1;n.dirty{if(!i)return a;if(i.parent)return i.parent.posBeforeChild(i)})),!n.type.spec.raw){if(o.nodeType!=1){let c=document.createElement("span");c.appendChild(o),o=c}o.contentEditable="false",o.classList.add("ProseMirror-widget")}super(e,[],o,null),this.widget=n,this.widget=n,i=this}matchesWidget(e){return this.dirty==es&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let n=this.widget.spec.stopEvent;return n?n(e):!1}ignoreMutation(e){return e.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}}class MD extends Ad{constructor(e,n,r,a){super(e,[],n,null),this.textDOM=r,this.text=a}get size(){return this.text.length}localPosFromDOM(e,n){return e!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type==="characterData"&&e.target.nodeValue==e.oldValue}}class Ro extends Ad{constructor(e,n,r,a,i){super(e,[],r,a),this.mark=n,this.spec=i}static create(e,n,r,a){let i=a.nodeViews[n.type.name],o=i&&i(n,a,r);return(!o||!o.dom)&&(o=$o.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new Ro(e,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&Gs||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=Gs&&this.mark.eq(e)}markDirty(e,n){if(super.markDirty(e,n),this.dirty!=es){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty0&&(i=ox(i,0,e,r));for(let c=0;c{if(!u)return o;if(u.parent)return u.parent.posBeforeChild(u)},r,a),f=h&&h.dom,m=h&&h.contentDOM;if(n.isText){if(!f)f=document.createTextNode(n.text);else if(f.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else f||({dom:f,contentDOM:m}=$o.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!m&&!n.isText&&f.nodeName!="BR"&&(f.hasAttribute("contenteditable")||(f.contentEditable="false"),n.type.spec.draggable&&(f.draggable=!0));let g=f;return f=qS(f,r,n),h?u=new AD(e,n,r,a,f,m||null,g,h,i,o+1):n.isText?new Pf(e,n,r,a,f,g,i):new Ci(e,n,r,a,f,m||null,g,i,o+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let e={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(e.preserveWhitespace="full"),!this.contentDOM)e.getContent=()=>this.node.content;else if(!this.contentLost)e.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){e.contentElement=r.dom.parentNode;break}}e.contentElement||(e.getContent=()=>xe.empty)}return e}matchesNode(e,n,r){return this.dirty==es&&e.eq(this.node)&&Eh(n,this.outerDeco)&&r.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return this.node.isLeaf?0:1}updateChildren(e,n){let r=this.node.inlineContent,a=n,i=e.composing?this.localCompositionInfo(e,n):null,o=i&&i.pos>-1?i:null,c=i&&i.pos<0,u=new RD(this,o&&o.node,e);DD(this.node,this.innerDeco,(h,f,m)=>{h.spec.marks?u.syncToMarks(h.spec.marks,r,e,f):h.type.side>=0&&!m&&u.syncToMarks(f==this.node.childCount?Ot.none:this.node.child(f).marks,r,e,f),u.placeWidget(h,e,a)},(h,f,m,g)=>{u.syncToMarks(h.marks,r,e,g);let y;u.findNodeMatch(h,f,m,g)||c&&e.state.selection.from>a&&e.state.selection.to-1&&u.updateNodeAt(h,f,m,y,e)||u.updateNextNode(h,f,m,e,g,a)||u.addNode(h,f,m,e,a),a+=h.nodeSize}),u.syncToMarks([],r,e,0),this.node.isTextblock&&u.addTextblockHacks(),u.destroyRest(),(u.changed||this.dirty==mo)&&(o&&this.protectLocalComposition(e,o),US(this.contentDOM,this.children,e),Fl&&LD(this.dom))}localCompositionInfo(e,n){let{from:r,to:a}=e.state.selection;if(!(e.state.selection instanceof Qe)||rn+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let o=i.nodeValue,c=_D(this.node.content,o,r-n,a-n);return c<0?null:{node:i,pos:c,text:o}}else return{node:i,pos:-1,text:""}}protectLocalComposition(e,{node:n,pos:r,text:a}){if(this.getDesc(n))return;let i=n;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let o=new MD(this,i,n,a);e.input.compositionNodes.push(o),this.children=ox(this.children,r,r+a.length,e,o)}update(e,n,r,a){return this.dirty==Gs||!e.sameMarkup(this.node)?!1:(this.updateInner(e,n,r,a),!0)}updateInner(e,n,r,a){this.updateOuterDeco(n),this.node=e,this.innerDeco=r,this.contentDOM&&this.updateChildren(a,this.posAtStart),this.dirty=es}updateOuterDeco(e){if(Eh(e,this.outerDeco))return;let n=this.nodeDOM.nodeType!=1,r=this.dom;this.dom=KS(this.dom,this.nodeDOM,ix(this.outerDeco,this.node,n),ix(e,this.node,n)),this.dom!=r&&(r.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.add("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){this.nodeDOM.nodeType==1&&(this.nodeDOM.classList.remove("ProseMirror-selectednode"),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute("draggable"))}get domAtom(){return this.node.isAtom}}function H1(t,e,n,r,a){qS(r,e,t);let i=new Ci(void 0,t,e,n,r,r,r,a,0);return i.contentDOM&&i.updateChildren(a,0),i}class Pf extends Ci{constructor(e,n,r,a,i,o,c){super(e,n,r,a,i,null,o,c,0)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,n,r,a){return this.dirty==Gs||this.dirty!=es&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(n),(this.dirty!=es||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,a.trackWrites==this.nodeDOM&&(a.trackWrites=null)),this.node=e,this.dirty=es,!0)}inParent(){let e=this.parent.contentDOM;for(let n=this.nodeDOM;n;n=n.parentNode)if(n==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,n,r){return e==this.nodeDOM?this.posAtStart+Math.min(n,this.node.text.length):super.localPosFromDOM(e,n,r)}ignoreMutation(e){return e.type!="characterData"&&e.type!="selection"}slice(e,n,r){let a=this.node.cut(e,n),i=document.createTextNode(a.text);return new Pf(this.parent,a,this.outerDeco,this.innerDeco,i,i,r)}markDirty(e,n){super.markDirty(e,n),this.dom!=this.nodeDOM&&(e==0||n==this.nodeDOM.nodeValue.length)&&(this.dirty=Gs)}get domAtom(){return!1}isText(e){return this.node.text==e}}class WS extends Ad{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==es&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName=="IMG"}}class AD extends Ci{constructor(e,n,r,a,i,o,c,u,h,f){super(e,n,r,a,i,o,c,h,f),this.spec=u}update(e,n,r,a){if(this.dirty==Gs)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,n,r);return i&&this.updateInner(e,n,r,a),i}else return!this.contentDOM&&!e.isLeaf?!1:super.update(e,n,r,a)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,n,r,a){this.spec.setSelection?this.spec.setSelection(e,n,r.root):super.setSelection(e,n,r,a)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}}function US(t,e,n){let r=t.firstChild,a=!1;for(let i=0;i>1,c=Math.min(o,e.length);for(;i-1)u>this.index&&(this.changed=!0,this.destroyBetween(this.index,u)),this.top=this.top.children[this.index];else{let f=Ro.create(this.top,e[o],n,r);this.top.children.splice(this.index,0,f),this.top=f,this.changed=!0}this.index=0,o++}}findNodeMatch(e,n,r,a){let i=-1,o;if(a>=this.preMatch.index&&(o=this.preMatch.matches[a-this.preMatch.index]).parent==this.top&&o.matchesNode(e,n,r))i=this.top.children.indexOf(o,this.index);else for(let c=this.index,u=Math.min(this.top.children.length,c+5);c0;){let c;for(;;)if(r){let h=n.children[r-1];if(h instanceof Ro)n=h,r=h.children.length;else{c=h,r--;break}}else{if(n==e)break e;r=n.parent.children.indexOf(n),n=n.parent}let u=c.node;if(u){if(u!=t.child(a-1))break;--a,i.set(c,a),o.push(c)}}return{index:a,matched:i,matches:o.reverse()}}function OD(t,e){return t.type.side-e.type.side}function DD(t,e,n,r){let a=e.locals(t),i=0;if(a.length==0){for(let h=0;hi;)c.push(a[o++]);let v=i+g.nodeSize;if(g.isText){let N=v;o!N.inline):c.slice();r(g,w,e.forChild(i,g),y),i=v}}function LD(t){if(t.nodeName=="UL"||t.nodeName=="OL"){let e=t.style.cssText;t.style.cssText=e+"; list-style: square !important",window.getComputedStyle(t).listStyle,t.style.cssText=e}}function _D(t,e,n,r){for(let a=0,i=0;a=n){if(i>=r&&u.slice(r-e.length-c,r-c)==e)return r-e.length;let h=c=0&&h+e.length+c>=n)return c+h;if(n==r&&u.length>=r+e.length-c&&u.slice(r-c,r-c+e.length)==e)return r}}return-1}function ox(t,e,n,r,a){let i=[];for(let o=0,c=0;o=n||f<=e?i.push(u):(hn&&i.push(u.slice(n-h,u.size,r)))}return i}function w0(t,e=null){let n=t.domSelectionRange(),r=t.state.doc;if(!n.focusNode)return null;let a=t.docView.nearestDesc(n.focusNode),i=a&&a.size==0,o=t.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let c=r.resolve(o),u,h;if(Rf(n)){for(u=o;a&&!a.node;)a=a.parent;let m=a.node;if(a&&m.isAtom&&Je.isSelectable(m)&&a.parent&&!(m.isInline&&dD(n.focusNode,n.focusOffset,a.dom))){let g=a.posBefore;h=new Je(o==g?c:r.resolve(g))}}else{if(n instanceof t.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let m=o,g=o;for(let y=0;y{(n.anchorNode!=r||n.anchorOffset!=a)&&(e.removeEventListener("selectionchange",t.input.hideSelectionGuard),setTimeout(()=>{(!GS(t)||t.state.selection.visible)&&t.dom.classList.remove("ProseMirror-hideselection")},20))})}function $D(t){let e=t.domSelection();if(!e)return;let n=t.cursorWrapper.dom,r=n.nodeName=="IMG";r?e.collapse(n.parentNode,Hn(n)+1):e.collapse(n,0),!r&&!t.state.selection.visible&&Mr&&Si<=11&&(n.disabled=!0,n.disabled=!1)}function JS(t,e){if(e instanceof Je){let n=t.docView.descAt(e.from);n!=t.lastSelectedViewDesc&&(G1(t),n&&n.selectNode(),t.lastSelectedViewDesc=n)}else G1(t)}function G1(t){t.lastSelectedViewDesc&&(t.lastSelectedViewDesc.parent&&t.lastSelectedViewDesc.deselectNode(),t.lastSelectedViewDesc=void 0)}function j0(t,e,n,r){return t.someProp("createSelectionBetween",a=>a(t,e,n))||Qe.between(e,n,r)}function J1(t){return t.editable&&!t.hasFocus()?!1:YS(t)}function YS(t){let e=t.domSelectionRange();if(!e.anchorNode)return!1;try{return t.dom.contains(e.anchorNode.nodeType==3?e.anchorNode.parentNode:e.anchorNode)&&(t.editable||t.dom.contains(e.focusNode.nodeType==3?e.focusNode.parentNode:e.focusNode))}catch{return!1}}function FD(t){let e=t.docView.domFromPos(t.state.selection.anchor,0),n=t.domSelectionRange();return Io(e.node,e.offset,n.anchorNode,n.anchorOffset)}function lx(t,e){let{$anchor:n,$head:r}=t.selection,a=e>0?n.max(r):n.min(r),i=a.parent.inlineContent?a.depth?t.doc.resolve(e>0?a.after():a.before()):null:a;return i&&tt.findFrom(i,e)}function di(t,e){return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()),!0}function Y1(t,e,n){let r=t.state.selection;if(r instanceof Qe)if(n.indexOf("s")>-1){let{$head:a}=r,i=a.textOffset?null:e<0?a.nodeBefore:a.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let o=t.state.doc.resolve(a.pos+i.nodeSize*(e<0?-1:1));return di(t,new Qe(r.$anchor,o))}else if(r.empty){if(t.endOfTextblock(e>0?"forward":"backward")){let a=lx(t.state,e);return a&&a instanceof Je?di(t,a):!1}else if(!(Qr&&n.indexOf("m")>-1)){let a=r.$head,i=a.textOffset?null:e<0?a.nodeBefore:a.nodeAfter,o;if(!i||i.isText)return!1;let c=e<0?a.pos-i.nodeSize:a.pos;return i.isAtom||(o=t.docView.descAt(c))&&!o.contentDOM?Je.isSelectable(i)?di(t,new Je(e<0?t.state.doc.resolve(a.pos-i.nodeSize):a)):Md?di(t,new Qe(t.state.doc.resolve(e<0?c:c+i.nodeSize))):!1:!1}}else return!1;else{if(r instanceof Je&&r.node.isInline)return di(t,new Qe(e>0?r.$to:r.$from));{let a=lx(t.state,e);return a?di(t,a):!1}}}function Th(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Qc(t,e){let n=t.pmViewDesc;return n&&n.size==0&&(e<0||t.nextSibling||t.nodeName!="BR")}function Nl(t,e){return e<0?BD(t):VD(t)}function BD(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let a,i,o=!1;for(Zr&&n.nodeType==1&&r0){if(n.nodeType!=1)break;{let c=n.childNodes[r-1];if(Qc(c,-1))a=n,i=--r;else if(c.nodeType==3)n=c,r=n.nodeValue.length;else break}}else{if(QS(n))break;{let c=n.previousSibling;for(;c&&Qc(c,-1);)a=n.parentNode,i=Hn(c),c=c.previousSibling;if(c)n=c,r=Th(n);else{if(n=n.parentNode,n==t.dom)break;r=0}}}o?cx(t,n,r):a&&cx(t,a,i)}function VD(t){let e=t.domSelectionRange(),n=e.focusNode,r=e.focusOffset;if(!n)return;let a=Th(n),i,o;for(;;)if(r{t.state==a&&Ta(t)},50)}function Q1(t,e){let n=t.state.doc.resolve(e);if(!(Un||LS)&&n.parent.inlineContent){let a=t.coordsAtPos(e);if(e>n.start()){let i=t.coordsAtPos(e-1),o=(i.top+i.bottom)/2;if(o>a.top&&o1)return i.lefta.top&&o1)return i.left>a.left?"ltr":"rtl"}}return getComputedStyle(t.dom).direction=="rtl"?"rtl":"ltr"}function X1(t,e,n){let r=t.state.selection;if(r instanceof Qe&&!r.empty||n.indexOf("s")>-1||Qr&&n.indexOf("m")>-1)return!1;let{$from:a,$to:i}=r;if(!a.parent.inlineContent||t.endOfTextblock(e<0?"up":"down")){let o=lx(t.state,e);if(o&&o instanceof Je)return di(t,o)}if(!a.parent.inlineContent){let o=e<0?a:i,c=r instanceof Fr?tt.near(o,e):tt.findFrom(o,e);return c?di(t,c):!1}return!1}function Z1(t,e){if(!(t.state.selection instanceof Qe))return!0;let{$head:n,$anchor:r,empty:a}=t.state.selection;if(!n.sameParent(r))return!0;if(!a)return!1;if(t.endOfTextblock(e>0?"forward":"backward"))return!0;let i=!n.textOffset&&(e<0?n.nodeBefore:n.nodeAfter);if(i&&!i.isText){let o=t.state.tr;return e<0?o.delete(n.pos-i.nodeSize,n.pos):o.delete(n.pos,n.pos+i.nodeSize),t.dispatch(o),!0}return!1}function eN(t,e,n){t.domObserver.stop(),e.contentEditable=n,t.domObserver.start()}function UD(t){if(!sr||t.state.selection.$head.parentOffset>0)return!1;let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(e&&e.nodeType==1&&n==0&&e.firstChild&&e.firstChild.contentEditable=="false"){let r=e.firstChild;eN(t,r,"true"),setTimeout(()=>eN(t,r,"false"),20)}return!1}function KD(t){let e="";return t.ctrlKey&&(e+="c"),t.metaKey&&(e+="m"),t.altKey&&(e+="a"),t.shiftKey&&(e+="s"),e}function qD(t,e){let n=e.keyCode,r=KD(e);if(n==8||Qr&&n==72&&r=="c")return Z1(t,-1)||Nl(t,-1);if(n==46&&!e.shiftKey||Qr&&n==68&&r=="c")return Z1(t,1)||Nl(t,1);if(n==13||n==27)return!0;if(n==37||Qr&&n==66&&r=="c"){let a=n==37?Q1(t,t.state.selection.from)=="ltr"?-1:1:-1;return Y1(t,a,r)||Nl(t,a)}else if(n==39||Qr&&n==70&&r=="c"){let a=n==39?Q1(t,t.state.selection.from)=="ltr"?1:-1:1;return Y1(t,a,r)||Nl(t,a)}else{if(n==38||Qr&&n==80&&r=="c")return X1(t,-1,r)||Nl(t,-1);if(n==40||Qr&&n==78&&r=="c")return UD(t)||X1(t,1,r)||Nl(t,1);if(r==(Qr?"m":"c")&&(n==66||n==73||n==89||n==90))return!0}return!1}function k0(t,e){t.someProp("transformCopied",y=>{e=y(e,t)});let n=[],{content:r,openStart:a,openEnd:i}=e;for(;a>1&&i>1&&r.childCount==1&&r.firstChild.childCount==1;){a--,i--;let y=r.firstChild;n.push(y.type.name,y.attrs!=y.type.defaultAttrs?y.attrs:null),r=y.content}let o=t.someProp("clipboardSerializer")||$o.fromSchema(t.state.schema),c=r2(),u=c.createElement("div");u.appendChild(o.serializeFragment(r,{document:c}));let h=u.firstChild,f,m=0;for(;h&&h.nodeType==1&&(f=n2[h.nodeName.toLowerCase()]);){for(let y=f.length-1;y>=0;y--){let v=c.createElement(f[y]);for(;u.firstChild;)v.appendChild(u.firstChild);u.appendChild(v),m++}h=u.firstChild}h&&h.nodeType==1&&h.setAttribute("data-pm-slice",`${a} ${i}${m?` -${m}`:""} ${JSON.stringify(n)}`);let g=t.someProp("clipboardTextSerializer",y=>y(e,t))||e.content.textBetween(0,e.content.size,` -`);return{dom:u,text:g,slice:e}}function YS(t,e,n,r,a){let i=a.parent.type.spec.code,o,c;if(!n&&!e)return null;let u=!!e&&(r||i||!n);if(u){if(t.someProp("transformPastedText",g=>{e=g(e,i||r,t)}),i)return c=new Re(xe.from(t.state.schema.text(e.replace(/\r\n?/g,` -`))),0,0),t.someProp("transformPasted",g=>{c=g(c,t,!0)}),c;let m=t.someProp("clipboardTextParser",g=>g(e,a,r,t));if(m)c=m;else{let g=a.marks(),{schema:y}=t.state,v=$o.fromSchema(y);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(w=>{let N=o.appendChild(document.createElement("p"));w&&N.appendChild(v.serializeNode(y.text(w,g)))})}}else t.someProp("transformPastedHTML",m=>{n=m(n,t)}),o=YD(n),Td&&QD(o);let h=o&&o.querySelector("[data-pm-slice]"),f=h&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(h.getAttribute("data-pm-slice")||"");if(f&&f[3])for(let m=+f[3];m>0;m--){let g=o.firstChild;for(;g&&g.nodeType!=1;)g=g.nextSibling;if(!g)break;o=g}if(c||(c=(t.someProp("clipboardParser")||t.someProp("domParser")||ki.fromSchema(t.state.schema)).parseSlice(o,{preserveWhitespace:!!(u||f),context:a,ruleFromNode(g){return g.nodeName=="BR"&&!g.nextSibling&&g.parentNode&&!qD.test(g.parentNode.nodeName)?{ignore:!0}:null}})),f)c=XD(Z1(c,+f[1],+f[2]),f[4]);else if(c=Re.maxOpen(GD(c.content,a),!0),c.openStart||c.openEnd){let m=0,g=0;for(let y=c.content.firstChild;m{c=m(c,t,u)}),c}const qD=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function GD(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let a=e.node(n).contentMatchAt(e.index(n)),i,o=[];if(t.forEach(c=>{if(!o)return;let u=a.findWrapping(c.type),h;if(!u)return o=null;if(h=o.length&&i.length&&XS(u,i,c,o[o.length-1],0))o[o.length-1]=h;else{o.length&&(o[o.length-1]=ZS(o[o.length-1],i.length));let f=QS(c,u);o.push(f),a=a.matchType(f.type),i=u}}),o)return xe.from(o)}return t}function QS(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,xe.from(t));return t}function XS(t,e,n,r,a){if(a1&&(i=0),a=n&&(c=e<0?o.contentMatchAt(0).fillBefore(c,i<=a).append(c):c.append(o.contentMatchAt(o.childCount).fillBefore(xe.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,o.copy(c))}function Z1(t,e,n){return en})),tg.createHTML(t)):t}function YD(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=t2().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),a;if((a=r&&e2[r[1].toLowerCase()])&&(t=a.map(i=>"<"+i+">").join("")+t+a.map(i=>"").reverse().join("")),n.innerHTML=JD(t),a)for(let i=0;i=0;c-=2){let u=n.nodes[r[c]];if(!u||u.hasRequiredAttrs())break;a=xe.from(u.create(r[c+1],a)),i++,o++}return new Re(a,i,o)}const xr={},yr={},ZD={touchstart:!0,touchmove:!0};class eL{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function tL(t){for(let e in xr){let n=xr[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{rL(t,r)&&!j0(t,r)&&(t.editable||!(r.type in yr))&&n(t,r)},ZD[e]?{passive:!0}:void 0)}sr&&t.dom.addEventListener("input",()=>null),lx(t)}function Ni(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function nL(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function lx(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>j0(t,r))})}function j0(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function rL(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function sL(t,e){!j0(t,e)&&xr[e.type]&&(t.editable||!(e.type in yr))&&xr[e.type](t,e)}yr.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!r2(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(ka&&Un&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),Fl&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",a=>a(t,ho(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||KD(t,n)?n.preventDefault():Ni(t,"key")};yr.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};yr.keypress=(t,e)=>{let n=e;if(r2(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Qr&&n.metaKey)return;if(t.someProp("handleKeyPress",a=>a(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof Qe)||!r.$from.sameParent(r.$to)){let a=String.fromCharCode(n.charCode),i=()=>t.state.tr.insertText(a).scrollIntoView();!/[\r\n]/.test(a)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,a,i))&&t.dispatch(i()),n.preventDefault()}};function Rf(t){return{left:t.clientX,top:t.clientY}}function aL(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function k0(t,e,n,r,a){if(r==-1)return!1;let i=t.state.doc.resolve(r);for(let o=i.depth+1;o>0;o--)if(t.someProp(e,c=>o>i.depth?c(t,n,i.nodeAfter,i.before(o),a,!0):c(t,n,i.node(o),i.before(o),a,!1)))return!0;return!1}function Pl(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function iL(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Je.isSelectable(r)?(Pl(t,new Je(n)),!0):!1}function oL(t,e){if(e==-1)return!1;let n=t.state.selection,r,a;n instanceof Je&&(r=n.node);let i=t.state.doc.resolve(e);for(let o=i.depth+1;o>0;o--){let c=o>i.depth?i.nodeAfter:i.node(o);if(Je.isSelectable(c)){r&&n.$from.depth>0&&o>=n.$from.depth&&i.before(n.$from.depth+1)==n.$from.pos?a=i.before(n.$from.depth):a=i.before(o);break}}return a!=null?(Pl(t,Je.create(t.state.doc,a)),!0):!1}function lL(t,e,n,r,a){return k0(t,"handleClickOn",e,n,r)||t.someProp("handleClick",i=>i(t,e,r))||(a?oL(t,n):iL(t,n))}function cL(t,e,n,r){return k0(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",a=>a(t,e,r))}function dL(t,e,n,r){return k0(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",a=>a(t,e,r))||uL(t,n,r)}function uL(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Pl(t,Qe.create(r,0,r.content.size)),!0):!1;let a=r.resolve(e);for(let i=a.depth+1;i>0;i--){let o=i>a.depth?a.nodeAfter:a.node(i),c=a.before(i);if(o.inlineContent)Pl(t,Qe.create(r,c+1,c+1+o.content.size));else if(Je.isSelectable(o))Pl(t,Je.create(r,c));else continue;return!0}}function S0(t){return Eh(t)}const n2=Qr?"metaKey":"ctrlKey";xr.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=S0(t),a=Date.now(),i="singleClick";a-t.input.lastClick.time<500&&aL(n,t.input.lastClick)&&!n[n2]&&t.input.lastClick.button==n.button&&(t.input.lastClick.type=="singleClick"?i="doubleClick":t.input.lastClick.type=="doubleClick"&&(i="tripleClick")),t.input.lastClick={time:a,x:n.clientX,y:n.clientY,type:i,button:n.button};let o=t.posAtCoords(Rf(n));o&&(i=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new hL(t,o,n,!!r)):(i=="doubleClick"?cL:dL)(t,o.pos,o.inside,n)?n.preventDefault():Ni(t,"pointer"))};class hL{constructor(e,n,r,a){this.view=e,this.pos=n,this.event=r,this.flushed=a,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[n2],this.allowDefault=r.shiftKey;let i,o;if(n.inside>-1)i=e.state.doc.nodeAt(n.inside),o=n.inside;else{let f=e.state.doc.resolve(n.pos);i=f.parent,o=f.depth?f.before():0}const c=a?null:r.target,u=c?e.docView.nearestDesc(c,!0):null;this.target=u&&u.nodeDOM.nodeType==1?u.nodeDOM:null;let{selection:h}=e.state;(r.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||h instanceof Je&&h.from<=o&&h.to>o)&&(this.mightDrag={node:i,pos:o,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Zr&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Ni(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Ta(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(Rf(e))),this.updateAllowDefault(e),this.allowDefault||!n?Ni(this.view,"pointer"):lL(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||sr&&this.mightDrag&&!this.mightDrag.node.isAtom||Un&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Pl(this.view,tt.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):Ni(this.view,"pointer")}move(e){this.updateAllowDefault(e),Ni(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}xr.touchstart=t=>{t.input.lastTouch=Date.now(),S0(t),Ni(t,"pointer")};xr.touchmove=t=>{t.input.lastTouch=Date.now(),Ni(t,"pointer")};xr.contextmenu=t=>S0(t);function r2(t,e){return t.composing?!0:sr&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const fL=ka?5e3:-1;yr.compositionstart=yr.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof Qe&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)||Un&&OS&&pL(t)))t.markCursor=t.state.storedMarks||n.marks(),Eh(t,!0),t.markCursor=null;else if(Eh(t,!e.selection.empty),Zr&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let a=r.focusNode,i=r.focusOffset;a&&a.nodeType==1&&i!=0;){let o=i<0?a.lastChild:a.childNodes[i-1];if(!o)break;if(o.nodeType==3){let c=t.domSelection();c&&c.collapse(o,o.nodeValue.length);break}else a=o,i=-1}}t.input.composing=!0}s2(t,fL)};function pL(t){let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(!e||e.nodeType!=1||n>=e.childNodes.length)return!1;let r=e.childNodes[n];return r.nodeType==1&&r.contentEditable=="false"}yr.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.badSafariComposition?t.domObserver.forceFlush():t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,s2(t,20))};function s2(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>Eh(t),e))}function a2(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=gL());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function mL(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=oD(e.focusNode,e.focusOffset),r=lD(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let a=r.pmViewDesc,i=t.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!a||!a.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let o=n.pmViewDesc;if(!(!o||!o.isText(n.nodeValue)))return r}}return n||r}function gL(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function Eh(t,e=!1){if(!(ka&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),a2(t),e||t.docView&&t.docView.dirty){let n=v0(t),r=t.state.selection;return n&&!n.eq(r)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function xL(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),a=document.createRange();a.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(a),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const fd=Mr&&Si<15||Fl&&hD<604;xr.copy=yr.cut=(t,e)=>{let n=e,r=t.state.selection,a=n.type=="cut";if(r.empty)return;let i=fd?null:n.clipboardData,o=r.content(),{dom:c,text:u}=w0(t,o);i?(n.preventDefault(),i.clearData(),i.setData("text/html",c.innerHTML),i.setData("text/plain",u)):xL(t,c),a&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function yL(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function bL(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let a=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?pd(t,r.value,null,a,e):pd(t,r.textContent,r.innerHTML,a,e)},50)}function pd(t,e,n,r,a){let i=YS(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",u=>u(t,a,i||Re.empty)))return!0;if(!i)return!1;let o=yL(i),c=o?t.state.tr.replaceSelectionWith(o,r):t.state.tr.replaceSelection(i);return t.dispatch(c.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function i2(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}yr.paste=(t,e)=>{let n=e;if(t.composing&&!ka)return;let r=fd?null:n.clipboardData,a=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&pd(t,i2(r),r.getData("text/html"),a,n)?n.preventDefault():bL(t,n)};class o2{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const vL=Qr?"altKey":"ctrlKey";function l2(t,e){let n=t.someProp("dragCopies",r=>!r(e));return n??!e[vL]}xr.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let a=t.state.selection,i=a.empty?null:t.posAtCoords(Rf(n)),o;if(!(i&&i.pos>=a.from&&i.pos<=(a instanceof Je?a.to-1:a.to))){if(r&&r.mightDrag)o=Je.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let m=t.docView.nearestDesc(n.target,!0);m&&m.node.type.spec.draggable&&m!=t.docView&&(o=Je.create(t.state.doc,m.posBefore))}}let c=(o||t.state.selection).content(),{dom:u,text:h,slice:f}=w0(t,c);(!n.dataTransfer.files.length||!Un||PS>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(fd?"Text":"text/html",u.innerHTML),n.dataTransfer.effectAllowed="copyMove",fd||n.dataTransfer.setData("text/plain",h),t.dragging=new o2(f,l2(t,n),o)};xr.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};yr.dragover=yr.dragenter=(t,e)=>e.preventDefault();yr.drop=(t,e)=>{try{NL(t,e,t.dragging)}finally{t.dragging=null}};function NL(t,e,n){if(!e.dataTransfer)return;let r=t.posAtCoords(Rf(e));if(!r)return;let a=t.state.doc.resolve(r.pos),i=n&&n.slice;i?t.someProp("transformPasted",y=>{i=y(i,t,!1)}):i=YS(t,i2(e.dataTransfer),fd?null:e.dataTransfer.getData("text/html"),!1,a);let o=!!(n&&l2(t,e));if(t.someProp("handleDrop",y=>y(t,e,i||Re.empty,o))){e.preventDefault();return}if(!i)return;e.preventDefault();let c=i?hS(t.state.doc,a.pos,i):a.pos;c==null&&(c=a.pos);let u=t.state.tr;if(o){let{node:y}=n;y?y.replace(u):u.deleteSelection()}let h=u.mapping.map(c),f=i.openStart==0&&i.openEnd==0&&i.content.childCount==1,m=u.doc;if(f?u.replaceRangeWith(h,h,i.content.firstChild):u.replaceRange(h,h,i),u.doc.eq(m))return;let g=u.doc.resolve(h);if(f&&Je.isSelectable(i.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(i.content.firstChild))u.setSelection(new Je(g));else{let y=u.mapping.map(c);u.mapping.maps[u.mapping.maps.length-1].forEach((v,w,N,k)=>y=k),u.setSelection(N0(t,g,u.doc.resolve(y)))}t.focus(),t.dispatch(u.setMeta("uiEvent","drop"))}xr.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Ta(t)},20))};xr.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};xr.beforeinput=(t,e)=>{if(Un&&ka&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",i=>i(t,ho(8,"Backspace")))))return;let{$cursor:a}=t.state.selection;a&&a.pos>0&&t.dispatch(t.state.tr.delete(a.pos-1,a.pos).scrollIntoView())},50)}};for(let t in yr)xr[t]=yr[t];function md(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class Th{constructor(e,n){this.toDOM=e,this.spec=n||ko,this.side=this.spec.side||0}map(e,n,r,a){let{pos:i,deleted:o}=e.mapResult(n.from+a,this.side<0?-1:1);return o?null:new Tn(i-r,i-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Th&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&md(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Ei{constructor(e,n){this.attrs=e,this.spec=n||ko}map(e,n,r,a){let i=e.map(n.from+a,this.spec.inclusiveStart?-1:1)-r,o=e.map(n.to+a,this.spec.inclusiveEnd?1:-1)-r;return i>=o?null:new Tn(i,o,this)}valid(e,n){return n.from=e&&(!i||i(c.spec))&&r.push(c.copy(c.from+a,c.to+a))}for(let o=0;oe){let c=this.children[o]+1;this.children[o+2].findInner(e-c,n-c,r,a+c,i)}}map(e,n,r){return this==tr||e.maps.length==0?this:this.mapInner(e,n,0,0,r||ko)}mapInner(e,n,r,a,i){let o;for(let c=0;c{let h=u+r,f;if(f=d2(n,c,h)){for(a||(a=this.children.slice());ic&&m.to=e){this.children[c]==e&&(r=this.children[c+2]);break}let i=e+1,o=i+n.content.size;for(let c=0;ci&&u.type instanceof Ei){let h=Math.max(i,u.from)-i,f=Math.min(o,u.to)-i;ha.map(e,n,ko));return fi.from(r)}forChild(e,n){if(n.isLeaf)return Pt.empty;let r=[];for(let a=0;an instanceof Pt)?e:e.reduce((n,r)=>n.concat(r instanceof Pt?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let N=w-v-(y-g);for(let k=0;kC+f-m)continue;let E=c[k]+f-m;y>=E?c[k+1]=g<=E?-2:-1:g>=f&&N&&(c[k]+=N,c[k+1]+=N)}m+=N}),f=n.maps[h].map(f,-1)}let u=!1;for(let h=0;h=r.content.size){u=!0;continue}let g=n.map(t[h+1]+i,-1),y=g-a,{index:v,offset:w}=r.content.findIndex(m),N=r.maybeChild(v);if(N&&w==m&&w+N.nodeSize==y){let k=c[h+2].mapInner(n,N,f+1,t[h]+i+1,o);k!=tr?(c[h]=m,c[h+1]=y,c[h+2]=k):(c[h+1]=-2,u=!0)}else u=!0}if(u){let h=jL(c,t,e,n,a,i,o),f=Mh(h,r,0,o);e=f.local;for(let m=0;mn&&o.to{let h=d2(t,c,u+n);if(h){i=!0;let f=Mh(h,c,n+u+1,r);f!=tr&&a.push(u,u+c.nodeSize,f)}});let o=c2(i?u2(t):t,-n).sort(So);for(let c=0;c0;)e++;t.splice(e,0,n)}function ng(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=tr&&e.push(r)}),t.cursorWrapper&&e.push(Pt.create(t.state.doc,[t.cursorWrapper.deco])),fi.from(e)}const kL={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},SL=Mr&&Si<=11;class CL{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class EL{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new CL,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let a=0;aa.type=="childList"&&a.removedNodes.length||a.type=="characterData"&&a.oldValue.length>a.target.nodeValue.length)?this.flushSoon():sr&&e.composing&&r.some(a=>a.type=="childList"&&a.target.nodeName=="TR")?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),SL&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,kL)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(q1(this.view)){if(this.suppressingSelectionUpdates)return Ta(this.view);if(Mr&&Si<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Io(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let i=e.focusNode;i;i=$l(i))n.add(i);for(let i=e.anchorNode;i;i=$l(i))if(n.has(i)){r=i;break}let a=r&&this.view.docView.nearestDesc(r);if(a&&a.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),a=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&q1(e)&&!this.ignoreSelectionChange(r),i=-1,o=-1,c=!1,u=[];if(e.editable)for(let f=0;ff.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46)){for(let f of u)if(f.nodeName=="BR"&&f.parentNode){let m=f.nextSibling;m&&m.nodeType==1&&m.contentEditable=="false"&&f.parentNode.removeChild(f)}}else if(Zr&&u.length){let f=u.filter(m=>m.nodeName=="BR");if(f.length==2){let[m,g]=f;m.parentNode&&m.parentNode.parentNode==g.parentNode?g.remove():m.remove()}else{let{focusNode:m}=this.currentSelection;for(let g of f){let y=g.parentNode;y&&y.nodeName=="LI"&&(!m||AL(e,m)!=y)&&g.remove()}}}let h=null;i<0&&a&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||a)&&(i>-1&&(e.docView.markDirty(i,o),TL(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,IL(e,u)),this.handleDOMChange(i,o,c,u),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Ta(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let f=0;fa;N--){let k=r.childNodes[N-1],C=k.pmViewDesc;if(k.nodeName=="BR"&&!C){i=N;break}if(!C||C.size)break}let m=t.state.doc,g=t.someProp("domParser")||ki.fromSchema(t.state.schema),y=m.resolve(o),v=null,w=g.parse(r,{topNode:y.parent,topMatch:y.parent.contentMatchAt(y.index()),topOpen:!0,from:a,to:i,preserveWhitespace:y.parent.type.whitespace=="pre"?"full":!0,findPositions:h,ruleFromNode:PL,context:y});if(h&&h[0].pos!=null){let N=h[0].pos,k=h[1]&&h[1].pos;k==null&&(k=N),v={anchor:N+o,head:k+o}}return{doc:w,sel:v,from:o,to:c}}function PL(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(sr&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||sr&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const OL=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function DL(t,e,n,r,a){let i=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let _=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,P=v0(t,_);if(P&&!t.state.selection.eq(P)){if(Un&&ka&&t.input.lastKeyCode===13&&Date.now()-100$(t,ho(13,"Enter"))))return;let L=t.state.tr.setSelection(P);_=="pointer"?L.setMeta("pointer",!0):_=="key"&&L.scrollIntoView(),i&&L.setMeta("composition",i),t.dispatch(L)}return}let o=t.state.doc.resolve(e),c=o.sharedDepth(n);e=o.before(c+1),n=t.state.doc.resolve(n).after(c+1);let u=t.state.selection,h=RL(t,e,n),f=t.state.doc,m=f.slice(h.from,h.to),g,y;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||ka)&&a.some(_=>_.nodeType==1&&!OL.test(_.nodeName))&&(!v||v.endA>=v.endB)&&t.someProp("handleKeyDown",_=>_(t,ho(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!v)if(r&&u instanceof Qe&&!u.empty&&u.$head.sameParent(u.$anchor)&&!t.composing&&!(h.sel&&h.sel.anchor!=h.sel.head))v={start:u.from,endA:u.to,endB:u.to};else{if(h.sel){let _=aN(t,t.state.doc,h.sel);if(_&&!_.eq(t.state.selection)){let P=t.state.tr.setSelection(_);i&&P.setMeta("composition",i),t.dispatch(P)}}return}t.state.selection.fromt.state.selection.from&&v.start<=t.state.selection.from+2&&t.state.selection.from>=h.from?v.start=t.state.selection.from:v.endA=t.state.selection.to-2&&t.state.selection.to<=h.to&&(v.endB+=t.state.selection.to-v.endA,v.endA=t.state.selection.to)),Mr&&Si<=11&&v.endB==v.start+1&&v.endA==v.start&&v.start>h.from&&h.doc.textBetween(v.start-h.from-1,v.start-h.from+1)=="  "&&(v.start--,v.endA--,v.endB--);let w=h.doc.resolveNoCache(v.start-h.from),N=h.doc.resolveNoCache(v.endB-h.from),k=f.resolve(v.start),C=w.sameParent(N)&&w.parent.inlineContent&&k.end()>=v.endA;if((Fl&&t.input.lastIOSEnter>Date.now()-225&&(!C||a.some(_=>_.nodeName=="DIV"||_.nodeName=="P"))||!C&&w.pos_(t,ho(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>v.start&&_L(f,v.start,v.endA,w,N)&&t.someProp("handleKeyDown",_=>_(t,ho(8,"Backspace")))){ka&&Un&&t.domObserver.suppressSelectionUpdates();return}Un&&v.endB==v.start&&(t.input.lastChromeDelete=Date.now()),ka&&!C&&w.start()!=N.start()&&N.parentOffset==0&&w.depth==N.depth&&h.sel&&h.sel.anchor==h.sel.head&&h.sel.head==v.endA&&(v.endB-=2,N=h.doc.resolveNoCache(v.endB-h.from),setTimeout(()=>{t.someProp("handleKeyDown",function(_){return _(t,ho(13,"Enter"))})},20));let E=v.start,A=v.endA,D=_=>{let P=_||t.state.tr.replace(E,A,h.doc.slice(v.start-h.from,v.endB-h.from));if(h.sel){let L=aN(t,P.doc,h.sel);L&&!(Un&&t.composing&&L.empty&&(v.start!=v.endB||t.input.lastChromeDeleteTa(t),20));let _=D(t.state.tr.delete(E,A)),P=f.resolve(v.start).marksAcross(f.resolve(v.endA));P&&_.ensureMarks(P),t.dispatch(_)}else if(v.endA==v.endB&&(H=LL(w.parent.content.cut(w.parentOffset,N.parentOffset),k.parent.content.cut(k.parentOffset,v.endA-k.start())))){let _=D(t.state.tr);H.type=="add"?_.addMark(E,A,H.mark):_.removeMark(E,A,H.mark),t.dispatch(_)}else if(w.parent.child(w.index()).isText&&w.index()==N.index()-(N.textOffset?0:1)){let _=w.parent.textBetween(w.parentOffset,N.parentOffset),P=()=>D(t.state.tr.insertText(_,E,A));t.someProp("handleTextInput",L=>L(t,E,A,_,P))||t.dispatch(P())}else t.dispatch(D());else t.dispatch(D())}function aN(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:N0(t,e.resolve(n.anchor),e.resolve(n.head))}function LL(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,a=n,i=r,o,c,u;for(let f=0;ff.mark(c.addToSet(f.marks));else if(a.length==0&&i.length==1)c=i[0],o="remove",u=f=>f.mark(c.removeFromSet(f.marks));else return null;let h=[];for(let f=0;fn||rg(o,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,a++,e=!1;if(n){let i=t.node(r).maybeChild(t.indexAfter(r));for(;i&&!i.isLeaf;)i=i.firstChild,a++}return a}function zL(t,e,n,r,a){let i=t.findDiffStart(e,n);if(i==null)return null;let{a:o,b:c}=t.findDiffEnd(e,n+t.size,n+e.size);if(a=="end"){let u=Math.max(0,i-Math.min(o,c));r-=o+u-i}if(o=o?i-r:0;i-=u,i&&i=c?i-r:0;i-=u,i&&i=56320&&e<=57343&&n>=55296&&n<=56319}class h2{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new eL,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(uN),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=cN(this),lN(this),this.nodeViews=dN(this),this.docView=B1(this.state.doc,oN(this),ng(this),this.dom,this),this.domObserver=new EL(this,(r,a,i,o)=>DL(this,r,a,i,o)),this.domObserver.start(),tL(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&lx(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(uN),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let a=this.state,i=!1,o=!1;e.storedMarks&&this.composing&&(a2(this),o=!0),this.state=e;let c=a.plugins!=e.plugins||this._props.plugins!=n.plugins;if(c||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let y=dN(this);FL(y,this.nodeViews)&&(this.nodeViews=y,i=!0)}(c||n.handleDOMEvents!=this._props.handleDOMEvents)&&lx(this),this.editable=cN(this),lN(this);let u=ng(this),h=oN(this),f=a.plugins!=e.plugins&&!a.doc.eq(e.doc)?"reset":e.scrollToSelection>a.scrollToSelection?"to selection":"preserve",m=i||!this.docView.matchesNode(e.doc,h,u);(m||!e.selection.eq(a.selection))&&(o=!0);let g=f=="preserve"&&o&&this.dom.style.overflowAnchor==null&&mD(this);if(o){this.domObserver.stop();let y=m&&(Mr||Un)&&!this.composing&&!a.selection.empty&&!e.selection.empty&&$L(a.selection,e.selection);if(m){let v=Un?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=mL(this)),(i||!this.docView.update(e.doc,h,u,this))&&(this.docView.updateOuterDeco(h),this.docView.destroy(),this.docView=B1(e.doc,h,u,this.dom,this)),v&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(y=!0)}y||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&$D(this))?Ta(this,y):(qS(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(a),!((r=this.dragging)===null||r===void 0)&&r.node&&!a.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,a),f=="reset"?this.dom.scrollTop=0:f=="to selection"?this.scrollToSelection():g&&gD(g)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Je){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&D1(this,n.getBoundingClientRect(),e)}else D1(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(i))==r.node&&(a=i)}this.dragging=new o2(e.slice,e.move,a<0?void 0:Je.create(this.state.doc,a))}someProp(e,n){let r=this._props&&this._props[e],a;if(r!=null&&(a=n?n(r):r))return a;for(let o=0;on.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return wD(this,e)}coordsAtPos(e,n=1){return $S(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let a=this.docView.posFromDOM(e,n,r);if(a==null)throw new RangeError("DOM position not inside the editor");return a}endOfTextblock(e,n){return ED(this,n||this.state,e)}pasteHTML(e,n){return pd(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return pd(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return w0(this,e)}destroy(){this.docView&&(nL(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],ng(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,aD())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return sL(this,e)}domSelectionRange(){let e=this.domSelection();return e?sr&&this.root.nodeType===11&&dD(this.dom.ownerDocument)==this.dom&&ML(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}h2.prototype.dispatch=function(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))};function oN(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[Tn.node(0,t.state.doc.content.size,e)]}function lN(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Tn.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function cN(t){return!t.someProp("editable",e=>e(t.state)===!1)}function $L(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function dN(t){let e=Object.create(null);function n(r){for(let a in r)Object.prototype.hasOwnProperty.call(e,a)||(e[a]=r[a])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function FL(t,e){let n=0,r=0;for(let a in t){if(t[a]!=e[a])return!0;n++}for(let a in e)r++;return n!=r}function uN(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Mi={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Ah={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},BL=typeof navigator<"u"&&/Mac/.test(navigator.platform),VL=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Wn=0;Wn<10;Wn++)Mi[48+Wn]=Mi[96+Wn]=String(Wn);for(var Wn=1;Wn<=24;Wn++)Mi[Wn+111]="F"+Wn;for(var Wn=65;Wn<=90;Wn++)Mi[Wn]=String.fromCharCode(Wn+32),Ah[Wn]=String.fromCharCode(Wn);for(var sg in Mi)Ah.hasOwnProperty(sg)||(Ah[sg]=Mi[sg]);function HL(t){var e=BL&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||VL&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?Ah:Mi)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const WL=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),UL=typeof navigator<"u"&&/Win/.test(navigator.platform);function KL(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,a,i,o;for(let c=0;c{for(var n in e)JL(t,n,{get:e[n],enumerable:!0})};function Pf(t){const{state:e,transaction:n}=t;let{selection:r}=n,{doc:a}=n,{storedMarks:i}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return i},get selection(){return r},get doc(){return a},get tr(){return r=n.selection,a=n.doc,i=n.storedMarks,n}}}var Of=class{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:r}=e,{tr:a}=n,i=this.buildProps(a);return Object.fromEntries(Object.entries(t).map(([o,c])=>[o,(...h)=>{const f=c(...h)(i);return!a.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(a),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:r,state:a}=this,{view:i}=r,o=[],c=!!t,u=t||a.tr,h=()=>(!c&&e&&!u.getMeta("preventDispatch")&&!this.hasCustomState&&i.dispatch(u),o.every(m=>m===!0)),f={...Object.fromEntries(Object.entries(n).map(([m,g])=>[m,(...v)=>{const w=this.buildProps(u,e),N=g(...v)(w);return o.push(N),f}])),run:h};return f}createCan(t){const{rawCommands:e,state:n}=this,r=!1,a=t||n.tr,i=this.buildProps(a,r);return{...Object.fromEntries(Object.entries(e).map(([c,u])=>[c,(...h)=>u(...h)({...i,dispatch:void 0})])),chain:()=>this.createChain(a,r)}}buildProps(t,e=!0){const{rawCommands:n,editor:r,state:a}=this,{view:i}=r,o={tr:t,editor:r,view:i,state:Pf({state:a,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t,e),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(n).map(([c,u])=>[c,(...h)=>u(...h)(o)]))}};return o}},f2={};M0(f2,{blur:()=>YL,clearContent:()=>QL,clearNodes:()=>XL,command:()=>ZL,createParagraphNear:()=>e8,cut:()=>t8,deleteCurrentNode:()=>n8,deleteNode:()=>r8,deleteRange:()=>s8,deleteSelection:()=>a8,enter:()=>i8,exitCode:()=>o8,extendMarkRange:()=>l8,first:()=>c8,focus:()=>u8,forEach:()=>h8,insertContent:()=>f8,insertContentAt:()=>g8,joinBackward:()=>b8,joinDown:()=>y8,joinForward:()=>v8,joinItemBackward:()=>N8,joinItemForward:()=>w8,joinTextblockBackward:()=>j8,joinTextblockForward:()=>k8,joinUp:()=>x8,keyboardShortcut:()=>C8,lift:()=>E8,liftEmptyBlock:()=>T8,liftListItem:()=>M8,newlineInCode:()=>A8,resetAttributes:()=>I8,scrollIntoView:()=>R8,selectAll:()=>P8,selectNodeBackward:()=>O8,selectNodeForward:()=>D8,selectParentNode:()=>L8,selectTextblockEnd:()=>_8,selectTextblockStart:()=>z8,setContent:()=>$8,setMark:()=>a6,setMeta:()=>i6,setNode:()=>o6,setNodeSelection:()=>l6,setTextDirection:()=>c6,setTextSelection:()=>d6,sinkListItem:()=>u6,splitBlock:()=>h6,splitListItem:()=>f6,toggleList:()=>p6,toggleMark:()=>m6,toggleNode:()=>g6,toggleWrap:()=>x6,undoInputRule:()=>y6,unsetAllMarks:()=>b6,unsetMark:()=>v6,unsetTextDirection:()=>N6,updateAttributes:()=>w6,wrapIn:()=>j6,wrapInList:()=>k6});var YL=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var n;t.isDestroyed||(e.dom.blur(),(n=window==null?void 0:window.getSelection())==null||n.removeAllRanges())}),!0),QL=(t=!0)=>({commands:e})=>e.setContent("",{emitUpdate:t}),XL=()=>({state:t,tr:e,dispatch:n})=>{const{selection:r}=e,{ranges:a}=r;return n&&a.forEach(({$from:i,$to:o})=>{t.doc.nodesBetween(i.pos,o.pos,(c,u)=>{if(c.type.isText)return;const{doc:h,mapping:f}=e,m=h.resolve(f.map(u)),g=h.resolve(f.map(u+c.nodeSize)),y=m.blockRange(g);if(!y)return;const v=Xl(y);if(c.type.isTextblock){const{defaultType:w}=m.parent.contentMatchAt(m.index());e.setNodeMarkup(y.start,w)}(v||v===0)&&e.lift(y,v)})}),!0},ZL=t=>e=>t(e),e8=()=>({state:t,dispatch:e})=>TS(t,e),t8=(t,e)=>({editor:n,tr:r})=>{const{state:a}=n,i=a.doc.slice(t.from,t.to);r.deleteRange(t.from,t.to);const o=r.mapping.map(e);return r.insert(o,i.content),r.setSelection(new Qe(r.doc.resolve(Math.max(o-1,0)))),!0},n8=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,r=n.$anchor.node();if(r.content.size>0)return!1;const a=t.selection.$anchor;for(let i=a.depth;i>0;i-=1)if(a.node(i).type===r.type){if(e){const c=a.before(i),u=a.after(i);t.delete(c,u).scrollIntoView()}return!0}return!1};function Nn(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}var r8=t=>({tr:e,state:n,dispatch:r})=>{const a=Nn(t,n.schema),i=e.selection.$anchor;for(let o=i.depth;o>0;o-=1)if(i.node(o).type===a){if(r){const u=i.before(o),h=i.after(o);e.delete(u,h).scrollIntoView()}return!0}return!1},s8=t=>({tr:e,dispatch:n})=>{const{from:r,to:a}=t;return n&&e.delete(r,a),!0},a8=()=>({state:t,dispatch:e})=>p0(t,e),i8=()=>({commands:t})=>t.keyboardShortcut("Enter"),o8=()=>({state:t,dispatch:e})=>WO(t,e);function A0(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function Ih(t,e,n={strict:!0}){const r=Object.keys(e);return r.length?r.every(a=>n.strict?e[a]===t[a]:A0(e[a])?e[a].test(t[a]):e[a]===t[a]):!0}function p2(t,e,n={}){return t.find(r=>r.type===e&&Ih(Object.fromEntries(Object.keys(n).map(a=>[a,r.attrs[a]])),n))}function hN(t,e,n={}){return!!p2(t,e,n)}function I0(t,e,n){var r;if(!t||!e)return;let a=t.parent.childAfter(t.parentOffset);if((!a.node||!a.node.marks.some(f=>f.type===e))&&(a=t.parent.childBefore(t.parentOffset)),!a.node||!a.node.marks.some(f=>f.type===e)||(n=n||((r=a.node.marks[0])==null?void 0:r.attrs),!p2([...a.node.marks],e,n)))return;let o=a.index,c=t.start()+a.offset,u=o+1,h=c+a.node.nodeSize;for(;o>0&&hN([...t.parent.child(o-1).marks],e,n);)o-=1,c-=t.parent.child(o).nodeSize;for(;u({tr:n,state:r,dispatch:a})=>{const i=Ra(t,r.schema),{doc:o,selection:c}=n,{$from:u,from:h,to:f}=c;if(a){const m=I0(u,i,e);if(m&&m.from<=h&&m.to>=f){const g=Qe.create(o,m.from,m.to);n.setSelection(g)}}return!0},c8=t=>e=>{const n=typeof t=="function"?t(e):t;for(let r=0;r({editor:n,view:r,tr:a,dispatch:i})=>{e={scrollIntoView:!0,...e};const o=()=>{(Rh()||fN())&&r.dom.focus(),d8()&&!Rh()&&!fN()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&n.commands.scrollIntoView())})};try{if(r.hasFocus()&&t===null||t===!1)return!0}catch{return!1}if(i&&t===null&&!m2(n.state.selection))return o(),!0;const c=g2(a.doc,t)||n.state.selection,u=n.state.selection.eq(c);return i&&(u||a.setSelection(c),u&&a.storedMarks&&a.setStoredMarks(a.storedMarks),o()),!0},h8=(t,e)=>n=>t.every((r,a)=>e(r,{...n,index:a})),f8=(t,e)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),x2=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const r=e[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?t.removeChild(r):r.nodeType===1&&x2(r)}return t};function Vu(t){if(typeof window>"u")throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");const e=`${t}`,n=new window.DOMParser().parseFromString(e,"text/html").body;return x2(n)}function gd(t,e,n){if(t instanceof Ca||t instanceof xe)return t;n={slice:!0,parseOptions:{},...n};const r=typeof t=="object"&&t!==null,a=typeof t=="string";if(r)try{if(Array.isArray(t)&&t.length>0)return xe.fromArray(t.map(c=>e.nodeFromJSON(c)));const o=e.nodeFromJSON(t);return n.errorOnInvalidContent&&o.check(),o}catch(i){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),gd("",e,n)}if(a){if(n.errorOnInvalidContent){let o=!1,c="";const u=new tS({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:h=>(o=!0,c=typeof h=="string"?h:h.outerHTML,null)}]}})});if(n.slice?ki.fromSchema(u).parseSlice(Vu(t),n.parseOptions):ki.fromSchema(u).parse(Vu(t),n.parseOptions),n.errorOnInvalidContent&&o)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${c}`)})}const i=ki.fromSchema(e);return n.slice?i.parseSlice(Vu(t),n.parseOptions).content:i.parse(Vu(t),n.parseOptions)}return gd("",e,n)}function p8(t,e,n){const r=t.steps.length-1;if(r{o===0&&(o=f)}),t.setSelection(tt.near(t.doc.resolve(o),n))}var m8=t=>!("type"in t),g8=(t,e,n)=>({tr:r,dispatch:a,editor:i})=>{var o;if(a){n={parseOptions:i.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let c;const u=N=>{i.emit("contentError",{editor:i,error:N,disableCollaboration:()=>{"collaboration"in i.storage&&typeof i.storage.collaboration=="object"&&i.storage.collaboration&&(i.storage.collaboration.isDisabled=!0)}})},h={preserveWhitespace:"full",...n.parseOptions};if(!n.errorOnInvalidContent&&!i.options.enableContentCheck&&i.options.emitContentError)try{gd(e,i.schema,{parseOptions:h,errorOnInvalidContent:!0})}catch(N){u(N)}try{c=gd(e,i.schema,{parseOptions:h,errorOnInvalidContent:(o=n.errorOnInvalidContent)!=null?o:i.options.enableContentCheck})}catch(N){return u(N),!1}let{from:f,to:m}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},g=!0,y=!0;if((m8(c)?c:[c]).forEach(N=>{N.check(),g=g?N.isText&&N.marks.length===0:!1,y=y?N.isBlock:!1}),f===m&&y){const{parent:N}=r.doc.resolve(f);N.isTextblock&&!N.type.spec.code&&!N.childCount&&(f-=1,m+=1)}let w;if(g){if(Array.isArray(e))w=e.map(N=>N.text||"").join("");else if(e instanceof xe){let N="";e.forEach(k=>{k.text&&(N+=k.text)}),w=N}else typeof e=="object"&&e&&e.text?w=e.text:w=e;r.insertText(w,f,m)}else{w=c;const N=r.doc.resolve(f),k=N.node(),C=N.parentOffset===0,E=k.isText||k.isTextblock,A=k.content.size>0;C&&E&&A&&(f=Math.max(0,f-1)),r.replaceWith(f,m,w)}n.updateSelection&&p8(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:f,text:w}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:f,text:w})}return!0},x8=()=>({state:t,dispatch:e})=>BO(t,e),y8=()=>({state:t,dispatch:e})=>VO(t,e),b8=()=>({state:t,dispatch:e})=>NS(t,e),v8=()=>({state:t,dispatch:e})=>SS(t,e),N8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=Ef(t.doc,t.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},w8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=Ef(t.doc,t.selection.$from.pos,1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},j8=()=>({state:t,dispatch:e})=>$O(t,e),k8=()=>({state:t,dispatch:e})=>FO(t,e);function y2(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function S8(t){const e=t.split(/-(?!$)/);let n=e[e.length-1];n==="Space"&&(n=" ");let r,a,i,o;for(let c=0;c({editor:e,view:n,tr:r,dispatch:a})=>{const i=S8(t).split(/-(?!$)/),o=i.find(h=>!["Alt","Ctrl","Meta","Shift"].includes(h)),c=new KeyboardEvent("keydown",{key:o==="Space"?" ":o,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),u=e.captureTransaction(()=>{n.someProp("handleKeyDown",h=>h(n,c))});return u==null||u.steps.forEach(h=>{const f=h.map(r.mapping);f&&a&&r.maybeStep(f)}),!0};function Ai(t,e,n={}){const{from:r,to:a,empty:i}=t.selection,o=e?Nn(e,t.schema):null,c=[];t.doc.nodesBetween(r,a,(m,g)=>{if(m.isText)return;const y=Math.max(r,g),v=Math.min(a,g+m.nodeSize);c.push({node:m,from:y,to:v})});const u=a-r,h=c.filter(m=>o?o.name===m.node.type.name:!0).filter(m=>Ih(m.node.attrs,n,{strict:!1}));return i?!!h.length:h.reduce((m,g)=>m+g.to-g.from,0)>=u}var E8=(t,e={})=>({state:n,dispatch:r})=>{const a=Nn(t,n.schema);return Ai(n,a,e)?HO(n,r):!1},T8=()=>({state:t,dispatch:e})=>MS(t,e),M8=t=>({state:e,dispatch:n})=>{const r=Nn(t,e.schema);return tD(r)(e,n)},A8=()=>({state:t,dispatch:e})=>ES(t,e);function Df(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function pN(t,e){const n=typeof e=="string"?[e]:e;return Object.keys(t).reduce((r,a)=>(n.includes(a)||(r[a]=t[a]),r),{})}var I8=(t,e)=>({tr:n,state:r,dispatch:a})=>{let i=null,o=null;const c=Df(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(i=Nn(t,r.schema)),c==="mark"&&(o=Ra(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{r.doc.nodesBetween(h.$from.pos,h.$to.pos,(f,m)=>{i&&i===f.type&&(u=!0,a&&n.setNodeMarkup(m,void 0,pN(f.attrs,e))),o&&f.marks.length&&f.marks.forEach(g=>{o===g.type&&(u=!0,a&&n.addMark(m,m+f.nodeSize,o.create(pN(g.attrs,e))))})})}),u},R8=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),P8=()=>({tr:t,dispatch:e})=>{if(e){const n=new Fr(t.doc);t.setSelection(n)}return!0},O8=()=>({state:t,dispatch:e})=>jS(t,e),D8=()=>({state:t,dispatch:e})=>CS(t,e),L8=()=>({state:t,dispatch:e})=>qO(t,e),_8=()=>({state:t,dispatch:e})=>YO(t,e),z8=()=>({state:t,dispatch:e})=>JO(t,e);function cx(t,e,n={},r={}){return gd(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}var $8=(t,{errorOnInvalidContent:e,emitUpdate:n=!0,parseOptions:r={}}={})=>({editor:a,tr:i,dispatch:o,commands:c})=>{const{doc:u}=i;if(r.preserveWhitespace!=="full"){const h=cx(t,a.schema,r,{errorOnInvalidContent:e??a.options.enableContentCheck});return o&&i.replaceWith(0,u.content.size,h).setMeta("preventUpdate",!n),!0}return o&&i.setMeta("preventUpdate",!n),c.insertContentAt({from:0,to:u.content.size},t,{parseOptions:r,errorOnInvalidContent:e??a.options.enableContentCheck})};function b2(t,e){const n=Ra(e,t.schema),{from:r,to:a,empty:i}=t.selection,o=[];i?(t.storedMarks&&o.push(...t.storedMarks),o.push(...t.selection.$head.marks())):t.doc.nodesBetween(r,a,u=>{o.push(...u.marks)});const c=o.find(u=>u.type.name===n.name);return c?{...c.attrs}:{}}function v2(t,e){const n=new h0(t);return e.forEach(r=>{r.steps.forEach(a=>{n.step(a)})}),n}function F8(t){for(let e=0;e{n(a)&&r.push({node:a,pos:i})}),r}function N2(t,e){for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}function Lf(t){return e=>N2(e.$from,t)}function We(t,e,n){return t.config[e]===void 0&&t.parent?We(t.parent,e,n):typeof t.config[e]=="function"?t.config[e].bind({...n,parent:t.parent?We(t.parent,e,n):null}):t.config[e]}function R0(t){return t.map(e=>{const n={name:e.name,options:e.options,storage:e.storage},r=We(e,"addExtensions",n);return r?[e,...R0(r())]:e}).flat(10)}function P0(t,e){const n=$o.fromSchema(e).serializeFragment(t),a=document.implementation.createHTMLDocument().createElement("div");return a.appendChild(n),a.innerHTML}function w2(t){return typeof t=="function"}function jt(t,e=void 0,...n){return w2(t)?e?t.bind(e)(...n):t(...n):t}function V8(t={}){return Object.keys(t).length===0&&t.constructor===Object}function Bl(t){const e=t.filter(a=>a.type==="extension"),n=t.filter(a=>a.type==="node"),r=t.filter(a=>a.type==="mark");return{baseExtensions:e,nodeExtensions:n,markExtensions:r}}function j2(t){const e=[],{nodeExtensions:n,markExtensions:r}=Bl(t),a=[...n,...r],i={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(h=>h.name!=="text").map(h=>h.name),c=r.map(h=>h.name),u=[...o,...c];return t.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage,extensions:a},m=We(h,"addGlobalAttributes",f);if(!m)return;m().forEach(y=>{let v;Array.isArray(y.types)?v=y.types:y.types==="*"?v=u:y.types==="nodes"?v=o:y.types==="marks"?v=c:v=[],v.forEach(w=>{Object.entries(y.attributes).forEach(([N,k])=>{e.push({type:w,name:N,attribute:{...i,...k}})})})})}),a.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage},m=We(h,"addAttributes",f);if(!m)return;const g=m();Object.entries(g).forEach(([y,v])=>{const w={...i,...v};typeof(w==null?void 0:w.default)=="function"&&(w.default=w.default()),w!=null&&w.isRequired&&(w==null?void 0:w.default)===void 0&&delete w.default,e.push({type:h.name,name:y,attribute:w})})}),e}function H8(t){const e=[];let n="",r=!1,a=!1,i=0;const o=t.length;for(let c=0;c0){i-=1,n+=u;continue}if(u===";"&&i===0){e.push(n),n="";continue}}n+=u}return n&&e.push(n),e}function mN(t){const e=[],n=H8(t||""),r=n.length;for(let a=0;a!!e).reduce((e,n)=>{const r={...e};return Object.entries(n).forEach(([a,i])=>{if(!r[a]){r[a]=i;return}if(a==="class"){const c=i?String(i).split(" "):[],u=r[a]?r[a].split(" "):[],h=c.filter(f=>!u.includes(f));r[a]=[...u,...h].join(" ")}else if(a==="style"){const c=new Map([...mN(r[a]),...mN(i)]);r[a]=Array.from(c.entries()).map(([u,h])=>`${u}: ${h}`).join("; ")}else r[a]=i}),r},{})}function xd(t,e){return e.filter(n=>n.type===t.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(t.attrs)||{}:{[n.name]:t.attrs[n.name]}).reduce((n,r)=>kt(n,r),{})}function W8(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function gN(t,e){return"style"in t?t:{...t,getAttrs:n=>{const r=t.getAttrs?t.getAttrs(n):t.attrs;if(r===!1)return!1;const a=e.reduce((i,o)=>{const c=o.attribute.parseHTML?o.attribute.parseHTML(n):W8(n.getAttribute(o.name));return c==null?i:{...i,[o.name]:c}},{});return{...r,...a}}}}function xN(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>e==="attrs"&&V8(n)?!1:n!=null))}function yN(t){var e,n;const r={};return!((e=t==null?void 0:t.attribute)!=null&&e.isRequired)&&"default"in((t==null?void 0:t.attribute)||{})&&(r.default=t.attribute.default),((n=t==null?void 0:t.attribute)==null?void 0:n.validate)!==void 0&&(r.validate=t.attribute.validate),[t.name,r]}function U8(t,e){var n;const r=j2(t),{nodeExtensions:a,markExtensions:i}=Bl(t),o=(n=a.find(h=>We(h,"topNode")))==null?void 0:n.name,c=Object.fromEntries(a.map(h=>{const f=r.filter(k=>k.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((k,C)=>{const E=We(C,"extendNodeSchema",m);return{...k,...E?E(h):{}}},{}),y=xN({...g,content:jt(We(h,"content",m)),marks:jt(We(h,"marks",m)),group:jt(We(h,"group",m)),inline:jt(We(h,"inline",m)),atom:jt(We(h,"atom",m)),selectable:jt(We(h,"selectable",m)),draggable:jt(We(h,"draggable",m)),code:jt(We(h,"code",m)),whitespace:jt(We(h,"whitespace",m)),linebreakReplacement:jt(We(h,"linebreakReplacement",m)),defining:jt(We(h,"defining",m)),isolating:jt(We(h,"isolating",m)),attrs:Object.fromEntries(f.map(yN))}),v=jt(We(h,"parseHTML",m));v&&(y.parseDOM=v.map(k=>gN(k,f)));const w=We(h,"renderHTML",m);w&&(y.toDOM=k=>w({node:k,HTMLAttributes:xd(k,f)}));const N=We(h,"renderText",m);return N&&(y.toText=N),[h.name,y]})),u=Object.fromEntries(i.map(h=>{const f=r.filter(N=>N.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((N,k)=>{const C=We(k,"extendMarkSchema",m);return{...N,...C?C(h):{}}},{}),y=xN({...g,inclusive:jt(We(h,"inclusive",m)),excludes:jt(We(h,"excludes",m)),group:jt(We(h,"group",m)),spanning:jt(We(h,"spanning",m)),code:jt(We(h,"code",m)),attrs:Object.fromEntries(f.map(yN))}),v=jt(We(h,"parseHTML",m));v&&(y.parseDOM=v.map(N=>gN(N,f)));const w=We(h,"renderHTML",m);return w&&(y.toDOM=N=>w({mark:N,HTMLAttributes:xd(N,f)})),[h.name,y]}));return new tS({topNode:o,nodes:c,marks:u})}function K8(t){const e=t.filter((n,r)=>t.indexOf(n)!==r);return Array.from(new Set(e))}function Xc(t){return t.sort((n,r)=>{const a=We(n,"priority")||100,i=We(r,"priority")||100;return a>i?-1:ar.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}function S2(t,e,n){const{from:r,to:a}=e,{blockSeparator:i=` +`);return{dom:u,text:g,slice:e}}function XS(t,e,n,r,a){let i=a.parent.type.spec.code,o,c;if(!n&&!e)return null;let u=!!e&&(r||i||!n);if(u){if(t.someProp("transformPastedText",g=>{e=g(e,i||r,t)}),i)return c=new Re(xe.from(t.state.schema.text(e.replace(/\r\n?/g,` +`))),0,0),t.someProp("transformPasted",g=>{c=g(c,t,!0)}),c;let m=t.someProp("clipboardTextParser",g=>g(e,a,r,t));if(m)c=m;else{let g=a.marks(),{schema:y}=t.state,v=$o.fromSchema(y);o=document.createElement("div"),e.split(/(?:\r\n?|\n)+/).forEach(w=>{let N=o.appendChild(document.createElement("p"));w&&N.appendChild(v.serializeNode(y.text(w,g)))})}}else t.someProp("transformPastedHTML",m=>{n=m(n,t)}),o=QD(n),Md&&XD(o);let h=o&&o.querySelector("[data-pm-slice]"),f=h&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(h.getAttribute("data-pm-slice")||"");if(f&&f[3])for(let m=+f[3];m>0;m--){let g=o.firstChild;for(;g&&g.nodeType!=1;)g=g.nextSibling;if(!g)break;o=g}if(c||(c=(t.someProp("clipboardParser")||t.someProp("domParser")||ki.fromSchema(t.state.schema)).parseSlice(o,{preserveWhitespace:!!(u||f),context:a,ruleFromNode(g){return g.nodeName=="BR"&&!g.nextSibling&&g.parentNode&&!GD.test(g.parentNode.nodeName)?{ignore:!0}:null}})),f)c=ZD(tN(c,+f[1],+f[2]),f[4]);else if(c=Re.maxOpen(JD(c.content,a),!0),c.openStart||c.openEnd){let m=0,g=0;for(let y=c.content.firstChild;m{c=m(c,t,u)}),c}const GD=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function JD(t,e){if(t.childCount<2)return t;for(let n=e.depth;n>=0;n--){let a=e.node(n).contentMatchAt(e.index(n)),i,o=[];if(t.forEach(c=>{if(!o)return;let u=a.findWrapping(c.type),h;if(!u)return o=null;if(h=o.length&&i.length&&e2(u,i,c,o[o.length-1],0))o[o.length-1]=h;else{o.length&&(o[o.length-1]=t2(o[o.length-1],i.length));let f=ZS(c,u);o.push(f),a=a.matchType(f.type),i=u}}),o)return xe.from(o)}return t}function ZS(t,e,n=0){for(let r=e.length-1;r>=n;r--)t=e[r].create(null,xe.from(t));return t}function e2(t,e,n,r,a){if(a1&&(i=0),a=n&&(c=e<0?o.contentMatchAt(0).fillBefore(c,i<=a).append(c):c.append(o.contentMatchAt(o.childCount).fillBefore(xe.empty,!0))),t.replaceChild(e<0?0:t.childCount-1,o.copy(c))}function tN(t,e,n){return en})),sg.createHTML(t)):t}function QD(t){let e=/^(\s*]*>)*/.exec(t);e&&(t=t.slice(e[0].length));let n=r2().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(t),a;if((a=r&&n2[r[1].toLowerCase()])&&(t=a.map(i=>"<"+i+">").join("")+t+a.map(i=>"").reverse().join("")),n.innerHTML=YD(t),a)for(let i=0;i=0;c-=2){let u=n.nodes[r[c]];if(!u||u.hasRequiredAttrs())break;a=xe.from(u.create(r[c+1],a)),i++,o++}return new Re(a,i,o)}const xr={},yr={},eL={touchstart:!0,touchmove:!0};class tL{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:"",button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function nL(t){for(let e in xr){let n=xr[e];t.dom.addEventListener(e,t.input.eventHandlers[e]=r=>{sL(t,r)&&!S0(t,r)&&(t.editable||!(r.type in yr))&&n(t,r)},eL[e]?{passive:!0}:void 0)}sr&&t.dom.addEventListener("input",()=>null),ux(t)}function Ni(t,e){t.input.lastSelectionOrigin=e,t.input.lastSelectionTime=Date.now()}function rL(t){t.domObserver.stop();for(let e in t.input.eventHandlers)t.dom.removeEventListener(e,t.input.eventHandlers[e]);clearTimeout(t.input.composingTimeout),clearTimeout(t.input.lastIOSEnterFallbackTimeout)}function ux(t){t.someProp("handleDOMEvents",e=>{for(let n in e)t.input.eventHandlers[n]||t.dom.addEventListener(n,t.input.eventHandlers[n]=r=>S0(t,r))})}function S0(t,e){return t.someProp("handleDOMEvents",n=>{let r=n[e.type];return r?r(t,e)||e.defaultPrevented:!1})}function sL(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let n=e.target;n!=t.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(e))return!1;return!0}function aL(t,e){!S0(t,e)&&xr[e.type]&&(t.editable||!(e.type in yr))&&xr[e.type](t,e)}yr.keydown=(t,e)=>{let n=e;if(t.input.shiftKey=n.keyCode==16||n.shiftKey,!a2(t,n)&&(t.input.lastKeyCode=n.keyCode,t.input.lastKeyCodeTime=Date.now(),!(ka&&Un&&n.keyCode==13)))if(n.keyCode!=229&&t.domObserver.forceFlush(),Fl&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let r=Date.now();t.input.lastIOSEnter=r,t.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{t.input.lastIOSEnter==r&&(t.someProp("handleKeyDown",a=>a(t,ho(13,"Enter"))),t.input.lastIOSEnter=0)},200)}else t.someProp("handleKeyDown",r=>r(t,n))||qD(t,n)?n.preventDefault():Ni(t,"key")};yr.keyup=(t,e)=>{e.keyCode==16&&(t.input.shiftKey=!1)};yr.keypress=(t,e)=>{let n=e;if(a2(t,n)||!n.charCode||n.ctrlKey&&!n.altKey||Qr&&n.metaKey)return;if(t.someProp("handleKeyPress",a=>a(t,n))){n.preventDefault();return}let r=t.state.selection;if(!(r instanceof Qe)||!r.$from.sameParent(r.$to)){let a=String.fromCharCode(n.charCode),i=()=>t.state.tr.insertText(a).scrollIntoView();!/[\r\n]/.test(a)&&!t.someProp("handleTextInput",o=>o(t,r.$from.pos,r.$to.pos,a,i))&&t.dispatch(i()),n.preventDefault()}};function Of(t){return{left:t.clientX,top:t.clientY}}function iL(t,e){let n=e.x-t.clientX,r=e.y-t.clientY;return n*n+r*r<100}function C0(t,e,n,r,a){if(r==-1)return!1;let i=t.state.doc.resolve(r);for(let o=i.depth+1;o>0;o--)if(t.someProp(e,c=>o>i.depth?c(t,n,i.nodeAfter,i.before(o),a,!0):c(t,n,i.node(o),i.before(o),a,!1)))return!0;return!1}function Pl(t,e,n){if(t.focused||t.focus(),t.state.selection.eq(e))return;let r=t.state.tr.setSelection(e);r.setMeta("pointer",!0),t.dispatch(r)}function oL(t,e){if(e==-1)return!1;let n=t.state.doc.resolve(e),r=n.nodeAfter;return r&&r.isAtom&&Je.isSelectable(r)?(Pl(t,new Je(n)),!0):!1}function lL(t,e){if(e==-1)return!1;let n=t.state.selection,r,a;n instanceof Je&&(r=n.node);let i=t.state.doc.resolve(e);for(let o=i.depth+1;o>0;o--){let c=o>i.depth?i.nodeAfter:i.node(o);if(Je.isSelectable(c)){r&&n.$from.depth>0&&o>=n.$from.depth&&i.before(n.$from.depth+1)==n.$from.pos?a=i.before(n.$from.depth):a=i.before(o);break}}return a!=null?(Pl(t,Je.create(t.state.doc,a)),!0):!1}function cL(t,e,n,r,a){return C0(t,"handleClickOn",e,n,r)||t.someProp("handleClick",i=>i(t,e,r))||(a?lL(t,n):oL(t,n))}function dL(t,e,n,r){return C0(t,"handleDoubleClickOn",e,n,r)||t.someProp("handleDoubleClick",a=>a(t,e,r))}function uL(t,e,n,r){return C0(t,"handleTripleClickOn",e,n,r)||t.someProp("handleTripleClick",a=>a(t,e,r))||hL(t,n,r)}function hL(t,e,n){if(n.button!=0)return!1;let r=t.state.doc;if(e==-1)return r.inlineContent?(Pl(t,Qe.create(r,0,r.content.size)),!0):!1;let a=r.resolve(e);for(let i=a.depth+1;i>0;i--){let o=i>a.depth?a.nodeAfter:a.node(i),c=a.before(i);if(o.inlineContent)Pl(t,Qe.create(r,c+1,c+1+o.content.size));else if(Je.isSelectable(o))Pl(t,Je.create(r,c));else continue;return!0}}function E0(t){return Mh(t)}const s2=Qr?"metaKey":"ctrlKey";xr.mousedown=(t,e)=>{let n=e;t.input.shiftKey=n.shiftKey;let r=E0(t),a=Date.now(),i="singleClick";a-t.input.lastClick.time<500&&iL(n,t.input.lastClick)&&!n[s2]&&t.input.lastClick.button==n.button&&(t.input.lastClick.type=="singleClick"?i="doubleClick":t.input.lastClick.type=="doubleClick"&&(i="tripleClick")),t.input.lastClick={time:a,x:n.clientX,y:n.clientY,type:i,button:n.button};let o=t.posAtCoords(Of(n));o&&(i=="singleClick"?(t.input.mouseDown&&t.input.mouseDown.done(),t.input.mouseDown=new fL(t,o,n,!!r)):(i=="doubleClick"?dL:uL)(t,o.pos,o.inside,n)?n.preventDefault():Ni(t,"pointer"))};class fL{constructor(e,n,r,a){this.view=e,this.pos=n,this.event=r,this.flushed=a,this.delayedSelectionSync=!1,this.mightDrag=null,this.startDoc=e.state.doc,this.selectNode=!!r[s2],this.allowDefault=r.shiftKey;let i,o;if(n.inside>-1)i=e.state.doc.nodeAt(n.inside),o=n.inside;else{let f=e.state.doc.resolve(n.pos);i=f.parent,o=f.depth?f.before():0}const c=a?null:r.target,u=c?e.docView.nearestDesc(c,!0):null;this.target=u&&u.nodeDOM.nodeType==1?u.nodeDOM:null;let{selection:h}=e.state;(r.button==0&&i.type.spec.draggable&&i.type.spec.selectable!==!1||h instanceof Je&&h.from<=o&&h.to>o)&&(this.mightDrag={node:i,pos:o,addAttr:!!(this.target&&!this.target.draggable),setUneditable:!!(this.target&&Zr&&!this.target.hasAttribute("contentEditable"))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute("contentEditable","false")},20),this.view.domObserver.start()),e.root.addEventListener("mouseup",this.up=this.up.bind(this)),e.root.addEventListener("mousemove",this.move=this.move.bind(this)),Ni(e,"pointer")}done(){this.view.root.removeEventListener("mouseup",this.up),this.view.root.removeEventListener("mousemove",this.move),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute("draggable"),this.mightDrag.setUneditable&&this.target.removeAttribute("contentEditable"),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>Ta(this.view)),this.view.input.mouseDown=null}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let n=this.pos;this.view.state.doc!=this.startDoc&&(n=this.view.posAtCoords(Of(e))),this.updateAllowDefault(e),this.allowDefault||!n?Ni(this.view,"pointer"):cL(this.view,n.pos,n.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||sr&&this.mightDrag&&!this.mightDrag.node.isAtom||Un&&!this.view.state.selection.visible&&Math.min(Math.abs(n.pos-this.view.state.selection.from),Math.abs(n.pos-this.view.state.selection.to))<=2)?(Pl(this.view,tt.near(this.view.state.doc.resolve(n.pos))),e.preventDefault()):Ni(this.view,"pointer")}move(e){this.updateAllowDefault(e),Ni(this.view,"pointer"),e.buttons==0&&this.done()}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}}xr.touchstart=t=>{t.input.lastTouch=Date.now(),E0(t),Ni(t,"pointer")};xr.touchmove=t=>{t.input.lastTouch=Date.now(),Ni(t,"pointer")};xr.contextmenu=t=>E0(t);function a2(t,e){return t.composing?!0:sr&&Math.abs(e.timeStamp-t.input.compositionEndedAt)<500?(t.input.compositionEndedAt=-2e8,!0):!1}const pL=ka?5e3:-1;yr.compositionstart=yr.compositionupdate=t=>{if(!t.composing){t.domObserver.flush();let{state:e}=t,n=e.selection.$to;if(e.selection instanceof Qe&&(e.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(r=>r.type.spec.inclusive===!1)||Un&&LS&&mL(t)))t.markCursor=t.state.storedMarks||n.marks(),Mh(t,!0),t.markCursor=null;else if(Mh(t,!e.selection.empty),Zr&&e.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let r=t.domSelectionRange();for(let a=r.focusNode,i=r.focusOffset;a&&a.nodeType==1&&i!=0;){let o=i<0?a.lastChild:a.childNodes[i-1];if(!o)break;if(o.nodeType==3){let c=t.domSelection();c&&c.collapse(o,o.nodeValue.length);break}else a=o,i=-1}}t.input.composing=!0}i2(t,pL)};function mL(t){let{focusNode:e,focusOffset:n}=t.domSelectionRange();if(!e||e.nodeType!=1||n>=e.childNodes.length)return!1;let r=e.childNodes[n];return r.nodeType==1&&r.contentEditable=="false"}yr.compositionend=(t,e)=>{t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=e.timeStamp,t.input.compositionPendingChanges=t.domObserver.pendingRecords().length?t.input.compositionID:0,t.input.compositionNode=null,t.input.badSafariComposition?t.domObserver.forceFlush():t.input.compositionPendingChanges&&Promise.resolve().then(()=>t.domObserver.flush()),t.input.compositionID++,i2(t,20))};function i2(t,e){clearTimeout(t.input.composingTimeout),e>-1&&(t.input.composingTimeout=setTimeout(()=>Mh(t),e))}function o2(t){for(t.composing&&(t.input.composing=!1,t.input.compositionEndedAt=xL());t.input.compositionNodes.length>0;)t.input.compositionNodes.pop().markParentsDirty()}function gL(t){let e=t.domSelectionRange();if(!e.focusNode)return null;let n=lD(e.focusNode,e.focusOffset),r=cD(e.focusNode,e.focusOffset);if(n&&r&&n!=r){let a=r.pmViewDesc,i=t.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!a||!a.isText(r.nodeValue))return r;if(t.input.compositionNode==r){let o=n.pmViewDesc;if(!(!o||!o.isText(n.nodeValue)))return r}}return n||r}function xL(){let t=document.createEvent("Event");return t.initEvent("event",!0,!0),t.timeStamp}function Mh(t,e=!1){if(!(ka&&t.domObserver.flushingSoon>=0)){if(t.domObserver.forceFlush(),o2(t),e||t.docView&&t.docView.dirty){let n=w0(t),r=t.state.selection;return n&&!n.eq(r)?t.dispatch(t.state.tr.setSelection(n)):(t.markCursor||e)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?t.dispatch(t.state.tr.deleteSelection()):t.updateState(t.state),!0}return!1}}function yL(t,e){if(!t.dom.parentNode)return;let n=t.dom.parentNode.appendChild(document.createElement("div"));n.appendChild(e),n.style.cssText="position: fixed; left: -10000px; top: 10px";let r=getSelection(),a=document.createRange();a.selectNodeContents(e),t.dom.blur(),r.removeAllRanges(),r.addRange(a),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),t.focus()},50)}const fd=Mr&&Si<15||Fl&&fD<604;xr.copy=yr.cut=(t,e)=>{let n=e,r=t.state.selection,a=n.type=="cut";if(r.empty)return;let i=fd?null:n.clipboardData,o=r.content(),{dom:c,text:u}=k0(t,o);i?(n.preventDefault(),i.clearData(),i.setData("text/html",c.innerHTML),i.setData("text/plain",u)):yL(t,c),a&&t.dispatch(t.state.tr.deleteSelection().scrollIntoView().setMeta("uiEvent","cut"))};function bL(t){return t.openStart==0&&t.openEnd==0&&t.content.childCount==1?t.content.firstChild:null}function vL(t,e){if(!t.dom.parentNode)return;let n=t.input.shiftKey||t.state.selection.$from.parent.type.spec.code,r=t.dom.parentNode.appendChild(document.createElement(n?"textarea":"div"));n||(r.contentEditable="true"),r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus();let a=t.input.shiftKey&&t.input.lastKeyCode!=45;setTimeout(()=>{t.focus(),r.parentNode&&r.parentNode.removeChild(r),n?pd(t,r.value,null,a,e):pd(t,r.textContent,r.innerHTML,a,e)},50)}function pd(t,e,n,r,a){let i=XS(t,e,n,r,t.state.selection.$from);if(t.someProp("handlePaste",u=>u(t,a,i||Re.empty)))return!0;if(!i)return!1;let o=bL(i),c=o?t.state.tr.replaceSelectionWith(o,r):t.state.tr.replaceSelection(i);return t.dispatch(c.scrollIntoView().setMeta("paste",!0).setMeta("uiEvent","paste")),!0}function l2(t){let e=t.getData("text/plain")||t.getData("Text");if(e)return e;let n=t.getData("text/uri-list");return n?n.replace(/\r?\n/g," "):""}yr.paste=(t,e)=>{let n=e;if(t.composing&&!ka)return;let r=fd?null:n.clipboardData,a=t.input.shiftKey&&t.input.lastKeyCode!=45;r&&pd(t,l2(r),r.getData("text/html"),a,n)?n.preventDefault():vL(t,n)};class c2{constructor(e,n,r){this.slice=e,this.move=n,this.node=r}}const NL=Qr?"altKey":"ctrlKey";function d2(t,e){let n=t.someProp("dragCopies",r=>!r(e));return n??!e[NL]}xr.dragstart=(t,e)=>{let n=e,r=t.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let a=t.state.selection,i=a.empty?null:t.posAtCoords(Of(n)),o;if(!(i&&i.pos>=a.from&&i.pos<=(a instanceof Je?a.to-1:a.to))){if(r&&r.mightDrag)o=Je.create(t.state.doc,r.mightDrag.pos);else if(n.target&&n.target.nodeType==1){let m=t.docView.nearestDesc(n.target,!0);m&&m.node.type.spec.draggable&&m!=t.docView&&(o=Je.create(t.state.doc,m.posBefore))}}let c=(o||t.state.selection).content(),{dom:u,text:h,slice:f}=k0(t,c);(!n.dataTransfer.files.length||!Un||DS>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(fd?"Text":"text/html",u.innerHTML),n.dataTransfer.effectAllowed="copyMove",fd||n.dataTransfer.setData("text/plain",h),t.dragging=new c2(f,d2(t,n),o)};xr.dragend=t=>{let e=t.dragging;window.setTimeout(()=>{t.dragging==e&&(t.dragging=null)},50)};yr.dragover=yr.dragenter=(t,e)=>e.preventDefault();yr.drop=(t,e)=>{try{wL(t,e,t.dragging)}finally{t.dragging=null}};function wL(t,e,n){if(!e.dataTransfer)return;let r=t.posAtCoords(Of(e));if(!r)return;let a=t.state.doc.resolve(r.pos),i=n&&n.slice;i?t.someProp("transformPasted",y=>{i=y(i,t,!1)}):i=XS(t,l2(e.dataTransfer),fd?null:e.dataTransfer.getData("text/html"),!1,a);let o=!!(n&&d2(t,e));if(t.someProp("handleDrop",y=>y(t,e,i||Re.empty,o))){e.preventDefault();return}if(!i)return;e.preventDefault();let c=i?pS(t.state.doc,a.pos,i):a.pos;c==null&&(c=a.pos);let u=t.state.tr;if(o){let{node:y}=n;y?y.replace(u):u.deleteSelection()}let h=u.mapping.map(c),f=i.openStart==0&&i.openEnd==0&&i.content.childCount==1,m=u.doc;if(f?u.replaceRangeWith(h,h,i.content.firstChild):u.replaceRange(h,h,i),u.doc.eq(m))return;let g=u.doc.resolve(h);if(f&&Je.isSelectable(i.content.firstChild)&&g.nodeAfter&&g.nodeAfter.sameMarkup(i.content.firstChild))u.setSelection(new Je(g));else{let y=u.mapping.map(c);u.mapping.maps[u.mapping.maps.length-1].forEach((v,w,N,k)=>y=k),u.setSelection(j0(t,g,u.doc.resolve(y)))}t.focus(),t.dispatch(u.setMeta("uiEvent","drop"))}xr.focus=t=>{t.input.lastFocus=Date.now(),t.focused||(t.domObserver.stop(),t.dom.classList.add("ProseMirror-focused"),t.domObserver.start(),t.focused=!0,setTimeout(()=>{t.docView&&t.hasFocus()&&!t.domObserver.currentSelection.eq(t.domSelectionRange())&&Ta(t)},20))};xr.blur=(t,e)=>{let n=e;t.focused&&(t.domObserver.stop(),t.dom.classList.remove("ProseMirror-focused"),t.domObserver.start(),n.relatedTarget&&t.dom.contains(n.relatedTarget)&&t.domObserver.currentSelection.clear(),t.focused=!1)};xr.beforeinput=(t,e)=>{if(Un&&ka&&e.inputType=="deleteContentBackward"){t.domObserver.flushSoon();let{domChangeCount:r}=t.input;setTimeout(()=>{if(t.input.domChangeCount!=r||(t.dom.blur(),t.focus(),t.someProp("handleKeyDown",i=>i(t,ho(8,"Backspace")))))return;let{$cursor:a}=t.state.selection;a&&a.pos>0&&t.dispatch(t.state.tr.delete(a.pos-1,a.pos).scrollIntoView())},50)}};for(let t in yr)xr[t]=yr[t];function md(t,e){if(t==e)return!0;for(let n in t)if(t[n]!==e[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}class Ah{constructor(e,n){this.toDOM=e,this.spec=n||ko,this.side=this.spec.side||0}map(e,n,r,a){let{pos:i,deleted:o}=e.mapResult(n.from+a,this.side<0?-1:1);return o?null:new Tn(i-r,i-r,this)}valid(){return!0}eq(e){return this==e||e instanceof Ah&&(this.spec.key&&this.spec.key==e.spec.key||this.toDOM==e.toDOM&&md(this.spec,e.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}}class Ei{constructor(e,n){this.attrs=e,this.spec=n||ko}map(e,n,r,a){let i=e.map(n.from+a,this.spec.inclusiveStart?-1:1)-r,o=e.map(n.to+a,this.spec.inclusiveEnd?1:-1)-r;return i>=o?null:new Tn(i,o,this)}valid(e,n){return n.from=e&&(!i||i(c.spec))&&r.push(c.copy(c.from+a,c.to+a))}for(let o=0;oe){let c=this.children[o]+1;this.children[o+2].findInner(e-c,n-c,r,a+c,i)}}map(e,n,r){return this==tr||e.maps.length==0?this:this.mapInner(e,n,0,0,r||ko)}mapInner(e,n,r,a,i){let o;for(let c=0;c{let h=u+r,f;if(f=h2(n,c,h)){for(a||(a=this.children.slice());ic&&m.to=e){this.children[c]==e&&(r=this.children[c+2]);break}let i=e+1,o=i+n.content.size;for(let c=0;ci&&u.type instanceof Ei){let h=Math.max(i,u.from)-i,f=Math.min(o,u.to)-i;ha.map(e,n,ko));return fi.from(r)}forChild(e,n){if(n.isLeaf)return Pt.empty;let r=[];for(let a=0;an instanceof Pt)?e:e.reduce((n,r)=>n.concat(r instanceof Pt?r:r.members),[]))}}forEachSet(e){for(let n=0;n{let N=w-v-(y-g);for(let k=0;kC+f-m)continue;let E=c[k]+f-m;y>=E?c[k+1]=g<=E?-2:-1:g>=f&&N&&(c[k]+=N,c[k+1]+=N)}m+=N}),f=n.maps[h].map(f,-1)}let u=!1;for(let h=0;h=r.content.size){u=!0;continue}let g=n.map(t[h+1]+i,-1),y=g-a,{index:v,offset:w}=r.content.findIndex(m),N=r.maybeChild(v);if(N&&w==m&&w+N.nodeSize==y){let k=c[h+2].mapInner(n,N,f+1,t[h]+i+1,o);k!=tr?(c[h]=m,c[h+1]=y,c[h+2]=k):(c[h+1]=-2,u=!0)}else u=!0}if(u){let h=kL(c,t,e,n,a,i,o),f=Ih(h,r,0,o);e=f.local;for(let m=0;mn&&o.to{let h=h2(t,c,u+n);if(h){i=!0;let f=Ih(h,c,n+u+1,r);f!=tr&&a.push(u,u+c.nodeSize,f)}});let o=u2(i?f2(t):t,-n).sort(So);for(let c=0;c0;)e++;t.splice(e,0,n)}function ag(t){let e=[];return t.someProp("decorations",n=>{let r=n(t.state);r&&r!=tr&&e.push(r)}),t.cursorWrapper&&e.push(Pt.create(t.state.doc,[t.cursorWrapper.deco])),fi.from(e)}const SL={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},CL=Mr&&Si<=11;class EL{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}}class TL{constructor(e,n){this.view=e,this.handleDOMChange=n,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new EL,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(r=>{for(let a=0;aa.type=="childList"&&a.removedNodes.length||a.type=="characterData"&&a.oldValue.length>a.target.nodeValue.length)?this.flushSoon():sr&&e.composing&&r.some(a=>a.type=="childList"&&a.target.nodeName=="TR")?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),CL&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,SL)),this.onCharData&&this.view.dom.addEventListener("DOMCharacterDataModified",this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let n=0;nthis.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener("DOMCharacterDataModified",this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener("selectionchange",this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener("selectionchange",this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(J1(this.view)){if(this.suppressingSelectionUpdates)return Ta(this.view);if(Mr&&Si<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Io(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let n=new Set,r;for(let i=e.focusNode;i;i=$l(i))n.add(i);for(let i=e.anchorNode;i;i=$l(i))if(n.has(i)){r=i;break}let a=r&&this.view.docView.nearestDesc(r);if(a&&a.ignoreMutation({type:"selection",target:r.nodeType==3?r.parentNode:r}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let n=this.pendingRecords();n.length&&(this.queue=[]);let r=e.domSelectionRange(),a=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(r)&&J1(e)&&!this.ignoreSelectionChange(r),i=-1,o=-1,c=!1,u=[];if(e.editable)for(let f=0;ff.nodeName=="BR")&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46)){for(let f of u)if(f.nodeName=="BR"&&f.parentNode){let m=f.nextSibling;m&&m.nodeType==1&&m.contentEditable=="false"&&f.parentNode.removeChild(f)}}else if(Zr&&u.length){let f=u.filter(m=>m.nodeName=="BR");if(f.length==2){let[m,g]=f;m.parentNode&&m.parentNode.parentNode==g.parentNode?g.remove():m.remove()}else{let{focusNode:m}=this.currentSelection;for(let g of f){let y=g.parentNode;y&&y.nodeName=="LI"&&(!m||IL(e,m)!=y)&&g.remove()}}}let h=null;i<0&&a&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)-1||a)&&(i>-1&&(e.docView.markDirty(i,o),ML(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,RL(e,u)),this.handleDOMChange(i,o,c,u),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(r)||Ta(e),this.currentSelection.set(r))}registerMutation(e,n){if(n.indexOf(e.target)>-1)return null;let r=this.view.docView.nearestDesc(e.target);if(e.type=="attributes"&&(r==this.view.docView||e.attributeName=="contenteditable"||e.attributeName=="style"&&!e.oldValue&&!e.target.getAttribute("style"))||!r||r.ignoreMutation(e))return null;if(e.type=="childList"){for(let f=0;fa;N--){let k=r.childNodes[N-1],C=k.pmViewDesc;if(k.nodeName=="BR"&&!C){i=N;break}if(!C||C.size)break}let m=t.state.doc,g=t.someProp("domParser")||ki.fromSchema(t.state.schema),y=m.resolve(o),v=null,w=g.parse(r,{topNode:y.parent,topMatch:y.parent.contentMatchAt(y.index()),topOpen:!0,from:a,to:i,preserveWhitespace:y.parent.type.whitespace=="pre"?"full":!0,findPositions:h,ruleFromNode:OL,context:y});if(h&&h[0].pos!=null){let N=h[0].pos,k=h[1]&&h[1].pos;k==null&&(k=N),v={anchor:N+o,head:k+o}}return{doc:w,sel:v,from:o,to:c}}function OL(t){let e=t.pmViewDesc;if(e)return e.parseRule();if(t.nodeName=="BR"&&t.parentNode){if(sr&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let n=document.createElement("div");return n.appendChild(document.createElement("li")),{skip:n}}else if(t.parentNode.lastChild==t||sr&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName=="IMG"&&t.getAttribute("mark-placeholder"))return{ignore:!0};return null}const DL=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function LL(t,e,n,r,a){let i=t.input.compositionPendingChanges||(t.composing?t.input.compositionID:0);if(t.input.compositionPendingChanges=0,e<0){let _=t.input.lastSelectionTime>Date.now()-50?t.input.lastSelectionOrigin:null,P=w0(t,_);if(P&&!t.state.selection.eq(P)){if(Un&&ka&&t.input.lastKeyCode===13&&Date.now()-100$(t,ho(13,"Enter"))))return;let L=t.state.tr.setSelection(P);_=="pointer"?L.setMeta("pointer",!0):_=="key"&&L.scrollIntoView(),i&&L.setMeta("composition",i),t.dispatch(L)}return}let o=t.state.doc.resolve(e),c=o.sharedDepth(n);e=o.before(c+1),n=t.state.doc.resolve(n).after(c+1);let u=t.state.selection,h=PL(t,e,n),f=t.state.doc,m=f.slice(h.from,h.to),g,y;t.input.lastKeyCode===8&&Date.now()-100Date.now()-225||ka)&&a.some(_=>_.nodeType==1&&!DL.test(_.nodeName))&&(!v||v.endA>=v.endB)&&t.someProp("handleKeyDown",_=>_(t,ho(13,"Enter")))){t.input.lastIOSEnter=0;return}if(!v)if(r&&u instanceof Qe&&!u.empty&&u.$head.sameParent(u.$anchor)&&!t.composing&&!(h.sel&&h.sel.anchor!=h.sel.head))v={start:u.from,endA:u.to,endB:u.to};else{if(h.sel){let _=oN(t,t.state.doc,h.sel);if(_&&!_.eq(t.state.selection)){let P=t.state.tr.setSelection(_);i&&P.setMeta("composition",i),t.dispatch(P)}}return}t.state.selection.fromt.state.selection.from&&v.start<=t.state.selection.from+2&&t.state.selection.from>=h.from?v.start=t.state.selection.from:v.endA=t.state.selection.to-2&&t.state.selection.to<=h.to&&(v.endB+=t.state.selection.to-v.endA,v.endA=t.state.selection.to)),Mr&&Si<=11&&v.endB==v.start+1&&v.endA==v.start&&v.start>h.from&&h.doc.textBetween(v.start-h.from-1,v.start-h.from+1)=="  "&&(v.start--,v.endA--,v.endB--);let w=h.doc.resolveNoCache(v.start-h.from),N=h.doc.resolveNoCache(v.endB-h.from),k=f.resolve(v.start),C=w.sameParent(N)&&w.parent.inlineContent&&k.end()>=v.endA;if((Fl&&t.input.lastIOSEnter>Date.now()-225&&(!C||a.some(_=>_.nodeName=="DIV"||_.nodeName=="P"))||!C&&w.pos_(t,ho(13,"Enter")))){t.input.lastIOSEnter=0;return}if(t.state.selection.anchor>v.start&&zL(f,v.start,v.endA,w,N)&&t.someProp("handleKeyDown",_=>_(t,ho(8,"Backspace")))){ka&&Un&&t.domObserver.suppressSelectionUpdates();return}Un&&v.endB==v.start&&(t.input.lastChromeDelete=Date.now()),ka&&!C&&w.start()!=N.start()&&N.parentOffset==0&&w.depth==N.depth&&h.sel&&h.sel.anchor==h.sel.head&&h.sel.head==v.endA&&(v.endB-=2,N=h.doc.resolveNoCache(v.endB-h.from),setTimeout(()=>{t.someProp("handleKeyDown",function(_){return _(t,ho(13,"Enter"))})},20));let E=v.start,A=v.endA,D=_=>{let P=_||t.state.tr.replace(E,A,h.doc.slice(v.start-h.from,v.endB-h.from));if(h.sel){let L=oN(t,P.doc,h.sel);L&&!(Un&&t.composing&&L.empty&&(v.start!=v.endB||t.input.lastChromeDeleteTa(t),20));let _=D(t.state.tr.delete(E,A)),P=f.resolve(v.start).marksAcross(f.resolve(v.endA));P&&_.ensureMarks(P),t.dispatch(_)}else if(v.endA==v.endB&&(H=_L(w.parent.content.cut(w.parentOffset,N.parentOffset),k.parent.content.cut(k.parentOffset,v.endA-k.start())))){let _=D(t.state.tr);H.type=="add"?_.addMark(E,A,H.mark):_.removeMark(E,A,H.mark),t.dispatch(_)}else if(w.parent.child(w.index()).isText&&w.index()==N.index()-(N.textOffset?0:1)){let _=w.parent.textBetween(w.parentOffset,N.parentOffset),P=()=>D(t.state.tr.insertText(_,E,A));t.someProp("handleTextInput",L=>L(t,E,A,_,P))||t.dispatch(P())}else t.dispatch(D());else t.dispatch(D())}function oN(t,e,n){return Math.max(n.anchor,n.head)>e.content.size?null:j0(t,e.resolve(n.anchor),e.resolve(n.head))}function _L(t,e){let n=t.firstChild.marks,r=e.firstChild.marks,a=n,i=r,o,c,u;for(let f=0;ff.mark(c.addToSet(f.marks));else if(a.length==0&&i.length==1)c=i[0],o="remove",u=f=>f.mark(c.removeFromSet(f.marks));else return null;let h=[];for(let f=0;fn||ig(o,!0,!1)0&&(e||t.indexAfter(r)==t.node(r).childCount);)r--,a++,e=!1;if(n){let i=t.node(r).maybeChild(t.indexAfter(r));for(;i&&!i.isLeaf;)i=i.firstChild,a++}return a}function $L(t,e,n,r,a){let i=t.findDiffStart(e,n);if(i==null)return null;let{a:o,b:c}=t.findDiffEnd(e,n+t.size,n+e.size);if(a=="end"){let u=Math.max(0,i-Math.min(o,c));r-=o+u-i}if(o=o?i-r:0;i-=u,i&&i=c?i-r:0;i-=u,i&&i=56320&&e<=57343&&n>=55296&&n<=56319}class p2{constructor(e,n){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new tL,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=n,this.state=n.state,this.directPlugins=n.plugins||[],this.directPlugins.forEach(fN),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement("div"),e&&(e.appendChild?e.appendChild(this.dom):typeof e=="function"?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=uN(this),dN(this),this.nodeViews=hN(this),this.docView=H1(this.state.doc,cN(this),ag(this),this.dom,this),this.domObserver=new TL(this,(r,a,i,o)=>LL(this,r,a,i,o)),this.domObserver.start(),nL(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let n in e)this._props[n]=e[n];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&ux(this);let n=this._props;this._props=e,e.plugins&&(e.plugins.forEach(fN),this.directPlugins=e.plugins),this.updateStateInner(e.state,n)}setProps(e){let n={};for(let r in this._props)n[r]=this._props[r];n.state=this.state;for(let r in e)n[r]=e[r];this.update(n)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,n){var r;let a=this.state,i=!1,o=!1;e.storedMarks&&this.composing&&(o2(this),o=!0),this.state=e;let c=a.plugins!=e.plugins||this._props.plugins!=n.plugins;if(c||this._props.plugins!=n.plugins||this._props.nodeViews!=n.nodeViews){let y=hN(this);BL(y,this.nodeViews)&&(this.nodeViews=y,i=!0)}(c||n.handleDOMEvents!=this._props.handleDOMEvents)&&ux(this),this.editable=uN(this),dN(this);let u=ag(this),h=cN(this),f=a.plugins!=e.plugins&&!a.doc.eq(e.doc)?"reset":e.scrollToSelection>a.scrollToSelection?"to selection":"preserve",m=i||!this.docView.matchesNode(e.doc,h,u);(m||!e.selection.eq(a.selection))&&(o=!0);let g=f=="preserve"&&o&&this.dom.style.overflowAnchor==null&&gD(this);if(o){this.domObserver.stop();let y=m&&(Mr||Un)&&!this.composing&&!a.selection.empty&&!e.selection.empty&&FL(a.selection,e.selection);if(m){let v=Un?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=gL(this)),(i||!this.docView.update(e.doc,h,u,this))&&(this.docView.updateOuterDeco(h),this.docView.destroy(),this.docView=H1(e.doc,h,u,this.dom,this)),v&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(y=!0)}y||!(this.input.mouseDown&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&FD(this))?Ta(this,y):(JS(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(a),!((r=this.dragging)===null||r===void 0)&&r.node&&!a.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,a),f=="reset"?this.dom.scrollTop=0:f=="to selection"?this.scrollToSelection():g&&xD(g)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(!(!e||!this.dom.contains(e.nodeType==1?e:e.parentNode))){if(!this.someProp("handleScrollToSelection",n=>n(this)))if(this.state.selection instanceof Je){let n=this.docView.domAfterPos(this.state.selection.from);n.nodeType==1&&_1(this,n.getBoundingClientRect(),e)}else _1(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let n=0;n0&&this.state.doc.nodeAt(i))==r.node&&(a=i)}this.dragging=new c2(e.slice,e.move,a<0?void 0:Je.create(this.state.doc,a))}someProp(e,n){let r=this._props&&this._props[e],a;if(r!=null&&(a=n?n(r):r))return a;for(let o=0;on.ownerDocument.getSelection()),this._root=n}return e||document}updateRoot(){this._root=null}posAtCoords(e){return jD(this,e)}coordsAtPos(e,n=1){return BS(this,e,n)}domAtPos(e,n=0){return this.docView.domFromPos(e,n)}nodeDOM(e){let n=this.docView.descAt(e);return n?n.nodeDOM:null}posAtDOM(e,n,r=-1){let a=this.docView.posFromDOM(e,n,r);if(a==null)throw new RangeError("DOM position not inside the editor");return a}endOfTextblock(e,n){return TD(this,n||this.state,e)}pasteHTML(e,n){return pd(this,"",e,!1,n||new ClipboardEvent("paste"))}pasteText(e,n){return pd(this,e,null,!0,n||new ClipboardEvent("paste"))}serializeForClipboard(e){return k0(this,e)}destroy(){this.docView&&(rL(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],ag(this),this),this.dom.textContent=""):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,iD())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return aL(this,e)}domSelectionRange(){let e=this.domSelection();return e?sr&&this.root.nodeType===11&&uD(this.dom.ownerDocument)==this.dom&&AL(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}}p2.prototype.dispatch=function(t){let e=this._props.dispatchTransaction;e?e.call(this,t):this.updateState(this.state.apply(t))};function cN(t){let e=Object.create(null);return e.class="ProseMirror",e.contenteditable=String(t.editable),t.someProp("attributes",n=>{if(typeof n=="function"&&(n=n(t.state)),n)for(let r in n)r=="class"?e.class+=" "+n[r]:r=="style"?e.style=(e.style?e.style+";":"")+n[r]:!e[r]&&r!="contenteditable"&&r!="nodeName"&&(e[r]=String(n[r]))}),e.translate||(e.translate="no"),[Tn.node(0,t.state.doc.content.size,e)]}function dN(t){if(t.markCursor){let e=document.createElement("img");e.className="ProseMirror-separator",e.setAttribute("mark-placeholder","true"),e.setAttribute("alt",""),t.cursorWrapper={dom:e,deco:Tn.widget(t.state.selection.from,e,{raw:!0,marks:t.markCursor})}}else t.cursorWrapper=null}function uN(t){return!t.someProp("editable",e=>e(t.state)===!1)}function FL(t,e){let n=Math.min(t.$anchor.sharedDepth(t.head),e.$anchor.sharedDepth(e.head));return t.$anchor.start(n)!=e.$anchor.start(n)}function hN(t){let e=Object.create(null);function n(r){for(let a in r)Object.prototype.hasOwnProperty.call(e,a)||(e[a]=r[a])}return t.someProp("nodeViews",n),t.someProp("markViews",n),e}function BL(t,e){let n=0,r=0;for(let a in t){if(t[a]!=e[a])return!0;n++}for(let a in e)r++;return n!=r}function fN(t){if(t.spec.state||t.spec.filterTransaction||t.spec.appendTransaction)throw new RangeError("Plugins passed directly to the view must not have a state component")}var Mi={8:"Backspace",9:"Tab",10:"Enter",12:"NumLock",13:"Enter",16:"Shift",17:"Control",18:"Alt",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",44:"PrintScreen",45:"Insert",46:"Delete",59:";",61:"=",91:"Meta",92:"Meta",106:"*",107:"+",108:",",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",160:"Shift",161:"Shift",162:"Control",163:"Control",164:"Alt",165:"Alt",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},Rh={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},VL=typeof navigator<"u"&&/Mac/.test(navigator.platform),HL=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Wn=0;Wn<10;Wn++)Mi[48+Wn]=Mi[96+Wn]=String(Wn);for(var Wn=1;Wn<=24;Wn++)Mi[Wn+111]="F"+Wn;for(var Wn=65;Wn<=90;Wn++)Mi[Wn]=String.fromCharCode(Wn+32),Rh[Wn]=String.fromCharCode(Wn);for(var og in Mi)Rh.hasOwnProperty(og)||(Rh[og]=Mi[og]);function WL(t){var e=VL&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||HL&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",n=!e&&t.key||(t.shiftKey?Rh:Mi)[t.keyCode]||t.key||"Unidentified";return n=="Esc"&&(n="Escape"),n=="Del"&&(n="Delete"),n=="Left"&&(n="ArrowLeft"),n=="Up"&&(n="ArrowUp"),n=="Right"&&(n="ArrowRight"),n=="Down"&&(n="ArrowDown"),n}const UL=typeof navigator<"u"&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),KL=typeof navigator<"u"&&/Win/.test(navigator.platform);function qL(t){let e=t.split(/-(?!$)/),n=e[e.length-1];n=="Space"&&(n=" ");let r,a,i,o;for(let c=0;c{for(var n in e)YL(t,n,{get:e[n],enumerable:!0})};function Df(t){const{state:e,transaction:n}=t;let{selection:r}=n,{doc:a}=n,{storedMarks:i}=n;return{...e,apply:e.apply.bind(e),applyTransaction:e.applyTransaction.bind(e),plugins:e.plugins,schema:e.schema,reconfigure:e.reconfigure.bind(e),toJSON:e.toJSON.bind(e),get storedMarks(){return i},get selection(){return r},get doc(){return a},get tr(){return r=n.selection,a=n.doc,i=n.storedMarks,n}}}var Lf=class{constructor(t){this.editor=t.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=t.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){const{rawCommands:t,editor:e,state:n}=this,{view:r}=e,{tr:a}=n,i=this.buildProps(a);return Object.fromEntries(Object.entries(t).map(([o,c])=>[o,(...h)=>{const f=c(...h)(i);return!a.getMeta("preventDispatch")&&!this.hasCustomState&&r.dispatch(a),f}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(t,e=!0){const{rawCommands:n,editor:r,state:a}=this,{view:i}=r,o=[],c=!!t,u=t||a.tr,h=()=>(!c&&e&&!u.getMeta("preventDispatch")&&!this.hasCustomState&&i.dispatch(u),o.every(m=>m===!0)),f={...Object.fromEntries(Object.entries(n).map(([m,g])=>[m,(...v)=>{const w=this.buildProps(u,e),N=g(...v)(w);return o.push(N),f}])),run:h};return f}createCan(t){const{rawCommands:e,state:n}=this,r=!1,a=t||n.tr,i=this.buildProps(a,r);return{...Object.fromEntries(Object.entries(e).map(([c,u])=>[c,(...h)=>u(...h)({...i,dispatch:void 0})])),chain:()=>this.createChain(a,r)}}buildProps(t,e=!0){const{rawCommands:n,editor:r,state:a}=this,{view:i}=r,o={tr:t,editor:r,view:i,state:Df({state:a,transaction:t}),dispatch:e?()=>{}:void 0,chain:()=>this.createChain(t,e),can:()=>this.createCan(t),get commands(){return Object.fromEntries(Object.entries(n).map(([c,u])=>[c,(...h)=>u(...h)(o)]))}};return o}},m2={};I0(m2,{blur:()=>QL,clearContent:()=>XL,clearNodes:()=>ZL,command:()=>e8,createParagraphNear:()=>t8,cut:()=>n8,deleteCurrentNode:()=>r8,deleteNode:()=>s8,deleteRange:()=>a8,deleteSelection:()=>i8,enter:()=>o8,exitCode:()=>l8,extendMarkRange:()=>c8,first:()=>d8,focus:()=>h8,forEach:()=>f8,insertContent:()=>p8,insertContentAt:()=>x8,joinBackward:()=>v8,joinDown:()=>b8,joinForward:()=>N8,joinItemBackward:()=>w8,joinItemForward:()=>j8,joinTextblockBackward:()=>k8,joinTextblockForward:()=>S8,joinUp:()=>y8,keyboardShortcut:()=>E8,lift:()=>T8,liftEmptyBlock:()=>M8,liftListItem:()=>A8,newlineInCode:()=>I8,resetAttributes:()=>R8,scrollIntoView:()=>P8,selectAll:()=>O8,selectNodeBackward:()=>D8,selectNodeForward:()=>L8,selectParentNode:()=>_8,selectTextblockEnd:()=>z8,selectTextblockStart:()=>$8,setContent:()=>F8,setMark:()=>i6,setMeta:()=>o6,setNode:()=>l6,setNodeSelection:()=>c6,setTextDirection:()=>d6,setTextSelection:()=>u6,sinkListItem:()=>h6,splitBlock:()=>f6,splitListItem:()=>p6,toggleList:()=>m6,toggleMark:()=>g6,toggleNode:()=>x6,toggleWrap:()=>y6,undoInputRule:()=>b6,unsetAllMarks:()=>v6,unsetMark:()=>N6,unsetTextDirection:()=>w6,updateAttributes:()=>j6,wrapIn:()=>k6,wrapInList:()=>S6});var QL=()=>({editor:t,view:e})=>(requestAnimationFrame(()=>{var n;t.isDestroyed||(e.dom.blur(),(n=window==null?void 0:window.getSelection())==null||n.removeAllRanges())}),!0),XL=(t=!0)=>({commands:e})=>e.setContent("",{emitUpdate:t}),ZL=()=>({state:t,tr:e,dispatch:n})=>{const{selection:r}=e,{ranges:a}=r;return n&&a.forEach(({$from:i,$to:o})=>{t.doc.nodesBetween(i.pos,o.pos,(c,u)=>{if(c.type.isText)return;const{doc:h,mapping:f}=e,m=h.resolve(f.map(u)),g=h.resolve(f.map(u+c.nodeSize)),y=m.blockRange(g);if(!y)return;const v=Xl(y);if(c.type.isTextblock){const{defaultType:w}=m.parent.contentMatchAt(m.index());e.setNodeMarkup(y.start,w)}(v||v===0)&&e.lift(y,v)})}),!0},e8=t=>e=>t(e),t8=()=>({state:t,dispatch:e})=>AS(t,e),n8=(t,e)=>({editor:n,tr:r})=>{const{state:a}=n,i=a.doc.slice(t.from,t.to);r.deleteRange(t.from,t.to);const o=r.mapping.map(e);return r.insert(o,i.content),r.setSelection(new Qe(r.doc.resolve(Math.max(o-1,0)))),!0},r8=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,r=n.$anchor.node();if(r.content.size>0)return!1;const a=t.selection.$anchor;for(let i=a.depth;i>0;i-=1)if(a.node(i).type===r.type){if(e){const c=a.before(i),u=a.after(i);t.delete(c,u).scrollIntoView()}return!0}return!1};function Nn(t,e){if(typeof t=="string"){if(!e.nodes[t])throw Error(`There is no node type named '${t}'. Maybe you forgot to add the extension?`);return e.nodes[t]}return t}var s8=t=>({tr:e,state:n,dispatch:r})=>{const a=Nn(t,n.schema),i=e.selection.$anchor;for(let o=i.depth;o>0;o-=1)if(i.node(o).type===a){if(r){const u=i.before(o),h=i.after(o);e.delete(u,h).scrollIntoView()}return!0}return!1},a8=t=>({tr:e,dispatch:n})=>{const{from:r,to:a}=t;return n&&e.delete(r,a),!0},i8=()=>({state:t,dispatch:e})=>g0(t,e),o8=()=>({commands:t})=>t.keyboardShortcut("Enter"),l8=()=>({state:t,dispatch:e})=>UO(t,e);function R0(t){return Object.prototype.toString.call(t)==="[object RegExp]"}function Ph(t,e,n={strict:!0}){const r=Object.keys(e);return r.length?r.every(a=>n.strict?e[a]===t[a]:R0(e[a])?e[a].test(t[a]):e[a]===t[a]):!0}function g2(t,e,n={}){return t.find(r=>r.type===e&&Ph(Object.fromEntries(Object.keys(n).map(a=>[a,r.attrs[a]])),n))}function pN(t,e,n={}){return!!g2(t,e,n)}function P0(t,e,n){var r;if(!t||!e)return;let a=t.parent.childAfter(t.parentOffset);if((!a.node||!a.node.marks.some(f=>f.type===e))&&(a=t.parent.childBefore(t.parentOffset)),!a.node||!a.node.marks.some(f=>f.type===e)||(n=n||((r=a.node.marks[0])==null?void 0:r.attrs),!g2([...a.node.marks],e,n)))return;let o=a.index,c=t.start()+a.offset,u=o+1,h=c+a.node.nodeSize;for(;o>0&&pN([...t.parent.child(o-1).marks],e,n);)o-=1,c-=t.parent.child(o).nodeSize;for(;u({tr:n,state:r,dispatch:a})=>{const i=Ra(t,r.schema),{doc:o,selection:c}=n,{$from:u,from:h,to:f}=c;if(a){const m=P0(u,i,e);if(m&&m.from<=h&&m.to>=f){const g=Qe.create(o,m.from,m.to);n.setSelection(g)}}return!0},d8=t=>e=>{const n=typeof t=="function"?t(e):t;for(let r=0;r({editor:n,view:r,tr:a,dispatch:i})=>{e={scrollIntoView:!0,...e};const o=()=>{(Oh()||mN())&&r.dom.focus(),u8()&&!Oh()&&!mN()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),e!=null&&e.scrollIntoView&&n.commands.scrollIntoView())})};try{if(r.hasFocus()&&t===null||t===!1)return!0}catch{return!1}if(i&&t===null&&!x2(n.state.selection))return o(),!0;const c=y2(a.doc,t)||n.state.selection,u=n.state.selection.eq(c);return i&&(u||a.setSelection(c),u&&a.storedMarks&&a.setStoredMarks(a.storedMarks),o()),!0},f8=(t,e)=>n=>t.every((r,a)=>e(r,{...n,index:a})),p8=(t,e)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},t,e),b2=t=>{const e=t.childNodes;for(let n=e.length-1;n>=0;n-=1){const r=e[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?t.removeChild(r):r.nodeType===1&&b2(r)}return t};function Wu(t){if(typeof window>"u")throw new Error("[tiptap error]: there is no window object available, so this function cannot be used");const e=`${t}`,n=new window.DOMParser().parseFromString(e,"text/html").body;return b2(n)}function gd(t,e,n){if(t instanceof Ca||t instanceof xe)return t;n={slice:!0,parseOptions:{},...n};const r=typeof t=="object"&&t!==null,a=typeof t=="string";if(r)try{if(Array.isArray(t)&&t.length>0)return xe.fromArray(t.map(c=>e.nodeFromJSON(c)));const o=e.nodeFromJSON(t);return n.errorOnInvalidContent&&o.check(),o}catch(i){if(n.errorOnInvalidContent)throw new Error("[tiptap error]: Invalid JSON content",{cause:i});return console.warn("[tiptap warn]: Invalid content.","Passed value:",t,"Error:",i),gd("",e,n)}if(a){if(n.errorOnInvalidContent){let o=!1,c="";const u=new rS({topNode:e.spec.topNode,marks:e.spec.marks,nodes:e.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:"inline*",group:"block",parseDOM:[{tag:"*",getAttrs:h=>(o=!0,c=typeof h=="string"?h:h.outerHTML,null)}]}})});if(n.slice?ki.fromSchema(u).parseSlice(Wu(t),n.parseOptions):ki.fromSchema(u).parse(Wu(t),n.parseOptions),n.errorOnInvalidContent&&o)throw new Error("[tiptap error]: Invalid HTML content",{cause:new Error(`Invalid element found: ${c}`)})}const i=ki.fromSchema(e);return n.slice?i.parseSlice(Wu(t),n.parseOptions).content:i.parse(Wu(t),n.parseOptions)}return gd("",e,n)}function m8(t,e,n){const r=t.steps.length-1;if(r{o===0&&(o=f)}),t.setSelection(tt.near(t.doc.resolve(o),n))}var g8=t=>!("type"in t),x8=(t,e,n)=>({tr:r,dispatch:a,editor:i})=>{var o;if(a){n={parseOptions:i.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let c;const u=N=>{i.emit("contentError",{editor:i,error:N,disableCollaboration:()=>{"collaboration"in i.storage&&typeof i.storage.collaboration=="object"&&i.storage.collaboration&&(i.storage.collaboration.isDisabled=!0)}})},h={preserveWhitespace:"full",...n.parseOptions};if(!n.errorOnInvalidContent&&!i.options.enableContentCheck&&i.options.emitContentError)try{gd(e,i.schema,{parseOptions:h,errorOnInvalidContent:!0})}catch(N){u(N)}try{c=gd(e,i.schema,{parseOptions:h,errorOnInvalidContent:(o=n.errorOnInvalidContent)!=null?o:i.options.enableContentCheck})}catch(N){return u(N),!1}let{from:f,to:m}=typeof t=="number"?{from:t,to:t}:{from:t.from,to:t.to},g=!0,y=!0;if((g8(c)?c:[c]).forEach(N=>{N.check(),g=g?N.isText&&N.marks.length===0:!1,y=y?N.isBlock:!1}),f===m&&y){const{parent:N}=r.doc.resolve(f);N.isTextblock&&!N.type.spec.code&&!N.childCount&&(f-=1,m+=1)}let w;if(g){if(Array.isArray(e))w=e.map(N=>N.text||"").join("");else if(e instanceof xe){let N="";e.forEach(k=>{k.text&&(N+=k.text)}),w=N}else typeof e=="object"&&e&&e.text?w=e.text:w=e;r.insertText(w,f,m)}else{w=c;const N=r.doc.resolve(f),k=N.node(),C=N.parentOffset===0,E=k.isText||k.isTextblock,A=k.content.size>0;C&&E&&A&&(f=Math.max(0,f-1)),r.replaceWith(f,m,w)}n.updateSelection&&m8(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta("applyInputRules",{from:f,text:w}),n.applyPasteRules&&r.setMeta("applyPasteRules",{from:f,text:w})}return!0},y8=()=>({state:t,dispatch:e})=>VO(t,e),b8=()=>({state:t,dispatch:e})=>HO(t,e),v8=()=>({state:t,dispatch:e})=>jS(t,e),N8=()=>({state:t,dispatch:e})=>ES(t,e),w8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=Mf(t.doc,t.selection.$from.pos,-1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},j8=()=>({state:t,dispatch:e,tr:n})=>{try{const r=Mf(t.doc,t.selection.$from.pos,1);return r==null?!1:(n.join(r,2),e&&e(n),!0)}catch{return!1}},k8=()=>({state:t,dispatch:e})=>FO(t,e),S8=()=>({state:t,dispatch:e})=>BO(t,e);function v2(){return typeof navigator<"u"?/Mac/.test(navigator.platform):!1}function C8(t){const e=t.split(/-(?!$)/);let n=e[e.length-1];n==="Space"&&(n=" ");let r,a,i,o;for(let c=0;c({editor:e,view:n,tr:r,dispatch:a})=>{const i=C8(t).split(/-(?!$)/),o=i.find(h=>!["Alt","Ctrl","Meta","Shift"].includes(h)),c=new KeyboardEvent("keydown",{key:o==="Space"?" ":o,altKey:i.includes("Alt"),ctrlKey:i.includes("Ctrl"),metaKey:i.includes("Meta"),shiftKey:i.includes("Shift"),bubbles:!0,cancelable:!0}),u=e.captureTransaction(()=>{n.someProp("handleKeyDown",h=>h(n,c))});return u==null||u.steps.forEach(h=>{const f=h.map(r.mapping);f&&a&&r.maybeStep(f)}),!0};function Ai(t,e,n={}){const{from:r,to:a,empty:i}=t.selection,o=e?Nn(e,t.schema):null,c=[];t.doc.nodesBetween(r,a,(m,g)=>{if(m.isText)return;const y=Math.max(r,g),v=Math.min(a,g+m.nodeSize);c.push({node:m,from:y,to:v})});const u=a-r,h=c.filter(m=>o?o.name===m.node.type.name:!0).filter(m=>Ph(m.node.attrs,n,{strict:!1}));return i?!!h.length:h.reduce((m,g)=>m+g.to-g.from,0)>=u}var T8=(t,e={})=>({state:n,dispatch:r})=>{const a=Nn(t,n.schema);return Ai(n,a,e)?WO(n,r):!1},M8=()=>({state:t,dispatch:e})=>IS(t,e),A8=t=>({state:e,dispatch:n})=>{const r=Nn(t,e.schema);return nD(r)(e,n)},I8=()=>({state:t,dispatch:e})=>MS(t,e);function _f(t,e){return e.nodes[t]?"node":e.marks[t]?"mark":null}function gN(t,e){const n=typeof e=="string"?[e]:e;return Object.keys(t).reduce((r,a)=>(n.includes(a)||(r[a]=t[a]),r),{})}var R8=(t,e)=>({tr:n,state:r,dispatch:a})=>{let i=null,o=null;const c=_f(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(i=Nn(t,r.schema)),c==="mark"&&(o=Ra(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{r.doc.nodesBetween(h.$from.pos,h.$to.pos,(f,m)=>{i&&i===f.type&&(u=!0,a&&n.setNodeMarkup(m,void 0,gN(f.attrs,e))),o&&f.marks.length&&f.marks.forEach(g=>{o===g.type&&(u=!0,a&&n.addMark(m,m+f.nodeSize,o.create(gN(g.attrs,e))))})})}),u},P8=()=>({tr:t,dispatch:e})=>(e&&t.scrollIntoView(),!0),O8=()=>({tr:t,dispatch:e})=>{if(e){const n=new Fr(t.doc);t.setSelection(n)}return!0},D8=()=>({state:t,dispatch:e})=>SS(t,e),L8=()=>({state:t,dispatch:e})=>TS(t,e),_8=()=>({state:t,dispatch:e})=>GO(t,e),z8=()=>({state:t,dispatch:e})=>QO(t,e),$8=()=>({state:t,dispatch:e})=>YO(t,e);function hx(t,e,n={},r={}){return gd(t,e,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}var F8=(t,{errorOnInvalidContent:e,emitUpdate:n=!0,parseOptions:r={}}={})=>({editor:a,tr:i,dispatch:o,commands:c})=>{const{doc:u}=i;if(r.preserveWhitespace!=="full"){const h=hx(t,a.schema,r,{errorOnInvalidContent:e??a.options.enableContentCheck});return o&&i.replaceWith(0,u.content.size,h).setMeta("preventUpdate",!n),!0}return o&&i.setMeta("preventUpdate",!n),c.insertContentAt({from:0,to:u.content.size},t,{parseOptions:r,errorOnInvalidContent:e??a.options.enableContentCheck})};function N2(t,e){const n=Ra(e,t.schema),{from:r,to:a,empty:i}=t.selection,o=[];i?(t.storedMarks&&o.push(...t.storedMarks),o.push(...t.selection.$head.marks())):t.doc.nodesBetween(r,a,u=>{o.push(...u.marks)});const c=o.find(u=>u.type.name===n.name);return c?{...c.attrs}:{}}function w2(t,e){const n=new p0(t);return e.forEach(r=>{r.steps.forEach(a=>{n.step(a)})}),n}function B8(t){for(let e=0;e{n(a)&&r.push({node:a,pos:i})}),r}function j2(t,e){for(let n=t.depth;n>0;n-=1){const r=t.node(n);if(e(r))return{pos:n>0?t.before(n):0,start:t.start(n),depth:n,node:r}}}function zf(t){return e=>j2(e.$from,t)}function We(t,e,n){return t.config[e]===void 0&&t.parent?We(t.parent,e,n):typeof t.config[e]=="function"?t.config[e].bind({...n,parent:t.parent?We(t.parent,e,n):null}):t.config[e]}function O0(t){return t.map(e=>{const n={name:e.name,options:e.options,storage:e.storage},r=We(e,"addExtensions",n);return r?[e,...O0(r())]:e}).flat(10)}function D0(t,e){const n=$o.fromSchema(e).serializeFragment(t),a=document.implementation.createHTMLDocument().createElement("div");return a.appendChild(n),a.innerHTML}function k2(t){return typeof t=="function"}function jt(t,e=void 0,...n){return k2(t)?e?t.bind(e)(...n):t(...n):t}function H8(t={}){return Object.keys(t).length===0&&t.constructor===Object}function Bl(t){const e=t.filter(a=>a.type==="extension"),n=t.filter(a=>a.type==="node"),r=t.filter(a=>a.type==="mark");return{baseExtensions:e,nodeExtensions:n,markExtensions:r}}function S2(t){const e=[],{nodeExtensions:n,markExtensions:r}=Bl(t),a=[...n,...r],i={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(h=>h.name!=="text").map(h=>h.name),c=r.map(h=>h.name),u=[...o,...c];return t.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage,extensions:a},m=We(h,"addGlobalAttributes",f);if(!m)return;m().forEach(y=>{let v;Array.isArray(y.types)?v=y.types:y.types==="*"?v=u:y.types==="nodes"?v=o:y.types==="marks"?v=c:v=[],v.forEach(w=>{Object.entries(y.attributes).forEach(([N,k])=>{e.push({type:w,name:N,attribute:{...i,...k}})})})})}),a.forEach(h=>{const f={name:h.name,options:h.options,storage:h.storage},m=We(h,"addAttributes",f);if(!m)return;const g=m();Object.entries(g).forEach(([y,v])=>{const w={...i,...v};typeof(w==null?void 0:w.default)=="function"&&(w.default=w.default()),w!=null&&w.isRequired&&(w==null?void 0:w.default)===void 0&&delete w.default,e.push({type:h.name,name:y,attribute:w})})}),e}function W8(t){const e=[];let n="",r=!1,a=!1,i=0;const o=t.length;for(let c=0;c0){i-=1,n+=u;continue}if(u===";"&&i===0){e.push(n),n="";continue}}n+=u}return n&&e.push(n),e}function xN(t){const e=[],n=W8(t||""),r=n.length;for(let a=0;a!!e).reduce((e,n)=>{const r={...e};return Object.entries(n).forEach(([a,i])=>{if(!r[a]){r[a]=i;return}if(a==="class"){const c=i?String(i).split(" "):[],u=r[a]?r[a].split(" "):[],h=c.filter(f=>!u.includes(f));r[a]=[...u,...h].join(" ")}else if(a==="style"){const c=new Map([...xN(r[a]),...xN(i)]);r[a]=Array.from(c.entries()).map(([u,h])=>`${u}: ${h}`).join("; ")}else r[a]=i}),r},{})}function xd(t,e){return e.filter(n=>n.type===t.type.name).filter(n=>n.attribute.rendered).map(n=>n.attribute.renderHTML?n.attribute.renderHTML(t.attrs)||{}:{[n.name]:t.attrs[n.name]}).reduce((n,r)=>kt(n,r),{})}function U8(t){return typeof t!="string"?t:t.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(t):t==="true"?!0:t==="false"?!1:t}function yN(t,e){return"style"in t?t:{...t,getAttrs:n=>{const r=t.getAttrs?t.getAttrs(n):t.attrs;if(r===!1)return!1;const a=e.reduce((i,o)=>{const c=o.attribute.parseHTML?o.attribute.parseHTML(n):U8(n.getAttribute(o.name));return c==null?i:{...i,[o.name]:c}},{});return{...r,...a}}}}function bN(t){return Object.fromEntries(Object.entries(t).filter(([e,n])=>e==="attrs"&&H8(n)?!1:n!=null))}function vN(t){var e,n;const r={};return!((e=t==null?void 0:t.attribute)!=null&&e.isRequired)&&"default"in((t==null?void 0:t.attribute)||{})&&(r.default=t.attribute.default),((n=t==null?void 0:t.attribute)==null?void 0:n.validate)!==void 0&&(r.validate=t.attribute.validate),[t.name,r]}function K8(t,e){var n;const r=S2(t),{nodeExtensions:a,markExtensions:i}=Bl(t),o=(n=a.find(h=>We(h,"topNode")))==null?void 0:n.name,c=Object.fromEntries(a.map(h=>{const f=r.filter(k=>k.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((k,C)=>{const E=We(C,"extendNodeSchema",m);return{...k,...E?E(h):{}}},{}),y=bN({...g,content:jt(We(h,"content",m)),marks:jt(We(h,"marks",m)),group:jt(We(h,"group",m)),inline:jt(We(h,"inline",m)),atom:jt(We(h,"atom",m)),selectable:jt(We(h,"selectable",m)),draggable:jt(We(h,"draggable",m)),code:jt(We(h,"code",m)),whitespace:jt(We(h,"whitespace",m)),linebreakReplacement:jt(We(h,"linebreakReplacement",m)),defining:jt(We(h,"defining",m)),isolating:jt(We(h,"isolating",m)),attrs:Object.fromEntries(f.map(vN))}),v=jt(We(h,"parseHTML",m));v&&(y.parseDOM=v.map(k=>yN(k,f)));const w=We(h,"renderHTML",m);w&&(y.toDOM=k=>w({node:k,HTMLAttributes:xd(k,f)}));const N=We(h,"renderText",m);return N&&(y.toText=N),[h.name,y]})),u=Object.fromEntries(i.map(h=>{const f=r.filter(N=>N.type===h.name),m={name:h.name,options:h.options,storage:h.storage,editor:e},g=t.reduce((N,k)=>{const C=We(k,"extendMarkSchema",m);return{...N,...C?C(h):{}}},{}),y=bN({...g,inclusive:jt(We(h,"inclusive",m)),excludes:jt(We(h,"excludes",m)),group:jt(We(h,"group",m)),spanning:jt(We(h,"spanning",m)),code:jt(We(h,"code",m)),attrs:Object.fromEntries(f.map(vN))}),v=jt(We(h,"parseHTML",m));v&&(y.parseDOM=v.map(N=>yN(N,f)));const w=We(h,"renderHTML",m);return w&&(y.toDOM=N=>w({mark:N,HTMLAttributes:xd(N,f)})),[h.name,y]}));return new rS({topNode:o,nodes:c,marks:u})}function q8(t){const e=t.filter((n,r)=>t.indexOf(n)!==r);return Array.from(new Set(e))}function Xc(t){return t.sort((n,r)=>{const a=We(n,"priority")||100,i=We(r,"priority")||100;return a>i?-1:ar.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(r=>`'${r}'`).join(", ")}]. This can lead to issues.`),e}function E2(t,e,n){const{from:r,to:a}=e,{blockSeparator:i=` -`,textSerializers:o={}}=n||{};let c="";return t.nodesBetween(r,a,(u,h,f,m)=>{var g;u.isBlock&&h>r&&(c+=i);const y=o==null?void 0:o[u.type.name];if(y)return f&&(c+=y({node:u,pos:h,parent:f,index:m,range:e})),!1;u.isText&&(c+=(g=u==null?void 0:u.text)==null?void 0:g.slice(Math.max(r,h)-h,a-h))}),c}function q8(t,e){const n={from:0,to:t.content.size};return S2(t,n,e)}function C2(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,n])=>[e,n.spec.toText]))}function G8(t,e){const n=Nn(e,t.schema),{from:r,to:a}=t.selection,i=[];t.doc.nodesBetween(r,a,c=>{i.push(c)});const o=i.reverse().find(c=>c.type.name===n.name);return o?{...o.attrs}:{}}function E2(t,e){const n=Df(typeof e=="string"?e:e.name,t.schema);return n==="node"?G8(t,e):n==="mark"?b2(t,e):{}}function J8(t,e=JSON.stringify){const n={};return t.filter(r=>{const a=e(r);return Object.prototype.hasOwnProperty.call(n,a)?!1:n[a]=!0})}function Y8(t){const e=J8(t);return e.length===1?e:e.filter((n,r)=>!e.filter((i,o)=>o!==r).some(i=>n.oldRange.from>=i.oldRange.from&&n.oldRange.to<=i.oldRange.to&&n.newRange.from>=i.newRange.from&&n.newRange.to<=i.newRange.to))}function T2(t){const{mapping:e,steps:n}=t,r=[];return e.maps.forEach((a,i)=>{const o=[];if(a.ranges.length)a.forEach((c,u)=>{o.push({from:c,to:u})});else{const{from:c,to:u}=n[i];if(c===void 0||u===void 0)return;o.push({from:c,to:u})}o.forEach(({from:c,to:u})=>{const h=e.slice(i).map(c,-1),f=e.slice(i).map(u),m=e.invert().map(h,-1),g=e.invert().map(f);r.push({oldRange:{from:m,to:g},newRange:{from:h,to:f}})})}),Y8(r)}function O0(t,e,n){const r=[];return t===e?n.resolve(t).marks().forEach(a=>{const i=n.resolve(t),o=I0(i,a.type);o&&r.push({mark:a,...o})}):n.nodesBetween(t,e,(a,i)=>{!a||(a==null?void 0:a.nodeSize)===void 0||r.push(...a.marks.map(o=>({from:i,to:i+a.nodeSize,mark:o})))}),r}var Q8=(t,e,n,r=20)=>{const a=t.doc.resolve(n);let i=r,o=null;for(;i>0&&o===null;){const c=a.node(i);(c==null?void 0:c.type.name)===e?o=c:i-=1}return[o,i]};function Lc(t,e){return e.nodes[t]||e.marks[t]||null}function ih(t,e,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const a=t.find(i=>i.type===e&&i.name===r);return a?a.attribute.keepOnSplit:!1}))}var X8=(t,e=500)=>{let n="";const r=t.parentOffset;return t.parent.nodesBetween(Math.max(0,r-e),r,(a,i,o,c)=>{var u,h;const f=((h=(u=a.type.spec).toText)==null?void 0:h.call(u,{node:a,pos:i,parent:o,index:c}))||a.textContent||"%leaf%";n+=a.isAtom&&!a.isText?f:f.slice(0,Math.max(0,r-i))}),n};function dx(t,e,n={}){const{empty:r,ranges:a}=t.selection,i=e?Ra(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(m=>i?i.name===m.type.name:!0).find(m=>Ih(m.attrs,n,{strict:!1}));let o=0;const c=[];if(a.forEach(({$from:m,$to:g})=>{const y=m.pos,v=g.pos;t.doc.nodesBetween(y,v,(w,N)=>{if(i&&w.inlineContent&&!w.type.allowsMarkType(i))return!1;if(!w.isText&&!w.marks.length)return;const k=Math.max(y,N),C=Math.min(v,N+w.nodeSize),E=C-k;o+=E,c.push(...w.marks.map(A=>({mark:A,from:k,to:C})))})}),o===0)return!1;const u=c.filter(m=>i?i.name===m.mark.type.name:!0).filter(m=>Ih(m.mark.attrs,n,{strict:!1})).reduce((m,g)=>m+g.to-g.from,0),h=c.filter(m=>i?m.mark.type!==i&&m.mark.type.excludes(i):!0).reduce((m,g)=>m+g.to-g.from,0);return(u>0?u+h:u)>=o}function Z8(t,e,n={}){if(!e)return Ai(t,null,n)||dx(t,null,n);const r=Df(e,t.schema);return r==="node"?Ai(t,e,n):r==="mark"?dx(t,e,n):!1}var e6=(t,e)=>{const{$from:n,$to:r,$anchor:a}=t.selection;if(e){const i=Lf(c=>c.type.name===e)(t.selection);if(!i)return!1;const o=t.doc.resolve(i.pos+1);return a.pos+1===o.end()}return!(r.parentOffset{const{$from:e,$to:n}=t.selection;return!(e.parentOffset>0||e.pos!==n.pos)};function bN(t,e){return Array.isArray(e)?e.some(n=>(typeof n=="string"?n:n.name)===t.name):e}function vN(t,e){const{nodeExtensions:n}=Bl(e),r=n.find(o=>o.name===t);if(!r)return!1;const a={name:r.name,options:r.options,storage:r.storage},i=jt(We(r,"group",a));return typeof i!="string"?!1:i.split(" ").includes("list")}function _f(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(t.type.name==="hardBreak")return!0;if(t.isText)return/^\s*$/m.test((r=t.text)!=null?r:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let a=!0;return t.content.forEach(i=>{a!==!1&&(_f(i,{ignoreWhitespace:n,checkChildren:e})||(a=!1))}),a}return!1}function M2(t){return t instanceof Je}var A2=class I2{constructor(e){this.position=e}static fromJSON(e){return new I2(e.position)}toJSON(){return{position:this.position}}};function n6(t,e){const n=e.mapping.mapResult(t.position);return{position:new A2(n.pos),mapResult:n}}function r6(t){return new A2(t)}function s6(t,e,n){var r;const{selection:a}=e;let i=null;if(m2(a)&&(i=a.$cursor),i){const c=(r=t.storedMarks)!=null?r:i.marks();return i.parent.type.allowsMarkType(n)&&(!!n.isInSet(c)||!c.some(h=>h.type.excludes(n)))}const{ranges:o}=a;return o.some(({$from:c,$to:u})=>{let h=c.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(n):!1;return t.doc.nodesBetween(c.pos,u.pos,(f,m,g)=>{if(h)return!1;if(f.isInline){const y=!g||g.type.allowsMarkType(n),v=!!n.isInSet(f.marks)||!f.marks.some(w=>w.type.excludes(n));h=y&&v}return!h}),h})}var a6=(t,e={})=>({tr:n,state:r,dispatch:a})=>{const{selection:i}=n,{empty:o,ranges:c}=i,u=Ra(t,r.schema);if(a)if(o){const h=b2(r,u);n.addStoredMark(u.create({...h,...e}))}else c.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;r.doc.nodesBetween(f,m,(g,y)=>{const v=Math.max(y,f),w=Math.min(y+g.nodeSize,m);g.marks.find(k=>k.type===u)?g.marks.forEach(k=>{u===k.type&&n.addMark(v,w,u.create({...k.attrs,...e}))}):n.addMark(v,w,u.create(e))})});return s6(r,n,u)},i6=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),o6=(t,e={})=>({state:n,dispatch:r,chain:a})=>{const i=Nn(t,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),i.isTextblock?a().command(({commands:c})=>R1(i,{...o,...e})(n)?!0:c.clearNodes()).command(({state:c})=>R1(i,{...o,...e})(c,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},l6=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,a=xo(t,0,r.content.size),i=Je.create(r,a);e.setSelection(i)}return!0},c6=(t,e)=>({tr:n,state:r,dispatch:a})=>{const{selection:i}=r;let o,c;return typeof e=="number"?(o=e,c=e):e&&"from"in e&&"to"in e?(o=e.from,c=e.to):(o=i.from,c=i.to),a&&n.doc.nodesBetween(o,c,(u,h)=>{u.isText||n.setNodeMarkup(h,void 0,{...u.attrs,dir:t})}),!0},d6=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,{from:a,to:i}=typeof t=="number"?{from:t,to:t}:t,o=Qe.atStart(r).from,c=Qe.atEnd(r).to,u=xo(a,o,c),h=xo(i,o,c),f=Qe.create(r,u,h);e.setSelection(f)}return!0},u6=t=>({state:e,dispatch:n})=>{const r=Nn(t,e.schema);return sD(r)(e,n)};function NN(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const r=n.filter(a=>e==null?void 0:e.includes(a.type.name));t.tr.ensureMarks(r)}}var h6=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:r,editor:a})=>{const{selection:i,doc:o}=e,{$from:c,$to:u}=i,h=a.extensionManager.attributes,f=ih(h,c.node().type.name,c.node().attrs);if(i instanceof Je&&i.node.isBlock)return!c.parentOffset||!Ea(o,c.pos)?!1:(r&&(t&&NN(n,a.extensionManager.splittableMarks),e.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;const m=u.parentOffset===u.parent.content.size,g=c.depth===0?void 0:F8(c.node(-1).contentMatchAt(c.indexAfter(-1)));let y=m&&g?[{type:g,attrs:f}]:void 0,v=Ea(e.doc,e.mapping.map(c.pos),1,y);if(!y&&!v&&Ea(e.doc,e.mapping.map(c.pos),1,g?[{type:g}]:void 0)&&(v=!0,y=g?[{type:g,attrs:f}]:void 0),r){if(v&&(i instanceof Qe&&e.deleteSelection(),e.split(e.mapping.map(c.pos),1,y),g&&!m&&!c.parentOffset&&c.parent.type!==g)){const w=e.mapping.map(c.before()),N=e.doc.resolve(w);c.node(-1).canReplaceWith(N.index(),N.index()+1,g)&&e.setNodeMarkup(e.mapping.map(c.before()),g)}t&&NN(n,a.extensionManager.splittableMarks),e.scrollIntoView()}return v},f6=(t,e={})=>({tr:n,state:r,dispatch:a,editor:i})=>{var o;const c=Nn(t,r.schema),{$from:u,$to:h}=r.selection,f=r.selection.node;if(f&&f.isBlock||u.depth<2||!u.sameParent(h))return!1;const m=u.node(-1);if(m.type!==c)return!1;const g=i.extensionManager.attributes;if(u.parent.content.size===0&&u.node(-1).childCount===u.indexAfter(-1)){if(u.depth===2||u.node(-3).type!==c||u.index(-2)!==u.node(-2).childCount-1)return!1;if(a){let k=xe.empty;const C=u.index(-1)?1:u.index(-2)?2:3;for(let P=u.depth-C;P>=u.depth-3;P-=1)k=xe.from(u.node(P).copy(k));const E=u.indexAfter(-1){if(_>-1)return!1;P.isTextblock&&P.content.size===0&&(_=L+1)}),_>-1&&n.setSelection(Qe.near(n.doc.resolve(_))),n.scrollIntoView()}return!0}const y=h.pos===u.end()?m.contentMatchAt(0).defaultType:null,v={...ih(g,m.type.name,m.attrs),...e},w={...ih(g,u.node().type.name,u.node().attrs),...e};n.delete(u.pos,h.pos);const N=y?[{type:c,attrs:v},{type:y,attrs:w}]:[{type:c,attrs:v}];if(!Ea(n.doc,u.pos,2))return!1;if(a){const{selection:k,storedMarks:C}=r,{splittableMarks:E}=i.extensionManager,A=C||k.$to.parentOffset&&k.$from.marks();if(n.split(u.pos,2,N).scrollIntoView(),!A||!a)return!0;const D=A.filter(H=>E.includes(H.type.name));n.ensureMarks(D)}return!0},ig=(t,e)=>{const n=Lf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;const a=t.doc.nodeAt(r);return n.node.type===(a==null?void 0:a.type)&&_i(t.doc,n.pos)&&t.join(n.pos),!0},og=(t,e)=>{const n=Lf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;const a=t.doc.nodeAt(r);return n.node.type===(a==null?void 0:a.type)&&_i(t.doc,r)&&t.join(r),!0},p6=(t,e,n,r={})=>({editor:a,tr:i,state:o,dispatch:c,chain:u,commands:h,can:f})=>{const{extensions:m,splittableMarks:g}=a.extensionManager,y=Nn(t,o.schema),v=Nn(e,o.schema),{selection:w,storedMarks:N}=o,{$from:k,$to:C}=w,E=k.blockRange(C),A=N||w.$to.parentOffset&&w.$from.marks();if(!E)return!1;const D=Lf(H=>vN(H.type.name,m))(w);if(E.depth>=1&&D&&E.depth-D.depth<=1){if(D.node.type===y)return h.liftListItem(v);if(vN(D.node.type.name,m)&&y.validContent(D.node.content)&&c)return u().command(()=>(i.setNodeMarkup(D.pos,y),!0)).command(()=>ig(i,y)).command(()=>og(i,y)).run()}return!n||!A||!c?u().command(()=>f().wrapInList(y,r)?!0:h.clearNodes()).wrapInList(y,r).command(()=>ig(i,y)).command(()=>og(i,y)).run():u().command(()=>{const H=f().wrapInList(y,r),_=A.filter(P=>g.includes(P.type.name));return i.ensureMarks(_),H?!0:h.clearNodes()}).wrapInList(y,r).command(()=>ig(i,y)).command(()=>og(i,y)).run()},m6=(t,e={},n={})=>({state:r,commands:a})=>{const{extendEmptyMarkRange:i=!1}=n,o=Ra(t,r.schema);return dx(r,o,e)?a.unsetMark(o,{extendEmptyMarkRange:i}):a.setMark(o,e)},g6=(t,e,n={})=>({state:r,commands:a})=>{const i=Nn(t,r.schema),o=Nn(e,r.schema),c=Ai(r,i,n);let u;return r.selection.$anchor.sameParent(r.selection.$head)&&(u=r.selection.$anchor.parent.attrs),c?a.setNode(o,u):a.setNode(i,{...u,...n})},x6=(t,e={})=>({state:n,commands:r})=>{const a=Nn(t,n.schema);return Ai(n,a,e)?r.lift(a):r.wrapIn(a,e)},y6=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let r=0;r=0;u-=1)o.step(c.steps[u].invert(c.docs[u]));if(i.text){const u=o.doc.resolve(i.from).marks();o.replaceWith(i.from,i.to,t.schema.text(i.text,u))}else o.delete(i.from,i.to)}return!0}}return!1},b6=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:r,ranges:a}=n;return r||e&&a.forEach(i=>{t.removeMark(i.$from.pos,i.$to.pos)}),!0},v6=(t,e={})=>({tr:n,state:r,dispatch:a})=>{var i;const{extendEmptyMarkRange:o=!1}=e,{selection:c}=n,u=Ra(t,r.schema),{$from:h,empty:f,ranges:m}=c;if(!a)return!0;if(f&&o){let{from:g,to:y}=c;const v=(i=h.marks().find(N=>N.type===u))==null?void 0:i.attrs,w=I0(h,u,v);w&&(g=w.from,y=w.to),n.removeMark(g,y,u)}else m.forEach(g=>{n.removeMark(g.$from.pos,g.$to.pos,u)});return n.removeStoredMark(u),!0},N6=t=>({tr:e,state:n,dispatch:r})=>{const{selection:a}=n;let i,o;return typeof t=="number"?(i=t,o=t):t&&"from"in t&&"to"in t?(i=t.from,o=t.to):(i=a.from,o=a.to),r&&e.doc.nodesBetween(i,o,(c,u)=>{if(c.isText)return;const h={...c.attrs};delete h.dir,e.setNodeMarkup(u,void 0,h)}),!0},w6=(t,e={})=>({tr:n,state:r,dispatch:a})=>{let i=null,o=null;const c=Df(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(i=Nn(t,r.schema)),c==="mark"&&(o=Ra(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;let g,y,v,w;n.selection.empty?r.doc.nodesBetween(f,m,(N,k)=>{i&&i===N.type&&(u=!0,v=Math.max(k,f),w=Math.min(k+N.nodeSize,m),g=k,y=N)}):r.doc.nodesBetween(f,m,(N,k)=>{k=f&&k<=m&&(i&&i===N.type&&(u=!0,a&&n.setNodeMarkup(k,void 0,{...N.attrs,...e})),o&&N.marks.length&&N.marks.forEach(C=>{if(o===C.type&&(u=!0,a)){const E=Math.max(k,f),A=Math.min(k+N.nodeSize,m);n.addMark(E,A,o.create({...C.attrs,...e}))}}))}),y&&(g!==void 0&&a&&n.setNodeMarkup(g,void 0,{...y.attrs,...e}),o&&y.marks.length&&y.marks.forEach(N=>{o===N.type&&a&&n.addMark(v,w,o.create({...N.attrs,...e}))}))}),u},j6=(t,e={})=>({state:n,dispatch:r})=>{const a=Nn(t,n.schema);return QO(a,e)(n,r)},k6=(t,e={})=>({state:n,dispatch:r})=>{const a=Nn(t,n.schema);return XO(a,e)(n,r)},S6=class{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const n=this.callbacks[t];return n&&n.forEach(r=>r.apply(this,e)),this}off(t,e){const n=this.callbacks[t];return n&&(e?this.callbacks[t]=n.filter(r=>r!==e):delete this.callbacks[t]),this}once(t,e){const n=(...r)=>{this.off(t,n),e.apply(this,r)};return this.on(t,n)}removeAllListeners(){this.callbacks={}}},zf=class{constructor(t){var e;this.find=t.find,this.handler=t.handler,this.undoable=(e=t.undoable)!=null?e:!0}},C6=(t,e)=>{if(A0(e))return e.exec(t);const n=e(t);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function Hu(t){var e;const{editor:n,from:r,to:a,text:i,rules:o,plugin:c}=t,{view:u}=n;if(u.composing)return!1;const h=u.state.doc.resolve(r);if(h.parent.type.spec.code||(e=h.nodeBefore||h.nodeAfter)!=null&&e.marks.find(g=>g.type.spec.code))return!1;let f=!1;const m=X8(h)+i;return o.forEach(g=>{if(f)return;const y=C6(m,g.find);if(!y)return;const v=u.state.tr,w=Pf({state:u.state,transaction:v}),N={from:r-(y[0].length-i.length),to:a},{commands:k,chain:C,can:E}=new Of({editor:n,state:w});g.handler({state:w,range:N,match:y,commands:k,chain:C,can:E})===null||!v.steps.length||(g.undoable&&v.setMeta(c,{transform:v,from:r,to:a,text:i}),u.dispatch(v),f=!0)}),f}function E6(t){const{editor:e,rules:n}=t,r=new Ut({state:{init(){return null},apply(a,i,o){const c=a.getMeta(r);if(c)return c;const u=a.getMeta("applyInputRules");return!!u&&setTimeout(()=>{let{text:f}=u;typeof f=="string"?f=f:f=P0(xe.from(f),o.schema);const{from:m}=u,g=m+f.length;Hu({editor:e,from:m,to:g,text:f,rules:n,plugin:r})}),a.selectionSet||a.docChanged?null:i}},props:{handleTextInput(a,i,o,c){return Hu({editor:e,from:i,to:o,text:c,rules:n,plugin:r})},handleDOMEvents:{compositionend:a=>(setTimeout(()=>{const{$cursor:i}=a.state.selection;i&&Hu({editor:e,from:i.pos,to:i.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(a,i){if(i.key!=="Enter")return!1;const{$cursor:o}=a.state.selection;return o?Hu({editor:e,from:o.pos,to:o.pos,text:` -`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function T6(t){return Object.prototype.toString.call(t).slice(8,-1)}function Wu(t){return T6(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function R2(t,e){const n={...t};return Wu(t)&&Wu(e)&&Object.keys(e).forEach(r=>{Wu(e[r])&&Wu(t[r])?n[r]=R2(t[r],e[r]):n[r]=e[r]}),n}var D0=class{constructor(t={}){this.type="extendable",this.parent=null,this.child=null,this.name="",this.config={name:this.name},this.config={...this.config,...t},this.name=this.config.name}get options(){return{...jt(We(this,"addOptions",{name:this.name}))||{}}}get storage(){return{...jt(We(this,"addStorage",{name:this.name,options:this.options}))||{}}}configure(t={}){const e=this.extend({...this.config,addOptions:()=>R2(this.options,t)});return e.name=this.name,e.parent=this.parent,e}extend(t={}){const e=new this.constructor({...this.config,...t});return e.parent=this,this.child=e,e.name="name"in t?t.name:e.parent.name,e}},Fo=class P2 extends D0{constructor(){super(...arguments),this.type="mark"}static create(e={}){const n=typeof e=="function"?e():e;return new P2(n)}static handleExit({editor:e,mark:n}){const{tr:r}=e.state,a=e.state.selection.$from;if(a.pos===a.end()){const o=a.marks();if(!!!o.find(h=>(h==null?void 0:h.type.name)===n.name))return!1;const u=o.find(h=>(h==null?void 0:h.type.name)===n.name);return u&&r.removeStoredMark(u),r.insertText(" ",a.pos),e.view.dispatch(r),!0}return!1}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function M6(t){return typeof t=="number"}var A6=class{constructor(t){this.find=t.find,this.handler=t.handler}},I6=(t,e,n)=>{if(A0(e))return[...t.matchAll(e)];const r=e(t,n);return r?r.map(a=>{const i=[a.text];return i.index=a.index,i.input=t,i.data=a.data,a.replaceWith&&(a.text.includes(a.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),i.push(a.replaceWith)),i}):[]};function R6(t){const{editor:e,state:n,from:r,to:a,rule:i,pasteEvent:o,dropEvent:c}=t,{commands:u,chain:h,can:f}=new Of({editor:e,state:n}),m=[];return n.doc.nodesBetween(r,a,(y,v)=>{var w,N,k,C,E;if((N=(w=y.type)==null?void 0:w.spec)!=null&&N.code||!(y.isText||y.isTextblock||y.isInline))return;const A=(E=(C=(k=y.content)==null?void 0:k.size)!=null?C:y.nodeSize)!=null?E:0,D=Math.max(r,v),H=Math.min(a,v+A);if(D>=H)return;const _=y.isText?y.text||"":y.textBetween(D-v,H-v,void 0,"");I6(_,i.find,o).forEach(L=>{if(L.index===void 0)return;const $=D+L.index+1,ee=$+L[0].length,K={from:n.tr.mapping.map($),to:n.tr.mapping.map(ee)},ue=i.handler({state:n,range:K,match:L,commands:u,chain:h,can:f,pasteEvent:o,dropEvent:c});m.push(ue)})}),m.every(y=>y!==null)}var Uu=null,P6=t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=n.clipboardData)==null||e.setData("text/html",t),n};function O6(t){const{editor:e,rules:n}=t;let r=null,a=!1,i=!1,o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,c;try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}const u=({state:f,from:m,to:g,rule:y,pasteEvt:v})=>{const w=f.tr,N=Pf({state:f,transaction:w});if(!(!R6({editor:e,state:N,from:Math.max(m-1,0),to:g.b-1,rule:y,pasteEvent:v,dropEvent:c})||!w.steps.length)){try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}return o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,w}};return n.map(f=>new Ut({view(m){const g=v=>{var w;r=(w=m.dom.parentElement)!=null&&w.contains(v.target)?m.dom.parentElement:null,r&&(Uu=e)},y=()=>{Uu&&(Uu=null)};return window.addEventListener("dragstart",g),window.addEventListener("dragend",y),{destroy(){window.removeEventListener("dragstart",g),window.removeEventListener("dragend",y)}}},props:{handleDOMEvents:{drop:(m,g)=>{if(i=r===m.dom.parentElement,c=g,!i){const y=Uu;y!=null&&y.isEditable&&setTimeout(()=>{const v=y.state.selection;v&&y.commands.deleteRange({from:v.from,to:v.to})},10)}return!1},paste:(m,g)=>{var y;const v=(y=g.clipboardData)==null?void 0:y.getData("text/html");return o=g,a=!!(v!=null&&v.includes("data-pm-slice")),!1}}},appendTransaction:(m,g,y)=>{const v=m[0],w=v.getMeta("uiEvent")==="paste"&&!a,N=v.getMeta("uiEvent")==="drop"&&!i,k=v.getMeta("applyPasteRules"),C=!!k;if(!w&&!N&&!C)return;if(C){let{text:D}=k;typeof D=="string"?D=D:D=P0(xe.from(D),y.schema);const{from:H}=k,_=H+D.length,P=P6(D);return u({rule:f,state:y,from:H,to:{b:_},pasteEvt:P})}const E=g.doc.content.findDiffStart(y.doc.content),A=g.doc.content.findDiffEnd(y.doc.content);if(!(!M6(E)||!A||E===A.b))return u({rule:f,state:y,from:E,to:A,pasteEvt:o})}}))}var $f=class{constructor(t,e){this.splittableMarks=[],this.editor=e,this.baseExtensions=t,this.extensions=k2(t),this.schema=U8(this.extensions,e),this.setupExtensions()}get commands(){return this.extensions.reduce((t,e)=>{const n={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:Lc(e.name,this.schema)},r=We(e,"addCommands",n);return r?{...t,...r()}:t},{})}get plugins(){const{editor:t}=this;return Xc([...this.extensions].reverse()).flatMap(r=>{const a={name:r.name,options:r.options,storage:this.editor.extensionStorage[r.name],editor:t,type:Lc(r.name,this.schema)},i=[],o=We(r,"addKeyboardShortcuts",a);let c={};if(r.type==="mark"&&We(r,"exitable",a)&&(c.ArrowRight=()=>Fo.handleExit({editor:t,mark:r})),o){const g=Object.fromEntries(Object.entries(o()).map(([y,v])=>[y,()=>v({editor:t})]));c={...c,...g}}const u=GL(c);i.push(u);const h=We(r,"addInputRules",a);if(bN(r,t.options.enableInputRules)&&h){const g=h();if(g&&g.length){const y=E6({editor:t,rules:g}),v=Array.isArray(y)?y:[y];i.push(...v)}}const f=We(r,"addPasteRules",a);if(bN(r,t.options.enablePasteRules)&&f){const g=f();if(g&&g.length){const y=O6({editor:t,rules:g});i.push(...y)}}const m=We(r,"addProseMirrorPlugins",a);if(m){const g=m();i.push(...g)}return i})}get attributes(){return j2(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=Bl(this.extensions);return Object.fromEntries(e.filter(n=>!!We(n,"addNodeView")).map(n=>{const r=this.attributes.filter(u=>u.type===n.name),a={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:Nn(n.name,this.schema)},i=We(n,"addNodeView",a);if(!i)return[];const o=i();if(!o)return[];const c=(u,h,f,m,g)=>{const y=xd(u,r);return o({node:u,view:h,getPos:f,decorations:m,innerDecorations:g,editor:t,extension:n,HTMLAttributes:y})};return[n.name,c]}))}dispatchTransaction(t){const{editor:e}=this;return Xc([...this.extensions].reverse()).reduceRight((r,a)=>{const i={name:a.name,options:a.options,storage:this.editor.extensionStorage[a.name],editor:e,type:Lc(a.name,this.schema)},o=We(a,"dispatchTransaction",i);return o?c=>{o.call(i,{transaction:c,next:r})}:r},t)}transformPastedHTML(t){const{editor:e}=this;return Xc([...this.extensions]).reduce((r,a)=>{const i={name:a.name,options:a.options,storage:this.editor.extensionStorage[a.name],editor:e,type:Lc(a.name,this.schema)},o=We(a,"transformPastedHTML",i);return o?(c,u)=>{const h=r(c,u);return o.call(i,h)}:r},t||(r=>r))}get markViews(){const{editor:t}=this,{markExtensions:e}=Bl(this.extensions);return Object.fromEntries(e.filter(n=>!!We(n,"addMarkView")).map(n=>{const r=this.attributes.filter(c=>c.type===n.name),a={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:Ra(n.name,this.schema)},i=We(n,"addMarkView",a);if(!i)return[];const o=(c,u,h)=>{const f=xd(c,r);return i()({mark:c,view:u,inline:h,editor:t,extension:n,HTMLAttributes:f,updateAttributes:m=>{J6(c,t,m)}})};return[n.name,o]}))}setupExtensions(){const t=this.extensions;this.editor.extensionStorage=Object.fromEntries(t.map(e=>[e.name,e.storage])),t.forEach(e=>{var n;const r={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:Lc(e.name,this.schema)};e.type==="mark"&&((n=jt(We(e,"keepOnSplit",r)))==null||n)&&this.splittableMarks.push(e.name);const a=We(e,"onBeforeCreate",r),i=We(e,"onCreate",r),o=We(e,"onUpdate",r),c=We(e,"onSelectionUpdate",r),u=We(e,"onTransaction",r),h=We(e,"onFocus",r),f=We(e,"onBlur",r),m=We(e,"onDestroy",r);a&&this.editor.on("beforeCreate",a),i&&this.editor.on("create",i),o&&this.editor.on("update",o),c&&this.editor.on("selectionUpdate",c),u&&this.editor.on("transaction",u),h&&this.editor.on("focus",h),f&&this.editor.on("blur",f),m&&this.editor.on("destroy",m)})}};$f.resolve=k2;$f.sort=Xc;$f.flatten=R0;var D6={};M0(D6,{ClipboardTextSerializer:()=>D2,Commands:()=>L2,Delete:()=>_2,Drop:()=>z2,Editable:()=>$2,FocusEvents:()=>B2,Keymap:()=>V2,Paste:()=>H2,Tabindex:()=>W2,TextDirection:()=>U2,focusEventsPluginKey:()=>F2});var dn=class O2 extends D0{constructor(){super(...arguments),this.type="extension"}static create(e={}){const n=typeof e=="function"?e():e;return new O2(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}},D2=dn.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Ut({key:new Yt("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:r,selection:a}=e,{ranges:i}=a,o=Math.min(...i.map(f=>f.$from.pos)),c=Math.max(...i.map(f=>f.$to.pos)),u=C2(n);return S2(r,{from:o,to:c},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:u})}}})]}}),L2=dn.create({name:"commands",addCommands(){return{...f2}}}),_2=dn.create({name:"delete",onUpdate({transaction:t,appendedTransactions:e}){var n,r,a;const i=()=>{var o,c,u,h;if((h=(u=(c=(o=this.editor.options.coreExtensionOptions)==null?void 0:o.delete)==null?void 0:c.filterTransaction)==null?void 0:u.call(c,t))!=null?h:t.getMeta("y-sync$"))return;const f=v2(t.before,[t,...e]);T2(f).forEach(y=>{f.mapping.mapResult(y.oldRange.from).deletedAfter&&f.mapping.mapResult(y.oldRange.to).deletedBefore&&f.before.nodesBetween(y.oldRange.from,y.oldRange.to,(v,w)=>{const N=w+v.nodeSize-2,k=y.oldRange.from<=w&&N<=y.oldRange.to;this.editor.emit("delete",{type:"node",node:v,from:w,to:N,newFrom:f.mapping.map(w),newTo:f.mapping.map(N),deletedRange:y.oldRange,newRange:y.newRange,partial:!k,editor:this.editor,transaction:t,combinedTransform:f})})});const g=f.mapping;f.steps.forEach((y,v)=>{var w,N;if(y instanceof vs){const k=g.slice(v).map(y.from,-1),C=g.slice(v).map(y.to),E=g.invert().map(k,-1),A=g.invert().map(C),D=(w=f.doc.nodeAt(k-1))==null?void 0:w.marks.some(_=>_.eq(y.mark)),H=(N=f.doc.nodeAt(C))==null?void 0:N.marks.some(_=>_.eq(y.mark));this.editor.emit("delete",{type:"mark",mark:y.mark,from:y.from,to:y.to,deletedRange:{from:E,to:A},newRange:{from:k,to:C},partial:!!(H||D),editor:this.editor,transaction:t,combinedTransform:f})}})};(a=(r=(n=this.editor.options.coreExtensionOptions)==null?void 0:n.delete)==null?void 0:r.async)==null||a?setTimeout(i,0):i()}}),z2=dn.create({name:"drop",addProseMirrorPlugins(){return[new Ut({key:new Yt("tiptapDrop"),props:{handleDrop:(t,e,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:r})}}})]}}),$2=dn.create({name:"editable",addProseMirrorPlugins(){return[new Ut({key:new Yt("editable"),props:{editable:()=>this.editor.options.editable}})]}}),F2=new Yt("focusEvents"),B2=dn.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new Ut({key:F2,props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const r=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,n)=>{t.isFocused=!1;const r=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),V2=dn.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:o})=>[()=>o.undoInputRule(),()=>o.command(({tr:c})=>{const{selection:u,doc:h}=c,{empty:f,$anchor:m}=u,{pos:g,parent:y}=m,v=m.parent.isTextblock&&g>0?c.doc.resolve(g-1):m,w=v.parent.type.spec.isolating,N=m.pos-m.parentOffset,k=w&&v.parent.childCount===1?N===m.pos:tt.atStart(h).from===g;return!f||!y.type.isTextblock||y.textContent.length||!k||k&&m.parent.type.name==="paragraph"?!1:o.clearNodes()}),()=>o.deleteSelection(),()=>o.joinBackward(),()=>o.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:o})=>[()=>o.deleteSelection(),()=>o.deleteCurrentNode(),()=>o.joinForward(),()=>o.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:o})=>[()=>o.newlineInCode(),()=>o.createParagraphNear(),()=>o.liftEmptyBlock(),()=>o.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},a={...r},i={...r,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Rh()||y2()?i:a},addProseMirrorPlugins(){return[new Ut({key:new Yt("clearDocument"),appendTransaction:(t,e,n)=>{if(t.some(w=>w.getMeta("composition")))return;const r=t.some(w=>w.docChanged)&&!e.doc.eq(n.doc),a=t.some(w=>w.getMeta("preventClearDocument"));if(!r||a)return;const{empty:i,from:o,to:c}=e.selection,u=tt.atStart(e.doc).from,h=tt.atEnd(e.doc).to;if(i||!(o===u&&c===h)||!_f(n.doc))return;const g=n.tr,y=Pf({state:n,transaction:g}),{commands:v}=new Of({editor:this.editor,state:y});if(v.clearNodes(),!!g.steps.length)return g}})]}}),H2=dn.create({name:"paste",addProseMirrorPlugins(){return[new Ut({key:new Yt("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),W2=dn.create({name:"tabindex",addProseMirrorPlugins(){return[new Ut({key:new Yt("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}}),U2=dn.create({name:"textDirection",addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];const{nodeExtensions:t}=Bl(this.extensions);return[{types:t.filter(e=>e.name!=="text").map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{const n=e.getAttribute("dir");return n&&(n==="ltr"||n==="rtl"||n==="auto")?n:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new Ut({key:new Yt("textDirection"),props:{attributes:()=>{const t=this.options.direction;return t?{dir:t}:{}}}})]}}),L6=class Hc{constructor(e,n,r=!1,a=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=e,this.editor=n,this.currentNode=a}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!=null?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let n=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:n,to:r},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(e);return new Hc(n,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new Hc(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new Hc(e,this.editor)}get children(){const e=[];return this.node.content.forEach((n,r)=>{const a=n.isBlock&&!n.isTextblock,i=n.isAtom&&!n.isText,o=n.isInline,c=this.pos+r+(i?0:1);if(c<0||c>this.resolvedPos.doc.nodeSize-2)return;const u=this.resolvedPos.doc.resolve(c);if(!a&&!o&&u.depth<=this.depth)return;const h=new Hc(u,this.editor,a,a||o?n:null);a&&(h.actualDepth=this.depth+1),e.push(h)}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,n={}){let r=null,a=this.parent;for(;a&&!r;){if(a.node.type.name===e)if(Object.keys(n).length>0){const i=a.node.attrs,o=Object.keys(n);for(let c=0;c{r&&a.length>0||(o.node.type.name===e&&i.every(u=>n[u]===o.node.attrs[u])&&a.push(o),!(r&&a.length>0)&&(a=a.concat(o.querySelectorAll(e,n,r))))}),a}setAttribute(e){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(n)}},_6=`.ProseMirror { +`,textSerializers:o={}}=n||{};let c="";return t.nodesBetween(r,a,(u,h,f,m)=>{var g;u.isBlock&&h>r&&(c+=i);const y=o==null?void 0:o[u.type.name];if(y)return f&&(c+=y({node:u,pos:h,parent:f,index:m,range:e})),!1;u.isText&&(c+=(g=u==null?void 0:u.text)==null?void 0:g.slice(Math.max(r,h)-h,a-h))}),c}function G8(t,e){const n={from:0,to:t.content.size};return E2(t,n,e)}function T2(t){return Object.fromEntries(Object.entries(t.nodes).filter(([,e])=>e.spec.toText).map(([e,n])=>[e,n.spec.toText]))}function J8(t,e){const n=Nn(e,t.schema),{from:r,to:a}=t.selection,i=[];t.doc.nodesBetween(r,a,c=>{i.push(c)});const o=i.reverse().find(c=>c.type.name===n.name);return o?{...o.attrs}:{}}function M2(t,e){const n=_f(typeof e=="string"?e:e.name,t.schema);return n==="node"?J8(t,e):n==="mark"?N2(t,e):{}}function Y8(t,e=JSON.stringify){const n={};return t.filter(r=>{const a=e(r);return Object.prototype.hasOwnProperty.call(n,a)?!1:n[a]=!0})}function Q8(t){const e=Y8(t);return e.length===1?e:e.filter((n,r)=>!e.filter((i,o)=>o!==r).some(i=>n.oldRange.from>=i.oldRange.from&&n.oldRange.to<=i.oldRange.to&&n.newRange.from>=i.newRange.from&&n.newRange.to<=i.newRange.to))}function A2(t){const{mapping:e,steps:n}=t,r=[];return e.maps.forEach((a,i)=>{const o=[];if(a.ranges.length)a.forEach((c,u)=>{o.push({from:c,to:u})});else{const{from:c,to:u}=n[i];if(c===void 0||u===void 0)return;o.push({from:c,to:u})}o.forEach(({from:c,to:u})=>{const h=e.slice(i).map(c,-1),f=e.slice(i).map(u),m=e.invert().map(h,-1),g=e.invert().map(f);r.push({oldRange:{from:m,to:g},newRange:{from:h,to:f}})})}),Q8(r)}function L0(t,e,n){const r=[];return t===e?n.resolve(t).marks().forEach(a=>{const i=n.resolve(t),o=P0(i,a.type);o&&r.push({mark:a,...o})}):n.nodesBetween(t,e,(a,i)=>{!a||(a==null?void 0:a.nodeSize)===void 0||r.push(...a.marks.map(o=>({from:i,to:i+a.nodeSize,mark:o})))}),r}var X8=(t,e,n,r=20)=>{const a=t.doc.resolve(n);let i=r,o=null;for(;i>0&&o===null;){const c=a.node(i);(c==null?void 0:c.type.name)===e?o=c:i-=1}return[o,i]};function Lc(t,e){return e.nodes[t]||e.marks[t]||null}function lh(t,e,n){return Object.fromEntries(Object.entries(n).filter(([r])=>{const a=t.find(i=>i.type===e&&i.name===r);return a?a.attribute.keepOnSplit:!1}))}var Z8=(t,e=500)=>{let n="";const r=t.parentOffset;return t.parent.nodesBetween(Math.max(0,r-e),r,(a,i,o,c)=>{var u,h;const f=((h=(u=a.type.spec).toText)==null?void 0:h.call(u,{node:a,pos:i,parent:o,index:c}))||a.textContent||"%leaf%";n+=a.isAtom&&!a.isText?f:f.slice(0,Math.max(0,r-i))}),n};function fx(t,e,n={}){const{empty:r,ranges:a}=t.selection,i=e?Ra(e,t.schema):null;if(r)return!!(t.storedMarks||t.selection.$from.marks()).filter(m=>i?i.name===m.type.name:!0).find(m=>Ph(m.attrs,n,{strict:!1}));let o=0;const c=[];if(a.forEach(({$from:m,$to:g})=>{const y=m.pos,v=g.pos;t.doc.nodesBetween(y,v,(w,N)=>{if(i&&w.inlineContent&&!w.type.allowsMarkType(i))return!1;if(!w.isText&&!w.marks.length)return;const k=Math.max(y,N),C=Math.min(v,N+w.nodeSize),E=C-k;o+=E,c.push(...w.marks.map(A=>({mark:A,from:k,to:C})))})}),o===0)return!1;const u=c.filter(m=>i?i.name===m.mark.type.name:!0).filter(m=>Ph(m.mark.attrs,n,{strict:!1})).reduce((m,g)=>m+g.to-g.from,0),h=c.filter(m=>i?m.mark.type!==i&&m.mark.type.excludes(i):!0).reduce((m,g)=>m+g.to-g.from,0);return(u>0?u+h:u)>=o}function e6(t,e,n={}){if(!e)return Ai(t,null,n)||fx(t,null,n);const r=_f(e,t.schema);return r==="node"?Ai(t,e,n):r==="mark"?fx(t,e,n):!1}var t6=(t,e)=>{const{$from:n,$to:r,$anchor:a}=t.selection;if(e){const i=zf(c=>c.type.name===e)(t.selection);if(!i)return!1;const o=t.doc.resolve(i.pos+1);return a.pos+1===o.end()}return!(r.parentOffset{const{$from:e,$to:n}=t.selection;return!(e.parentOffset>0||e.pos!==n.pos)};function NN(t,e){return Array.isArray(e)?e.some(n=>(typeof n=="string"?n:n.name)===t.name):e}function wN(t,e){const{nodeExtensions:n}=Bl(e),r=n.find(o=>o.name===t);if(!r)return!1;const a={name:r.name,options:r.options,storage:r.storage},i=jt(We(r,"group",a));return typeof i!="string"?!1:i.split(" ").includes("list")}function $f(t,{checkChildren:e=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(t.type.name==="hardBreak")return!0;if(t.isText)return/^\s*$/m.test((r=t.text)!=null?r:"")}if(t.isText)return!t.text;if(t.isAtom||t.isLeaf)return!1;if(t.content.childCount===0)return!0;if(e){let a=!0;return t.content.forEach(i=>{a!==!1&&($f(i,{ignoreWhitespace:n,checkChildren:e})||(a=!1))}),a}return!1}function I2(t){return t instanceof Je}var R2=class P2{constructor(e){this.position=e}static fromJSON(e){return new P2(e.position)}toJSON(){return{position:this.position}}};function r6(t,e){const n=e.mapping.mapResult(t.position);return{position:new R2(n.pos),mapResult:n}}function s6(t){return new R2(t)}function a6(t,e,n){var r;const{selection:a}=e;let i=null;if(x2(a)&&(i=a.$cursor),i){const c=(r=t.storedMarks)!=null?r:i.marks();return i.parent.type.allowsMarkType(n)&&(!!n.isInSet(c)||!c.some(h=>h.type.excludes(n)))}const{ranges:o}=a;return o.some(({$from:c,$to:u})=>{let h=c.depth===0?t.doc.inlineContent&&t.doc.type.allowsMarkType(n):!1;return t.doc.nodesBetween(c.pos,u.pos,(f,m,g)=>{if(h)return!1;if(f.isInline){const y=!g||g.type.allowsMarkType(n),v=!!n.isInSet(f.marks)||!f.marks.some(w=>w.type.excludes(n));h=y&&v}return!h}),h})}var i6=(t,e={})=>({tr:n,state:r,dispatch:a})=>{const{selection:i}=n,{empty:o,ranges:c}=i,u=Ra(t,r.schema);if(a)if(o){const h=N2(r,u);n.addStoredMark(u.create({...h,...e}))}else c.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;r.doc.nodesBetween(f,m,(g,y)=>{const v=Math.max(y,f),w=Math.min(y+g.nodeSize,m);g.marks.find(k=>k.type===u)?g.marks.forEach(k=>{u===k.type&&n.addMark(v,w,u.create({...k.attrs,...e}))}):n.addMark(v,w,u.create(e))})});return a6(r,n,u)},o6=(t,e)=>({tr:n})=>(n.setMeta(t,e),!0),l6=(t,e={})=>({state:n,dispatch:r,chain:a})=>{const i=Nn(t,n.schema);let o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),i.isTextblock?a().command(({commands:c})=>O1(i,{...o,...e})(n)?!0:c.clearNodes()).command(({state:c})=>O1(i,{...o,...e})(c,r)).run():(console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'),!1)},c6=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,a=xo(t,0,r.content.size),i=Je.create(r,a);e.setSelection(i)}return!0},d6=(t,e)=>({tr:n,state:r,dispatch:a})=>{const{selection:i}=r;let o,c;return typeof e=="number"?(o=e,c=e):e&&"from"in e&&"to"in e?(o=e.from,c=e.to):(o=i.from,c=i.to),a&&n.doc.nodesBetween(o,c,(u,h)=>{u.isText||n.setNodeMarkup(h,void 0,{...u.attrs,dir:t})}),!0},u6=t=>({tr:e,dispatch:n})=>{if(n){const{doc:r}=e,{from:a,to:i}=typeof t=="number"?{from:t,to:t}:t,o=Qe.atStart(r).from,c=Qe.atEnd(r).to,u=xo(a,o,c),h=xo(i,o,c),f=Qe.create(r,u,h);e.setSelection(f)}return!0},h6=t=>({state:e,dispatch:n})=>{const r=Nn(t,e.schema);return aD(r)(e,n)};function jN(t,e){const n=t.storedMarks||t.selection.$to.parentOffset&&t.selection.$from.marks();if(n){const r=n.filter(a=>e==null?void 0:e.includes(a.type.name));t.tr.ensureMarks(r)}}var f6=({keepMarks:t=!0}={})=>({tr:e,state:n,dispatch:r,editor:a})=>{const{selection:i,doc:o}=e,{$from:c,$to:u}=i,h=a.extensionManager.attributes,f=lh(h,c.node().type.name,c.node().attrs);if(i instanceof Je&&i.node.isBlock)return!c.parentOffset||!Ea(o,c.pos)?!1:(r&&(t&&jN(n,a.extensionManager.splittableMarks),e.split(c.pos).scrollIntoView()),!0);if(!c.parent.isBlock)return!1;const m=u.parentOffset===u.parent.content.size,g=c.depth===0?void 0:B8(c.node(-1).contentMatchAt(c.indexAfter(-1)));let y=m&&g?[{type:g,attrs:f}]:void 0,v=Ea(e.doc,e.mapping.map(c.pos),1,y);if(!y&&!v&&Ea(e.doc,e.mapping.map(c.pos),1,g?[{type:g}]:void 0)&&(v=!0,y=g?[{type:g,attrs:f}]:void 0),r){if(v&&(i instanceof Qe&&e.deleteSelection(),e.split(e.mapping.map(c.pos),1,y),g&&!m&&!c.parentOffset&&c.parent.type!==g)){const w=e.mapping.map(c.before()),N=e.doc.resolve(w);c.node(-1).canReplaceWith(N.index(),N.index()+1,g)&&e.setNodeMarkup(e.mapping.map(c.before()),g)}t&&jN(n,a.extensionManager.splittableMarks),e.scrollIntoView()}return v},p6=(t,e={})=>({tr:n,state:r,dispatch:a,editor:i})=>{var o;const c=Nn(t,r.schema),{$from:u,$to:h}=r.selection,f=r.selection.node;if(f&&f.isBlock||u.depth<2||!u.sameParent(h))return!1;const m=u.node(-1);if(m.type!==c)return!1;const g=i.extensionManager.attributes;if(u.parent.content.size===0&&u.node(-1).childCount===u.indexAfter(-1)){if(u.depth===2||u.node(-3).type!==c||u.index(-2)!==u.node(-2).childCount-1)return!1;if(a){let k=xe.empty;const C=u.index(-1)?1:u.index(-2)?2:3;for(let P=u.depth-C;P>=u.depth-3;P-=1)k=xe.from(u.node(P).copy(k));const E=u.indexAfter(-1){if(_>-1)return!1;P.isTextblock&&P.content.size===0&&(_=L+1)}),_>-1&&n.setSelection(Qe.near(n.doc.resolve(_))),n.scrollIntoView()}return!0}const y=h.pos===u.end()?m.contentMatchAt(0).defaultType:null,v={...lh(g,m.type.name,m.attrs),...e},w={...lh(g,u.node().type.name,u.node().attrs),...e};n.delete(u.pos,h.pos);const N=y?[{type:c,attrs:v},{type:y,attrs:w}]:[{type:c,attrs:v}];if(!Ea(n.doc,u.pos,2))return!1;if(a){const{selection:k,storedMarks:C}=r,{splittableMarks:E}=i.extensionManager,A=C||k.$to.parentOffset&&k.$from.marks();if(n.split(u.pos,2,N).scrollIntoView(),!A||!a)return!0;const D=A.filter(H=>E.includes(H.type.name));n.ensureMarks(D)}return!0},cg=(t,e)=>{const n=zf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;const a=t.doc.nodeAt(r);return n.node.type===(a==null?void 0:a.type)&&_i(t.doc,n.pos)&&t.join(n.pos),!0},dg=(t,e)=>{const n=zf(o=>o.type===e)(t.selection);if(!n)return!0;const r=t.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;const a=t.doc.nodeAt(r);return n.node.type===(a==null?void 0:a.type)&&_i(t.doc,r)&&t.join(r),!0},m6=(t,e,n,r={})=>({editor:a,tr:i,state:o,dispatch:c,chain:u,commands:h,can:f})=>{const{extensions:m,splittableMarks:g}=a.extensionManager,y=Nn(t,o.schema),v=Nn(e,o.schema),{selection:w,storedMarks:N}=o,{$from:k,$to:C}=w,E=k.blockRange(C),A=N||w.$to.parentOffset&&w.$from.marks();if(!E)return!1;const D=zf(H=>wN(H.type.name,m))(w);if(E.depth>=1&&D&&E.depth-D.depth<=1){if(D.node.type===y)return h.liftListItem(v);if(wN(D.node.type.name,m)&&y.validContent(D.node.content)&&c)return u().command(()=>(i.setNodeMarkup(D.pos,y),!0)).command(()=>cg(i,y)).command(()=>dg(i,y)).run()}return!n||!A||!c?u().command(()=>f().wrapInList(y,r)?!0:h.clearNodes()).wrapInList(y,r).command(()=>cg(i,y)).command(()=>dg(i,y)).run():u().command(()=>{const H=f().wrapInList(y,r),_=A.filter(P=>g.includes(P.type.name));return i.ensureMarks(_),H?!0:h.clearNodes()}).wrapInList(y,r).command(()=>cg(i,y)).command(()=>dg(i,y)).run()},g6=(t,e={},n={})=>({state:r,commands:a})=>{const{extendEmptyMarkRange:i=!1}=n,o=Ra(t,r.schema);return fx(r,o,e)?a.unsetMark(o,{extendEmptyMarkRange:i}):a.setMark(o,e)},x6=(t,e,n={})=>({state:r,commands:a})=>{const i=Nn(t,r.schema),o=Nn(e,r.schema),c=Ai(r,i,n);let u;return r.selection.$anchor.sameParent(r.selection.$head)&&(u=r.selection.$anchor.parent.attrs),c?a.setNode(o,u):a.setNode(i,{...u,...n})},y6=(t,e={})=>({state:n,commands:r})=>{const a=Nn(t,n.schema);return Ai(n,a,e)?r.lift(a):r.wrapIn(a,e)},b6=()=>({state:t,dispatch:e})=>{const n=t.plugins;for(let r=0;r=0;u-=1)o.step(c.steps[u].invert(c.docs[u]));if(i.text){const u=o.doc.resolve(i.from).marks();o.replaceWith(i.from,i.to,t.schema.text(i.text,u))}else o.delete(i.from,i.to)}return!0}}return!1},v6=()=>({tr:t,dispatch:e})=>{const{selection:n}=t,{empty:r,ranges:a}=n;return r||e&&a.forEach(i=>{t.removeMark(i.$from.pos,i.$to.pos)}),!0},N6=(t,e={})=>({tr:n,state:r,dispatch:a})=>{var i;const{extendEmptyMarkRange:o=!1}=e,{selection:c}=n,u=Ra(t,r.schema),{$from:h,empty:f,ranges:m}=c;if(!a)return!0;if(f&&o){let{from:g,to:y}=c;const v=(i=h.marks().find(N=>N.type===u))==null?void 0:i.attrs,w=P0(h,u,v);w&&(g=w.from,y=w.to),n.removeMark(g,y,u)}else m.forEach(g=>{n.removeMark(g.$from.pos,g.$to.pos,u)});return n.removeStoredMark(u),!0},w6=t=>({tr:e,state:n,dispatch:r})=>{const{selection:a}=n;let i,o;return typeof t=="number"?(i=t,o=t):t&&"from"in t&&"to"in t?(i=t.from,o=t.to):(i=a.from,o=a.to),r&&e.doc.nodesBetween(i,o,(c,u)=>{if(c.isText)return;const h={...c.attrs};delete h.dir,e.setNodeMarkup(u,void 0,h)}),!0},j6=(t,e={})=>({tr:n,state:r,dispatch:a})=>{let i=null,o=null;const c=_f(typeof t=="string"?t:t.name,r.schema);if(!c)return!1;c==="node"&&(i=Nn(t,r.schema)),c==="mark"&&(o=Ra(t,r.schema));let u=!1;return n.selection.ranges.forEach(h=>{const f=h.$from.pos,m=h.$to.pos;let g,y,v,w;n.selection.empty?r.doc.nodesBetween(f,m,(N,k)=>{i&&i===N.type&&(u=!0,v=Math.max(k,f),w=Math.min(k+N.nodeSize,m),g=k,y=N)}):r.doc.nodesBetween(f,m,(N,k)=>{k=f&&k<=m&&(i&&i===N.type&&(u=!0,a&&n.setNodeMarkup(k,void 0,{...N.attrs,...e})),o&&N.marks.length&&N.marks.forEach(C=>{if(o===C.type&&(u=!0,a)){const E=Math.max(k,f),A=Math.min(k+N.nodeSize,m);n.addMark(E,A,o.create({...C.attrs,...e}))}}))}),y&&(g!==void 0&&a&&n.setNodeMarkup(g,void 0,{...y.attrs,...e}),o&&y.marks.length&&y.marks.forEach(N=>{o===N.type&&a&&n.addMark(v,w,o.create({...N.attrs,...e}))}))}),u},k6=(t,e={})=>({state:n,dispatch:r})=>{const a=Nn(t,n.schema);return XO(a,e)(n,r)},S6=(t,e={})=>({state:n,dispatch:r})=>{const a=Nn(t,n.schema);return ZO(a,e)(n,r)},C6=class{constructor(){this.callbacks={}}on(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),this}emit(t,...e){const n=this.callbacks[t];return n&&n.forEach(r=>r.apply(this,e)),this}off(t,e){const n=this.callbacks[t];return n&&(e?this.callbacks[t]=n.filter(r=>r!==e):delete this.callbacks[t]),this}once(t,e){const n=(...r)=>{this.off(t,n),e.apply(this,r)};return this.on(t,n)}removeAllListeners(){this.callbacks={}}},Ff=class{constructor(t){var e;this.find=t.find,this.handler=t.handler,this.undoable=(e=t.undoable)!=null?e:!0}},E6=(t,e)=>{if(R0(e))return e.exec(t);const n=e(t);if(!n)return null;const r=[n.text];return r.index=n.index,r.input=t,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn('[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".'),r.push(n.replaceWith)),r};function Uu(t){var e;const{editor:n,from:r,to:a,text:i,rules:o,plugin:c}=t,{view:u}=n;if(u.composing)return!1;const h=u.state.doc.resolve(r);if(h.parent.type.spec.code||(e=h.nodeBefore||h.nodeAfter)!=null&&e.marks.find(g=>g.type.spec.code))return!1;let f=!1;const m=Z8(h)+i;return o.forEach(g=>{if(f)return;const y=E6(m,g.find);if(!y)return;const v=u.state.tr,w=Df({state:u.state,transaction:v}),N={from:r-(y[0].length-i.length),to:a},{commands:k,chain:C,can:E}=new Lf({editor:n,state:w});g.handler({state:w,range:N,match:y,commands:k,chain:C,can:E})===null||!v.steps.length||(g.undoable&&v.setMeta(c,{transform:v,from:r,to:a,text:i}),u.dispatch(v),f=!0)}),f}function T6(t){const{editor:e,rules:n}=t,r=new Ut({state:{init(){return null},apply(a,i,o){const c=a.getMeta(r);if(c)return c;const u=a.getMeta("applyInputRules");return!!u&&setTimeout(()=>{let{text:f}=u;typeof f=="string"?f=f:f=D0(xe.from(f),o.schema);const{from:m}=u,g=m+f.length;Uu({editor:e,from:m,to:g,text:f,rules:n,plugin:r})}),a.selectionSet||a.docChanged?null:i}},props:{handleTextInput(a,i,o,c){return Uu({editor:e,from:i,to:o,text:c,rules:n,plugin:r})},handleDOMEvents:{compositionend:a=>(setTimeout(()=>{const{$cursor:i}=a.state.selection;i&&Uu({editor:e,from:i.pos,to:i.pos,text:"",rules:n,plugin:r})}),!1)},handleKeyDown(a,i){if(i.key!=="Enter")return!1;const{$cursor:o}=a.state.selection;return o?Uu({editor:e,from:o.pos,to:o.pos,text:` +`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function M6(t){return Object.prototype.toString.call(t).slice(8,-1)}function Ku(t){return M6(t)!=="Object"?!1:t.constructor===Object&&Object.getPrototypeOf(t)===Object.prototype}function O2(t,e){const n={...t};return Ku(t)&&Ku(e)&&Object.keys(e).forEach(r=>{Ku(e[r])&&Ku(t[r])?n[r]=O2(t[r],e[r]):n[r]=e[r]}),n}var _0=class{constructor(t={}){this.type="extendable",this.parent=null,this.child=null,this.name="",this.config={name:this.name},this.config={...this.config,...t},this.name=this.config.name}get options(){return{...jt(We(this,"addOptions",{name:this.name}))||{}}}get storage(){return{...jt(We(this,"addStorage",{name:this.name,options:this.options}))||{}}}configure(t={}){const e=this.extend({...this.config,addOptions:()=>O2(this.options,t)});return e.name=this.name,e.parent=this.parent,e}extend(t={}){const e=new this.constructor({...this.config,...t});return e.parent=this,this.child=e,e.name="name"in t?t.name:e.parent.name,e}},Fo=class D2 extends _0{constructor(){super(...arguments),this.type="mark"}static create(e={}){const n=typeof e=="function"?e():e;return new D2(n)}static handleExit({editor:e,mark:n}){const{tr:r}=e.state,a=e.state.selection.$from;if(a.pos===a.end()){const o=a.marks();if(!!!o.find(h=>(h==null?void 0:h.type.name)===n.name))return!1;const u=o.find(h=>(h==null?void 0:h.type.name)===n.name);return u&&r.removeStoredMark(u),r.insertText(" ",a.pos),e.view.dispatch(r),!0}return!1}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function A6(t){return typeof t=="number"}var I6=class{constructor(t){this.find=t.find,this.handler=t.handler}},R6=(t,e,n)=>{if(R0(e))return[...t.matchAll(e)];const r=e(t,n);return r?r.map(a=>{const i=[a.text];return i.index=a.index,i.input=t,i.data=a.data,a.replaceWith&&(a.text.includes(a.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),i.push(a.replaceWith)),i}):[]};function P6(t){const{editor:e,state:n,from:r,to:a,rule:i,pasteEvent:o,dropEvent:c}=t,{commands:u,chain:h,can:f}=new Lf({editor:e,state:n}),m=[];return n.doc.nodesBetween(r,a,(y,v)=>{var w,N,k,C,E;if((N=(w=y.type)==null?void 0:w.spec)!=null&&N.code||!(y.isText||y.isTextblock||y.isInline))return;const A=(E=(C=(k=y.content)==null?void 0:k.size)!=null?C:y.nodeSize)!=null?E:0,D=Math.max(r,v),H=Math.min(a,v+A);if(D>=H)return;const _=y.isText?y.text||"":y.textBetween(D-v,H-v,void 0,"");R6(_,i.find,o).forEach(L=>{if(L.index===void 0)return;const $=D+L.index+1,ee=$+L[0].length,K={from:n.tr.mapping.map($),to:n.tr.mapping.map(ee)},ue=i.handler({state:n,range:K,match:L,commands:u,chain:h,can:f,pasteEvent:o,dropEvent:c});m.push(ue)})}),m.every(y=>y!==null)}var qu=null,O6=t=>{var e;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(e=n.clipboardData)==null||e.setData("text/html",t),n};function D6(t){const{editor:e,rules:n}=t;let r=null,a=!1,i=!1,o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,c;try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}const u=({state:f,from:m,to:g,rule:y,pasteEvt:v})=>{const w=f.tr,N=Df({state:f,transaction:w});if(!(!P6({editor:e,state:N,from:Math.max(m-1,0),to:g.b-1,rule:y,pasteEvent:v,dropEvent:c})||!w.steps.length)){try{c=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{c=null}return o=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,w}};return n.map(f=>new Ut({view(m){const g=v=>{var w;r=(w=m.dom.parentElement)!=null&&w.contains(v.target)?m.dom.parentElement:null,r&&(qu=e)},y=()=>{qu&&(qu=null)};return window.addEventListener("dragstart",g),window.addEventListener("dragend",y),{destroy(){window.removeEventListener("dragstart",g),window.removeEventListener("dragend",y)}}},props:{handleDOMEvents:{drop:(m,g)=>{if(i=r===m.dom.parentElement,c=g,!i){const y=qu;y!=null&&y.isEditable&&setTimeout(()=>{const v=y.state.selection;v&&y.commands.deleteRange({from:v.from,to:v.to})},10)}return!1},paste:(m,g)=>{var y;const v=(y=g.clipboardData)==null?void 0:y.getData("text/html");return o=g,a=!!(v!=null&&v.includes("data-pm-slice")),!1}}},appendTransaction:(m,g,y)=>{const v=m[0],w=v.getMeta("uiEvent")==="paste"&&!a,N=v.getMeta("uiEvent")==="drop"&&!i,k=v.getMeta("applyPasteRules"),C=!!k;if(!w&&!N&&!C)return;if(C){let{text:D}=k;typeof D=="string"?D=D:D=D0(xe.from(D),y.schema);const{from:H}=k,_=H+D.length,P=O6(D);return u({rule:f,state:y,from:H,to:{b:_},pasteEvt:P})}const E=g.doc.content.findDiffStart(y.doc.content),A=g.doc.content.findDiffEnd(y.doc.content);if(!(!A6(E)||!A||E===A.b))return u({rule:f,state:y,from:E,to:A,pasteEvt:o})}}))}var Bf=class{constructor(t,e){this.splittableMarks=[],this.editor=e,this.baseExtensions=t,this.extensions=C2(t),this.schema=K8(this.extensions,e),this.setupExtensions()}get commands(){return this.extensions.reduce((t,e)=>{const n={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:Lc(e.name,this.schema)},r=We(e,"addCommands",n);return r?{...t,...r()}:t},{})}get plugins(){const{editor:t}=this;return Xc([...this.extensions].reverse()).flatMap(r=>{const a={name:r.name,options:r.options,storage:this.editor.extensionStorage[r.name],editor:t,type:Lc(r.name,this.schema)},i=[],o=We(r,"addKeyboardShortcuts",a);let c={};if(r.type==="mark"&&We(r,"exitable",a)&&(c.ArrowRight=()=>Fo.handleExit({editor:t,mark:r})),o){const g=Object.fromEntries(Object.entries(o()).map(([y,v])=>[y,()=>v({editor:t})]));c={...c,...g}}const u=JL(c);i.push(u);const h=We(r,"addInputRules",a);if(NN(r,t.options.enableInputRules)&&h){const g=h();if(g&&g.length){const y=T6({editor:t,rules:g}),v=Array.isArray(y)?y:[y];i.push(...v)}}const f=We(r,"addPasteRules",a);if(NN(r,t.options.enablePasteRules)&&f){const g=f();if(g&&g.length){const y=D6({editor:t,rules:g});i.push(...y)}}const m=We(r,"addProseMirrorPlugins",a);if(m){const g=m();i.push(...g)}return i})}get attributes(){return S2(this.extensions)}get nodeViews(){const{editor:t}=this,{nodeExtensions:e}=Bl(this.extensions);return Object.fromEntries(e.filter(n=>!!We(n,"addNodeView")).map(n=>{const r=this.attributes.filter(u=>u.type===n.name),a={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:Nn(n.name,this.schema)},i=We(n,"addNodeView",a);if(!i)return[];const o=i();if(!o)return[];const c=(u,h,f,m,g)=>{const y=xd(u,r);return o({node:u,view:h,getPos:f,decorations:m,innerDecorations:g,editor:t,extension:n,HTMLAttributes:y})};return[n.name,c]}))}dispatchTransaction(t){const{editor:e}=this;return Xc([...this.extensions].reverse()).reduceRight((r,a)=>{const i={name:a.name,options:a.options,storage:this.editor.extensionStorage[a.name],editor:e,type:Lc(a.name,this.schema)},o=We(a,"dispatchTransaction",i);return o?c=>{o.call(i,{transaction:c,next:r})}:r},t)}transformPastedHTML(t){const{editor:e}=this;return Xc([...this.extensions]).reduce((r,a)=>{const i={name:a.name,options:a.options,storage:this.editor.extensionStorage[a.name],editor:e,type:Lc(a.name,this.schema)},o=We(a,"transformPastedHTML",i);return o?(c,u)=>{const h=r(c,u);return o.call(i,h)}:r},t||(r=>r))}get markViews(){const{editor:t}=this,{markExtensions:e}=Bl(this.extensions);return Object.fromEntries(e.filter(n=>!!We(n,"addMarkView")).map(n=>{const r=this.attributes.filter(c=>c.type===n.name),a={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:Ra(n.name,this.schema)},i=We(n,"addMarkView",a);if(!i)return[];const o=(c,u,h)=>{const f=xd(c,r);return i()({mark:c,view:u,inline:h,editor:t,extension:n,HTMLAttributes:f,updateAttributes:m=>{Y6(c,t,m)}})};return[n.name,o]}))}setupExtensions(){const t=this.extensions;this.editor.extensionStorage=Object.fromEntries(t.map(e=>[e.name,e.storage])),t.forEach(e=>{var n;const r={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:Lc(e.name,this.schema)};e.type==="mark"&&((n=jt(We(e,"keepOnSplit",r)))==null||n)&&this.splittableMarks.push(e.name);const a=We(e,"onBeforeCreate",r),i=We(e,"onCreate",r),o=We(e,"onUpdate",r),c=We(e,"onSelectionUpdate",r),u=We(e,"onTransaction",r),h=We(e,"onFocus",r),f=We(e,"onBlur",r),m=We(e,"onDestroy",r);a&&this.editor.on("beforeCreate",a),i&&this.editor.on("create",i),o&&this.editor.on("update",o),c&&this.editor.on("selectionUpdate",c),u&&this.editor.on("transaction",u),h&&this.editor.on("focus",h),f&&this.editor.on("blur",f),m&&this.editor.on("destroy",m)})}};Bf.resolve=C2;Bf.sort=Xc;Bf.flatten=O0;var L6={};I0(L6,{ClipboardTextSerializer:()=>_2,Commands:()=>z2,Delete:()=>$2,Drop:()=>F2,Editable:()=>B2,FocusEvents:()=>H2,Keymap:()=>W2,Paste:()=>U2,Tabindex:()=>K2,TextDirection:()=>q2,focusEventsPluginKey:()=>V2});var dn=class L2 extends _0{constructor(){super(...arguments),this.type="extension"}static create(e={}){const n=typeof e=="function"?e():e;return new L2(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}},_2=dn.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Ut({key:new Yt("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:t}=this,{state:e,schema:n}=t,{doc:r,selection:a}=e,{ranges:i}=a,o=Math.min(...i.map(f=>f.$from.pos)),c=Math.max(...i.map(f=>f.$to.pos)),u=T2(n);return E2(r,{from:o,to:c},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:u})}}})]}}),z2=dn.create({name:"commands",addCommands(){return{...m2}}}),$2=dn.create({name:"delete",onUpdate({transaction:t,appendedTransactions:e}){var n,r,a;const i=()=>{var o,c,u,h;if((h=(u=(c=(o=this.editor.options.coreExtensionOptions)==null?void 0:o.delete)==null?void 0:c.filterTransaction)==null?void 0:u.call(c,t))!=null?h:t.getMeta("y-sync$"))return;const f=w2(t.before,[t,...e]);A2(f).forEach(y=>{f.mapping.mapResult(y.oldRange.from).deletedAfter&&f.mapping.mapResult(y.oldRange.to).deletedBefore&&f.before.nodesBetween(y.oldRange.from,y.oldRange.to,(v,w)=>{const N=w+v.nodeSize-2,k=y.oldRange.from<=w&&N<=y.oldRange.to;this.editor.emit("delete",{type:"node",node:v,from:w,to:N,newFrom:f.mapping.map(w),newTo:f.mapping.map(N),deletedRange:y.oldRange,newRange:y.newRange,partial:!k,editor:this.editor,transaction:t,combinedTransform:f})})});const g=f.mapping;f.steps.forEach((y,v)=>{var w,N;if(y instanceof vs){const k=g.slice(v).map(y.from,-1),C=g.slice(v).map(y.to),E=g.invert().map(k,-1),A=g.invert().map(C),D=(w=f.doc.nodeAt(k-1))==null?void 0:w.marks.some(_=>_.eq(y.mark)),H=(N=f.doc.nodeAt(C))==null?void 0:N.marks.some(_=>_.eq(y.mark));this.editor.emit("delete",{type:"mark",mark:y.mark,from:y.from,to:y.to,deletedRange:{from:E,to:A},newRange:{from:k,to:C},partial:!!(H||D),editor:this.editor,transaction:t,combinedTransform:f})}})};(a=(r=(n=this.editor.options.coreExtensionOptions)==null?void 0:n.delete)==null?void 0:r.async)==null||a?setTimeout(i,0):i()}}),F2=dn.create({name:"drop",addProseMirrorPlugins(){return[new Ut({key:new Yt("tiptapDrop"),props:{handleDrop:(t,e,n,r)=>{this.editor.emit("drop",{editor:this.editor,event:e,slice:n,moved:r})}}})]}}),B2=dn.create({name:"editable",addProseMirrorPlugins(){return[new Ut({key:new Yt("editable"),props:{editable:()=>this.editor.options.editable}})]}}),V2=new Yt("focusEvents"),H2=dn.create({name:"focusEvents",addProseMirrorPlugins(){const{editor:t}=this;return[new Ut({key:V2,props:{handleDOMEvents:{focus:(e,n)=>{t.isFocused=!0;const r=t.state.tr.setMeta("focus",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1},blur:(e,n)=>{t.isFocused=!1;const r=t.state.tr.setMeta("blur",{event:n}).setMeta("addToHistory",!1);return e.dispatch(r),!1}}}})]}}),W2=dn.create({name:"keymap",addKeyboardShortcuts(){const t=()=>this.editor.commands.first(({commands:o})=>[()=>o.undoInputRule(),()=>o.command(({tr:c})=>{const{selection:u,doc:h}=c,{empty:f,$anchor:m}=u,{pos:g,parent:y}=m,v=m.parent.isTextblock&&g>0?c.doc.resolve(g-1):m,w=v.parent.type.spec.isolating,N=m.pos-m.parentOffset,k=w&&v.parent.childCount===1?N===m.pos:tt.atStart(h).from===g;return!f||!y.type.isTextblock||y.textContent.length||!k||k&&m.parent.type.name==="paragraph"?!1:o.clearNodes()}),()=>o.deleteSelection(),()=>o.joinBackward(),()=>o.selectNodeBackward()]),e=()=>this.editor.commands.first(({commands:o})=>[()=>o.deleteSelection(),()=>o.deleteCurrentNode(),()=>o.joinForward(),()=>o.selectNodeForward()]),r={Enter:()=>this.editor.commands.first(({commands:o})=>[()=>o.newlineInCode(),()=>o.createParagraphNear(),()=>o.liftEmptyBlock(),()=>o.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:t,"Mod-Backspace":t,"Shift-Backspace":t,Delete:e,"Mod-Delete":e,"Mod-a":()=>this.editor.commands.selectAll()},a={...r},i={...r,"Ctrl-h":t,"Alt-Backspace":t,"Ctrl-d":e,"Ctrl-Alt-Backspace":e,"Alt-Delete":e,"Alt-d":e,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Oh()||v2()?i:a},addProseMirrorPlugins(){return[new Ut({key:new Yt("clearDocument"),appendTransaction:(t,e,n)=>{if(t.some(w=>w.getMeta("composition")))return;const r=t.some(w=>w.docChanged)&&!e.doc.eq(n.doc),a=t.some(w=>w.getMeta("preventClearDocument"));if(!r||a)return;const{empty:i,from:o,to:c}=e.selection,u=tt.atStart(e.doc).from,h=tt.atEnd(e.doc).to;if(i||!(o===u&&c===h)||!$f(n.doc))return;const g=n.tr,y=Df({state:n,transaction:g}),{commands:v}=new Lf({editor:this.editor,state:y});if(v.clearNodes(),!!g.steps.length)return g}})]}}),U2=dn.create({name:"paste",addProseMirrorPlugins(){return[new Ut({key:new Yt("tiptapPaste"),props:{handlePaste:(t,e,n)=>{this.editor.emit("paste",{editor:this.editor,event:e,slice:n})}}})]}}),K2=dn.create({name:"tabindex",addProseMirrorPlugins(){return[new Ut({key:new Yt("tabindex"),props:{attributes:()=>this.editor.isEditable?{tabindex:"0"}:{}}})]}}),q2=dn.create({name:"textDirection",addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];const{nodeExtensions:t}=Bl(this.extensions);return[{types:t.filter(e=>e.name!=="text").map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{const n=e.getAttribute("dir");return n&&(n==="ltr"||n==="rtl"||n==="auto")?n:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new Ut({key:new Yt("textDirection"),props:{attributes:()=>{const t=this.options.direction;return t?{dir:t}:{}}}})]}}),_6=class Hc{constructor(e,n,r=!1,a=null){this.currentNode=null,this.actualDepth=null,this.isBlock=r,this.resolvedPos=e,this.editor=n,this.currentNode=a}get name(){return this.node.type.name}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return(e=this.actualDepth)!=null?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let n=this.from,r=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}n=this.from+1,r=this.to-1}this.editor.commands.insertContentAt({from:n,to:r},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+(this.node.isText?0:1)}get parent(){if(this.depth===0)return null;const e=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(e);return new Hc(n,this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new Hc(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new Hc(e,this.editor)}get children(){const e=[];return this.node.content.forEach((n,r)=>{const a=n.isBlock&&!n.isTextblock,i=n.isAtom&&!n.isText,o=n.isInline,c=this.pos+r+(i?0:1);if(c<0||c>this.resolvedPos.doc.nodeSize-2)return;const u=this.resolvedPos.doc.resolve(c);if(!a&&!o&&u.depth<=this.depth)return;const h=new Hc(u,this.editor,a,a||o?n:null);a&&(h.actualDepth=this.depth+1),e.push(h)}),e}get firstChild(){return this.children[0]||null}get lastChild(){const e=this.children;return e[e.length-1]||null}closest(e,n={}){let r=null,a=this.parent;for(;a&&!r;){if(a.node.type.name===e)if(Object.keys(n).length>0){const i=a.node.attrs,o=Object.keys(n);for(let c=0;c{r&&a.length>0||(o.node.type.name===e&&i.every(u=>n[u]===o.node.attrs[u])&&a.push(o),!(r&&a.length>0)&&(a=a.concat(o.querySelectorAll(e,n,r))))}),a}setAttribute(e){const{tr:n}=this.editor.state;n.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(n)}},z6=`.ProseMirror { position: relative; } @@ -692,24 +692,24 @@ img.ProseMirror-separator { .ProseMirror-focused .ProseMirror-gapcursor { display: block; -}`;function z6(t,e,n){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const a=document.createElement("style");return e&&a.setAttribute("nonce",e),a.setAttribute("data-tiptap-style",""),a.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(a),a}var $6=class extends S6{constructor(t={}){super(),this.css=null,this.className="tiptap",this.editorView=null,this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.options={element:typeof document<"u"?document.createElement("div"):null,content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:r})=>{throw r},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:n6,createMappablePosition:r6},this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("mount",this.options.onMount),this.on("unmount",this.options.onUnmount),this.on("contentError",this.options.onContentError),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:r,slice:a,moved:i})=>this.options.onDrop(r,a,i)),this.on("paste",({event:r,slice:a})=>this.options.onPaste(r,a)),this.on("delete",this.options.onDelete);const e=this.createDoc(),n=g2(e,this.options.autofocus);this.editorState=Ml.create({doc:e,schema:this.schema,selection:n||void 0}),this.options.element&&this.mount(this.options.element)}mount(t){if(typeof document>"u")throw new Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");this.createView(t),this.emit("mount",{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){const t=this.editorView.dom;t!=null&&t.editor&&delete t.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove=="function"?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(t){console.warn("Failed to remove CSS element:",t)}this.css=null,this.emit("unmount",{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&typeof document<"u"&&(this.css=z6(_6,this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},!(!this.editorView||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:t=>{this.editorState=t},dispatch:t=>{this.dispatchTransaction(t)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(t,e)=>{if(this.editorView)return this.editorView[e];if(e==="state")return this.editorState;if(e in t)return Reflect.get(t,e);throw new Error(`[tiptap error]: The editor view is not available. Cannot access view['${e}']. The editor may not be mounted yet.`)}})}get state(){return this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(t,e){const n=w2(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(t){if(this.isDestroyed)return;const e=this.state.plugins;let n=e;if([].concat(t).forEach(a=>{const i=typeof a=="string"?`${a}$`:a.key;n=n.filter(o=>!o.key.startsWith(i))}),e.length===n.length)return;const r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var t,e;const r=[...this.options.enableCoreExtensions?[$2,D2.configure({blockSeparator:(e=(t=this.options.coreExtensionOptions)==null?void 0:t.clipboardTextSerializer)==null?void 0:e.blockSeparator}),L2,B2,V2,W2,z2,H2,_2,U2.configure({direction:this.options.textDirection})].filter(a=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[a.name]!==!1:!0):[],...this.options.extensions].filter(a=>["extension","node","mark"].includes(a==null?void 0:a.type));this.extensionManager=new $f(r,this)}createCommandManager(){this.commandManager=new Of({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let t;try{t=cx(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message))throw e;this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{"collaboration"in this.storage&&typeof this.storage.collaboration=="object"&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(n=>n.name!=="collaboration"),this.createExtensionManager()}}),t=cx(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}return t}createView(t){const{editorProps:e,enableExtensionDispatchTransaction:n}=this.options,r=e.dispatchTransaction||this.dispatchTransaction.bind(this),a=n?this.extensionManager.dispatchTransaction(r):r,i=e.transformPastedHTML,o=this.extensionManager.transformPastedHTML(i);this.editorView=new h2(t,{...e,attributes:{role:"textbox",...e==null?void 0:e.attributes},dispatchTransaction:a,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});const c=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(c),this.prependClass(),this.injectCSS();const u=this.view.dom;u.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=t;return}t.steps.forEach(h=>{var f;return(f=this.capturedTransaction)==null?void 0:f.step(h)});return}const{state:e,transactions:n}=this.state.applyTransaction(t),r=!this.state.selection.eq(e.selection),a=n.includes(t),i=this.state;if(this.emit("beforeTransaction",{editor:this,transaction:t,nextState:e}),!a)return;this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t,appendedTransactions:n.slice(1)}),r&&this.emit("selectionUpdate",{editor:this,transaction:t});const o=n.findLast(h=>h.getMeta("focus")||h.getMeta("blur")),c=o==null?void 0:o.getMeta("focus"),u=o==null?void 0:o.getMeta("blur");c&&this.emit("focus",{editor:this,event:c.event,transaction:o}),u&&this.emit("blur",{editor:this,event:u.event,transaction:o}),!(t.getMeta("preventUpdate")||!n.some(h=>h.docChanged)||i.doc.eq(e.doc))&&this.emit("update",{editor:this,transaction:t,appendedTransactions:n.slice(1)})}getAttributes(t){return E2(this.state,t)}isActive(t,e){const n=typeof t=="string"?t:null,r=typeof t=="string"?e:t;return Z8(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return P0(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e=` +}`;function $6(t,e,n){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const a=document.createElement("style");return e&&a.setAttribute("nonce",e),a.setAttribute("data-tiptap-style",""),a.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(a),a}var F6=class extends C6{constructor(t={}){super(),this.css=null,this.className="tiptap",this.editorView=null,this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.options={element:typeof document<"u"?document.createElement("div"):null,content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:r})=>{throw r},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:r6,createMappablePosition:s6},this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("mount",this.options.onMount),this.on("unmount",this.options.onUnmount),this.on("contentError",this.options.onContentError),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:r,slice:a,moved:i})=>this.options.onDrop(r,a,i)),this.on("paste",({event:r,slice:a})=>this.options.onPaste(r,a)),this.on("delete",this.options.onDelete);const e=this.createDoc(),n=y2(e,this.options.autofocus);this.editorState=Ml.create({doc:e,schema:this.schema,selection:n||void 0}),this.options.element&&this.mount(this.options.element)}mount(t){if(typeof document>"u")throw new Error("[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.");this.createView(t),this.emit("mount",{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){const t=this.editorView.dom;t!=null&&t.editor&&delete t.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove=="function"?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(t){console.warn("Failed to remove CSS element:",t)}this.css=null,this.emit("unmount",{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&typeof document<"u"&&(this.css=$6(z6,this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},!(!this.editorView||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,e=!0){this.setOptions({editable:t}),e&&this.emit("update",{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:t=>{this.editorState=t},dispatch:t=>{this.dispatchTransaction(t)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(t,e)=>{if(this.editorView)return this.editorView[e];if(e==="state")return this.editorState;if(e in t)return Reflect.get(t,e);throw new Error(`[tiptap error]: The editor view is not available. Cannot access view['${e}']. The editor may not be mounted yet.`)}})}get state(){return this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(t,e){const n=k2(e)?e(t,[...this.state.plugins]):[...this.state.plugins,t],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(t){if(this.isDestroyed)return;const e=this.state.plugins;let n=e;if([].concat(t).forEach(a=>{const i=typeof a=="string"?`${a}$`:a.key;n=n.filter(o=>!o.key.startsWith(i))}),e.length===n.length)return;const r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var t,e;const r=[...this.options.enableCoreExtensions?[B2,_2.configure({blockSeparator:(e=(t=this.options.coreExtensionOptions)==null?void 0:t.clipboardTextSerializer)==null?void 0:e.blockSeparator}),z2,H2,W2,K2,F2,U2,$2,q2.configure({direction:this.options.textDirection})].filter(a=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[a.name]!==!1:!0):[],...this.options.extensions].filter(a=>["extension","node","mark"].includes(a==null?void 0:a.type));this.extensionManager=new Bf(r,this)}createCommandManager(){this.commandManager=new Lf({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let t;try{t=hx(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(e.message))throw e;this.emit("contentError",{editor:this,error:e,disableCollaboration:()=>{"collaboration"in this.storage&&typeof this.storage.collaboration=="object"&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(n=>n.name!=="collaboration"),this.createExtensionManager()}}),t=hx(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}return t}createView(t){const{editorProps:e,enableExtensionDispatchTransaction:n}=this.options,r=e.dispatchTransaction||this.dispatchTransaction.bind(this),a=n?this.extensionManager.dispatchTransaction(r):r,i=e.transformPastedHTML,o=this.extensionManager.transformPastedHTML(i);this.editorView=new p2(t,{...e,attributes:{role:"textbox",...e==null?void 0:e.attributes},dispatchTransaction:a,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});const c=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(c),this.prependClass(),this.injectCSS();const u=this.view.dom;u.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isCapturingTransaction=!1;const e=this.capturedTransaction;return this.capturedTransaction=null,e}dispatchTransaction(t){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=t;return}t.steps.forEach(h=>{var f;return(f=this.capturedTransaction)==null?void 0:f.step(h)});return}const{state:e,transactions:n}=this.state.applyTransaction(t),r=!this.state.selection.eq(e.selection),a=n.includes(t),i=this.state;if(this.emit("beforeTransaction",{editor:this,transaction:t,nextState:e}),!a)return;this.view.updateState(e),this.emit("transaction",{editor:this,transaction:t,appendedTransactions:n.slice(1)}),r&&this.emit("selectionUpdate",{editor:this,transaction:t});const o=n.findLast(h=>h.getMeta("focus")||h.getMeta("blur")),c=o==null?void 0:o.getMeta("focus"),u=o==null?void 0:o.getMeta("blur");c&&this.emit("focus",{editor:this,event:c.event,transaction:o}),u&&this.emit("blur",{editor:this,event:u.event,transaction:o}),!(t.getMeta("preventUpdate")||!n.some(h=>h.docChanged)||i.doc.eq(e.doc))&&this.emit("update",{editor:this,transaction:t,appendedTransactions:n.slice(1)})}getAttributes(t){return M2(this.state,t)}isActive(t,e){const n=typeof t=="string"?t:null,r=typeof t=="string"?e:t;return e6(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return D0(this.state.doc.content,this.schema)}getText(t){const{blockSeparator:e=` -`,textSerializers:n={}}=t||{};return q8(this.state.doc,{blockSeparator:e,textSerializers:{...C2(this.schema),...n}})}get isEmpty(){return _f(this.state.doc)}destroy(){this.emit("destroy"),this.unmount(),this.removeAllListeners()}get isDestroyed(){var t,e;return(e=(t=this.editorView)==null?void 0:t.isDestroyed)!=null?e:!0}$node(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t);return new L6(e,this)}get $doc(){return this.$pos(0)}};function Vl(t){return new zf({find:t.find,handler:({state:e,range:n,match:r})=>{const a=jt(t.getAttributes,void 0,r);if(a===!1||a===null)return null;const{tr:i}=e,o=r[r.length-1],c=r[0];if(o){const u=c.search(/\S/),h=n.from+c.indexOf(o),f=h+o.length;if(O0(n.from,n.to,e.doc).filter(y=>y.mark.type.excluded.find(w=>w===t.type&&w!==y.mark.type)).filter(y=>y.to>h).length)return null;fn.from&&i.delete(n.from+u,h);const g=n.from+u+o.length;i.addMark(n.from+u,g,t.type.create(a||{})),i.removeStoredMark(t.type)}},undoable:t.undoable})}function K2(t){return new zf({find:t.find,handler:({state:e,range:n,match:r})=>{const a=jt(t.getAttributes,void 0,r)||{},{tr:i}=e,o=n.from;let c=n.to;const u=t.type.create(a);if(r[1]){const h=r[0].lastIndexOf(r[1]);let f=o+h;f>c?f=c:c=f+r[1].length;const m=r[0][r[0].length-1];i.insertText(m,o+r[0].length-1),i.replaceWith(f,c,u)}else if(r[0]){const h=t.type.isInline?o:o-1;i.insert(h,t.type.create(a)).delete(i.mapping.map(o),i.mapping.map(c))}i.scrollIntoView()},undoable:t.undoable})}function ux(t){return new zf({find:t.find,handler:({state:e,range:n,match:r})=>{const a=e.doc.resolve(n.from),i=jt(t.getAttributes,void 0,r)||{};if(!a.node(-1).canReplaceWith(a.index(-1),a.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,i)},undoable:t.undoable})}function Hl(t){return new zf({find:t.find,handler:({state:e,range:n,match:r,chain:a})=>{const i=jt(t.getAttributes,void 0,r)||{},o=e.tr.delete(n.from,n.to),u=o.doc.resolve(n.from).blockRange(),h=u&&u0(u,t.type,i);if(!h)return null;if(o.wrap(u,h),t.keepMarks&&t.editor){const{selection:m,storedMarks:g}=e,{splittableMarks:y}=t.editor.extensionManager,v=g||m.$to.parentOffset&&m.$from.marks();if(v){const w=v.filter(N=>y.includes(N.type.name));o.ensureMarks(w)}}if(t.keepAttributes){const m=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";a().updateAttributes(m,i).run()}const f=o.doc.resolve(n.from-1).nodeBefore;f&&f.type===t.type&&_i(o.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(r,f))&&o.join(n.from-1)},undoable:t.undoable})}var F6=t=>"touches"in t,B6=class{constructor(t){this.directions=["bottom-left","bottom-right","top-left","top-right"],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:"",wrapper:"",handle:"",resizing:""},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.clientX-this.startX,h=c.clientY-this.startY;this.handleResize(u,h)},this.handleTouchMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.touches[0];if(!u)return;const h=u.clientX-this.startX,f=u.clientY-this.startY;this.handleResize(h,f)},this.handleMouseUp=()=>{if(!this.isResizing)return;const c=this.element.offsetWidth,u=this.element.offsetHeight;this.onCommit(c,u),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)},this.handleKeyDown=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!1)};var e,n,r,a,i,o;this.node=t.node,this.editor=t.editor,this.element=t.element,this.contentElement=t.contentElement,this.getPos=t.getPos,this.onResize=t.onResize,this.onCommit=t.onCommit,this.onUpdate=t.onUpdate,(e=t.options)!=null&&e.min&&(this.minSize={...this.minSize,...t.options.min}),(n=t.options)!=null&&n.max&&(this.maxSize=t.options.max),(r=t==null?void 0:t.options)!=null&&r.directions&&(this.directions=t.options.directions),(a=t.options)!=null&&a.preserveAspectRatio&&(this.preserveAspectRatio=t.options.preserveAspectRatio),(i=t.options)!=null&&i.className&&(this.classNames={container:t.options.className.container||"",wrapper:t.options.className.wrapper||"",handle:t.options.className.handle||"",resizing:t.options.className.resizing||""}),(o=t.options)!=null&&o.createCustomHandle&&(this.createCustomHandle=t.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on("update",this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){var t;return(t=this.contentElement)!=null?t:null}handleEditorUpdate(){const t=this.editor.isEditable;t!==this.lastEditableState&&(this.lastEditableState=t,t?t&&this.handleMap.size===0&&this.attachHandles():this.removeHandles())}update(t,e,n){return t.type!==this.node.type?!1:(this.node=t,this.onUpdate?this.onUpdate(t,e,n):!0)}destroy(){this.isResizing&&(this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off("update",this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){const t=document.createElement("div");return t.dataset.resizeContainer="",t.dataset.node=this.node.type.name,t.style.display="flex",this.classNames.container&&(t.className=this.classNames.container),t.appendChild(this.wrapper),t}createWrapper(){const t=document.createElement("div");return t.style.position="relative",t.style.display="block",t.dataset.resizeWrapper="",this.classNames.wrapper&&(t.className=this.classNames.wrapper),t.appendChild(this.element),t}createHandle(t){const e=document.createElement("div");return e.dataset.resizeHandle=t,e.style.position="absolute",this.classNames.handle&&(e.className=this.classNames.handle),e}positionHandle(t,e){const n=e.includes("top"),r=e.includes("bottom"),a=e.includes("left"),i=e.includes("right");n&&(t.style.top="0"),r&&(t.style.bottom="0"),a&&(t.style.left="0"),i&&(t.style.right="0"),(e==="top"||e==="bottom")&&(t.style.left="0",t.style.right="0"),(e==="left"||e==="right")&&(t.style.top="0",t.style.bottom="0")}attachHandles(){this.directions.forEach(t=>{let e;this.createCustomHandle?e=this.createCustomHandle(t):e=this.createHandle(t),e instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${t}") did not return an HTMLElement. Falling back to default handle.`),e=this.createHandle(t)),this.createCustomHandle||this.positionHandle(e,t),e.addEventListener("mousedown",n=>this.handleResizeStart(n,t)),e.addEventListener("touchstart",n=>this.handleResizeStart(n,t)),this.handleMap.set(t,e),this.wrapper.appendChild(e)})}removeHandles(){this.handleMap.forEach(t=>t.remove()),this.handleMap.clear()}applyInitialSize(){const t=this.node.attrs.width,e=this.node.attrs.height;t?(this.element.style.width=`${t}px`,this.initialWidth=t):this.initialWidth=this.element.offsetWidth,e?(this.element.style.height=`${e}px`,this.initialHeight=e):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(t,e){t.preventDefault(),t.stopPropagation(),this.isResizing=!0,this.activeHandle=e,F6(t)?(this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY):(this.startX=t.clientX,this.startY=t.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState="true",this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}handleResize(t,e){if(!this.activeHandle)return;const n=this.preserveAspectRatio||this.isShiftKeyPressed,{width:r,height:a}=this.calculateNewDimensions(this.activeHandle,t,e),i=this.applyConstraints(r,a,n);this.element.style.width=`${i.width}px`,this.element.style.height=`${i.height}px`,this.onResize&&this.onResize(i.width,i.height)}calculateNewDimensions(t,e,n){let r=this.startWidth,a=this.startHeight;const i=t.includes("right"),o=t.includes("left"),c=t.includes("bottom"),u=t.includes("top");return i?r=this.startWidth+e:o&&(r=this.startWidth-e),c?a=this.startHeight+n:u&&(a=this.startHeight-n),(t==="right"||t==="left")&&(r=this.startWidth+(i?e:-e)),(t==="top"||t==="bottom")&&(a=this.startHeight+(c?n:-n)),this.preserveAspectRatio||this.isShiftKeyPressed?this.applyAspectRatio(r,a,t):{width:r,height:a}}applyConstraints(t,e,n){var r,a,i,o;if(!n){let h=Math.max(this.minSize.width,t),f=Math.max(this.minSize.height,e);return(r=this.maxSize)!=null&&r.width&&(h=Math.min(this.maxSize.width,h)),(a=this.maxSize)!=null&&a.height&&(f=Math.min(this.maxSize.height,f)),{width:h,height:f}}let c=t,u=e;return cthis.maxSize.width&&(c=this.maxSize.width,u=c/this.aspectRatio),(o=this.maxSize)!=null&&o.height&&u>this.maxSize.height&&(u=this.maxSize.height,c=u*this.aspectRatio),{width:c,height:u}}applyAspectRatio(t,e,n){const r=n==="left"||n==="right",a=n==="top"||n==="bottom";return r?{width:t,height:t/this.aspectRatio}:a?{width:e*this.aspectRatio,height:e}:{width:t,height:t/this.aspectRatio}}};function V6(t,e){const{selection:n}=t,{$from:r}=n;if(n instanceof Je){const i=r.index();return r.parent.canReplaceWith(i,i+1,e)}let a=r.depth;for(;a>=0;){const i=r.index(a);if(r.node(a).contentMatchAt(i).matchType(e))return!0;a-=1}return!1}function H6(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}var W6={};M0(W6,{createAtomBlockMarkdownSpec:()=>U6,createBlockMarkdownSpec:()=>K6,createInlineMarkdownSpec:()=>q2,parseAttributes:()=>L0,parseIndentedBlocks:()=>hx,renderNestedMarkdownContent:()=>z0,serializeAttributes:()=>_0});function L0(t){if(!(t!=null&&t.trim()))return{};const e={},n=[],r=t.replace(/["']([^"']*)["']/g,h=>(n.push(h),`__QUOTED_${n.length-1}__`)),a=r.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);if(a){const h=a.map(f=>f.trim().slice(1));e.class=h.join(" ")}const i=r.match(/(?:^|\s)#([a-zA-Z][\w-]*)/);i&&(e.id=i[1]);const o=/([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g;Array.from(r.matchAll(o)).forEach(([,h,f])=>{var m;const g=parseInt(((m=f.match(/__QUOTED_(\d+)__/))==null?void 0:m[1])||"0",10),y=n[g];y&&(e[h]=y.slice(1,-1))});const u=r.replace(/(?:^|\s)\.([a-zA-Z][\w-]*)/g,"").replace(/(?:^|\s)#([a-zA-Z][\w-]*)/g,"").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g,"").trim();return u&&u.split(/\s+/).filter(Boolean).forEach(f=>{f.match(/^[a-zA-Z][\w-]*$/)&&(e[f]=!0)}),e}function _0(t){if(!t||Object.keys(t).length===0)return"";const e=[];return t.class&&String(t.class).split(/\s+/).filter(Boolean).forEach(r=>e.push(`.${r}`)),t.id&&e.push(`#${t.id}`),Object.entries(t).forEach(([n,r])=>{n==="class"||n==="id"||(r===!0?e.push(n):r!==!1&&r!=null&&e.push(`${n}="${String(r)}"`))}),e.join(" ")}function U6(t){const{nodeName:e,name:n,parseAttributes:r=L0,serializeAttributes:a=_0,defaultAttributes:i={},requiredAttributes:o=[],allowedAttributes:c}=t,u=n||e,h=f=>{if(!c)return f;const m={};return c.forEach(g=>{g in f&&(m[g]=f[g])}),m};return{parseMarkdown:(f,m)=>{const g={...i,...f.attributes};return m.createNode(e,g,[])},markdownTokenizer:{name:e,level:"block",start(f){var m;const g=new RegExp(`^:::${u}(?:\\s|$)`,"m"),y=(m=f.match(g))==null?void 0:m.index;return y!==void 0?y:-1},tokenize(f,m,g){const y=new RegExp(`^:::${u}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`),v=f.match(y);if(!v)return;const w=v[1]||"",N=r(w);if(!o.find(C=>!(C in N)))return{type:e,raw:v[0],attributes:N}}},renderMarkdown:f=>{const m=h(f.attrs||{}),g=a(m),y=g?` {${g}}`:"";return`:::${u}${y} :::`}}}function K6(t){const{nodeName:e,name:n,getContent:r,parseAttributes:a=L0,serializeAttributes:i=_0,defaultAttributes:o={},content:c="block",allowedAttributes:u}=t,h=n||e,f=m=>{if(!u)return m;const g={};return u.forEach(y=>{y in m&&(g[y]=m[y])}),g};return{parseMarkdown:(m,g)=>{let y;if(r){const w=r(m);y=typeof w=="string"?[{type:"text",text:w}]:w}else c==="block"?y=g.parseChildren(m.tokens||[]):y=g.parseInline(m.tokens||[]);const v={...o,...m.attributes};return g.createNode(e,v,y)},markdownTokenizer:{name:e,level:"block",start(m){var g;const y=new RegExp(`^:::${h}`,"m"),v=(g=m.match(y))==null?void 0:g.index;return v!==void 0?v:-1},tokenize(m,g,y){var v;const w=new RegExp(`^:::${h}(?:\\s+\\{([^}]*)\\})?\\s*\\n`),N=m.match(w);if(!N)return;const[k,C=""]=N,E=a(C);let A=1;const D=k.length;let H="";const _=/^:::([\w-]*)(\s.*)?/gm,P=m.slice(D);for(_.lastIndex=0;;){const L=_.exec(P);if(L===null)break;const $=L.index,ee=L[1];if(!((v=L[2])!=null&&v.endsWith(":::"))){if(ee)A+=1;else if(A-=1,A===0){const K=P.slice(0,$);H=K.trim();const ue=m.slice(0,D+$+L[0].length);let me=[];if(H)if(c==="block")for(me=y.blockTokens(K),me.forEach(R=>{R.text&&(!R.tokens||R.tokens.length===0)&&(R.tokens=y.inlineTokens(R.text))});me.length>0;){const R=me[me.length-1];if(R.type==="paragraph"&&(!R.text||R.text.trim()===""))me.pop();else break}else me=y.inlineTokens(H);return{type:e,raw:ue,attributes:E,content:H,tokens:me}}}}}},renderMarkdown:(m,g)=>{const y=f(m.attrs||{}),v=i(y),w=v?` {${v}}`:"",N=g.renderChildren(m.content||[],` +`,textSerializers:n={}}=t||{};return G8(this.state.doc,{blockSeparator:e,textSerializers:{...T2(this.schema),...n}})}get isEmpty(){return $f(this.state.doc)}destroy(){this.emit("destroy"),this.unmount(),this.removeAllListeners()}get isDestroyed(){var t,e;return(e=(t=this.editorView)==null?void 0:t.isDestroyed)!=null?e:!0}$node(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelector(t,e))||null}$nodes(t,e){var n;return((n=this.$doc)==null?void 0:n.querySelectorAll(t,e))||null}$pos(t){const e=this.state.doc.resolve(t);return new _6(e,this)}get $doc(){return this.$pos(0)}};function Vl(t){return new Ff({find:t.find,handler:({state:e,range:n,match:r})=>{const a=jt(t.getAttributes,void 0,r);if(a===!1||a===null)return null;const{tr:i}=e,o=r[r.length-1],c=r[0];if(o){const u=c.search(/\S/),h=n.from+c.indexOf(o),f=h+o.length;if(L0(n.from,n.to,e.doc).filter(y=>y.mark.type.excluded.find(w=>w===t.type&&w!==y.mark.type)).filter(y=>y.to>h).length)return null;fn.from&&i.delete(n.from+u,h);const g=n.from+u+o.length;i.addMark(n.from+u,g,t.type.create(a||{})),i.removeStoredMark(t.type)}},undoable:t.undoable})}function G2(t){return new Ff({find:t.find,handler:({state:e,range:n,match:r})=>{const a=jt(t.getAttributes,void 0,r)||{},{tr:i}=e,o=n.from;let c=n.to;const u=t.type.create(a);if(r[1]){const h=r[0].lastIndexOf(r[1]);let f=o+h;f>c?f=c:c=f+r[1].length;const m=r[0][r[0].length-1];i.insertText(m,o+r[0].length-1),i.replaceWith(f,c,u)}else if(r[0]){const h=t.type.isInline?o:o-1;i.insert(h,t.type.create(a)).delete(i.mapping.map(o),i.mapping.map(c))}i.scrollIntoView()},undoable:t.undoable})}function px(t){return new Ff({find:t.find,handler:({state:e,range:n,match:r})=>{const a=e.doc.resolve(n.from),i=jt(t.getAttributes,void 0,r)||{};if(!a.node(-1).canReplaceWith(a.index(-1),a.indexAfter(-1),t.type))return null;e.tr.delete(n.from,n.to).setBlockType(n.from,n.from,t.type,i)},undoable:t.undoable})}function Hl(t){return new Ff({find:t.find,handler:({state:e,range:n,match:r,chain:a})=>{const i=jt(t.getAttributes,void 0,r)||{},o=e.tr.delete(n.from,n.to),u=o.doc.resolve(n.from).blockRange(),h=u&&f0(u,t.type,i);if(!h)return null;if(o.wrap(u,h),t.keepMarks&&t.editor){const{selection:m,storedMarks:g}=e,{splittableMarks:y}=t.editor.extensionManager,v=g||m.$to.parentOffset&&m.$from.marks();if(v){const w=v.filter(N=>y.includes(N.type.name));o.ensureMarks(w)}}if(t.keepAttributes){const m=t.type.name==="bulletList"||t.type.name==="orderedList"?"listItem":"taskList";a().updateAttributes(m,i).run()}const f=o.doc.resolve(n.from-1).nodeBefore;f&&f.type===t.type&&_i(o.doc,n.from-1)&&(!t.joinPredicate||t.joinPredicate(r,f))&&o.join(n.from-1)},undoable:t.undoable})}var B6=t=>"touches"in t,V6=class{constructor(t){this.directions=["bottom-left","bottom-right","top-left","top-right"],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:"",wrapper:"",handle:"",resizing:""},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.clientX-this.startX,h=c.clientY-this.startY;this.handleResize(u,h)},this.handleTouchMove=c=>{if(!this.isResizing||!this.activeHandle)return;const u=c.touches[0];if(!u)return;const h=u.clientX-this.startX,f=u.clientY-this.startY;this.handleResize(h,f)},this.handleMouseUp=()=>{if(!this.isResizing)return;const c=this.element.offsetWidth,u=this.element.offsetHeight;this.onCommit(c,u),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp)},this.handleKeyDown=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=c=>{c.key==="Shift"&&(this.isShiftKeyPressed=!1)};var e,n,r,a,i,o;this.node=t.node,this.editor=t.editor,this.element=t.element,this.contentElement=t.contentElement,this.getPos=t.getPos,this.onResize=t.onResize,this.onCommit=t.onCommit,this.onUpdate=t.onUpdate,(e=t.options)!=null&&e.min&&(this.minSize={...this.minSize,...t.options.min}),(n=t.options)!=null&&n.max&&(this.maxSize=t.options.max),(r=t==null?void 0:t.options)!=null&&r.directions&&(this.directions=t.options.directions),(a=t.options)!=null&&a.preserveAspectRatio&&(this.preserveAspectRatio=t.options.preserveAspectRatio),(i=t.options)!=null&&i.className&&(this.classNames={container:t.options.className.container||"",wrapper:t.options.className.wrapper||"",handle:t.options.className.handle||"",resizing:t.options.className.resizing||""}),(o=t.options)!=null&&o.createCustomHandle&&(this.createCustomHandle=t.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on("update",this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){var t;return(t=this.contentElement)!=null?t:null}handleEditorUpdate(){const t=this.editor.isEditable;t!==this.lastEditableState&&(this.lastEditableState=t,t?t&&this.handleMap.size===0&&this.attachHandles():this.removeHandles())}update(t,e,n){return t.type!==this.node.type?!1:(this.node=t,this.onUpdate?this.onUpdate(t,e,n):!0)}destroy(){this.isResizing&&(this.container.dataset.resizeState="false",this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),document.removeEventListener("keydown",this.handleKeyDown),document.removeEventListener("keyup",this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off("update",this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){const t=document.createElement("div");return t.dataset.resizeContainer="",t.dataset.node=this.node.type.name,t.style.display="flex",this.classNames.container&&(t.className=this.classNames.container),t.appendChild(this.wrapper),t}createWrapper(){const t=document.createElement("div");return t.style.position="relative",t.style.display="block",t.dataset.resizeWrapper="",this.classNames.wrapper&&(t.className=this.classNames.wrapper),t.appendChild(this.element),t}createHandle(t){const e=document.createElement("div");return e.dataset.resizeHandle=t,e.style.position="absolute",this.classNames.handle&&(e.className=this.classNames.handle),e}positionHandle(t,e){const n=e.includes("top"),r=e.includes("bottom"),a=e.includes("left"),i=e.includes("right");n&&(t.style.top="0"),r&&(t.style.bottom="0"),a&&(t.style.left="0"),i&&(t.style.right="0"),(e==="top"||e==="bottom")&&(t.style.left="0",t.style.right="0"),(e==="left"||e==="right")&&(t.style.top="0",t.style.bottom="0")}attachHandles(){this.directions.forEach(t=>{let e;this.createCustomHandle?e=this.createCustomHandle(t):e=this.createHandle(t),e instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${t}") did not return an HTMLElement. Falling back to default handle.`),e=this.createHandle(t)),this.createCustomHandle||this.positionHandle(e,t),e.addEventListener("mousedown",n=>this.handleResizeStart(n,t)),e.addEventListener("touchstart",n=>this.handleResizeStart(n,t)),this.handleMap.set(t,e),this.wrapper.appendChild(e)})}removeHandles(){this.handleMap.forEach(t=>t.remove()),this.handleMap.clear()}applyInitialSize(){const t=this.node.attrs.width,e=this.node.attrs.height;t?(this.element.style.width=`${t}px`,this.initialWidth=t):this.initialWidth=this.element.offsetWidth,e?(this.element.style.height=`${e}px`,this.initialHeight=e):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(t,e){t.preventDefault(),t.stopPropagation(),this.isResizing=!0,this.activeHandle=e,B6(t)?(this.startX=t.touches[0].clientX,this.startY=t.touches[0].clientY):(this.startX=t.clientX,this.startY=t.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState="true",this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("touchmove",this.handleTouchMove),document.addEventListener("mouseup",this.handleMouseUp),document.addEventListener("keydown",this.handleKeyDown),document.addEventListener("keyup",this.handleKeyUp)}handleResize(t,e){if(!this.activeHandle)return;const n=this.preserveAspectRatio||this.isShiftKeyPressed,{width:r,height:a}=this.calculateNewDimensions(this.activeHandle,t,e),i=this.applyConstraints(r,a,n);this.element.style.width=`${i.width}px`,this.element.style.height=`${i.height}px`,this.onResize&&this.onResize(i.width,i.height)}calculateNewDimensions(t,e,n){let r=this.startWidth,a=this.startHeight;const i=t.includes("right"),o=t.includes("left"),c=t.includes("bottom"),u=t.includes("top");return i?r=this.startWidth+e:o&&(r=this.startWidth-e),c?a=this.startHeight+n:u&&(a=this.startHeight-n),(t==="right"||t==="left")&&(r=this.startWidth+(i?e:-e)),(t==="top"||t==="bottom")&&(a=this.startHeight+(c?n:-n)),this.preserveAspectRatio||this.isShiftKeyPressed?this.applyAspectRatio(r,a,t):{width:r,height:a}}applyConstraints(t,e,n){var r,a,i,o;if(!n){let h=Math.max(this.minSize.width,t),f=Math.max(this.minSize.height,e);return(r=this.maxSize)!=null&&r.width&&(h=Math.min(this.maxSize.width,h)),(a=this.maxSize)!=null&&a.height&&(f=Math.min(this.maxSize.height,f)),{width:h,height:f}}let c=t,u=e;return cthis.maxSize.width&&(c=this.maxSize.width,u=c/this.aspectRatio),(o=this.maxSize)!=null&&o.height&&u>this.maxSize.height&&(u=this.maxSize.height,c=u*this.aspectRatio),{width:c,height:u}}applyAspectRatio(t,e,n){const r=n==="left"||n==="right",a=n==="top"||n==="bottom";return r?{width:t,height:t/this.aspectRatio}:a?{width:e*this.aspectRatio,height:e}:{width:t,height:t/this.aspectRatio}}};function H6(t,e){const{selection:n}=t,{$from:r}=n;if(n instanceof Je){const i=r.index();return r.parent.canReplaceWith(i,i+1,e)}let a=r.depth;for(;a>=0;){const i=r.index(a);if(r.node(a).contentMatchAt(i).matchType(e))return!0;a-=1}return!1}function W6(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}var U6={};I0(U6,{createAtomBlockMarkdownSpec:()=>K6,createBlockMarkdownSpec:()=>q6,createInlineMarkdownSpec:()=>J2,parseAttributes:()=>z0,parseIndentedBlocks:()=>mx,renderNestedMarkdownContent:()=>F0,serializeAttributes:()=>$0});function z0(t){if(!(t!=null&&t.trim()))return{};const e={},n=[],r=t.replace(/["']([^"']*)["']/g,h=>(n.push(h),`__QUOTED_${n.length-1}__`)),a=r.match(/(?:^|\s)\.([a-zA-Z][\w-]*)/g);if(a){const h=a.map(f=>f.trim().slice(1));e.class=h.join(" ")}const i=r.match(/(?:^|\s)#([a-zA-Z][\w-]*)/);i&&(e.id=i[1]);const o=/([a-zA-Z][\w-]*)\s*=\s*(__QUOTED_\d+__)/g;Array.from(r.matchAll(o)).forEach(([,h,f])=>{var m;const g=parseInt(((m=f.match(/__QUOTED_(\d+)__/))==null?void 0:m[1])||"0",10),y=n[g];y&&(e[h]=y.slice(1,-1))});const u=r.replace(/(?:^|\s)\.([a-zA-Z][\w-]*)/g,"").replace(/(?:^|\s)#([a-zA-Z][\w-]*)/g,"").replace(/([a-zA-Z][\w-]*)\s*=\s*__QUOTED_\d+__/g,"").trim();return u&&u.split(/\s+/).filter(Boolean).forEach(f=>{f.match(/^[a-zA-Z][\w-]*$/)&&(e[f]=!0)}),e}function $0(t){if(!t||Object.keys(t).length===0)return"";const e=[];return t.class&&String(t.class).split(/\s+/).filter(Boolean).forEach(r=>e.push(`.${r}`)),t.id&&e.push(`#${t.id}`),Object.entries(t).forEach(([n,r])=>{n==="class"||n==="id"||(r===!0?e.push(n):r!==!1&&r!=null&&e.push(`${n}="${String(r)}"`))}),e.join(" ")}function K6(t){const{nodeName:e,name:n,parseAttributes:r=z0,serializeAttributes:a=$0,defaultAttributes:i={},requiredAttributes:o=[],allowedAttributes:c}=t,u=n||e,h=f=>{if(!c)return f;const m={};return c.forEach(g=>{g in f&&(m[g]=f[g])}),m};return{parseMarkdown:(f,m)=>{const g={...i,...f.attributes};return m.createNode(e,g,[])},markdownTokenizer:{name:e,level:"block",start(f){var m;const g=new RegExp(`^:::${u}(?:\\s|$)`,"m"),y=(m=f.match(g))==null?void 0:m.index;return y!==void 0?y:-1},tokenize(f,m,g){const y=new RegExp(`^:::${u}(?:\\s+\\{([^}]*)\\})?\\s*:::(?:\\n|$)`),v=f.match(y);if(!v)return;const w=v[1]||"",N=r(w);if(!o.find(C=>!(C in N)))return{type:e,raw:v[0],attributes:N}}},renderMarkdown:f=>{const m=h(f.attrs||{}),g=a(m),y=g?` {${g}}`:"";return`:::${u}${y} :::`}}}function q6(t){const{nodeName:e,name:n,getContent:r,parseAttributes:a=z0,serializeAttributes:i=$0,defaultAttributes:o={},content:c="block",allowedAttributes:u}=t,h=n||e,f=m=>{if(!u)return m;const g={};return u.forEach(y=>{y in m&&(g[y]=m[y])}),g};return{parseMarkdown:(m,g)=>{let y;if(r){const w=r(m);y=typeof w=="string"?[{type:"text",text:w}]:w}else c==="block"?y=g.parseChildren(m.tokens||[]):y=g.parseInline(m.tokens||[]);const v={...o,...m.attributes};return g.createNode(e,v,y)},markdownTokenizer:{name:e,level:"block",start(m){var g;const y=new RegExp(`^:::${h}`,"m"),v=(g=m.match(y))==null?void 0:g.index;return v!==void 0?v:-1},tokenize(m,g,y){var v;const w=new RegExp(`^:::${h}(?:\\s+\\{([^}]*)\\})?\\s*\\n`),N=m.match(w);if(!N)return;const[k,C=""]=N,E=a(C);let A=1;const D=k.length;let H="";const _=/^:::([\w-]*)(\s.*)?/gm,P=m.slice(D);for(_.lastIndex=0;;){const L=_.exec(P);if(L===null)break;const $=L.index,ee=L[1];if(!((v=L[2])!=null&&v.endsWith(":::"))){if(ee)A+=1;else if(A-=1,A===0){const K=P.slice(0,$);H=K.trim();const ue=m.slice(0,D+$+L[0].length);let me=[];if(H)if(c==="block")for(me=y.blockTokens(K),me.forEach(R=>{R.text&&(!R.tokens||R.tokens.length===0)&&(R.tokens=y.inlineTokens(R.text))});me.length>0;){const R=me[me.length-1];if(R.type==="paragraph"&&(!R.text||R.text.trim()===""))me.pop();else break}else me=y.inlineTokens(H);return{type:e,raw:ue,attributes:E,content:H,tokens:me}}}}}},renderMarkdown:(m,g)=>{const y=f(m.attrs||{}),v=i(y),w=v?` {${v}}`:"",N=g.renderChildren(m.content||[],` `);return`:::${h}${w} ${N} -:::`}}}function q6(t){if(!t.trim())return{};const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,a,i,o]=r;e[a]=i||o,r=n.exec(t)}return e}function G6(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}="${n}"`).join(" ")}function q2(t){const{nodeName:e,name:n,getContent:r,parseAttributes:a=q6,serializeAttributes:i=G6,defaultAttributes:o={},selfClosing:c=!1,allowedAttributes:u}=t,h=n||e,f=g=>{if(!u)return g;const y={};return u.forEach(v=>{const w=typeof v=="string"?v:v.name,N=typeof v=="string"?void 0:v.skipIfDefault;if(w in g){const k=g[w];if(N!==void 0&&k===N)return;y[w]=k}}),y},m=h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return{parseMarkdown:(g,y)=>{const v={...o,...g.attributes};if(c)return y.createNode(e,v);const w=r?r(g):g.content||"";return w?y.createNode(e,v,[y.createTextNode(w)]):y.createNode(e,v,[])},markdownTokenizer:{name:e,level:"inline",start(g){const y=c?new RegExp(`\\[${m}\\s*[^\\]]*\\]`):new RegExp(`\\[${m}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${m}\\]`),v=g.match(y),w=v==null?void 0:v.index;return w!==void 0?w:-1},tokenize(g,y,v){const w=c?new RegExp(`^\\[${m}\\s*([^\\]]*)\\]`):new RegExp(`^\\[${m}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${m}\\]`),N=g.match(w);if(!N)return;let k="",C="";if(c){const[,A]=N;C=A}else{const[,A,D]=N;C=A,k=D||""}const E=a(C.trim());return{type:e,raw:N[0],content:k.trim(),attributes:E}}},renderMarkdown:g=>{let y="";r?y=r(g):g.content&&g.content.length>0&&(y=g.content.filter(k=>k.type==="text").map(k=>k.text).join(""));const v=f(g.attrs||{}),w=i(v),N=w?` ${w}`:"";return c?`[${h}${N}]`:`[${h}${N}]${y}[/${h}]`}}}function hx(t,e,n){var r,a,i,o;const c=t.split(` +:::`}}}function G6(t){if(!t.trim())return{};const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,a,i,o]=r;e[a]=i||o,r=n.exec(t)}return e}function J6(t){return Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e}="${n}"`).join(" ")}function J2(t){const{nodeName:e,name:n,getContent:r,parseAttributes:a=G6,serializeAttributes:i=J6,defaultAttributes:o={},selfClosing:c=!1,allowedAttributes:u}=t,h=n||e,f=g=>{if(!u)return g;const y={};return u.forEach(v=>{const w=typeof v=="string"?v:v.name,N=typeof v=="string"?void 0:v.skipIfDefault;if(w in g){const k=g[w];if(N!==void 0&&k===N)return;y[w]=k}}),y},m=h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return{parseMarkdown:(g,y)=>{const v={...o,...g.attributes};if(c)return y.createNode(e,v);const w=r?r(g):g.content||"";return w?y.createNode(e,v,[y.createTextNode(w)]):y.createNode(e,v,[])},markdownTokenizer:{name:e,level:"inline",start(g){const y=c?new RegExp(`\\[${m}\\s*[^\\]]*\\]`):new RegExp(`\\[${m}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${m}\\]`),v=g.match(y),w=v==null?void 0:v.index;return w!==void 0?w:-1},tokenize(g,y,v){const w=c?new RegExp(`^\\[${m}\\s*([^\\]]*)\\]`):new RegExp(`^\\[${m}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${m}\\]`),N=g.match(w);if(!N)return;let k="",C="";if(c){const[,A]=N;C=A}else{const[,A,D]=N;C=A,k=D||""}const E=a(C.trim());return{type:e,raw:N[0],content:k.trim(),attributes:E}}},renderMarkdown:g=>{let y="";r?y=r(g):g.content&&g.content.length>0&&(y=g.content.filter(k=>k.type==="text").map(k=>k.text).join(""));const v=f(g.attrs||{}),w=i(v),N=w?` ${w}`:"";return c?`[${h}${N}]`:`[${h}${N}]${y}[/${h}]`}}}function mx(t,e,n){var r,a,i,o;const c=t.split(` `),u=[];let h="",f=0;const m=e.baseIndentSize||2;for(;f0)break;if(g.trim()===""){f+=1,h=`${h}${g} `;continue}else return}const v=e.extractItemData(y),{indentLevel:w,mainContent:N}=v;h=`${h}${g} `;const k=[N];for(f+=1;f$.trim()!=="");if(_===-1)break;if((((a=(r=c[f+1+_].match(/^(\s*)/))==null?void 0:r[1])==null?void 0:a.length)||0)>w){k.push(D),h=`${h}${D} `,f+=1;continue}else break}if((((o=(i=D.match(/^(\s*)/))==null?void 0:i[1])==null?void 0:o.length)||0)>w)k.push(D),h=`${h}${D} `,f+=1;else break}let C;const E=k.slice(1);if(E.length>0){const D=E.map(H=>H.slice(w+m)).join(` -`);D.trim()&&(e.customNestedParser?C=e.customNestedParser(D):C=n.blockTokens(D))}const A=e.createToken(v,C);u.push(A)}if(u.length!==0)return{items:u,raw:h}}function z0(t,e,n,r){if(!t||!Array.isArray(t.content))return"";const a=typeof n=="function"?n(r):n,[i,...o]=t.content,c=e.renderChildren([i]),u=[`${a}${c}`];return o&&o.length>0&&o.forEach(h=>{const f=e.renderChildren([h]);if(f){const m=f.split(` +`);D.trim()&&(e.customNestedParser?C=e.customNestedParser(D):C=n.blockTokens(D))}const A=e.createToken(v,C);u.push(A)}if(u.length!==0)return{items:u,raw:h}}function F0(t,e,n,r){if(!t||!Array.isArray(t.content))return"";const a=typeof n=="function"?n(r):n,[i,...o]=t.content,c=e.renderChildren([i]),u=[`${a}${c}`];return o&&o.length>0&&o.forEach(h=>{const f=e.renderChildren([h]);if(f){const m=f.split(` `).map(g=>g?e.indent(g):"").join(` `);u.push(m)}}),u.join(` -`)}function J6(t,e,n={}){const{state:r}=e,{doc:a,tr:i}=r,o=t;a.descendants((c,u)=>{const h=i.mapping.map(u),f=i.mapping.map(u)+c.nodeSize;let m=null;if(c.marks.forEach(y=>{if(y!==o)return!1;m=y}),!m)return;let g=!1;if(Object.keys(n).forEach(y=>{n[y]!==m.attrs[y]&&(g=!0)}),g){const y=t.type.create({...t.attrs,...n});i.removeMark(h,f,t.type),i.addMark(h,f,y)}}),i.docChanged&&e.view.dispatch(i)}var wn=class G2 extends D0{constructor(){super(...arguments),this.type="node"}static create(e={}){const n=typeof e=="function"?e():e;return new G2(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function Po(t){return new A6({find:t.find,handler:({state:e,range:n,match:r,pasteEvent:a})=>{const i=jt(t.getAttributes,void 0,r,a);if(i===!1||i===null)return null;const{tr:o}=e,c=r[r.length-1],u=r[0];let h=n.to;if(c){const f=u.search(/\S/),m=n.from+u.indexOf(c),g=m+c.length;if(O0(n.from,n.to,e.doc).filter(v=>v.mark.type.excluded.find(N=>N===t.type&&N!==v.mark.type)).filter(v=>v.to>m).length)return null;gn.from&&o.delete(n.from+f,m),h=n.from+f+c.length,o.addMark(n.from+f,h,t.type.create(i||{})),o.removeStoredMark(t.type)}}})}const{getOwnPropertyNames:Y6,getOwnPropertySymbols:Q6}=Object,{hasOwnProperty:X6}=Object.prototype;function lg(t,e){return function(r,a,i){return t(r,a,i)&&e(r,a,i)}}function Ku(t){return function(n,r,a){if(!n||!r||typeof n!="object"||typeof r!="object")return t(n,r,a);const{cache:i}=a,o=i.get(n),c=i.get(r);if(o&&c)return o===r&&c===n;i.set(n,r),i.set(r,n);const u=t(n,r,a);return i.delete(n),i.delete(r),u}}function Z6(t){return t!=null?t[Symbol.toStringTag]:void 0}function wN(t){return Y6(t).concat(Q6(t))}const e_=Object.hasOwn||((t,e)=>X6.call(t,e));function Bo(t,e){return t===e||!t&&!e&&t!==t&&e!==e}const t_="__v",n_="__o",r_="_owner",{getOwnPropertyDescriptor:jN,keys:kN}=Object;function s_(t,e){return t.byteLength===e.byteLength&&Ph(new Uint8Array(t),new Uint8Array(e))}function a_(t,e,n){let r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function i_(t,e){return t.byteLength===e.byteLength&&Ph(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function o_(t,e){return Bo(t.getTime(),e.getTime())}function l_(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function c_(t,e){return t===e}function SN(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const a=new Array(r),i=t.entries();let o,c,u=0;for(;(o=i.next())&&!o.done;){const h=e.entries();let f=!1,m=0;for(;(c=h.next())&&!c.done;){if(a[m]){m++;continue}const g=o.value,y=c.value;if(n.equals(g[0],y[0],u,m,t,e,n)&&n.equals(g[1],y[1],g[0],y[0],t,e,n)){f=a[m]=!0;break}m++}if(!f)return!1;u++}return!0}const d_=Bo;function u_(t,e,n){const r=kN(t);let a=r.length;if(kN(e).length!==a)return!1;for(;a-- >0;)if(!J2(t,e,n,r[a]))return!1;return!0}function _c(t,e,n){const r=wN(t);let a=r.length;if(wN(e).length!==a)return!1;let i,o,c;for(;a-- >0;)if(i=r[a],!J2(t,e,n,i)||(o=jN(t,i),c=jN(e,i),(o||c)&&(!o||!c||o.configurable!==c.configurable||o.enumerable!==c.enumerable||o.writable!==c.writable)))return!1;return!0}function h_(t,e){return Bo(t.valueOf(),e.valueOf())}function f_(t,e){return t.source===e.source&&t.flags===e.flags}function CN(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const a=new Array(r),i=t.values();let o,c;for(;(o=i.next())&&!o.done;){const u=e.values();let h=!1,f=0;for(;(c=u.next())&&!c.done;){if(!a[f]&&n.equals(o.value,c.value,o.value,c.value,t,e,n)){h=a[f]=!0;break}f++}if(!h)return!1}return!0}function Ph(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function p_(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function J2(t,e,n,r){return(r===r_||r===n_||r===t_)&&(t.$$typeof||e.$$typeof)?!0:e_(e,r)&&n.equals(t[r],e[r],r,r,t,e,n)}const m_="[object ArrayBuffer]",g_="[object Arguments]",x_="[object Boolean]",y_="[object DataView]",b_="[object Date]",v_="[object Error]",N_="[object Map]",w_="[object Number]",j_="[object Object]",k_="[object RegExp]",S_="[object Set]",C_="[object String]",E_={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},T_="[object URL]",M_=Object.prototype.toString;function A_({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:a,areFunctionsEqual:i,areMapsEqual:o,areNumbersEqual:c,areObjectsEqual:u,arePrimitiveWrappersEqual:h,areRegExpsEqual:f,areSetsEqual:m,areTypedArraysEqual:g,areUrlsEqual:y,unknownTagComparators:v}){return function(N,k,C){if(N===k)return!0;if(N==null||k==null)return!1;const E=typeof N;if(E!==typeof k)return!1;if(E!=="object")return E==="number"?c(N,k,C):E==="function"?i(N,k,C):!1;const A=N.constructor;if(A!==k.constructor)return!1;if(A===Object)return u(N,k,C);if(Array.isArray(N))return e(N,k,C);if(A===Date)return r(N,k,C);if(A===RegExp)return f(N,k,C);if(A===Map)return o(N,k,C);if(A===Set)return m(N,k,C);const D=M_.call(N);if(D===b_)return r(N,k,C);if(D===k_)return f(N,k,C);if(D===N_)return o(N,k,C);if(D===S_)return m(N,k,C);if(D===j_)return typeof N.then!="function"&&typeof k.then!="function"&&u(N,k,C);if(D===T_)return y(N,k,C);if(D===v_)return a(N,k,C);if(D===g_)return u(N,k,C);if(E_[D])return g(N,k,C);if(D===m_)return t(N,k,C);if(D===y_)return n(N,k,C);if(D===x_||D===w_||D===C_)return h(N,k,C);if(v){let H=v[D];if(!H){const _=Z6(N);_&&(H=v[_])}if(H)return H(N,k,C)}return!1}}function I_({circular:t,createCustomConfig:e,strict:n}){let r={areArrayBuffersEqual:s_,areArraysEqual:n?_c:a_,areDataViewsEqual:i_,areDatesEqual:o_,areErrorsEqual:l_,areFunctionsEqual:c_,areMapsEqual:n?lg(SN,_c):SN,areNumbersEqual:d_,areObjectsEqual:n?_c:u_,arePrimitiveWrappersEqual:h_,areRegExpsEqual:f_,areSetsEqual:n?lg(CN,_c):CN,areTypedArraysEqual:n?lg(Ph,_c):Ph,areUrlsEqual:p_,unknownTagComparators:void 0};if(e&&(r=Object.assign({},r,e(r))),t){const a=Ku(r.areArraysEqual),i=Ku(r.areMapsEqual),o=Ku(r.areObjectsEqual),c=Ku(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:a,areMapsEqual:i,areObjectsEqual:o,areSetsEqual:c})}return r}function R_(t){return function(e,n,r,a,i,o,c){return t(e,n,c)}}function P_({circular:t,comparator:e,createState:n,equals:r,strict:a}){if(n)return function(c,u){const{cache:h=t?new WeakMap:void 0,meta:f}=n();return e(c,u,{cache:h,equals:r,meta:f,strict:a})};if(t)return function(c,u){return e(c,u,{cache:new WeakMap,equals:r,meta:void 0,strict:a})};const i={cache:void 0,equals:r,meta:void 0,strict:a};return function(c,u){return e(c,u,i)}}const O_=$i();$i({strict:!0});$i({circular:!0});$i({circular:!0,strict:!0});$i({createInternalComparator:()=>Bo});$i({strict:!0,createInternalComparator:()=>Bo});$i({circular:!0,createInternalComparator:()=>Bo});$i({circular:!0,createInternalComparator:()=>Bo,strict:!0});function $i(t={}){const{circular:e=!1,createInternalComparator:n,createState:r,strict:a=!1}=t,i=I_(t),o=A_(i),c=n?n(o):R_(o);return P_({circular:e,comparator:o,createState:r,equals:c,strict:a})}var cg={exports:{}},dg={};/** +`)}function Y6(t,e,n={}){const{state:r}=e,{doc:a,tr:i}=r,o=t;a.descendants((c,u)=>{const h=i.mapping.map(u),f=i.mapping.map(u)+c.nodeSize;let m=null;if(c.marks.forEach(y=>{if(y!==o)return!1;m=y}),!m)return;let g=!1;if(Object.keys(n).forEach(y=>{n[y]!==m.attrs[y]&&(g=!0)}),g){const y=t.type.create({...t.attrs,...n});i.removeMark(h,f,t.type),i.addMark(h,f,y)}}),i.docChanged&&e.view.dispatch(i)}var wn=class Y2 extends _0{constructor(){super(...arguments),this.type="node"}static create(e={}){const n=typeof e=="function"?e():e;return new Y2(n)}configure(e){return super.configure(e)}extend(e){const n=typeof e=="function"?e():e;return super.extend(n)}};function Po(t){return new I6({find:t.find,handler:({state:e,range:n,match:r,pasteEvent:a})=>{const i=jt(t.getAttributes,void 0,r,a);if(i===!1||i===null)return null;const{tr:o}=e,c=r[r.length-1],u=r[0];let h=n.to;if(c){const f=u.search(/\S/),m=n.from+u.indexOf(c),g=m+c.length;if(L0(n.from,n.to,e.doc).filter(v=>v.mark.type.excluded.find(N=>N===t.type&&N!==v.mark.type)).filter(v=>v.to>m).length)return null;gn.from&&o.delete(n.from+f,m),h=n.from+f+c.length,o.addMark(n.from+f,h,t.type.create(i||{})),o.removeStoredMark(t.type)}}})}const{getOwnPropertyNames:Q6,getOwnPropertySymbols:X6}=Object,{hasOwnProperty:Z6}=Object.prototype;function ug(t,e){return function(r,a,i){return t(r,a,i)&&e(r,a,i)}}function Gu(t){return function(n,r,a){if(!n||!r||typeof n!="object"||typeof r!="object")return t(n,r,a);const{cache:i}=a,o=i.get(n),c=i.get(r);if(o&&c)return o===r&&c===n;i.set(n,r),i.set(r,n);const u=t(n,r,a);return i.delete(n),i.delete(r),u}}function e_(t){return t!=null?t[Symbol.toStringTag]:void 0}function kN(t){return Q6(t).concat(X6(t))}const t_=Object.hasOwn||((t,e)=>Z6.call(t,e));function Bo(t,e){return t===e||!t&&!e&&t!==t&&e!==e}const n_="__v",r_="__o",s_="_owner",{getOwnPropertyDescriptor:SN,keys:CN}=Object;function a_(t,e){return t.byteLength===e.byteLength&&Dh(new Uint8Array(t),new Uint8Array(e))}function i_(t,e,n){let r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(!n.equals(t[r],e[r],r,r,t,e,n))return!1;return!0}function o_(t,e){return t.byteLength===e.byteLength&&Dh(new Uint8Array(t.buffer,t.byteOffset,t.byteLength),new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function l_(t,e){return Bo(t.getTime(),e.getTime())}function c_(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function d_(t,e){return t===e}function EN(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const a=new Array(r),i=t.entries();let o,c,u=0;for(;(o=i.next())&&!o.done;){const h=e.entries();let f=!1,m=0;for(;(c=h.next())&&!c.done;){if(a[m]){m++;continue}const g=o.value,y=c.value;if(n.equals(g[0],y[0],u,m,t,e,n)&&n.equals(g[1],y[1],g[0],y[0],t,e,n)){f=a[m]=!0;break}m++}if(!f)return!1;u++}return!0}const u_=Bo;function h_(t,e,n){const r=CN(t);let a=r.length;if(CN(e).length!==a)return!1;for(;a-- >0;)if(!Q2(t,e,n,r[a]))return!1;return!0}function _c(t,e,n){const r=kN(t);let a=r.length;if(kN(e).length!==a)return!1;let i,o,c;for(;a-- >0;)if(i=r[a],!Q2(t,e,n,i)||(o=SN(t,i),c=SN(e,i),(o||c)&&(!o||!c||o.configurable!==c.configurable||o.enumerable!==c.enumerable||o.writable!==c.writable)))return!1;return!0}function f_(t,e){return Bo(t.valueOf(),e.valueOf())}function p_(t,e){return t.source===e.source&&t.flags===e.flags}function TN(t,e,n){const r=t.size;if(r!==e.size)return!1;if(!r)return!0;const a=new Array(r),i=t.values();let o,c;for(;(o=i.next())&&!o.done;){const u=e.values();let h=!1,f=0;for(;(c=u.next())&&!c.done;){if(!a[f]&&n.equals(o.value,c.value,o.value,c.value,t,e,n)){h=a[f]=!0;break}f++}if(!h)return!1}return!0}function Dh(t,e){let n=t.byteLength;if(e.byteLength!==n||t.byteOffset!==e.byteOffset)return!1;for(;n-- >0;)if(t[n]!==e[n])return!1;return!0}function m_(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function Q2(t,e,n,r){return(r===s_||r===r_||r===n_)&&(t.$$typeof||e.$$typeof)?!0:t_(e,r)&&n.equals(t[r],e[r],r,r,t,e,n)}const g_="[object ArrayBuffer]",x_="[object Arguments]",y_="[object Boolean]",b_="[object DataView]",v_="[object Date]",N_="[object Error]",w_="[object Map]",j_="[object Number]",k_="[object Object]",S_="[object RegExp]",C_="[object Set]",E_="[object String]",T_={"[object Int8Array]":!0,"[object Uint8Array]":!0,"[object Uint8ClampedArray]":!0,"[object Int16Array]":!0,"[object Uint16Array]":!0,"[object Int32Array]":!0,"[object Uint32Array]":!0,"[object Float16Array]":!0,"[object Float32Array]":!0,"[object Float64Array]":!0,"[object BigInt64Array]":!0,"[object BigUint64Array]":!0},M_="[object URL]",A_=Object.prototype.toString;function I_({areArrayBuffersEqual:t,areArraysEqual:e,areDataViewsEqual:n,areDatesEqual:r,areErrorsEqual:a,areFunctionsEqual:i,areMapsEqual:o,areNumbersEqual:c,areObjectsEqual:u,arePrimitiveWrappersEqual:h,areRegExpsEqual:f,areSetsEqual:m,areTypedArraysEqual:g,areUrlsEqual:y,unknownTagComparators:v}){return function(N,k,C){if(N===k)return!0;if(N==null||k==null)return!1;const E=typeof N;if(E!==typeof k)return!1;if(E!=="object")return E==="number"?c(N,k,C):E==="function"?i(N,k,C):!1;const A=N.constructor;if(A!==k.constructor)return!1;if(A===Object)return u(N,k,C);if(Array.isArray(N))return e(N,k,C);if(A===Date)return r(N,k,C);if(A===RegExp)return f(N,k,C);if(A===Map)return o(N,k,C);if(A===Set)return m(N,k,C);const D=A_.call(N);if(D===v_)return r(N,k,C);if(D===S_)return f(N,k,C);if(D===w_)return o(N,k,C);if(D===C_)return m(N,k,C);if(D===k_)return typeof N.then!="function"&&typeof k.then!="function"&&u(N,k,C);if(D===M_)return y(N,k,C);if(D===N_)return a(N,k,C);if(D===x_)return u(N,k,C);if(T_[D])return g(N,k,C);if(D===g_)return t(N,k,C);if(D===b_)return n(N,k,C);if(D===y_||D===j_||D===E_)return h(N,k,C);if(v){let H=v[D];if(!H){const _=e_(N);_&&(H=v[_])}if(H)return H(N,k,C)}return!1}}function R_({circular:t,createCustomConfig:e,strict:n}){let r={areArrayBuffersEqual:a_,areArraysEqual:n?_c:i_,areDataViewsEqual:o_,areDatesEqual:l_,areErrorsEqual:c_,areFunctionsEqual:d_,areMapsEqual:n?ug(EN,_c):EN,areNumbersEqual:u_,areObjectsEqual:n?_c:h_,arePrimitiveWrappersEqual:f_,areRegExpsEqual:p_,areSetsEqual:n?ug(TN,_c):TN,areTypedArraysEqual:n?ug(Dh,_c):Dh,areUrlsEqual:m_,unknownTagComparators:void 0};if(e&&(r=Object.assign({},r,e(r))),t){const a=Gu(r.areArraysEqual),i=Gu(r.areMapsEqual),o=Gu(r.areObjectsEqual),c=Gu(r.areSetsEqual);r=Object.assign({},r,{areArraysEqual:a,areMapsEqual:i,areObjectsEqual:o,areSetsEqual:c})}return r}function P_(t){return function(e,n,r,a,i,o,c){return t(e,n,c)}}function O_({circular:t,comparator:e,createState:n,equals:r,strict:a}){if(n)return function(c,u){const{cache:h=t?new WeakMap:void 0,meta:f}=n();return e(c,u,{cache:h,equals:r,meta:f,strict:a})};if(t)return function(c,u){return e(c,u,{cache:new WeakMap,equals:r,meta:void 0,strict:a})};const i={cache:void 0,equals:r,meta:void 0,strict:a};return function(c,u){return e(c,u,i)}}const D_=$i();$i({strict:!0});$i({circular:!0});$i({circular:!0,strict:!0});$i({createInternalComparator:()=>Bo});$i({strict:!0,createInternalComparator:()=>Bo});$i({circular:!0,createInternalComparator:()=>Bo});$i({circular:!0,createInternalComparator:()=>Bo,strict:!0});function $i(t={}){const{circular:e=!1,createInternalComparator:n,createState:r,strict:a=!1}=t,i=R_(t),o=I_(i),c=n?n(o):P_(o);return O_({circular:e,comparator:o,createState:r,equals:c,strict:a})}var hg={exports:{}},fg={};/** * @license React * use-sync-external-store-shim/with-selector.production.js * @@ -717,18 +717,18 @@ ${N} * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var EN;function D_(){if(EN)return dg;EN=1;var t=wd(),e=zk();function n(h,f){return h===f&&(h!==0||1/h===1/f)||h!==h&&f!==f}var r=typeof Object.is=="function"?Object.is:n,a=e.useSyncExternalStore,i=t.useRef,o=t.useEffect,c=t.useMemo,u=t.useDebugValue;return dg.useSyncExternalStoreWithSelector=function(h,f,m,g,y){var v=i(null);if(v.current===null){var w={hasValue:!1,value:null};v.current=w}else w=v.current;v=c(function(){function k(H){if(!C){if(C=!0,E=H,H=g(H),y!==void 0&&w.hasValue){var _=w.value;if(y(_,H))return A=_}return A=H}if(_=A,r(E,H))return _;var P=g(H);return y!==void 0&&y(_,P)?(E=H,_):(E=H,A=P)}var C=!1,E,A,D=m===void 0?null:m;return[function(){return k(f())},D===null?void 0:function(){return k(D())}]},[f,m,g,y]);var N=a(h,v[0],v[1]);return o(function(){w.hasValue=!0,w.value=N},[N]),u(N),N},dg}var TN;function L_(){return TN||(TN=1,cg.exports=D_()),cg.exports}var __=L_(),z_=(...t)=>e=>{t.forEach(n=>{typeof n=="function"?n(e):n&&(n.current=e)})},$_=({contentComponent:t})=>{const e=$k.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return s.jsx(s.Fragment,{children:Object.values(e)})};function F_(){const t=new Set;let e={};return{subscribe(n){return t.add(n),()=>{t.delete(n)}},getSnapshot(){return e},getServerSnapshot(){return e},setRenderer(n,r){e={...e,[n]:Dw.createPortal(r.reactElement,r.element,n)},t.forEach(a=>a())},removeRenderer(n){const r={...e};delete r[n],e=r,t.forEach(a=>a())}}}var B_=class extends fr.Component{constructor(t){var e;super(t),this.editorContentRef=fr.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!((e=t.editor)!=null&&e.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var t;const e=this.props.editor;if(e&&!e.isDestroyed&&((t=e.view.dom)!=null&&t.parentNode)){if(e.contentComponent)return;const n=this.editorContentRef.current;n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n}),e.contentComponent=F_(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe(()=>{this.setState(r=>r.hasContentComponentInitialized?r:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){var t;const e=this.props.editor;if(e){this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null;try{if(!((t=e.view.dom)!=null&&t.parentNode))return;const n=document.createElement("div");n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n})}catch{}}}render(){const{editor:t,innerRef:e,...n}=this.props;return s.jsxs(s.Fragment,{children:[s.jsx("div",{ref:z_(e,this.editorContentRef),...n}),(t==null?void 0:t.contentComponent)&&s.jsx($_,{contentComponent:t.contentComponent})]})}},V_=b.forwardRef((t,e)=>{const n=fr.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[t.editor]);return fr.createElement(B_,{key:n,innerRef:e,...t})}),Y2=fr.memo(V_),H_=typeof window<"u"?b.useLayoutEffect:b.useEffect,W_=class{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach(r=>r())},n=this.editor;return n.on("transaction",e),()=>{n.off("transaction",e)}}}};function U_(t){var e;const[n]=b.useState(()=>new W_(t.editor)),r=__.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,t.selector,(e=t.equalityFn)!=null?e:O_);return H_(()=>n.watch(t.editor),[t.editor,n]),b.useDebugValue(r),r}var K_=!1,fx=typeof window>"u",q_=fx||!!(typeof window<"u"&&window.next),G_=class Q2{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(n=>n())}getInitialEditor(){return this.options.current.immediatelyRender===void 0?fx||q_?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){const e={...this.options.current,onBeforeCreate:(...r)=>{var a,i;return(i=(a=this.options.current).onBeforeCreate)==null?void 0:i.call(a,...r)},onBlur:(...r)=>{var a,i;return(i=(a=this.options.current).onBlur)==null?void 0:i.call(a,...r)},onCreate:(...r)=>{var a,i;return(i=(a=this.options.current).onCreate)==null?void 0:i.call(a,...r)},onDestroy:(...r)=>{var a,i;return(i=(a=this.options.current).onDestroy)==null?void 0:i.call(a,...r)},onFocus:(...r)=>{var a,i;return(i=(a=this.options.current).onFocus)==null?void 0:i.call(a,...r)},onSelectionUpdate:(...r)=>{var a,i;return(i=(a=this.options.current).onSelectionUpdate)==null?void 0:i.call(a,...r)},onTransaction:(...r)=>{var a,i;return(i=(a=this.options.current).onTransaction)==null?void 0:i.call(a,...r)},onUpdate:(...r)=>{var a,i;return(i=(a=this.options.current).onUpdate)==null?void 0:i.call(a,...r)},onContentError:(...r)=>{var a,i;return(i=(a=this.options.current).onContentError)==null?void 0:i.call(a,...r)},onDrop:(...r)=>{var a,i;return(i=(a=this.options.current).onDrop)==null?void 0:i.call(a,...r)},onPaste:(...r)=>{var a,i;return(i=(a=this.options.current).onPaste)==null?void 0:i.call(a,...r)},onDelete:(...r)=>{var a,i;return(i=(a=this.options.current).onDelete)==null?void 0:i.call(a,...r)}};return new $6(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,n){return Object.keys(e).every(r=>["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(r)?!0:r==="extensions"&&e.extensions&&n.extensions?e.extensions.length!==n.extensions.length?!1:e.extensions.every((a,i)=>{var o;return a===((o=n.extensions)==null?void 0:o[i])}):e[r]===n[r])}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&e.length===0?Q2.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((r,a)=>r===e[a]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,n=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){n&&n.setOptions(this.options.current);return}n&&!n.isDestroyed&&(n.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function J_(t={},e=[]){const n=b.useRef(t);n.current=t;const[r]=b.useState(()=>new G_(n)),a=$k.useSyncExternalStore(r.subscribe,r.getEditor,r.getServerSnapshot);return b.useDebugValue(a),b.useEffect(r.onRender(e)),U_({editor:a,selector:({transactionNumber:i})=>t.shouldRerenderOnTransaction===!1||t.shouldRerenderOnTransaction===void 0?null:t.immediatelyRender&&i===0?0:i+1}),a}var X2=b.createContext({editor:null});X2.Consumer;var Y_=b.createContext({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),Q_=()=>b.useContext(Y_);fr.forwardRef((t,e)=>{const{onDragStart:n}=Q_(),r=t.as||"div";return s.jsx(r,{...t,ref:e,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...t.style}})});fr.createContext({markViewContentRef:()=>{}});var $0=b.createContext({get editor(){throw new Error("useTiptap must be used within a provider")}});$0.displayName="TiptapContext";var X_=()=>b.useContext($0);function Z2({editor:t,instance:e,children:n}){const r=t??e;if(!r)throw new Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");const a=b.useMemo(()=>({editor:r}),[r]),i=b.useMemo(()=>({editor:r}),[r]);return s.jsx(X2.Provider,{value:i,children:s.jsx($0.Provider,{value:a,children:n})})}Z2.displayName="Tiptap";function eC({...t}){const{editor:e}=X_();return s.jsx(Y2,{editor:e,...t})}eC.displayName="Tiptap.Content";Object.assign(Z2,{Content:eC});var Oh=(t,e)=>{if(t==="slot")return 0;if(t instanceof Function)return t(e);const{children:n,...r}=e??{};if(t==="svg")throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");return[t,r,n]},Z_=/^\s*>\s$/,e7=wn.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return Oh("blockquote",{...kt(this.options.HTMLAttributes,t),children:Oh("slot",{})})},parseMarkdown:(t,e)=>e.createNode("blockquote",void 0,e.parseChildren(t.tokens||[])),renderMarkdown:(t,e)=>{if(!t.content)return"";const n=">",r=[];return t.content.forEach(a=>{const c=e.renderChildren([a]).split(` + */var MN;function L_(){if(MN)return fg;MN=1;var t=wd(),e=Fk();function n(h,f){return h===f&&(h!==0||1/h===1/f)||h!==h&&f!==f}var r=typeof Object.is=="function"?Object.is:n,a=e.useSyncExternalStore,i=t.useRef,o=t.useEffect,c=t.useMemo,u=t.useDebugValue;return fg.useSyncExternalStoreWithSelector=function(h,f,m,g,y){var v=i(null);if(v.current===null){var w={hasValue:!1,value:null};v.current=w}else w=v.current;v=c(function(){function k(H){if(!C){if(C=!0,E=H,H=g(H),y!==void 0&&w.hasValue){var _=w.value;if(y(_,H))return A=_}return A=H}if(_=A,r(E,H))return _;var P=g(H);return y!==void 0&&y(_,P)?(E=H,_):(E=H,A=P)}var C=!1,E,A,D=m===void 0?null:m;return[function(){return k(f())},D===null?void 0:function(){return k(D())}]},[f,m,g,y]);var N=a(h,v[0],v[1]);return o(function(){w.hasValue=!0,w.value=N},[N]),u(N),N},fg}var AN;function __(){return AN||(AN=1,hg.exports=L_()),hg.exports}var z_=__(),$_=(...t)=>e=>{t.forEach(n=>{typeof n=="function"?n(e):n&&(n.current=e)})},F_=({contentComponent:t})=>{const e=Bk.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getServerSnapshot);return s.jsx(s.Fragment,{children:Object.values(e)})};function B_(){const t=new Set;let e={};return{subscribe(n){return t.add(n),()=>{t.delete(n)}},getSnapshot(){return e},getServerSnapshot(){return e},setRenderer(n,r){e={...e,[n]:_w.createPortal(r.reactElement,r.element,n)},t.forEach(a=>a())},removeRenderer(n){const r={...e};delete r[n],e=r,t.forEach(a=>a())}}}var V_=class extends fr.Component{constructor(t){var e;super(t),this.editorContentRef=fr.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!((e=t.editor)!=null&&e.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){var t;const e=this.props.editor;if(e&&!e.isDestroyed&&((t=e.view.dom)!=null&&t.parentNode)){if(e.contentComponent)return;const n=this.editorContentRef.current;n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n}),e.contentComponent=B_(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe(()=>{this.setState(r=>r.hasContentComponentInitialized?r:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){var t;const e=this.props.editor;if(e){this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null;try{if(!((t=e.view.dom)!=null&&t.parentNode))return;const n=document.createElement("div");n.append(...e.view.dom.parentNode.childNodes),e.setOptions({element:n})}catch{}}}render(){const{editor:t,innerRef:e,...n}=this.props;return s.jsxs(s.Fragment,{children:[s.jsx("div",{ref:$_(e,this.editorContentRef),...n}),(t==null?void 0:t.contentComponent)&&s.jsx(F_,{contentComponent:t.contentComponent})]})}},H_=b.forwardRef((t,e)=>{const n=fr.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[t.editor]);return fr.createElement(V_,{key:n,innerRef:e,...t})}),X2=fr.memo(H_),W_=typeof window<"u"?b.useLayoutEffect:b.useEffect,U_=class{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){const e=()=>{this.transactionNumber+=1,this.subscribers.forEach(r=>r())},n=this.editor;return n.on("transaction",e),()=>{n.off("transaction",e)}}}};function K_(t){var e;const[n]=b.useState(()=>new U_(t.editor)),r=z_.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,t.selector,(e=t.equalityFn)!=null?e:D_);return W_(()=>n.watch(t.editor),[t.editor,n]),b.useDebugValue(r),r}var q_=!1,gx=typeof window>"u",G_=gx||!!(typeof window<"u"&&window.next),J_=class Z2{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(n=>n())}getInitialEditor(){return this.options.current.immediatelyRender===void 0?gx||G_?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){const e={...this.options.current,onBeforeCreate:(...r)=>{var a,i;return(i=(a=this.options.current).onBeforeCreate)==null?void 0:i.call(a,...r)},onBlur:(...r)=>{var a,i;return(i=(a=this.options.current).onBlur)==null?void 0:i.call(a,...r)},onCreate:(...r)=>{var a,i;return(i=(a=this.options.current).onCreate)==null?void 0:i.call(a,...r)},onDestroy:(...r)=>{var a,i;return(i=(a=this.options.current).onDestroy)==null?void 0:i.call(a,...r)},onFocus:(...r)=>{var a,i;return(i=(a=this.options.current).onFocus)==null?void 0:i.call(a,...r)},onSelectionUpdate:(...r)=>{var a,i;return(i=(a=this.options.current).onSelectionUpdate)==null?void 0:i.call(a,...r)},onTransaction:(...r)=>{var a,i;return(i=(a=this.options.current).onTransaction)==null?void 0:i.call(a,...r)},onUpdate:(...r)=>{var a,i;return(i=(a=this.options.current).onUpdate)==null?void 0:i.call(a,...r)},onContentError:(...r)=>{var a,i;return(i=(a=this.options.current).onContentError)==null?void 0:i.call(a,...r)},onDrop:(...r)=>{var a,i;return(i=(a=this.options.current).onDrop)==null?void 0:i.call(a,...r)},onPaste:(...r)=>{var a,i;return(i=(a=this.options.current).onPaste)==null?void 0:i.call(a,...r)},onDelete:(...r)=>{var a,i;return(i=(a=this.options.current).onDelete)==null?void 0:i.call(a,...r)}};return new F6(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,n){return Object.keys(e).every(r=>["onCreate","onBeforeCreate","onDestroy","onUpdate","onTransaction","onFocus","onBlur","onSelectionUpdate","onContentError","onDrop","onPaste"].includes(r)?!0:r==="extensions"&&e.extensions&&n.extensions?e.extensions.length!==n.extensions.length?!1:e.extensions.every((a,i)=>{var o;return a===((o=n.extensions)==null?void 0:o[i])}):e[r]===n[r])}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&e.length===0?Z2.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({...this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(this.previousDeps===null){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((r,a)=>r===e[a]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){const e=this.instanceId,n=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){n&&n.setOptions(this.options.current);return}n&&!n.isDestroyed&&(n.destroy(),this.instanceId===e&&this.setEditor(null))},1)}};function Y_(t={},e=[]){const n=b.useRef(t);n.current=t;const[r]=b.useState(()=>new J_(n)),a=Bk.useSyncExternalStore(r.subscribe,r.getEditor,r.getServerSnapshot);return b.useDebugValue(a),b.useEffect(r.onRender(e)),K_({editor:a,selector:({transactionNumber:i})=>t.shouldRerenderOnTransaction===!1||t.shouldRerenderOnTransaction===void 0?null:t.immediatelyRender&&i===0?0:i+1}),a}var eC=b.createContext({editor:null});eC.Consumer;var Q_=b.createContext({onDragStart:()=>{},nodeViewContentChildren:void 0,nodeViewContentRef:()=>{}}),X_=()=>b.useContext(Q_);fr.forwardRef((t,e)=>{const{onDragStart:n}=X_(),r=t.as||"div";return s.jsx(r,{...t,ref:e,"data-node-view-wrapper":"",onDragStart:n,style:{whiteSpace:"normal",...t.style}})});fr.createContext({markViewContentRef:()=>{}});var B0=b.createContext({get editor(){throw new Error("useTiptap must be used within a provider")}});B0.displayName="TiptapContext";var Z_=()=>b.useContext(B0);function tC({editor:t,instance:e,children:n}){const r=t??e;if(!r)throw new Error("Tiptap: An editor instance is required. Pass a non-null `editor` prop.");const a=b.useMemo(()=>({editor:r}),[r]),i=b.useMemo(()=>({editor:r}),[r]);return s.jsx(eC.Provider,{value:i,children:s.jsx(B0.Provider,{value:a,children:n})})}tC.displayName="Tiptap";function nC({...t}){const{editor:e}=Z_();return s.jsx(X2,{editor:e,...t})}nC.displayName="Tiptap.Content";Object.assign(tC,{Content:nC});var Lh=(t,e)=>{if(t==="slot")return 0;if(t instanceof Function)return t(e);const{children:n,...r}=e??{};if(t==="svg")throw new Error("SVG elements are not supported in the JSX syntax, use the array syntax instead");return[t,r,n]},e7=/^\s*>\s$/,t7=wn.create({name:"blockquote",addOptions(){return{HTMLAttributes:{}}},content:"block+",group:"block",defining:!0,parseHTML(){return[{tag:"blockquote"}]},renderHTML({HTMLAttributes:t}){return Lh("blockquote",{...kt(this.options.HTMLAttributes,t),children:Lh("slot",{})})},parseMarkdown:(t,e)=>e.createNode("blockquote",void 0,e.parseChildren(t.tokens||[])),renderMarkdown:(t,e)=>{if(!t.content)return"";const n=">",r=[];return t.content.forEach(a=>{const c=e.renderChildren([a]).split(` `).map(u=>u.trim()===""?n:`${n} ${u}`);r.push(c.join(` `))}),r.join(` ${n} -`)},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Hl({find:Z_,type:this.type})]}}),t7=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,n7=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,r7=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,s7=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,a7=Fo.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return Oh("strong",{...kt(this.options.HTMLAttributes,t),children:Oh("slot",{})})},markdownTokenName:"strong",parseMarkdown:(t,e)=>e.applyMark("bold",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`**${e.renderChildren(t)}**`,addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Vl({find:t7,type:this.type}),Vl({find:r7,type:this.type})]},addPasteRules(){return[Po({find:n7,type:this.type}),Po({find:s7,type:this.type})]}}),i7=/(^|[^`])`([^`]+)`(?!`)$/,o7=/(^|[^`])`([^`]+)`(?!`)/g,l7=Fo.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:t}){return["code",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"codespan",parseMarkdown:(t,e)=>e.applyMark("code",[{type:"text",text:t.text||""}]),renderMarkdown:(t,e)=>t.content?`\`${e.renderChildren(t.content)}\``:"",addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[Vl({find:i7,type:this.type})]},addPasteRules(){return[Po({find:o7,type:this.type})]}}),ug=4,c7=/^```([a-z]+)?[\s\n]$/,d7=/^~~~([a-z]+)?[\s\n]$/,u7=wn.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:ug,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options;if(!n)return null;const i=[...((e=t.firstElementChild)==null?void 0:e.classList)||[]].filter(o=>o.startsWith(n)).map(o=>o.replace(n,""))[0];return i||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:e}){return["pre",kt(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(t,e)=>{var n,r;return((n=t.raw)==null?void 0:n.startsWith("```"))===!1&&((r=t.raw)==null?void 0:r.startsWith("~~~"))===!1&&t.codeBlockStyle!=="indented"?[]:e.createNode("codeBlock",{language:t.lang||null},t.text?[e.createTextNode(t.text)]:[])},renderMarkdown:(t,e)=>{var n;let r="";const a=((n=t.attrs)==null?void 0:n.language)||"";return t.content?r=[`\`\`\`${a}`,e.renderChildren(t.content),"```"].join(` +`)},addCommands(){return{setBlockquote:()=>({commands:t})=>t.wrapIn(this.name),toggleBlockquote:()=>({commands:t})=>t.toggleWrap(this.name),unsetBlockquote:()=>({commands:t})=>t.lift(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-b":()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[Hl({find:e7,type:this.type})]}}),n7=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,r7=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,s7=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,a7=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,i7=Fo.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:t=>t.style.fontWeight!=="normal"&&null},{style:"font-weight=400",clearMark:t=>t.type.name===this.name},{style:"font-weight",getAttrs:t=>/^(bold(er)?|[5-9]\d{2,})$/.test(t)&&null}]},renderHTML({HTMLAttributes:t}){return Lh("strong",{...kt(this.options.HTMLAttributes,t),children:Lh("slot",{})})},markdownTokenName:"strong",parseMarkdown:(t,e)=>e.applyMark("bold",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`**${e.renderChildren(t)}**`,addCommands(){return{setBold:()=>({commands:t})=>t.setMark(this.name),toggleBold:()=>({commands:t})=>t.toggleMark(this.name),unsetBold:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[Vl({find:n7,type:this.type}),Vl({find:s7,type:this.type})]},addPasteRules(){return[Po({find:r7,type:this.type}),Po({find:a7,type:this.type})]}}),o7=/(^|[^`])`([^`]+)`(?!`)$/,l7=/(^|[^`])`([^`]+)`(?!`)/g,c7=Fo.create({name:"code",addOptions(){return{HTMLAttributes:{}}},excludes:"_",code:!0,exitable:!0,parseHTML(){return[{tag:"code"}]},renderHTML({HTMLAttributes:t}){return["code",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"codespan",parseMarkdown:(t,e)=>e.applyMark("code",[{type:"text",text:t.text||""}]),renderMarkdown:(t,e)=>t.content?`\`${e.renderChildren(t.content)}\``:"",addCommands(){return{setCode:()=>({commands:t})=>t.setMark(this.name),toggleCode:()=>({commands:t})=>t.toggleMark(this.name),unsetCode:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-e":()=>this.editor.commands.toggleCode()}},addInputRules(){return[Vl({find:o7,type:this.type})]},addPasteRules(){return[Po({find:l7,type:this.type})]}}),pg=4,d7=/^```([a-z]+)?[\s\n]$/,u7=/^~~~([a-z]+)?[\s\n]$/,h7=wn.create({name:"codeBlock",addOptions(){return{languageClassPrefix:"language-",exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,enableTabIndentation:!1,tabSize:pg,HTMLAttributes:{}}},content:"text*",marks:"",group:"block",code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:t=>{var e;const{languageClassPrefix:n}=this.options;if(!n)return null;const i=[...((e=t.firstElementChild)==null?void 0:e.classList)||[]].filter(o=>o.startsWith(n)).map(o=>o.replace(n,""))[0];return i||null},rendered:!1}}},parseHTML(){return[{tag:"pre",preserveWhitespace:"full"}]},renderHTML({node:t,HTMLAttributes:e}){return["pre",kt(this.options.HTMLAttributes,e),["code",{class:t.attrs.language?this.options.languageClassPrefix+t.attrs.language:null},0]]},markdownTokenName:"code",parseMarkdown:(t,e)=>{var n,r;return((n=t.raw)==null?void 0:n.startsWith("```"))===!1&&((r=t.raw)==null?void 0:r.startsWith("~~~"))===!1&&t.codeBlockStyle!=="indented"?[]:e.createNode("codeBlock",{language:t.lang||null},t.text?[e.createTextNode(t.text)]:[])},renderMarkdown:(t,e)=>{var n;let r="";const a=((n=t.attrs)==null?void 0:n.language)||"";return t.content?r=[`\`\`\`${a}`,e.renderChildren(t.content),"```"].join(` `):r=`\`\`\`${a} -\`\`\``,r},addCommands(){return{setCodeBlock:t=>({commands:e})=>e.setNode(this.name,t),toggleCodeBlock:t=>({commands:e})=>e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:e}=this.editor.state.selection,n=e.pos===1;return!t||e.parent.type.name!==this.name?!1:n||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Tab:({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:ug,{state:r}=t,{selection:a}=r,{$from:i,empty:o}=a;if(i.parent.type!==this.type)return!1;const c=" ".repeat(n);return o?t.commands.insertContent(c):t.commands.command(({tr:u})=>{const{from:h,to:f}=a,y=r.doc.textBetween(h,f,` +\`\`\``,r},addCommands(){return{setCodeBlock:t=>({commands:e})=>e.setNode(this.name,t),toggleCodeBlock:t=>({commands:e})=>e.toggleNode(this.name,"paragraph",t)}},addKeyboardShortcuts(){return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{const{empty:t,$anchor:e}=this.editor.state.selection,n=e.pos===1;return!t||e.parent.type.name!==this.name?!1:n||!e.parent.textContent.length?this.editor.commands.clearNodes():!1},Tab:({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:pg,{state:r}=t,{selection:a}=r,{$from:i,empty:o}=a;if(i.parent.type!==this.type)return!1;const c=" ".repeat(n);return o?t.commands.insertContent(c):t.commands.command(({tr:u})=>{const{from:h,to:f}=a,y=r.doc.textBetween(h,f,` `,` `).split(` `).map(v=>c+v).join(` -`);return u.replaceWith(h,f,r.schema.text(y)),!0})},"Shift-Tab":({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:ug,{state:r}=t,{selection:a}=r,{$from:i,empty:o}=a;return i.parent.type!==this.type?!1:o?t.commands.command(({tr:c})=>{var u;const{pos:h}=i,f=i.start(),m=i.end(),y=r.doc.textBetween(f,m,` +`);return u.replaceWith(h,f,r.schema.text(y)),!0})},"Shift-Tab":({editor:t})=>{var e;if(!this.options.enableTabIndentation)return!1;const n=(e=this.options.tabSize)!=null?e:pg,{state:r}=t,{selection:a}=r,{$from:i,empty:o}=a;return i.parent.type!==this.type?!1:o?t.commands.command(({tr:c})=>{var u;const{pos:h}=i,f=i.start(),m=i.end(),y=r.doc.textBetween(f,m,` `,` `).split(` `);let v=0,w=0;const N=h-f;for(let H=0;H=N){v=H;break}w+=y[H].length+1}const C=((u=y[v].match(/^ */))==null?void 0:u[0])||"",E=Math.min(C.length,n);if(E===0)return!0;let A=f;for(let H=0;H{const{from:u,to:h}=a,g=r.doc.textBetween(u,h,` @@ -737,31 +737,31 @@ ${n} `).map(y=>{var v;const w=((v=y.match(/^ */))==null?void 0:v[0])||"",N=Math.min(w.length,n);return y.slice(N)}).join(` `);return c.replaceWith(u,h,r.schema.text(g)),!0})},Enter:({editor:t})=>{if(!this.options.exitOnTripleEnter)return!1;const{state:e}=t,{selection:n}=e,{$from:r,empty:a}=n;if(!a||r.parent.type!==this.type)return!1;const i=r.parentOffset===r.parent.nodeSize-2,o=r.parent.textContent.endsWith(` -`);return!i||!o?!1:t.chain().command(({tr:c})=>(c.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:r}=e,{$from:a,empty:i}=n;if(!i||a.parent.type!==this.type||!(a.parentOffset===a.parent.nodeSize-2))return!1;const c=a.after();return c===void 0?!1:r.nodeAt(c)?t.commands.command(({tr:h})=>(h.setSelection(tt.near(r.resolve(c))),!0)):t.commands.exitCode()}}},addInputRules(){return[ux({find:c7,type:this.type,getAttributes:t=>({language:t[1]})}),ux({find:d7,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new Ut({key:new Yt("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),a=r?JSON.parse(r):void 0,i=a==null?void 0:a.mode;if(!n||!i)return!1;const{tr:o,schema:c}=t.state,u=c.text(n.replace(/\r\n?/g,` -`));return o.replaceSelectionWith(this.type.create({language:i},u)),o.selection.$from.parent.type!==this.type&&o.setSelection(Qe.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),t.dispatch(o),!0}}})]}}),h7=wn.create({name:"doc",topNode:!0,content:"block+",renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` +`);return!i||!o?!1:t.chain().command(({tr:c})=>(c.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown)return!1;const{state:e}=t,{selection:n,doc:r}=e,{$from:a,empty:i}=n;if(!i||a.parent.type!==this.type||!(a.parentOffset===a.parent.nodeSize-2))return!1;const c=a.after();return c===void 0?!1:r.nodeAt(c)?t.commands.command(({tr:h})=>(h.setSelection(tt.near(r.resolve(c))),!0)):t.commands.exitCode()}}},addInputRules(){return[px({find:d7,type:this.type,getAttributes:t=>({language:t[1]})}),px({find:u7,type:this.type,getAttributes:t=>({language:t[1]})})]},addProseMirrorPlugins(){return[new Ut({key:new Yt("codeBlockVSCodeHandler"),props:{handlePaste:(t,e)=>{if(!e.clipboardData||this.editor.isActive(this.type.name))return!1;const n=e.clipboardData.getData("text/plain"),r=e.clipboardData.getData("vscode-editor-data"),a=r?JSON.parse(r):void 0,i=a==null?void 0:a.mode;if(!n||!i)return!1;const{tr:o,schema:c}=t.state,u=c.text(n.replace(/\r\n?/g,` +`));return o.replaceSelectionWith(this.type.create({language:i},u)),o.selection.$from.parent.type!==this.type&&o.setSelection(Qe.near(o.doc.resolve(Math.max(0,o.selection.from-2)))),o.setMeta("paste",!0),t.dispatch(o),!0}}})]}}),f7=wn.create({name:"doc",topNode:!0,content:"block+",renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):""}),f7=wn.create({name:"hardBreak",markdownTokenName:"br",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",kt(this.options.HTMLAttributes,t)]},renderText(){return` +`):""}),p7=wn.create({name:"hardBreak",markdownTokenName:"br",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,linebreakReplacement:!0,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:t}){return["br",kt(this.options.HTMLAttributes,t)]},renderText(){return` `},renderMarkdown:()=>` -`,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:r})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:a,storedMarks:i}=n;if(a.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:c}=r.extensionManager,u=i||a.$to.parentOffset&&a.$from.marks();return e().insertContent({type:this.name}).command(({tr:h,dispatch:f})=>{if(f&&u&&o){const m=u.filter(g=>c.includes(g.type.name));h.ensureMarks(m)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),p7=wn.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,kt(this.options.HTMLAttributes,e),0]},parseMarkdown:(t,e)=>e.createNode("heading",{level:t.depth||1},e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>{var n;const r=(n=t.attrs)!=null&&n.level?parseInt(t.attrs.level,10):1,a="#".repeat(r);return t.content?`${a} ${e.renderChildren(t.content)}`:""},addCommands(){return{setHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.setNode(this.name,t):!1,toggleHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(t=>ux({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${t}})\\s$`),type:this.type,getAttributes:{level:t}}))}}),m7=wn.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{},nextNodeType:"paragraph"}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",kt(this.options.HTMLAttributes,t)]},markdownTokenName:"hr",parseMarkdown:(t,e)=>e.createNode("horizontalRule"),renderMarkdown:()=>"---",addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{if(!V6(e,e.schema.nodes[this.name]))return!1;const{selection:n}=e,{$to:r}=n,a=t();return M2(n)?a.insertContentAt(r.pos,{type:this.name}):a.insertContent({type:this.name}),a.command(({state:i,tr:o,dispatch:c})=>{if(c){const{$to:u}=o.selection,h=u.end();if(u.nodeAfter)u.nodeAfter.isTextblock?o.setSelection(Qe.create(o.doc,u.pos+1)):u.nodeAfter.isBlock?o.setSelection(Je.create(o.doc,u.pos)):o.setSelection(Qe.create(o.doc,u.pos));else{const f=i.schema.nodes[this.options.nextNodeType]||u.parent.type.contentMatch.defaultType,m=f==null?void 0:f.create();m&&(o.insert(h,m),o.setSelection(Qe.create(o.doc,h+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[K2({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),g7=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,x7=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,y7=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,b7=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,v7=Fo.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",kt(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},markdownTokenName:"em",parseMarkdown:(t,e)=>e.applyMark("italic",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`*${e.renderChildren(t)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Vl({find:g7,type:this.type}),Vl({find:y7,type:this.type})]},addPasteRules(){return[Po({find:x7,type:this.type}),Po({find:b7,type:this.type})]}});const N7="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",w7="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",px="numeric",mx="ascii",gx="alpha",Zc="asciinumeric",Wc="alphanumeric",xx="domain",tC="emoji",j7="scheme",k7="slashscheme",hg="whitespace";function S7(t,e){return t in e||(e[t]=[]),e[t]}function yo(t,e,n){e[px]&&(e[Zc]=!0,e[Wc]=!0),e[mx]&&(e[Zc]=!0,e[gx]=!0),e[Zc]&&(e[Wc]=!0),e[gx]&&(e[Wc]=!0),e[Wc]&&(e[xx]=!0),e[tC]&&(e[xx]=!0);for(const r in e){const a=S7(r,n);a.indexOf(t)<0&&a.push(t)}}function C7(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function Tr(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}Tr.groups={};Tr.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;rt.ta(e,n,r,a),an=(t,e,n,r,a)=>t.tr(e,n,r,a),MN=(t,e,n,r,a)=>t.ts(e,n,r,a),ke=(t,e,n,r,a)=>t.tt(e,n,r,a),ya="WORD",yx="UWORD",nC="ASCIINUMERICAL",rC="ALPHANUMERICAL",yd="LOCALHOST",bx="TLD",vx="UTLD",oh="SCHEME",kl="SLASH_SCHEME",F0="NUM",Nx="WS",B0="NL",ed="OPENBRACE",td="CLOSEBRACE",Dh="OPENBRACKET",Lh="CLOSEBRACKET",_h="OPENPAREN",zh="CLOSEPAREN",$h="OPENANGLEBRACKET",Fh="CLOSEANGLEBRACKET",Bh="FULLWIDTHLEFTPAREN",Vh="FULLWIDTHRIGHTPAREN",Hh="LEFTCORNERBRACKET",Wh="RIGHTCORNERBRACKET",Uh="LEFTWHITECORNERBRACKET",Kh="RIGHTWHITECORNERBRACKET",qh="FULLWIDTHLESSTHAN",Gh="FULLWIDTHGREATERTHAN",Jh="AMPERSAND",Yh="APOSTROPHE",Qh="ASTERISK",ui="AT",Xh="BACKSLASH",Zh="BACKTICK",ef="CARET",pi="COLON",V0="COMMA",tf="DOLLAR",Bs="DOT",nf="EQUALS",H0="EXCLAMATION",Yr="HYPHEN",nd="PERCENT",rf="PIPE",sf="PLUS",af="POUND",rd="QUERY",W0="QUOTE",sC="FULLWIDTHMIDDLEDOT",U0="SEMI",Vs="SLASH",sd="TILDE",of="UNDERSCORE",aC="EMOJI",lf="SYM";var iC=Object.freeze({__proto__:null,ALPHANUMERICAL:rC,AMPERSAND:Jh,APOSTROPHE:Yh,ASCIINUMERICAL:nC,ASTERISK:Qh,AT:ui,BACKSLASH:Xh,BACKTICK:Zh,CARET:ef,CLOSEANGLEBRACKET:Fh,CLOSEBRACE:td,CLOSEBRACKET:Lh,CLOSEPAREN:zh,COLON:pi,COMMA:V0,DOLLAR:tf,DOT:Bs,EMOJI:aC,EQUALS:nf,EXCLAMATION:H0,FULLWIDTHGREATERTHAN:Gh,FULLWIDTHLEFTPAREN:Bh,FULLWIDTHLESSTHAN:qh,FULLWIDTHMIDDLEDOT:sC,FULLWIDTHRIGHTPAREN:Vh,HYPHEN:Yr,LEFTCORNERBRACKET:Hh,LEFTWHITECORNERBRACKET:Uh,LOCALHOST:yd,NL:B0,NUM:F0,OPENANGLEBRACKET:$h,OPENBRACE:ed,OPENBRACKET:Dh,OPENPAREN:_h,PERCENT:nd,PIPE:rf,PLUS:sf,POUND:af,QUERY:rd,QUOTE:W0,RIGHTCORNERBRACKET:Wh,RIGHTWHITECORNERBRACKET:Kh,SCHEME:oh,SEMI:U0,SLASH:Vs,SLASH_SCHEME:kl,SYM:lf,TILDE:sd,TLD:bx,UNDERSCORE:of,UTLD:vx,UWORD:yx,WORD:ya,WS:Nx});const ga=/[a-z]/,zc=new RegExp("\\p{L}","u"),fg=new RegExp("\\p{Emoji}","u"),xa=/\d/,pg=/\s/,AN="\r",mg=` -`,E7="️",T7="‍",gg="";let qu=null,Gu=null;function M7(t=[]){const e={};Tr.groups=e;const n=new Tr;qu==null&&(qu=IN(N7)),Gu==null&&(Gu=IN(w7)),ke(n,"'",Yh),ke(n,"{",ed),ke(n,"}",td),ke(n,"[",Dh),ke(n,"]",Lh),ke(n,"(",_h),ke(n,")",zh),ke(n,"<",$h),ke(n,">",Fh),ke(n,"(",Bh),ke(n,")",Vh),ke(n,"「",Hh),ke(n,"」",Wh),ke(n,"『",Uh),ke(n,"』",Kh),ke(n,"<",qh),ke(n,">",Gh),ke(n,"&",Jh),ke(n,"*",Qh),ke(n,"@",ui),ke(n,"`",Zh),ke(n,"^",ef),ke(n,":",pi),ke(n,",",V0),ke(n,"$",tf),ke(n,".",Bs),ke(n,"=",nf),ke(n,"!",H0),ke(n,"-",Yr),ke(n,"%",nd),ke(n,"|",rf),ke(n,"+",sf),ke(n,"#",af),ke(n,"?",rd),ke(n,'"',W0),ke(n,"/",Vs),ke(n,";",U0),ke(n,"~",sd),ke(n,"_",of),ke(n,"\\",Xh),ke(n,"・",sC);const r=an(n,xa,F0,{[px]:!0});an(r,xa,r);const a=an(r,ga,nC,{[Zc]:!0}),i=an(r,zc,rC,{[Wc]:!0}),o=an(n,ga,ya,{[mx]:!0});an(o,xa,a),an(o,ga,o),an(a,xa,a),an(a,ga,a);const c=an(n,zc,yx,{[gx]:!0});an(c,ga),an(c,xa,i),an(c,zc,c),an(i,xa,i),an(i,ga),an(i,zc,i);const u=ke(n,mg,B0,{[hg]:!0}),h=ke(n,AN,Nx,{[hg]:!0}),f=an(n,pg,Nx,{[hg]:!0});ke(n,gg,f),ke(h,mg,u),ke(h,gg,f),an(h,pg,f),ke(f,AN),ke(f,mg),an(f,pg,f),ke(f,gg,f);const m=an(n,fg,aC,{[tC]:!0});ke(m,"#"),an(m,fg,m),ke(m,E7,m);const g=ke(m,T7);ke(g,"#"),an(g,fg,m);const y=[[ga,o],[xa,a]],v=[[ga,null],[zc,c],[xa,i]];for(let w=0;ww[0]>N[0]?1:-1);for(let w=0;w=0?C[xx]=!0:ga.test(N)?xa.test(N)?C[Zc]=!0:C[mx]=!0:C[px]=!0,MN(n,N,N,C)}return MN(n,"localhost",yd,{ascii:!0}),n.jd=new Tr(lf),{start:n,tokens:Object.assign({groups:e},iC)}}function oC(t,e){const n=A7(e.replace(/[A-Z]/g,c=>c.toLowerCase())),r=n.length,a=[];let i=0,o=0;for(;o=0&&(m+=n[o].length,g++),h+=n[o].length,i+=n[o].length,o++;i-=m,o-=g,h-=m,a.push({t:f.t,v:e.slice(i-h,i),s:i-h,e:i})}return a}function A7(t){const e=[],n=t.length;let r=0;for(;r56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?t[r]:t.slice(r,r+2);e.push(o),r+=o.length}return e}function ii(t,e,n,r,a){let i;const o=e.length;for(let c=0;c=0;)i++;if(i>0){e.push(n.join(""));for(let o=parseInt(t.substring(r,r+i),10);o>0;o--)n.pop();r+=i}else n.push(t[r]),r++}return e}const bd={defaultProtocol:"http",events:null,format:RN,formatHref:RN,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function K0(t,e=null){let n=Object.assign({},bd);t&&(n=Object.assign(n,t instanceof K0?t.o:t));const r=n.ignoreTags,a=[];for(let i=0;in?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=bd.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),a=t.get("tagName",n,e),i=this.toFormattedString(t),o={},c=t.get("className",n,e),u=t.get("target",n,e),h=t.get("rel",n,e),f=t.getObj("attributes",n,e),m=t.getObj("events",n,e);return o.href=r,c&&(o.class=c),u&&(o.target=u),h&&(o.rel=h),f&&Object.assign(o,f),{tagName:a,attributes:o,content:i,eventListeners:m}}};function Ff(t,e){class n extends lC{constructor(a,i){super(a,i),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const PN=Ff("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),ON=Ff("text"),I7=Ff("nl"),Ju=Ff("url",{isLink:!0,toHref(t=bd.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==yd&&t[1].t===pi}}),Jr=t=>new Tr(t);function R7({groups:t}){const e=t.domain.concat([Jh,Qh,ui,Xh,Zh,ef,tf,nf,Yr,F0,nd,rf,sf,af,Vs,lf,sd,of]),n=[Yh,pi,V0,Bs,H0,nd,rd,W0,U0,$h,Fh,ed,td,Lh,Dh,_h,zh,Bh,Vh,Hh,Wh,Uh,Kh,qh,Gh],r=[Jh,Yh,Qh,Xh,Zh,ef,tf,nf,Yr,ed,td,nd,rf,sf,af,rd,Vs,lf,sd,of],a=Jr(),i=ke(a,sd);ot(i,r,i),ot(i,t.domain,i);const o=Jr(),c=Jr(),u=Jr();ot(a,t.domain,o),ot(a,t.scheme,c),ot(a,t.slashscheme,u),ot(o,r,i),ot(o,t.domain,o);const h=ke(o,ui);ke(i,ui,h),ke(c,ui,h),ke(u,ui,h);const f=ke(i,Bs);ot(f,r,i),ot(f,t.domain,i);const m=Jr();ot(h,t.domain,m),ot(m,t.domain,m);const g=ke(m,Bs);ot(g,t.domain,m);const y=Jr(PN);ot(g,t.tld,y),ot(g,t.utld,y),ke(h,yd,y);const v=ke(m,Yr);ke(v,Yr,v),ot(v,t.domain,m),ot(y,t.domain,m),ke(y,Bs,g),ke(y,Yr,v);const w=ke(y,pi);ot(w,t.numeric,PN);const N=ke(o,Yr),k=ke(o,Bs);ke(N,Yr,N),ot(N,t.domain,o),ot(k,r,i),ot(k,t.domain,o);const C=Jr(Ju);ot(k,t.tld,C),ot(k,t.utld,C),ot(C,t.domain,o),ot(C,r,i),ke(C,Bs,k),ke(C,Yr,N),ke(C,ui,h);const E=ke(C,pi),A=Jr(Ju);ot(E,t.numeric,A);const D=Jr(Ju),H=Jr();ot(D,e,D),ot(D,n,H),ot(H,e,D),ot(H,n,H),ke(C,Vs,D),ke(A,Vs,D);const _=ke(c,pi),P=ke(u,pi),L=ke(P,Vs),$=ke(L,Vs);ot(c,t.domain,o),ke(c,Bs,k),ke(c,Yr,N),ot(u,t.domain,o),ke(u,Bs,k),ke(u,Yr,N),ot(_,t.domain,D),ke(_,Vs,D),ke(_,rd,D),ot($,t.domain,D),ot($,e,D),ke($,Vs,D);const ee=[[ed,td],[Dh,Lh],[_h,zh],[$h,Fh],[Bh,Vh],[Hh,Wh],[Uh,Kh],[qh,Gh]];for(let K=0;K=0&&g++,a++,f++;if(g<0)a-=f,a0&&(i.push(xg(ON,e,o)),o=[]),a-=g,f-=g;const y=m.t,v=n.slice(a-f,a);i.push(xg(y,e,v))}}return o.length>0&&i.push(xg(ON,e,o)),i}function xg(t,e,n){const r=n[0].s,a=n[n.length-1].e,i=e.slice(r,a);return new t(i,n)}const O7=typeof console<"u"&&console&&console.warn||(()=>{}),D7="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Gt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function L7(){return Tr.groups={},Gt.scanner=null,Gt.parser=null,Gt.tokenQueue=[],Gt.pluginQueue=[],Gt.customSchemes=[],Gt.initialized=!1,Gt}function DN(t,e=!1){if(Gt.initialized&&O7(`linkifyjs: already initialized - will not register custom scheme "${t}" ${D7}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format. +`,parseMarkdown:()=>({type:"hardBreak"}),addCommands(){return{setHardBreak:()=>({commands:t,chain:e,state:n,editor:r})=>t.first([()=>t.exitCode(),()=>t.command(()=>{const{selection:a,storedMarks:i}=n;if(a.$from.parent.type.spec.isolating)return!1;const{keepMarks:o}=this.options,{splittableMarks:c}=r.extensionManager,u=i||a.$to.parentOffset&&a.$from.marks();return e().insertContent({type:this.name}).command(({tr:h,dispatch:f})=>{if(f&&u&&o){const m=u.filter(g=>c.includes(g.type.name));h.ensureMarks(m)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),m7=wn.create({name:"heading",addOptions(){return{levels:[1,2,3,4,5,6],HTMLAttributes:{}}},content:"inline*",group:"block",defining:!0,addAttributes(){return{level:{default:1,rendered:!1}}},parseHTML(){return this.options.levels.map(t=>({tag:`h${t}`,attrs:{level:t}}))},renderHTML({node:t,HTMLAttributes:e}){return[`h${this.options.levels.includes(t.attrs.level)?t.attrs.level:this.options.levels[0]}`,kt(this.options.HTMLAttributes,e),0]},parseMarkdown:(t,e)=>e.createNode("heading",{level:t.depth||1},e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>{var n;const r=(n=t.attrs)!=null&&n.level?parseInt(t.attrs.level,10):1,a="#".repeat(r);return t.content?`${a} ${e.renderChildren(t.content)}`:""},addCommands(){return{setHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.setNode(this.name,t):!1,toggleHeading:t=>({commands:e})=>this.options.levels.includes(t.level)?e.toggleNode(this.name,"paragraph",t):!1}},addKeyboardShortcuts(){return this.options.levels.reduce((t,e)=>({...t,[`Mod-Alt-${e}`]:()=>this.editor.commands.toggleHeading({level:e})}),{})},addInputRules(){return this.options.levels.map(t=>px({find:new RegExp(`^(#{${Math.min(...this.options.levels)},${t}})\\s$`),type:this.type,getAttributes:{level:t}}))}}),g7=wn.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{},nextNodeType:"paragraph"}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:t}){return["hr",kt(this.options.HTMLAttributes,t)]},markdownTokenName:"hr",parseMarkdown:(t,e)=>e.createNode("horizontalRule"),renderMarkdown:()=>"---",addCommands(){return{setHorizontalRule:()=>({chain:t,state:e})=>{if(!H6(e,e.schema.nodes[this.name]))return!1;const{selection:n}=e,{$to:r}=n,a=t();return I2(n)?a.insertContentAt(r.pos,{type:this.name}):a.insertContent({type:this.name}),a.command(({state:i,tr:o,dispatch:c})=>{if(c){const{$to:u}=o.selection,h=u.end();if(u.nodeAfter)u.nodeAfter.isTextblock?o.setSelection(Qe.create(o.doc,u.pos+1)):u.nodeAfter.isBlock?o.setSelection(Je.create(o.doc,u.pos)):o.setSelection(Qe.create(o.doc,u.pos));else{const f=i.schema.nodes[this.options.nextNodeType]||u.parent.type.contentMatch.defaultType,m=f==null?void 0:f.create();m&&(o.insert(h,m),o.setSelection(Qe.create(o.doc,h+1)))}o.scrollIntoView()}return!0}).run()}}},addInputRules(){return[G2({find:/^(?:---|—-|___\s|\*\*\*\s)$/,type:this.type})]}}),x7=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,y7=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,b7=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,v7=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,N7=Fo.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:t=>t.style.fontStyle!=="normal"&&null},{style:"font-style=normal",clearMark:t=>t.type.name===this.name},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:t}){return["em",kt(this.options.HTMLAttributes,t),0]},addCommands(){return{setItalic:()=>({commands:t})=>t.setMark(this.name),toggleItalic:()=>({commands:t})=>t.toggleMark(this.name),unsetItalic:()=>({commands:t})=>t.unsetMark(this.name)}},markdownTokenName:"em",parseMarkdown:(t,e)=>e.applyMark("italic",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`*${e.renderChildren(t)}*`,addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[Vl({find:x7,type:this.type}),Vl({find:b7,type:this.type})]},addPasteRules(){return[Po({find:y7,type:this.type}),Po({find:v7,type:this.type})]}});const w7="aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2",j7="ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2",xx="numeric",yx="ascii",bx="alpha",Zc="asciinumeric",Wc="alphanumeric",vx="domain",rC="emoji",k7="scheme",S7="slashscheme",mg="whitespace";function C7(t,e){return t in e||(e[t]=[]),e[t]}function yo(t,e,n){e[xx]&&(e[Zc]=!0,e[Wc]=!0),e[yx]&&(e[Zc]=!0,e[bx]=!0),e[Zc]&&(e[Wc]=!0),e[bx]&&(e[Wc]=!0),e[Wc]&&(e[vx]=!0),e[rC]&&(e[vx]=!0);for(const r in e){const a=C7(r,n);a.indexOf(t)<0&&a.push(t)}}function E7(t,e){const n={};for(const r in e)e[r].indexOf(t)>=0&&(n[r]=!0);return n}function Tr(t=null){this.j={},this.jr=[],this.jd=null,this.t=t}Tr.groups={};Tr.prototype={accepts(){return!!this.t},go(t){const e=this,n=e.j[t];if(n)return n;for(let r=0;rt.ta(e,n,r,a),an=(t,e,n,r,a)=>t.tr(e,n,r,a),IN=(t,e,n,r,a)=>t.ts(e,n,r,a),Se=(t,e,n,r,a)=>t.tt(e,n,r,a),ya="WORD",Nx="UWORD",sC="ASCIINUMERICAL",aC="ALPHANUMERICAL",yd="LOCALHOST",wx="TLD",jx="UTLD",ch="SCHEME",kl="SLASH_SCHEME",V0="NUM",kx="WS",H0="NL",ed="OPENBRACE",td="CLOSEBRACE",_h="OPENBRACKET",zh="CLOSEBRACKET",$h="OPENPAREN",Fh="CLOSEPAREN",Bh="OPENANGLEBRACKET",Vh="CLOSEANGLEBRACKET",Hh="FULLWIDTHLEFTPAREN",Wh="FULLWIDTHRIGHTPAREN",Uh="LEFTCORNERBRACKET",Kh="RIGHTCORNERBRACKET",qh="LEFTWHITECORNERBRACKET",Gh="RIGHTWHITECORNERBRACKET",Jh="FULLWIDTHLESSTHAN",Yh="FULLWIDTHGREATERTHAN",Qh="AMPERSAND",Xh="APOSTROPHE",Zh="ASTERISK",ui="AT",ef="BACKSLASH",tf="BACKTICK",nf="CARET",pi="COLON",W0="COMMA",rf="DOLLAR",Bs="DOT",sf="EQUALS",U0="EXCLAMATION",Yr="HYPHEN",nd="PERCENT",af="PIPE",of="PLUS",lf="POUND",rd="QUERY",K0="QUOTE",iC="FULLWIDTHMIDDLEDOT",q0="SEMI",Vs="SLASH",sd="TILDE",cf="UNDERSCORE",oC="EMOJI",df="SYM";var lC=Object.freeze({__proto__:null,ALPHANUMERICAL:aC,AMPERSAND:Qh,APOSTROPHE:Xh,ASCIINUMERICAL:sC,ASTERISK:Zh,AT:ui,BACKSLASH:ef,BACKTICK:tf,CARET:nf,CLOSEANGLEBRACKET:Vh,CLOSEBRACE:td,CLOSEBRACKET:zh,CLOSEPAREN:Fh,COLON:pi,COMMA:W0,DOLLAR:rf,DOT:Bs,EMOJI:oC,EQUALS:sf,EXCLAMATION:U0,FULLWIDTHGREATERTHAN:Yh,FULLWIDTHLEFTPAREN:Hh,FULLWIDTHLESSTHAN:Jh,FULLWIDTHMIDDLEDOT:iC,FULLWIDTHRIGHTPAREN:Wh,HYPHEN:Yr,LEFTCORNERBRACKET:Uh,LEFTWHITECORNERBRACKET:qh,LOCALHOST:yd,NL:H0,NUM:V0,OPENANGLEBRACKET:Bh,OPENBRACE:ed,OPENBRACKET:_h,OPENPAREN:$h,PERCENT:nd,PIPE:af,PLUS:of,POUND:lf,QUERY:rd,QUOTE:K0,RIGHTCORNERBRACKET:Kh,RIGHTWHITECORNERBRACKET:Gh,SCHEME:ch,SEMI:q0,SLASH:Vs,SLASH_SCHEME:kl,SYM:df,TILDE:sd,TLD:wx,UNDERSCORE:cf,UTLD:jx,UWORD:Nx,WORD:ya,WS:kx});const ga=/[a-z]/,zc=new RegExp("\\p{L}","u"),gg=new RegExp("\\p{Emoji}","u"),xa=/\d/,xg=/\s/,RN="\r",yg=` +`,T7="️",M7="‍",bg="";let Ju=null,Yu=null;function A7(t=[]){const e={};Tr.groups=e;const n=new Tr;Ju==null&&(Ju=PN(w7)),Yu==null&&(Yu=PN(j7)),Se(n,"'",Xh),Se(n,"{",ed),Se(n,"}",td),Se(n,"[",_h),Se(n,"]",zh),Se(n,"(",$h),Se(n,")",Fh),Se(n,"<",Bh),Se(n,">",Vh),Se(n,"(",Hh),Se(n,")",Wh),Se(n,"「",Uh),Se(n,"」",Kh),Se(n,"『",qh),Se(n,"』",Gh),Se(n,"<",Jh),Se(n,">",Yh),Se(n,"&",Qh),Se(n,"*",Zh),Se(n,"@",ui),Se(n,"`",tf),Se(n,"^",nf),Se(n,":",pi),Se(n,",",W0),Se(n,"$",rf),Se(n,".",Bs),Se(n,"=",sf),Se(n,"!",U0),Se(n,"-",Yr),Se(n,"%",nd),Se(n,"|",af),Se(n,"+",of),Se(n,"#",lf),Se(n,"?",rd),Se(n,'"',K0),Se(n,"/",Vs),Se(n,";",q0),Se(n,"~",sd),Se(n,"_",cf),Se(n,"\\",ef),Se(n,"・",iC);const r=an(n,xa,V0,{[xx]:!0});an(r,xa,r);const a=an(r,ga,sC,{[Zc]:!0}),i=an(r,zc,aC,{[Wc]:!0}),o=an(n,ga,ya,{[yx]:!0});an(o,xa,a),an(o,ga,o),an(a,xa,a),an(a,ga,a);const c=an(n,zc,Nx,{[bx]:!0});an(c,ga),an(c,xa,i),an(c,zc,c),an(i,xa,i),an(i,ga),an(i,zc,i);const u=Se(n,yg,H0,{[mg]:!0}),h=Se(n,RN,kx,{[mg]:!0}),f=an(n,xg,kx,{[mg]:!0});Se(n,bg,f),Se(h,yg,u),Se(h,bg,f),an(h,xg,f),Se(f,RN),Se(f,yg),an(f,xg,f),Se(f,bg,f);const m=an(n,gg,oC,{[rC]:!0});Se(m,"#"),an(m,gg,m),Se(m,T7,m);const g=Se(m,M7);Se(g,"#"),an(g,gg,m);const y=[[ga,o],[xa,a]],v=[[ga,null],[zc,c],[xa,i]];for(let w=0;ww[0]>N[0]?1:-1);for(let w=0;w=0?C[vx]=!0:ga.test(N)?xa.test(N)?C[Zc]=!0:C[yx]=!0:C[xx]=!0,IN(n,N,N,C)}return IN(n,"localhost",yd,{ascii:!0}),n.jd=new Tr(df),{start:n,tokens:Object.assign({groups:e},lC)}}function cC(t,e){const n=I7(e.replace(/[A-Z]/g,c=>c.toLowerCase())),r=n.length,a=[];let i=0,o=0;for(;o=0&&(m+=n[o].length,g++),h+=n[o].length,i+=n[o].length,o++;i-=m,o-=g,h-=m,a.push({t:f.t,v:e.slice(i-h,i),s:i-h,e:i})}return a}function I7(t){const e=[],n=t.length;let r=0;for(;r56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?t[r]:t.slice(r,r+2);e.push(o),r+=o.length}return e}function ii(t,e,n,r,a){let i;const o=e.length;for(let c=0;c=0;)i++;if(i>0){e.push(n.join(""));for(let o=parseInt(t.substring(r,r+i),10);o>0;o--)n.pop();r+=i}else n.push(t[r]),r++}return e}const bd={defaultProtocol:"http",events:null,format:ON,formatHref:ON,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function G0(t,e=null){let n=Object.assign({},bd);t&&(n=Object.assign(n,t instanceof G0?t.o:t));const r=n.ignoreTags,a=[];for(let i=0;in?r.substring(0,n)+"…":r},toFormattedHref(t){return t.get("formatHref",this.toHref(t.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(t=bd.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(t),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(t){return{type:this.t,value:this.toFormattedString(t),isLink:this.isLink,href:this.toFormattedHref(t),start:this.startIndex(),end:this.endIndex()}},validate(t){return t.get("validate",this.toString(),this)},render(t){const e=this,n=this.toHref(t.get("defaultProtocol")),r=t.get("formatHref",n,this),a=t.get("tagName",n,e),i=this.toFormattedString(t),o={},c=t.get("className",n,e),u=t.get("target",n,e),h=t.get("rel",n,e),f=t.getObj("attributes",n,e),m=t.getObj("events",n,e);return o.href=r,c&&(o.class=c),u&&(o.target=u),h&&(o.rel=h),f&&Object.assign(o,f),{tagName:a,attributes:o,content:i,eventListeners:m}}};function Vf(t,e){class n extends dC{constructor(a,i){super(a,i),this.t=t}}for(const r in e)n.prototype[r]=e[r];return n.t=t,n}const DN=Vf("email",{isLink:!0,toHref(){return"mailto:"+this.toString()}}),LN=Vf("text"),R7=Vf("nl"),Qu=Vf("url",{isLink:!0,toHref(t=bd.defaultProtocol){return this.hasProtocol()?this.v:`${t}://${this.v}`},hasProtocol(){const t=this.tk;return t.length>=2&&t[0].t!==yd&&t[1].t===pi}}),Jr=t=>new Tr(t);function P7({groups:t}){const e=t.domain.concat([Qh,Zh,ui,ef,tf,nf,rf,sf,Yr,V0,nd,af,of,lf,Vs,df,sd,cf]),n=[Xh,pi,W0,Bs,U0,nd,rd,K0,q0,Bh,Vh,ed,td,zh,_h,$h,Fh,Hh,Wh,Uh,Kh,qh,Gh,Jh,Yh],r=[Qh,Xh,Zh,ef,tf,nf,rf,sf,Yr,ed,td,nd,af,of,lf,rd,Vs,df,sd,cf],a=Jr(),i=Se(a,sd);ot(i,r,i),ot(i,t.domain,i);const o=Jr(),c=Jr(),u=Jr();ot(a,t.domain,o),ot(a,t.scheme,c),ot(a,t.slashscheme,u),ot(o,r,i),ot(o,t.domain,o);const h=Se(o,ui);Se(i,ui,h),Se(c,ui,h),Se(u,ui,h);const f=Se(i,Bs);ot(f,r,i),ot(f,t.domain,i);const m=Jr();ot(h,t.domain,m),ot(m,t.domain,m);const g=Se(m,Bs);ot(g,t.domain,m);const y=Jr(DN);ot(g,t.tld,y),ot(g,t.utld,y),Se(h,yd,y);const v=Se(m,Yr);Se(v,Yr,v),ot(v,t.domain,m),ot(y,t.domain,m),Se(y,Bs,g),Se(y,Yr,v);const w=Se(y,pi);ot(w,t.numeric,DN);const N=Se(o,Yr),k=Se(o,Bs);Se(N,Yr,N),ot(N,t.domain,o),ot(k,r,i),ot(k,t.domain,o);const C=Jr(Qu);ot(k,t.tld,C),ot(k,t.utld,C),ot(C,t.domain,o),ot(C,r,i),Se(C,Bs,k),Se(C,Yr,N),Se(C,ui,h);const E=Se(C,pi),A=Jr(Qu);ot(E,t.numeric,A);const D=Jr(Qu),H=Jr();ot(D,e,D),ot(D,n,H),ot(H,e,D),ot(H,n,H),Se(C,Vs,D),Se(A,Vs,D);const _=Se(c,pi),P=Se(u,pi),L=Se(P,Vs),$=Se(L,Vs);ot(c,t.domain,o),Se(c,Bs,k),Se(c,Yr,N),ot(u,t.domain,o),Se(u,Bs,k),Se(u,Yr,N),ot(_,t.domain,D),Se(_,Vs,D),Se(_,rd,D),ot($,t.domain,D),ot($,e,D),Se($,Vs,D);const ee=[[ed,td],[_h,zh],[$h,Fh],[Bh,Vh],[Hh,Wh],[Uh,Kh],[qh,Gh],[Jh,Yh]];for(let K=0;K=0&&g++,a++,f++;if(g<0)a-=f,a0&&(i.push(vg(LN,e,o)),o=[]),a-=g,f-=g;const y=m.t,v=n.slice(a-f,a);i.push(vg(y,e,v))}}return o.length>0&&i.push(vg(LN,e,o)),i}function vg(t,e,n){const r=n[0].s,a=n[n.length-1].e,i=e.slice(r,a);return new t(i,n)}const D7=typeof console<"u"&&console&&console.warn||(()=>{}),L7="until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.",Gt={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function _7(){return Tr.groups={},Gt.scanner=null,Gt.parser=null,Gt.tokenQueue=[],Gt.pluginQueue=[],Gt.customSchemes=[],Gt.initialized=!1,Gt}function _N(t,e=!1){if(Gt.initialized&&D7(`linkifyjs: already initialized - will not register custom scheme "${t}" ${L7}`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(t))throw new Error(`linkifyjs: incorrect scheme format. 1. Must only contain digits, lowercase ASCII letters or "-" 2. Cannot start or end with "-" -3. "-" cannot repeat`);Gt.customSchemes.push([t,e])}function _7(){Gt.scanner=M7(Gt.customSchemes);for(let t=0;t{const a=e.some(h=>h.docChanged)&&!n.doc.eq(r.doc),i=e.some(h=>h.getMeta("preventAutolink"));if(!a||i)return;const{tr:o}=r,c=v2(n.doc,[...e]);if(T2(c).forEach(({newRange:h})=>{const f=B8(r.doc,h,y=>y.isTextblock);let m,g;if(f.length>1)m=f[0],g=r.doc.textBetween(m.pos,m.pos+m.node.nodeSize,void 0," ");else if(f.length){const y=r.doc.textBetween(h.from,h.to," "," ");if(!$7.test(y))return;m=f[0],g=r.doc.textBetween(m.pos,h.to,void 0," ")}if(m&&g){const y=g.split(z7).filter(Boolean);if(y.length<=0)return!1;const v=y[y.length-1],w=m.pos+g.lastIndexOf(v);if(!v)return!1;const N=q0(v).map(k=>k.toObject(t.defaultProtocol));if(!B7(N))return!1;N.filter(k=>k.isLink).map(k=>({...k,from:w+k.start+1,to:w+k.end+1})).filter(k=>r.schema.marks.code?!r.doc.rangeHasMark(k.from,k.to,r.schema.marks.code):!0).filter(k=>t.validate(k.value)).filter(k=>t.shouldAutoLink(k.value)).forEach(k=>{O0(k.from,k.to,r.doc).some(C=>C.mark.type===t.type)||o.addMark(k.from,k.to,t.type.create({href:k.href}))})}}),!!o.steps.length)return o}})}function H7(t){return new Ut({key:new Yt("handleClickLink"),props:{handleClick:(e,n,r)=>{var a,i;if(r.button!==0||!e.editable)return!1;let o=null;if(r.target instanceof HTMLAnchorElement)o=r.target;else{const u=r.target;if(!u)return!1;const h=t.editor.view.dom;o=u.closest("a"),o&&!h.contains(o)&&(o=null)}if(!o)return!1;let c=!1;if(t.enableClickSelection&&(c=t.editor.commands.extendMarkRange(t.type.name)),t.openOnClick){const u=E2(e.state,t.type.name),h=(a=o.href)!=null?a:u.href,f=(i=o.target)!=null?i:u.target;h&&(window.open(h,f),c=!0)}return c}}})}function W7(t){return new Ut({key:new Yt("handlePasteLink"),props:{handlePaste:(e,n,r)=>{const{shouldAutoLink:a}=t,{state:i}=e,{selection:o}=i,{empty:c}=o;if(c)return!1;let u="";r.content.forEach(f=>{u+=f.textContent});const h=cC(u,{defaultProtocol:t.defaultProtocol}).find(f=>f.isLink&&f.value===u);return!u||!h||a!==void 0&&!a(h.value)?!1:t.editor.commands.setMark(t.type,{href:h.href})}}})}function uo(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(r=>{const a=typeof r=="string"?r:r.scheme;a&&n.push(a)}),!t||t.replace(F7,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var dC=Fo.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){DN(t);return}DN(t.scheme,t.optionalSlashes)})},onDestroy(){L7()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!uo(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>{const e=/^[a-z][a-z0-9+.-]*:\/\//i.test(t),n=/^[a-z][a-z0-9+.-]*:/i.test(t);if(e||n&&!t.includes("@"))return!0;const a=(t.includes("@")?t.split("@").pop():t).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(a)||!/\./.test(a))}}},addAttributes(){return{href:{default:null,parseHTML(t){return t.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class},title:{default:null}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:n=>!!uo(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!uo(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",kt(this.options.HTMLAttributes,t),0]:["a",kt(this.options.HTMLAttributes,{...t,href:""}),0]},markdownTokenName:"link",parseMarkdown:(t,e)=>e.applyMark("link",e.parseInline(t.tokens||[]),{href:t.href,title:t.title||null}),renderMarkdown:(t,e)=>{var n,r,a,i;const o=(r=(n=t.attrs)==null?void 0:n.href)!=null?r:"",c=(i=(a=t.attrs)==null?void 0:a.title)!=null?i:"",u=e.renderChildren(t);return c?`[${u}](${o} "${c}")`:`[${u}](${o})`},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t;return this.options.isAllowedUri(n,{defaultValidate:r=>!!uo(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,t).setMeta("preventAutolink",!0).run():!1},toggleLink:t=>({chain:e})=>{const{href:n}=t||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:r=>!!uo(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Po({find:t=>{const e=[];if(t){const{protocols:n,defaultProtocol:r}=this.options,a=cC(t).filter(i=>i.isLink&&this.options.isAllowedUri(i.value,{defaultValidate:o=>!!uo(o,n),protocols:n,defaultProtocol:r}));a.length&&a.forEach(i=>{this.options.shouldAutoLink(i.value)&&e.push({text:i.value,data:{href:i.href},index:i.start})})}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)==null?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options;return this.options.autolink&&t.push(V7({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:a=>!!uo(a,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),t.push(H7({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick==="whenNotEditable"?!0:this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&t.push(W7({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),t}}),U7=dC,K7=Object.defineProperty,q7=(t,e)=>{for(var n in e)K7(t,n,{get:e[n],enumerable:!0})},G7="listItem",LN="textStyle",_N=/^\s*([-+*])\s$/,uC=wn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>t.type!=="list"||t.ordered?[]:{type:"bulletList",content:t.items?e.parseChildren(t.items):[]},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(G7,this.editor.getAttributes(LN)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=Hl({find:_N,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Hl({find:_N,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(LN),editor:this.editor})),[t]}}),hC=wn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list_item",parseMarkdown:(t,e)=>{if(t.type!=="list_item")return[];let n=[];if(t.tokens&&t.tokens.length>0)if(t.tokens.some(a=>a.type==="paragraph"))n=e.parseChildren(t.tokens);else{const a=t.tokens[0];if(a&&a.type==="text"&&a.tokens&&a.tokens.length>0){if(n=[{type:"paragraph",content:e.parseInline(a.tokens)}],t.tokens.length>1){const o=t.tokens.slice(1),c=e.parseChildren(o);n.push(...c)}}else n=e.parseChildren(t.tokens)}return n.length===0&&(n=[{type:"paragraph",content:[]}]),{type:"listItem",content:n}},renderMarkdown:(t,e,n)=>z0(t,e,r=>{var a,i;return r.parentType==="bulletList"?"- ":r.parentType==="orderedList"?`${(((i=(a=r.meta)==null?void 0:a.parentAttrs)==null?void 0:i.start)||1)+r.index}. `:"- "},n),addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),J7={};q7(J7,{findListItemPos:()=>Ad,getNextListDepth:()=>J0,handleBackspace:()=>wx,handleDelete:()=>jx,hasListBefore:()=>fC,hasListItemAfter:()=>Y7,hasListItemBefore:()=>pC,listItemHasSubList:()=>mC,nextListIsDeeper:()=>gC,nextListIsHigher:()=>xC});var Ad=(t,e)=>{const{$from:n}=e.selection,r=Nn(t,e.schema);let a=null,i=n.depth,o=n.pos,c=null;for(;i>0&&c===null;)a=n.node(i),a.type===r?c=i:(i-=1,o-=1);return c===null?null:{$pos:e.doc.resolve(o),depth:c}},J0=(t,e)=>{const n=Ad(t,e);if(!n)return!1;const[,r]=Q8(e,t,n.$pos.pos+4);return r},fC=(t,e,n)=>{const{$anchor:r}=t.selection,a=Math.max(0,r.pos-2),i=t.doc.resolve(a).node();return!(!i||!n.includes(i.type.name))},pC=(t,e)=>{var n;const{$anchor:r}=e.selection,a=e.doc.resolve(r.pos-2);return!(a.index()===0||((n=a.nodeBefore)==null?void 0:n.type.name)!==t)},mC=(t,e,n)=>{if(!n)return!1;const r=Nn(t,e.schema);let a=!1;return n.descendants(i=>{i.type===r&&(a=!0)}),a},wx=(t,e,n)=>{if(t.commands.undoInputRule())return!0;if(t.state.selection.from!==t.state.selection.to)return!1;if(!Ai(t.state,e)&&fC(t.state,e,n)){const{$anchor:c}=t.state.selection,u=t.state.doc.resolve(c.before()-1),h=[];u.node().descendants((g,y)=>{g.type.name===e&&h.push({node:g,pos:y})});const f=h.at(-1);if(!f)return!1;const m=t.state.doc.resolve(u.start()+f.pos+1);return t.chain().cut({from:c.start()-1,to:c.end()+1},m.end()).joinForward().run()}if(!Ai(t.state,e)||!t6(t.state))return!1;const r=Ad(e,t.state);if(!r)return!1;const i=t.state.doc.resolve(r.$pos.pos-2).node(r.depth),o=mC(e,t.state,i);return pC(e,t.state)&&!o?t.commands.joinItemBackward():t.chain().liftListItem(e).run()},gC=(t,e)=>{const n=J0(t,e),r=Ad(t,e);return!r||!n?!1:n>r.depth},xC=(t,e)=>{const n=J0(t,e),r=Ad(t,e);return!r||!n?!1:n{if(!Ai(t.state,e)||!e6(t.state,e))return!1;const{selection:n}=t.state,{$from:r,$to:a}=n;return!n.empty&&r.sameParent(a)?!1:gC(e,t.state)?t.chain().focus(t.state.selection.from+4).lift(e).joinBackward().run():xC(e,t.state)?t.chain().joinForward().joinBackward().run():t.commands.joinItemForward()},Y7=(t,e)=>{var n;const{$anchor:r}=e.selection,a=e.doc.resolve(r.pos-r.parentOffset-2);return!(a.index()===a.parent.childCount-1||((n=a.nodeAfter)==null?void 0:n.type.name)!==t)},yC=dn.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&jx(t,n)&&(e=!0)}),e},"Mod-Delete":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&jx(t,n)&&(e=!0)}),e},Backspace:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&wx(t,n,r)&&(e=!0)}),e},"Mod-Backspace":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&wx(t,n,r)&&(e=!0)}),e}}}}),zN=/^(\s*)(\d+)\.\s+(.*)$/,Q7=/^\s/;function X7(t){const e=[];let n=0,r=0;for(;n{const a=e.some(h=>h.docChanged)&&!n.doc.eq(r.doc),i=e.some(h=>h.getMeta("preventAutolink"));if(!a||i)return;const{tr:o}=r,c=w2(n.doc,[...e]);if(A2(c).forEach(({newRange:h})=>{const f=V8(r.doc,h,y=>y.isTextblock);let m,g;if(f.length>1)m=f[0],g=r.doc.textBetween(m.pos,m.pos+m.node.nodeSize,void 0," ");else if(f.length){const y=r.doc.textBetween(h.from,h.to," "," ");if(!F7.test(y))return;m=f[0],g=r.doc.textBetween(m.pos,h.to,void 0," ")}if(m&&g){const y=g.split($7).filter(Boolean);if(y.length<=0)return!1;const v=y[y.length-1],w=m.pos+g.lastIndexOf(v);if(!v)return!1;const N=J0(v).map(k=>k.toObject(t.defaultProtocol));if(!V7(N))return!1;N.filter(k=>k.isLink).map(k=>({...k,from:w+k.start+1,to:w+k.end+1})).filter(k=>r.schema.marks.code?!r.doc.rangeHasMark(k.from,k.to,r.schema.marks.code):!0).filter(k=>t.validate(k.value)).filter(k=>t.shouldAutoLink(k.value)).forEach(k=>{L0(k.from,k.to,r.doc).some(C=>C.mark.type===t.type)||o.addMark(k.from,k.to,t.type.create({href:k.href}))})}}),!!o.steps.length)return o}})}function W7(t){return new Ut({key:new Yt("handleClickLink"),props:{handleClick:(e,n,r)=>{var a,i;if(r.button!==0||!e.editable)return!1;let o=null;if(r.target instanceof HTMLAnchorElement)o=r.target;else{const u=r.target;if(!u)return!1;const h=t.editor.view.dom;o=u.closest("a"),o&&!h.contains(o)&&(o=null)}if(!o)return!1;let c=!1;if(t.enableClickSelection&&(c=t.editor.commands.extendMarkRange(t.type.name)),t.openOnClick){const u=M2(e.state,t.type.name),h=(a=o.href)!=null?a:u.href,f=(i=o.target)!=null?i:u.target;h&&(window.open(h,f),c=!0)}return c}}})}function U7(t){return new Ut({key:new Yt("handlePasteLink"),props:{handlePaste:(e,n,r)=>{const{shouldAutoLink:a}=t,{state:i}=e,{selection:o}=i,{empty:c}=o;if(c)return!1;let u="";r.content.forEach(f=>{u+=f.textContent});const h=uC(u,{defaultProtocol:t.defaultProtocol}).find(f=>f.isLink&&f.value===u);return!u||!h||a!==void 0&&!a(h.value)?!1:t.editor.commands.setMark(t.type,{href:h.href})}}})}function uo(t,e){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return e&&e.forEach(r=>{const a=typeof r=="string"?r:r.scheme;a&&n.push(a)}),!t||t.replace(B7,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,"i"))}var hC=Fo.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(t=>{if(typeof t=="string"){_N(t);return}_N(t.scheme,t.optionalSlashes)})},onDestroy(){_7()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,enableClickSelection:!1,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(t,e)=>!!uo(t,e.protocols),validate:t=>!!t,shouldAutoLink:t=>{const e=/^[a-z][a-z0-9+.-]*:\/\//i.test(t),n=/^[a-z][a-z0-9+.-]*:/i.test(t);if(e||n&&!t.includes("@"))return!0;const a=(t.includes("@")?t.split("@").pop():t).split(/[/?#:]/)[0];return!(/^\d{1,3}(\.\d{1,3}){3}$/.test(a)||!/\./.test(a))}}},addAttributes(){return{href:{default:null,parseHTML(t){return t.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class},title:{default:null}}},parseHTML(){return[{tag:"a[href]",getAttrs:t=>{const e=t.getAttribute("href");return!e||!this.options.isAllowedUri(e,{defaultValidate:n=>!!uo(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:t}){return this.options.isAllowedUri(t.href,{defaultValidate:e=>!!uo(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",kt(this.options.HTMLAttributes,t),0]:["a",kt(this.options.HTMLAttributes,{...t,href:""}),0]},markdownTokenName:"link",parseMarkdown:(t,e)=>e.applyMark("link",e.parseInline(t.tokens||[]),{href:t.href,title:t.title||null}),renderMarkdown:(t,e)=>{var n,r,a,i;const o=(r=(n=t.attrs)==null?void 0:n.href)!=null?r:"",c=(i=(a=t.attrs)==null?void 0:a.title)!=null?i:"",u=e.renderChildren(t);return c?`[${u}](${o} "${c}")`:`[${u}](${o})`},addCommands(){return{setLink:t=>({chain:e})=>{const{href:n}=t;return this.options.isAllowedUri(n,{defaultValidate:r=>!!uo(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?e().setMark(this.name,t).setMeta("preventAutolink",!0).run():!1},toggleLink:t=>({chain:e})=>{const{href:n}=t||{};return n&&!this.options.isAllowedUri(n,{defaultValidate:r=>!!uo(r,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:e().toggleMark(this.name,t,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()},unsetLink:()=>({chain:t})=>t().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Po({find:t=>{const e=[];if(t){const{protocols:n,defaultProtocol:r}=this.options,a=uC(t).filter(i=>i.isLink&&this.options.isAllowedUri(i.value,{defaultValidate:o=>!!uo(o,n),protocols:n,defaultProtocol:r}));a.length&&a.forEach(i=>{this.options.shouldAutoLink(i.value)&&e.push({text:i.value,data:{href:i.href},index:i.start})})}return e},type:this.type,getAttributes:t=>{var e;return{href:(e=t.data)==null?void 0:e.href}}})]},addProseMirrorPlugins(){const t=[],{protocols:e,defaultProtocol:n}=this.options;return this.options.autolink&&t.push(H7({type:this.type,defaultProtocol:this.options.defaultProtocol,validate:r=>this.options.isAllowedUri(r,{defaultValidate:a=>!!uo(a,e),protocols:e,defaultProtocol:n}),shouldAutoLink:this.options.shouldAutoLink})),t.push(W7({type:this.type,editor:this.editor,openOnClick:this.options.openOnClick==="whenNotEditable"?!0:this.options.openOnClick,enableClickSelection:this.options.enableClickSelection})),this.options.linkOnPaste&&t.push(U7({editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type,shouldAutoLink:this.options.shouldAutoLink})),t}}),K7=hC,q7=Object.defineProperty,G7=(t,e)=>{for(var n in e)q7(t,n,{get:e[n],enumerable:!0})},J7="listItem",zN="textStyle",$N=/^\s*([-+*])\s$/,fC=wn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:t}){return["ul",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>t.type!=="list"||t.ordered?[]:{type:"bulletList",content:t.items?e.parseChildren(t.items):[]},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` +`):"",markdownOptions:{indentsContent:!0},addCommands(){return{toggleBulletList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(J7,this.editor.getAttributes(zN)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let t=Hl({find:$N,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Hl({find:$N,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(zN),editor:this.editor})),[t]}}),pC=wn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:t}){return["li",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list_item",parseMarkdown:(t,e)=>{if(t.type!=="list_item")return[];let n=[];if(t.tokens&&t.tokens.length>0)if(t.tokens.some(a=>a.type==="paragraph"))n=e.parseChildren(t.tokens);else{const a=t.tokens[0];if(a&&a.type==="text"&&a.tokens&&a.tokens.length>0){if(n=[{type:"paragraph",content:e.parseInline(a.tokens)}],t.tokens.length>1){const o=t.tokens.slice(1),c=e.parseChildren(o);n.push(...c)}}else n=e.parseChildren(t.tokens)}return n.length===0&&(n=[{type:"paragraph",content:[]}]),{type:"listItem",content:n}},renderMarkdown:(t,e,n)=>F0(t,e,r=>{var a,i;return r.parentType==="bulletList"?"- ":r.parentType==="orderedList"?`${(((i=(a=r.meta)==null?void 0:a.parentAttrs)==null?void 0:i.start)||1)+r.index}. `:"- "},n),addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Y7={};G7(Y7,{findListItemPos:()=>Id,getNextListDepth:()=>Q0,handleBackspace:()=>Sx,handleDelete:()=>Cx,hasListBefore:()=>mC,hasListItemAfter:()=>Q7,hasListItemBefore:()=>gC,listItemHasSubList:()=>xC,nextListIsDeeper:()=>yC,nextListIsHigher:()=>bC});var Id=(t,e)=>{const{$from:n}=e.selection,r=Nn(t,e.schema);let a=null,i=n.depth,o=n.pos,c=null;for(;i>0&&c===null;)a=n.node(i),a.type===r?c=i:(i-=1,o-=1);return c===null?null:{$pos:e.doc.resolve(o),depth:c}},Q0=(t,e)=>{const n=Id(t,e);if(!n)return!1;const[,r]=X8(e,t,n.$pos.pos+4);return r},mC=(t,e,n)=>{const{$anchor:r}=t.selection,a=Math.max(0,r.pos-2),i=t.doc.resolve(a).node();return!(!i||!n.includes(i.type.name))},gC=(t,e)=>{var n;const{$anchor:r}=e.selection,a=e.doc.resolve(r.pos-2);return!(a.index()===0||((n=a.nodeBefore)==null?void 0:n.type.name)!==t)},xC=(t,e,n)=>{if(!n)return!1;const r=Nn(t,e.schema);let a=!1;return n.descendants(i=>{i.type===r&&(a=!0)}),a},Sx=(t,e,n)=>{if(t.commands.undoInputRule())return!0;if(t.state.selection.from!==t.state.selection.to)return!1;if(!Ai(t.state,e)&&mC(t.state,e,n)){const{$anchor:c}=t.state.selection,u=t.state.doc.resolve(c.before()-1),h=[];u.node().descendants((g,y)=>{g.type.name===e&&h.push({node:g,pos:y})});const f=h.at(-1);if(!f)return!1;const m=t.state.doc.resolve(u.start()+f.pos+1);return t.chain().cut({from:c.start()-1,to:c.end()+1},m.end()).joinForward().run()}if(!Ai(t.state,e)||!n6(t.state))return!1;const r=Id(e,t.state);if(!r)return!1;const i=t.state.doc.resolve(r.$pos.pos-2).node(r.depth),o=xC(e,t.state,i);return gC(e,t.state)&&!o?t.commands.joinItemBackward():t.chain().liftListItem(e).run()},yC=(t,e)=>{const n=Q0(t,e),r=Id(t,e);return!r||!n?!1:n>r.depth},bC=(t,e)=>{const n=Q0(t,e),r=Id(t,e);return!r||!n?!1:n{if(!Ai(t.state,e)||!t6(t.state,e))return!1;const{selection:n}=t.state,{$from:r,$to:a}=n;return!n.empty&&r.sameParent(a)?!1:yC(e,t.state)?t.chain().focus(t.state.selection.from+4).lift(e).joinBackward().run():bC(e,t.state)?t.chain().joinForward().joinBackward().run():t.commands.joinItemForward()},Q7=(t,e)=>{var n;const{$anchor:r}=e.selection,a=e.doc.resolve(r.pos-r.parentOffset-2);return!(a.index()===a.parent.childCount-1||((n=a.nodeAfter)==null?void 0:n.type.name)!==t)},vC=dn.create({name:"listKeymap",addOptions(){return{listTypes:[{itemName:"listItem",wrapperNames:["bulletList","orderedList"]},{itemName:"taskItem",wrapperNames:["taskList"]}]}},addKeyboardShortcuts(){return{Delete:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&Cx(t,n)&&(e=!0)}),e},"Mod-Delete":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n})=>{t.state.schema.nodes[n]!==void 0&&Cx(t,n)&&(e=!0)}),e},Backspace:({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&Sx(t,n,r)&&(e=!0)}),e},"Mod-Backspace":({editor:t})=>{let e=!1;return this.options.listTypes.forEach(({itemName:n,wrapperNames:r})=>{t.state.schema.nodes[n]!==void 0&&Sx(t,n,r)&&(e=!0)}),e}}}}),FN=/^(\s*)(\d+)\.\s+(.*)$/,X7=/^\s/;function Z7(t){const e=[];let n=0,r=0;for(;ne;)g.push(t[m]),m+=1;if(g.length>0){const y=Math.min(...g.map(w=>w.indent)),v=bC(g,y,n);h.push({type:"list",ordered:!0,start:g[0].number,items:v,raw:g.map(w=>w.raw).join(` -`)})}a.push({type:"list_item",raw:o.raw,tokens:h}),i=m}else i+=1}return a}function Z7(t,e){return t.map(n=>{if(n.type!=="list_item")return e.parseChildren([n])[0];const r=[];return n.tokens&&n.tokens.length>0&&n.tokens.forEach(a=>{if(a.type==="paragraph"||a.type==="list"||a.type==="blockquote"||a.type==="code")r.push(...e.parseChildren([a]));else if(a.type==="text"&&a.tokens){const i=e.parseChildren([a]);r.push({type:"paragraph",content:i})}else{const i=e.parseChildren([a]);i.length>0&&r.push(...i)}}),{type:"listItem",content:r}})}var ez="listItem",$N="textStyle",FN=/^(\d+)\.\s$/,vC=wn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:null,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return e===1?["ol",kt(this.options.HTMLAttributes,n),0]:["ol",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>{if(t.type!=="list"||!t.ordered)return[];const n=t.start||1,r=t.items?Z7(t.items,e):[];return n!==1?{type:"orderedList",attrs:{start:n},content:r}:{type:"orderedList",content:r}},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` +`).trim();if(f){const y=n.blockTokens(f);h.push(...y)}let m=i+1;const g=[];for(;me;)g.push(t[m]),m+=1;if(g.length>0){const y=Math.min(...g.map(w=>w.indent)),v=NC(g,y,n);h.push({type:"list",ordered:!0,start:g[0].number,items:v,raw:g.map(w=>w.raw).join(` +`)})}a.push({type:"list_item",raw:o.raw,tokens:h}),i=m}else i+=1}return a}function ez(t,e){return t.map(n=>{if(n.type!=="list_item")return e.parseChildren([n])[0];const r=[];return n.tokens&&n.tokens.length>0&&n.tokens.forEach(a=>{if(a.type==="paragraph"||a.type==="list"||a.type==="blockquote"||a.type==="code")r.push(...e.parseChildren([a]));else if(a.type==="text"&&a.tokens){const i=e.parseChildren([a]);r.push({type:"paragraph",content:i})}else{const i=e.parseChildren([a]);i.length>0&&r.push(...i)}}),{type:"listItem",content:r}})}var tz="listItem",BN="textStyle",VN=/^(\d+)\.\s$/,wC=wn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:t=>t.hasAttribute("start")?parseInt(t.getAttribute("start")||"",10):1},type:{default:null,parseHTML:t=>t.getAttribute("type")}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:t}){const{start:e,...n}=t;return e===1?["ol",kt(this.options.HTMLAttributes,n),0]:["ol",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"list",parseMarkdown:(t,e)=>{if(t.type!=="list"||!t.ordered)return[];const n=t.start||1,r=t.items?ez(t.items,e):[];return n!==1?{type:"orderedList",attrs:{start:n},content:r}:{type:"orderedList",content:r}},renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` `):"",markdownTokenizer:{name:"orderedList",level:"block",start:t=>{const e=t.match(/^(\s*)(\d+)\.\s+/),n=e==null?void 0:e.index;return n!==void 0?n:-1},tokenize:(t,e,n)=>{var r;const a=t.split(` -`),[i,o]=X7(a);if(i.length===0)return;const c=bC(i,0,n);return c.length===0?void 0:{type:"list",ordered:!0,start:((r=i[0])==null?void 0:r.number)||1,items:c,raw:a.slice(0,o).join(` -`)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(ez,this.editor.getAttributes($N)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=Hl({find:FN,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Hl({find:FN,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes($N)}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1],editor:this.editor})),[t]}}),tz=/^\s*(\[([( |x])?\])\s$/,nz=wn.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{const e=t.getAttribute("data-checked");return e===""||e==="true"},renderHTML:t=>({"data-checked":t.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",kt(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(t,e)=>{const n=[];if(t.tokens&&t.tokens.length>0?n.push(e.createNode("paragraph",{},e.parseInline(t.tokens))):t.text?n.push(e.createNode("paragraph",{},[e.createNode("text",{text:t.text})])):n.push(e.createNode("paragraph",{},[])),t.nestedTokens&&t.nestedTokens.length>0){const r=e.parseChildren(t.nestedTokens);n.push(...r)}return e.createNode("taskItem",{checked:t.checked||!1},n)},renderMarkdown:(t,e)=>{var n;const a=`- [${(n=t.attrs)!=null&&n.checked?"x":" "}] `;return z0(t,e,a)},addKeyboardShortcuts(){const t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:n,editor:r})=>{const a=document.createElement("li"),i=document.createElement("label"),o=document.createElement("span"),c=document.createElement("input"),u=document.createElement("div"),h=m=>{var g,y;c.ariaLabel=((y=(g=this.options.a11y)==null?void 0:g.checkboxLabel)==null?void 0:y.call(g,m,c.checked))||`Task item checkbox for ${m.textContent||"empty task item"}`};h(t),i.contentEditable="false",c.type="checkbox",c.addEventListener("mousedown",m=>m.preventDefault()),c.addEventListener("change",m=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){c.checked=!c.checked;return}const{checked:g}=m.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:y})=>{const v=n();if(typeof v!="number")return!1;const w=y.doc.nodeAt(v);return y.setNodeMarkup(v,void 0,{...w==null?void 0:w.attrs,checked:g}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(t,g)||(c.checked=!c.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([m,g])=>{a.setAttribute(m,g)}),a.dataset.checked=t.attrs.checked,c.checked=t.attrs.checked,i.append(c,o),a.append(i,u),Object.entries(e).forEach(([m,g])=>{a.setAttribute(m,g)});let f=new Set(Object.keys(e));return{dom:a,contentDOM:u,update:m=>{if(m.type!==this.type)return!1;a.dataset.checked=m.attrs.checked,c.checked=m.attrs.checked,h(m);const g=r.extensionManager.attributes,y=xd(m,g),v=new Set(Object.keys(y)),w=this.options.HTMLAttributes;return f.forEach(N=>{v.has(N)||(N in w?a.setAttribute(N,w[N]):a.removeAttribute(N))}),Object.entries(y).forEach(([N,k])=>{k==null?N in w?a.setAttribute(N,w[N]):a.removeAttribute(N):a.setAttribute(N,k)}),f=v,!0}}}},addInputRules(){return[Hl({find:tz,type:this.type,getAttributes:t=>({checked:t[t.length-1]==="x"})})]}}),rz=wn.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",kt(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},parseMarkdown:(t,e)=>e.createNode("taskList",{},e.parseChildren(t.items||[])),renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` -`):"",markdownTokenizer:{name:"taskList",level:"block",start(t){var e;const n=(e=t.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))==null?void 0:e.index;return n!==void 0?n:-1},tokenize(t,e,n){const r=i=>{const o=hx(i,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:c=>({indentLevel:c[1].length,mainContent:c[4],checked:c[3].toLowerCase()==="x"}),createToken:(c,u)=>({type:"taskItem",raw:"",mainContent:c.mainContent,indentLevel:c.indentLevel,checked:c.checked,text:c.mainContent,tokens:n.inlineTokens(c.mainContent),nestedTokens:u}),customNestedParser:r},n);return o?[{type:"taskList",raw:o.raw,items:o.items}]:n.blockTokens(i)},a=hx(t,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:i=>({indentLevel:i[1].length,mainContent:i[4],checked:i[3].toLowerCase()==="x"}),createToken:(i,o)=>({type:"taskItem",raw:"",mainContent:i.mainContent,indentLevel:i.indentLevel,checked:i.checked,text:i.mainContent,tokens:n.inlineTokens(i.mainContent),nestedTokens:o}),customNestedParser:r},n);if(a)return{type:"taskList",raw:a.raw,items:a.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});dn.create({name:"listKit",addExtensions(){const t=[];return this.options.bulletList!==!1&&t.push(uC.configure(this.options.bulletList)),this.options.listItem!==!1&&t.push(hC.configure(this.options.listItem)),this.options.listKeymap!==!1&&t.push(yC.configure(this.options.listKeymap)),this.options.orderedList!==!1&&t.push(vC.configure(this.options.orderedList)),this.options.taskItem!==!1&&t.push(nz.configure(this.options.taskItem)),this.options.taskList!==!1&&t.push(rz.configure(this.options.taskList)),t}});var BN=" ",sz=" ",az=wn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",kt(this.options.HTMLAttributes,t),0]},parseMarkdown:(t,e)=>{const n=t.tokens||[];if(n.length===1&&n[0].type==="image")return e.parseChildren([n[0]]);const r=e.parseInline(n);return r.length===1&&r[0].type==="text"&&(r[0].text===BN||r[0].text===sz)?e.createNode("paragraph",void 0,[]):e.createNode("paragraph",void 0,r)},renderMarkdown:(t,e)=>{if(!t)return"";const n=Array.isArray(t.content)?t.content:[];return n.length===0?BN:e.renderChildren(n)},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),iz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,oz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,lz=Fo.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"del",parseMarkdown:(t,e)=>e.applyMark("strike",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`~~${e.renderChildren(t)}~~`,addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[Vl({find:iz,type:this.type})]},addPasteRules(){return[Po({find:oz,type:this.type})]}}),cz=wn.create({name:"text",group:"inline",parseMarkdown:t=>({type:"text",text:t.text||""}),renderMarkdown:t=>t.text||""}),dz=Fo.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["u",kt(this.options.HTMLAttributes,t),0]},parseMarkdown(t,e){return e.applyMark(this.name||"underline",e.parseInline(t.tokens||[]))},renderMarkdown(t,e){return`++${e.renderChildren(t)}++`},markdownTokenizer:{name:"underline",level:"inline",start(t){return t.indexOf("++")},tokenize(t,e,n){const a=/^(\+\+)([\s\S]+?)(\+\+)/.exec(t);if(!a)return;const i=a[2].trim();return{type:"underline",raw:a[0],text:i,tokens:n.inlineTokens(i)}}},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function uz(t={}){return new Ut({view(e){return new hz(e,t)}})}class hz{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(a=>{let i=o=>{this[a](o)};return e.dom.addEventListener(a,i),{name:a,handler:i}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r,a=this.editorView.dom,i=a.getBoundingClientRect(),o=i.width/a.offsetWidth,c=i.height/a.offsetHeight;if(n){let m=e.nodeBefore,g=e.nodeAfter;if(m||g){let y=this.editorView.nodeDOM(this.cursorPos-(m?m.nodeSize:0));if(y){let v=y.getBoundingClientRect(),w=m?v.bottom:v.top;m&&g&&(w=(w+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let N=this.width/2*c;r={left:v.left,right:v.right,top:w-N,bottom:w+N}}}}if(!r){let m=this.editorView.coordsAtPos(this.cursorPos),g=this.width/2*o;r={left:m.left-g,right:m.left+g,top:m.top,bottom:m.bottom}}let u=this.editorView.dom.offsetParent;this.element||(this.element=u.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let h,f;if(!u||u==document.body&&getComputedStyle(u).position=="static")h=-pageXOffset,f=-pageYOffset;else{let m=u.getBoundingClientRect(),g=m.width/u.offsetWidth,y=m.height/u.offsetHeight;h=m.left-u.scrollLeft*g,f=m.top-u.scrollTop*y}this.element.style.left=(r.left-h)/o+"px",this.element.style.top=(r.top-f)/c+"px",this.element.style.width=(r.right-r.left)/o+"px",this.element.style.height=(r.bottom-r.top)/c+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),a=r&&r.type.spec.disableDropCursor,i=typeof a=="function"?a(this.editorView,n,e):a;if(n&&!i){let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let c=hS(this.editorView.state.doc,o,this.editorView.dragging.slice);c!=null&&(o=c)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}class on extends tt{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return on.valid(r)?new on(r):tt.near(r)}content(){return Re.empty}eq(e){return e instanceof on&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new on(e.resolve(n.pos))}getBookmark(){return new Y0(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!fz(e)||!pz(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let a=n.contentMatchAt(e.index()).defaultType;return a&&a.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&on.valid(e))return e;let a=e.pos,i=null;for(let o=e.depth;;o--){let c=e.node(o);if(n>0?e.indexAfter(o)0){i=c.child(n>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;a+=n;let u=e.doc.resolve(a);if(on.valid(u))return u}for(;;){let o=n>0?i.firstChild:i.lastChild;if(!o){if(i.isAtom&&!i.isText&&!Je.isSelectable(i)){e=e.doc.resolve(a+i.nodeSize*n),r=!1;continue e}break}i=o,a+=n;let c=e.doc.resolve(a);if(on.valid(c))return c}return null}}}on.prototype.visible=!1;on.findFrom=on.findGapCursorFrom;tt.jsonID("gapcursor",on);class Y0{constructor(e){this.pos=e}map(e){return new Y0(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return on.valid(n)?new on(n):tt.near(n)}}function NC(t){return t.isAtom||t.spec.isolating||t.spec.createGapCursor}function fz(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let a=r.child(n-1);;a=a.lastChild){if(a.childCount==0&&!a.inlineContent||NC(a.type))return!0;if(a.inlineContent)return!1}}return!0}function pz(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let a=r.child(n);;a=a.firstChild){if(a.childCount==0&&!a.inlineContent||NC(a.type))return!0;if(a.inlineContent)return!1}}return!0}function mz(){return new Ut({props:{decorations:bz,createSelectionBetween(t,e,n){return e.pos==n.pos&&on.valid(n)?new on(n):null},handleClick:xz,handleKeyDown:gz,handleDOMEvents:{beforeinput:yz}}})}const gz=T0({ArrowLeft:Yu("horiz",-1),ArrowRight:Yu("horiz",1),ArrowUp:Yu("vert",-1),ArrowDown:Yu("vert",1)});function Yu(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,a,i){let o=r.selection,c=e>0?o.$to:o.$from,u=o.empty;if(o instanceof Qe){if(!i.endOfTextblock(n)||c.depth==0)return!1;u=!1,c=r.doc.resolve(e>0?c.after():c.before())}let h=on.findGapCursorFrom(c,e,u);return h?(a&&a(r.tr.setSelection(new on(h))),!0):!1}}function xz(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!on.valid(r))return!1;let a=t.posAtCoords({left:n.clientX,top:n.clientY});return a&&a.inside>-1&&Je.isSelectable(t.state.doc.nodeAt(a.inside))?!1:(t.dispatch(t.state.tr.setSelection(new on(r))),!0)}function yz(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof on))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let a=xe.empty;for(let o=r.length-1;o>=0;o--)a=xe.from(r[o].createAndFill(null,a));let i=t.state.tr.replace(n.pos,n.pos,new Re(a,0,0));return i.setSelection(Qe.near(i.doc.resolve(n.pos+1))),t.dispatch(i),!1}function bz(t){if(!(t.selection instanceof on))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Pt.create(t.doc,[Tn.widget(t.selection.head,e,{key:"gapcursor"})])}var cf=200,_n=function(){};_n.prototype.append=function(e){return e.length?(e=_n.from(e),!this.length&&e||e.length=n?_n.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};_n.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};_n.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};_n.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var a=[];return this.forEach(function(i,o){return a.push(e(i,o))},n,r),a};_n.from=function(e){return e instanceof _n?e:e&&e.length?new wC(e):_n.empty};var wC=(function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(a,i){return a==0&&i==this.length?this:new e(this.values.slice(a,i))},e.prototype.getInner=function(a){return this.values[a]},e.prototype.forEachInner=function(a,i,o,c){for(var u=i;u=o;u--)if(a(this.values[u],c+u)===!1)return!1},e.prototype.leafAppend=function(a){if(this.length+a.length<=cf)return new e(this.values.concat(a.flatten()))},e.prototype.leafPrepend=function(a){if(this.length+a.length<=cf)return new e(a.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e})(_n);_n.empty=new wC([]);var vz=(function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rc&&this.right.forEachInner(r,Math.max(a-c,0),Math.min(this.length,i)-c,o+c)===!1)return!1},e.prototype.forEachInvertedInner=function(r,a,i,o){var c=this.left.length;if(a>c&&this.right.forEachInvertedInner(r,a-c,Math.max(i,c)-c,o+c)===!1||i=i?this.right.slice(r-i,a-i):this.left.slice(r,i).append(this.right.slice(0,a-i))},e.prototype.leafAppend=function(r){var a=this.right.leafAppend(r);if(a)return new e(this.left,a)},e.prototype.leafPrepend=function(r){var a=this.left.leafPrepend(r);if(a)return new e(a,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e})(_n);const Nz=500;class bs{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let a,i;n&&(a=this.remapping(r,this.items.length),i=a.maps.length);let o=e.tr,c,u,h=[],f=[];return this.items.forEach((m,g)=>{if(!m.step){a||(a=this.remapping(r,g+1),i=a.maps.length),i--,f.push(m);return}if(a){f.push(new oi(m.map));let y=m.step.map(a.slice(i)),v;y&&o.maybeStep(y).doc&&(v=o.mapping.maps[o.mapping.maps.length-1],h.push(new oi(v,void 0,void 0,h.length+f.length))),i--,v&&a.appendMap(v,i)}else o.maybeStep(m.step);if(m.selection)return c=a?m.selection.map(a.slice(i)):m.selection,u=new bs(this.items.slice(0,r).append(f.reverse().concat(h)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:o,selection:c}}addTransform(e,n,r,a){let i=[],o=this.eventCount,c=this.items,u=!a&&c.length?c.get(c.length-1):null;for(let f=0;fjz&&(c=wz(c,h),o-=h),new bs(c.append(i),o)}remapping(e,n){let r=new ud;return this.items.forEach((a,i)=>{let o=a.mirrorOffset!=null&&i-a.mirrorOffset>=e?r.maps.length-a.mirrorOffset:void 0;r.appendMap(a.map,o)},e,n),r}addMaps(e){return this.eventCount==0?this:new bs(this.items.append(e.map(n=>new oi(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],a=Math.max(0,this.items.length-n),i=e.mapping,o=e.steps.length,c=this.eventCount;this.items.forEach(g=>{g.selection&&c--},a);let u=n;this.items.forEach(g=>{let y=i.getMirror(--u);if(y==null)return;o=Math.min(o,y);let v=i.maps[y];if(g.step){let w=e.steps[y].invert(e.docs[y]),N=g.selection&&g.selection.map(i.slice(u+1,y));N&&c++,r.push(new oi(v,w,N))}else r.push(new oi(v))},a);let h=[];for(let g=n;gNz&&(m=m.compress(this.items.length-r.length)),m}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,a=[],i=0;return this.items.forEach((o,c)=>{if(c>=e)a.push(o),o.selection&&i++;else if(o.step){let u=o.step.map(n.slice(r)),h=u&&u.getMap();if(r--,h&&n.appendMap(h,r),u){let f=o.selection&&o.selection.map(n.slice(r));f&&i++;let m=new oi(h.invert(),u,f),g,y=a.length-1;(g=a.length&&a[y].merge(m))?a[y]=g:a.push(m)}}else o.map&&r--},this.items.length,0),new bs(_n.from(a.reverse()),i)}}bs.empty=new bs(_n.empty,0);function wz(t,e){let n;return t.forEach((r,a)=>{if(r.selection&&e--==0)return n=a,!1}),t.slice(n)}let oi=class jC{constructor(e,n,r,a){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=a}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new jC(n.getMap().invert(),n,this.selection)}}};class hi{constructor(e,n,r,a,i){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=a,this.prevComposition=i}}const jz=20;function kz(t,e,n,r){let a=n.getMeta(Co),i;if(a)return a.historyState;n.getMeta(Ez)&&(t=new hi(t.done,t.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(o&&o.getMeta(Co))return o.getMeta(Co).redo?new hi(t.done.addTransform(n,void 0,r,lh(e)),t.undone,VN(n.mapping.maps),t.prevTime,t.prevComposition):new hi(t.done,t.undone.addTransform(n,void 0,r,lh(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let c=n.getMeta("composition"),u=t.prevTime==0||!o&&t.prevComposition!=c&&(t.prevTime<(n.time||0)-r.newGroupDelay||!Sz(n,t.prevRanges)),h=o?yg(t.prevRanges,n.mapping):VN(n.mapping.maps);return new hi(t.done.addTransform(n,u?e.selection.getBookmark():void 0,r,lh(e)),bs.empty,h,n.time,c??t.prevComposition)}else return(i=n.getMeta("rebased"))?new hi(t.done.rebased(n,i),t.undone.rebased(n,i),yg(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new hi(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),yg(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function Sz(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,a)=>{for(let i=0;i=e[i]&&(n=!0)}),n}function VN(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,a,i,o)=>e.push(i,o));return e}function yg(t,e){if(!t)return null;let n=[];for(let r=0;r{let a=Co.getState(n);if(!a||(t?a.undone:a.done).eventCount==0)return!1;if(r){let i=Cz(a,n,t);i&&r(e?i.scrollIntoView():i)}return!0}}const SC=kC(!1,!0),CC=kC(!0,!0);dn.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:t=>t.length,wordCounter:t=>t.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc;if(((t==null?void 0:t.mode)||this.options.mode)==="textSize"){const r=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(r)}return e.nodeSize},this.storage.words=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc,n=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let t=!1;return[new Ut({key:new Yt("characterCount"),appendTransaction:(e,n,r)=>{if(t)return;const a=this.options.limit;if(a==null||a===0){t=!0;return}const i=this.storage.characters({node:r.doc});if(i>a){const o=i-a,c=0,u=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${a} characters. Content was automatically trimmed.`);const h=r.tr.deleteRange(c,u);return t=!0,h}t=!0},filterTransaction:(e,n)=>{const r=this.options.limit;if(!e.docChanged||r===0||r===null||r===void 0)return!0;const a=this.storage.characters({node:n.doc}),i=this.storage.characters({node:e.doc});if(i<=r||a>r&&i>r&&i<=a)return!0;if(a>r&&i>r&&i>a||!e.getMeta("paste"))return!1;const c=e.selection.$head.pos,u=i-r,h=c-u,f=c;return e.deleteRange(h,f),!(this.storage.characters({node:e.doc})>r)}})]}});var Mz=dn.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[uz(this.options)]}});dn.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new Ut({key:new Yt("focus"),props:{decorations:({doc:t,selection:e})=>{const{isEditable:n,isFocused:r}=this.editor,{anchor:a}=e,i=[];if(!n||!r)return Pt.create(t,[]);let o=0;this.options.mode==="deepest"&&t.descendants((u,h)=>{if(u.isText)return;if(!(a>=h&&a<=h+u.nodeSize-1))return!1;o+=1});let c=0;return t.descendants((u,h)=>{if(u.isText||!(a>=h&&a<=h+u.nodeSize-1))return!1;if(c+=1,this.options.mode==="deepest"&&o-c>0||this.options.mode==="shallowest"&&c>1)return this.options.mode==="deepest";i.push(Tn.node(h,h+u.nodeSize,{class:this.options.className}))}),Pt.create(t,i)}}})]}});var Az=dn.create({name:"gapCursor",addProseMirrorPlugins(){return[mz()]},extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(e=jt(We(t,"allowGapCursor",n)))!=null?e:null}}}),WN="placeholder";function Iz(t){return t.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}var Rz=dn.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:WN,placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){const t=this.options.dataAttribute?`data-${Iz(this.options.dataAttribute)}`:`data-${WN}`;return[new Ut({key:new Yt("placeholder"),props:{decorations:({doc:e,selection:n})=>{const r=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:a}=n,i=[];if(!r)return null;const o=this.editor.isEmpty;return e.descendants((c,u)=>{const h=a>=u&&a<=u+c.nodeSize,f=!c.isLeaf&&_f(c);if((h||!this.options.showOnlyCurrent)&&f){const m=[this.options.emptyNodeClass];o&&m.push(this.options.emptyEditorClass);const g=Tn.node(u,u+c.nodeSize,{class:m.join(" "),[t]:typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:c,pos:u,hasAnchor:h}):this.options.placeholder});i.push(g)}return this.options.includeChildren}),Pt.create(e,i)}}})]}});dn.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:t,options:e}=this;return[new Ut({key:new Yt("selection"),props:{decorations(n){return n.selection.empty||t.isFocused||!t.isEditable||M2(n.selection)||t.view.dragging?null:Pt.create(n.doc,[Tn.inline(n.selection.from,n.selection.to,{class:e.className})])}}})]}});function UN({types:t,node:e}){return e&&Array.isArray(t)&&t.includes(e.type)||(e==null?void 0:e.type)===t}var Pz=dn.create({name:"trailingNode",addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){var t;const e=new Yt(this.name),n=this.options.node||((t=this.editor.schema.topNodeType.contentMatch.defaultType)==null?void 0:t.name)||"paragraph",r=Object.entries(this.editor.schema.nodes).map(([,a])=>a).filter(a=>(this.options.notAfter||[]).concat(n).includes(a.name));return[new Ut({key:e,appendTransaction:(a,i,o)=>{const{doc:c,tr:u,schema:h}=o,f=e.getState(o),m=c.content.size,g=h.nodes[n];if(f)return u.insert(m,g.create())},state:{init:(a,i)=>{const o=i.tr.doc.lastChild;return!UN({node:o,types:r})},apply:(a,i)=>{if(!a.docChanged||a.getMeta("__uniqueIDTransaction"))return i;const o=a.doc.lastChild;return!UN({node:o,types:r})}}})]}}),Oz=dn.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>SC(t,e),redo:()=>({state:t,dispatch:e})=>CC(t,e)}},addProseMirrorPlugins(){return[Tz(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),Dz=dn.create({name:"starterKit",addExtensions(){var t,e,n,r;const a=[];return this.options.bold!==!1&&a.push(a7.configure(this.options.bold)),this.options.blockquote!==!1&&a.push(e7.configure(this.options.blockquote)),this.options.bulletList!==!1&&a.push(uC.configure(this.options.bulletList)),this.options.code!==!1&&a.push(l7.configure(this.options.code)),this.options.codeBlock!==!1&&a.push(u7.configure(this.options.codeBlock)),this.options.document!==!1&&a.push(h7.configure(this.options.document)),this.options.dropcursor!==!1&&a.push(Mz.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&a.push(Az.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&a.push(f7.configure(this.options.hardBreak)),this.options.heading!==!1&&a.push(p7.configure(this.options.heading)),this.options.undoRedo!==!1&&a.push(Oz.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&a.push(m7.configure(this.options.horizontalRule)),this.options.italic!==!1&&a.push(v7.configure(this.options.italic)),this.options.listItem!==!1&&a.push(hC.configure(this.options.listItem)),this.options.listKeymap!==!1&&a.push(yC.configure((t=this.options)==null?void 0:t.listKeymap)),this.options.link!==!1&&a.push(dC.configure((e=this.options)==null?void 0:e.link)),this.options.orderedList!==!1&&a.push(vC.configure(this.options.orderedList)),this.options.paragraph!==!1&&a.push(az.configure(this.options.paragraph)),this.options.strike!==!1&&a.push(lz.configure(this.options.strike)),this.options.text!==!1&&a.push(cz.configure(this.options.text)),this.options.underline!==!1&&a.push(dz.configure((n=this.options)==null?void 0:n.underline)),this.options.trailingNode!==!1&&a.push(Pz.configure((r=this.options)==null?void 0:r.trailingNode)),a}}),Lz=Dz,_z=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,zz=wn.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{},resize:!1}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",kt(this.options.HTMLAttributes,t)]},parseMarkdown:(t,e)=>e.createNode("image",{src:t.href,title:t.title,alt:t.text}),renderMarkdown:t=>{var e,n,r,a,i,o;const c=(n=(e=t.attrs)==null?void 0:e.src)!=null?n:"",u=(a=(r=t.attrs)==null?void 0:r.alt)!=null?a:"",h=(o=(i=t.attrs)==null?void 0:i.title)!=null?o:"";return h?`![${u}](${c} "${h}")`:`![${u}](${c})`},addNodeView(){if(!this.options.resize||!this.options.resize.enabled||typeof document>"u")return null;const{directions:t,minWidth:e,minHeight:n,alwaysPreserveAspectRatio:r}=this.options.resize;return({node:a,getPos:i,HTMLAttributes:o,editor:c})=>{const u=document.createElement("img");Object.entries(o).forEach(([m,g])=>{if(g!=null)switch(m){case"width":case"height":break;default:u.setAttribute(m,g);break}}),u.src=o.src;const h=new B6({element:u,editor:c,node:a,getPos:i,onResize:(m,g)=>{u.style.width=`${m}px`,u.style.height=`${g}px`},onCommit:(m,g)=>{const y=i();y!==void 0&&this.editor.chain().setNodeSelection(y).updateAttributes(this.name,{width:m,height:g}).run()},onUpdate:(m,g,y)=>m.type===a.type,options:{directions:t,min:{width:e,height:n},preserveAspectRatio:r===!0}}),f=h.dom;return f.style.visibility="hidden",f.style.pointerEvents="none",u.onload=()=>{f.style.visibility="",f.style.pointerEvents=""},h}},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[K2({find:_z,type:this.type,getAttributes:t=>{const[,,e,n,r]=t;return{src:n,alt:e,title:r}}})]}}),$z=zz;function Fz(t){var e;const{char:n,allowSpaces:r,allowToIncludeChar:a,allowedPrefixes:i,startOfLine:o,$position:c}=t,u=r&&!a,h=H6(n),f=new RegExp(`\\s${h}$`),m=o?"^":"",g=a?"":h,y=u?new RegExp(`${m}${h}.*?(?=\\s${g}|$)`,"gm"):new RegExp(`${m}(?:^)?${h}[^\\s${g}]*`,"gm"),v=((e=c.nodeBefore)==null?void 0:e.isText)&&c.nodeBefore.text;if(!v)return null;const w=c.pos-v.length,N=Array.from(v.matchAll(y)).pop();if(!N||N.input===void 0||N.index===void 0)return null;const k=N.input.slice(Math.max(0,N.index-1),N.index),C=new RegExp(`^[${i==null?void 0:i.join("")}\0]?$`).test(k);if(i!==null&&!C)return null;const E=w+N.index;let A=E+N[0].length;return u&&f.test(v.slice(A-1,A+1))&&(N[0]+=" ",A+=1),E=c.pos?{range:{from:E,to:A},query:N[0].slice(n.length),text:N[0]}:null}var Bz=new Yt("suggestion");function Vz({pluginKey:t=Bz,editor:e,char:n="@",allowSpaces:r=!1,allowToIncludeChar:a=!1,allowedPrefixes:i=[" "],startOfLine:o=!1,decorationTag:c="span",decorationClass:u="suggestion",decorationContent:h="",decorationEmptyClass:f="is-empty",command:m=()=>null,items:g=()=>[],render:y=()=>({}),allow:v=()=>!0,findSuggestionMatch:w=Fz,shouldShow:N}){let k;const C=y==null?void 0:y(),E=()=>{const _=e.state.selection.$anchor.pos,P=e.view.coordsAtPos(_),{top:L,right:$,bottom:ee,left:K}=P;try{return new DOMRect(K,L,$-K,ee-L)}catch{return null}},A=(_,P)=>P?()=>{const L=t.getState(e.state),$=L==null?void 0:L.decorationId,ee=_.dom.querySelector(`[data-decoration-id="${$}"]`);return(ee==null?void 0:ee.getBoundingClientRect())||null}:E;function D(_,P){var L;try{const ee=t.getState(_.state),K=ee!=null&&ee.decorationId?_.dom.querySelector(`[data-decoration-id="${ee.decorationId}"]`):null,ue={editor:e,range:(ee==null?void 0:ee.range)||{from:0,to:0},query:(ee==null?void 0:ee.query)||null,text:(ee==null?void 0:ee.text)||null,items:[],command:me=>m({editor:e,range:(ee==null?void 0:ee.range)||{from:0,to:0},props:me}),decorationNode:K,clientRect:A(_,K)};(L=C==null?void 0:C.onExit)==null||L.call(C,ue)}catch{}const $=_.state.tr.setMeta(P,{exit:!0});_.dispatch($)}const H=new Ut({key:t,view(){return{update:async(_,P)=>{var L,$,ee,K,ue,me,R;const O=(L=this.key)==null?void 0:L.getState(P),F=($=this.key)==null?void 0:$.getState(_.state),I=O.active&&F.active&&O.range.from!==F.range.from,se=!O.active&&F.active,J=O.active&&!F.active,z=!se&&!J&&O.query!==F.query,U=se||I&&z,q=z||I,B=J||I&&z;if(!U&&!q&&!B)return;const ce=B&&!U?O:F,Y=_.dom.querySelector(`[data-decoration-id="${ce.decorationId}"]`);k={editor:e,range:ce.range,query:ce.query,text:ce.text,items:[],command:X=>m({editor:e,range:ce.range,props:X}),decorationNode:Y,clientRect:A(_,Y)},U&&((ee=C==null?void 0:C.onBeforeStart)==null||ee.call(C,k)),q&&((K=C==null?void 0:C.onBeforeUpdate)==null||K.call(C,k)),(q||U)&&(k.items=await g({editor:e,query:ce.query})),B&&((ue=C==null?void 0:C.onExit)==null||ue.call(C,k)),q&&((me=C==null?void 0:C.onUpdate)==null||me.call(C,k)),U&&((R=C==null?void 0:C.onStart)==null||R.call(C,k))},destroy:()=>{var _;k&&((_=C==null?void 0:C.onExit)==null||_.call(C,k))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(_,P,L,$){const{isEditable:ee}=e,{composing:K}=e.view,{selection:ue}=_,{empty:me,from:R}=ue,O={...P},F=_.getMeta(t);if(F&&F.exit)return O.active=!1,O.decorationId=null,O.range={from:0,to:0},O.query=null,O.text=null,O;if(O.composing=K,ee&&(me||e.view.composing)){(RP.range.to)&&!K&&!P.composing&&(O.active=!1);const I=w({char:n,allowSpaces:r,allowToIncludeChar:a,allowedPrefixes:i,startOfLine:o,$position:ue.$from}),se=`id_${Math.floor(Math.random()*4294967295)}`;I&&v({editor:e,state:$,range:I.range,isActive:P.active})&&(!N||N({editor:e,range:I.range,query:I.query,text:I.text,transaction:_}))?(O.active=!0,O.decorationId=P.decorationId?P.decorationId:se,O.range=I.range,O.query=I.query,O.text=I.text):O.active=!1}else O.active=!1;return O.active||(O.decorationId=null,O.range={from:0,to:0},O.query=null,O.text=null),O}},props:{handleKeyDown(_,P){var L,$,ee,K;const{active:ue,range:me}=H.getState(_.state);if(!ue)return!1;if(P.key==="Escape"||P.key==="Esc"){const O=H.getState(_.state),F=(L=k==null?void 0:k.decorationNode)!=null?L:null,I=F??(O!=null&&O.decorationId?_.dom.querySelector(`[data-decoration-id="${O.decorationId}"]`):null);if((($=C==null?void 0:C.onKeyDown)==null?void 0:$.call(C,{view:_,event:P,range:O.range}))||!1)return!0;const J={editor:e,range:O.range,query:O.query,text:O.text,items:[],command:z=>m({editor:e,range:O.range,props:z}),decorationNode:I,clientRect:I?()=>I.getBoundingClientRect()||null:null};return(ee=C==null?void 0:C.onExit)==null||ee.call(C,J),D(_,t),!0}return((K=C==null?void 0:C.onKeyDown)==null?void 0:K.call(C,{view:_,event:P,range:me}))||!1},decorations(_){const{active:P,range:L,decorationId:$,query:ee}=H.getState(_);if(!P)return null;const K=!(ee!=null&&ee.length),ue=[u];return K&&ue.push(f),Pt.create(_.doc,[Tn.inline(L.from,L.to,{nodeName:c,class:ue.join(" "),"data-decoration-id":$,"data-decoration-content":h})])}}});return H}function Hz({editor:t,overrideSuggestionOptions:e,extensionName:n,char:r="@"}){const a=new Yt;return{editor:t,char:r,pluginKey:a,command:({editor:i,range:o,props:c})=>{var u,h,f;const m=i.view.state.selection.$to.nodeAfter;((u=m==null?void 0:m.text)==null?void 0:u.startsWith(" "))&&(o.to+=1),i.chain().focus().insertContentAt(o,[{type:n,attrs:{...c,mentionSuggestionChar:r}},{type:"text",text:" "}]).run(),(f=(h=i.view.dom.ownerDocument.defaultView)==null?void 0:h.getSelection())==null||f.collapseToEnd()},allow:({state:i,range:o})=>{const c=i.doc.resolve(o.from),u=i.schema.nodes[n];return!!c.parent.type.contentMatch.matchType(u)},...e}}function EC(t){return(t.options.suggestions.length?t.options.suggestions:[t.options.suggestion]).map(e=>Hz({editor:t.editor,overrideSuggestionOptions:e,extensionName:t.name,char:e.char}))}function KN(t,e){const n=EC(t),r=n.find(a=>a.char===e);return r||(n.length?n[0]:null)}var Wz=wn.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({node:t,suggestion:e}){var n,r;return`${(n=e==null?void 0:e.char)!=null?n:"@"}${(r=t.attrs.label)!=null?r:t.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e,suggestion:n}){var r,a;return["span",kt(this.HTMLAttributes,t.HTMLAttributes),`${(r=n==null?void 0:n.char)!=null?r:"@"}${(a=e.attrs.label)!=null?a:e.attrs.id}`]},suggestions:[],suggestion:{}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes(){return{id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}},mentionSuggestionChar:{default:"@",parseHTML:t=>t.getAttribute("data-mention-suggestion-char"),renderHTML:t=>({"data-mention-suggestion-char":t.mentionSuggestionChar})}}},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){const n=KN(this,t.attrs.mentionSuggestionChar);if(this.options.renderLabel!==void 0)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",kt({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t,suggestion:n})];const r={...this.options};r.HTMLAttributes=kt({"data-type":this.name},this.options.HTMLAttributes,e);const a=this.options.renderHTML({options:r,node:t,suggestion:n});return typeof a=="string"?["span",kt({"data-type":this.name},this.options.HTMLAttributes,e),a]:a},...q2({nodeName:"mention",name:"@",selfClosing:!0,allowedAttributes:["id","label",{name:"mentionSuggestionChar",skipIfDefault:"@"}],parseAttributes:t=>{const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,a,i,o]=r,c=i??o;e[a==="char"?"mentionSuggestionChar":a]=c,r=n.exec(t)}return e},serializeAttributes:t=>Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e==="mentionSuggestionChar"?"char":e}="${n}"`).join(" ")}),renderText({node:t}){const e={options:this.options,node:t,suggestion:KN(this,t.attrs.mentionSuggestionChar)};return this.options.renderLabel!==void 0?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel(e)):this.options.renderText(e)},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:t,state:e})=>{let n=!1;const{selection:r}=e,{empty:a,anchor:i}=r;if(!a)return!1;let o=new Ca,c=0;return e.doc.nodesBetween(i-1,i,(u,h)=>{if(u.type.name===this.name)return n=!0,o=u,c=h,!1}),n&&t.insertText(this.options.deleteTriggerWithBackspace?"":o.attrs.mentionSuggestionChar,c,c+o.nodeSize),n})}},addProseMirrorPlugins(){return EC(this).map(Vz)}}),Uz=Wz,Kz=Rz;let kx,Sx;if(typeof WeakMap<"u"){let t=new WeakMap;kx=e=>t.get(e),Sx=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;kx=r=>{for(let a=0;a(n==10&&(n=0),t[n++]=r,t[n++]=a)}var cn=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e=n){(i||(i=[])).push({type:"overlong_rowspan",pos:f,n:k-E});break}const A=a+E*e;for(let D=0;Dr&&(i+=h.attrs.colspan)}}for(let o=0;o1&&(n=!0)}e==-1?e=i:e!=i&&(e=Math.max(e,i))}return e}function Jz(t,e,n){t.problems||(t.problems=[]);const r={};for(let a=0;a0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function Qz(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function Cs(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function Bf(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=Oo(e.$head)||Xz(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function Xz(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function Cx(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function Zz(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function Q0(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function TC(t,e,n){const r=t.node(-1),a=cn.get(r),i=t.start(-1),o=a.nextCell(t.pos-i,e,n);return o==null?null:t.node(0).resolve(i+o)}function Do(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(a=>a>0)||(r.colwidth=null)),r}function MC(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let a=0;af!=n.pos-i);u.unshift(n.pos-i);const h=u.map(f=>{const m=r.nodeAt(f);if(!m)throw new RangeError(`No cell with offset ${f} found`);const g=i+f+1;return new xS(c.resolve(g),c.resolve(g+m.content.size))});super(h[0].$from,h[0].$to,h),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),a=e.resolve(n.map(this.$headCell.pos));if(Cx(r)&&Cx(a)&&Q0(r,a)){const i=this.$anchorCell.node(-1)!=r.node(-1);return i&&this.isRowSelection()?ba.rowSelection(r,a):i&&this.isColSelection()?ba.colSelection(r,a):new ba(r,a)}return Qe.between(r,a)}content(){const e=this.$anchorCell.node(-1),n=cn.get(e),r=this.$anchorCell.start(-1),a=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),i={},o=[];for(let u=a.top;u0||N>0){let k=v.attrs;if(w>0&&(k=Do(k,0,w)),N>0&&(k=Do(k,k.colspan-N,N)),y.lefta.bottom){const k={...v.attrs,rowspan:Math.min(y.bottom,a.bottom)-Math.max(y.top,a.top)};y.top0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,a=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,a)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),a=cn.get(r),i=e.start(-1),o=a.findCell(e.pos-i),c=a.findCell(n.pos-i),u=e.node(0);return o.top<=c.top?(o.top>0&&(e=u.resolve(i+a.map[o.left])),c.bottom0&&(n=u.resolve(i+a.map[c.left])),o.bottom0)return!1;const o=a+this.$anchorCell.nodeAfter.attrs.colspan,c=i+this.$headCell.nodeAfter.attrs.colspan;return Math.max(o,c)==n.width}eq(e){return e instanceof ba&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),a=cn.get(r),i=e.start(-1),o=a.findCell(e.pos-i),c=a.findCell(n.pos-i),u=e.node(0);return o.left<=c.left?(o.left>0&&(e=u.resolve(i+a.map[o.top*a.width])),c.right0&&(n=u.resolve(i+a.map[c.top*a.width])),o.right{e.push(Tn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Pt.create(t.doc,e)}function r$({$from:t,$to:e}){if(t.pos==e.pos||t.pos=0&&!(t.after(a+1)=0&&!(e.before(i+1)>e.start(i));i--,r--);return n==r&&/row|table/.test(t.node(a).type.spec.tableRole)}function s$({$from:t,$to:e}){let n,r;for(let a=t.depth;a>0;a--){const i=t.node(a);if(i.type.spec.tableRole==="cell"||i.type.spec.tableRole==="header_cell"){n=i;break}}for(let a=e.depth;a>0;a--){const i=e.node(a);if(i.type.spec.tableRole==="cell"||i.type.spec.tableRole==="header_cell"){r=i;break}}return n!==r&&e.parentOffset===0}function a$(t,e,n){const r=(e||t).selection,a=(e||t).doc;let i,o;if(r instanceof Je&&(o=r.node.type.spec.tableRole)){if(o=="cell"||o=="header_cell")i=Wt.create(a,r.from);else if(o=="row"){const c=a.resolve(r.from+1);i=Wt.rowSelection(c,c)}else if(!n){const c=cn.get(r.node),u=r.from+1,h=u+c.map[c.width*c.height-1];i=Wt.create(a,u+1,h)}}else r instanceof Qe&&r$(r)?i=Qe.create(a,r.from):r instanceof Qe&&s$(r)&&(i=Qe.create(a,r.$from.start(),r.$from.end()));return i&&(e||(e=t.tr)).setSelection(i),e}const i$=new Yt("fix-tables");function IC(t,e,n,r){const a=t.childCount,i=e.childCount;e:for(let o=0,c=0;o{a.type.spec.tableRole=="table"&&(n=o$(t,a,i,n))};return e?e.doc!=t.doc&&IC(e.doc,t.doc,0,r):t.doc.descendants(r),n}function o$(t,e,n,r){const a=cn.get(e);if(!a.problems)return r;r||(r=t.tr);const i=[];for(let u=0;u0){let y="cell";f.firstChild&&(y=f.firstChild.type.spec.tableRole);const v=[];for(let N=0;N0?-1:0;e$(e,r,a+i)&&(i=a==0||a==e.width?null:0);for(let o=0;o0&&a0&&e.map[c-1]==u||a0?-1:0;h$(e,r,a+c)&&(c=a==0||a==e.height?null:0);for(let h=0,f=e.width*a;h0&&a0&&m==e.map[f-e.width]){const g=n.nodeAt(m).attrs;t.setNodeMarkup(t.mapping.slice(c).map(m+r),null,{...g,rowspan:g.rowspan-1}),h+=g.colspan-1}else if(a0&&n[i]==n[i-1]||r.right0&&n[a]==n[a-t]||r.bottom0){const f=u+1+h.content.size,m=qN(h)?u+1:f;i.replaceWith(m+r.tableStart,f+r.tableStart,c)}i.setSelection(new Wt(i.doc.resolve(u+r.tableStart))),e(i)}return!0}function JN(t,e){const n=ar(t.schema);return y$(({node:r})=>n[r.type.spec.tableRole])(t,e)}function y$(t){return(e,n)=>{const r=e.selection;let a,i;if(r instanceof Wt){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;a=r.$anchorCell.nodeAfter,i=r.$anchorCell.pos}else{var o;if(a=Qz(r.$from),!a)return!1;i=(o=Oo(r.$from))===null||o===void 0?void 0:o.pos}if(a==null||i==null||a.attrs.colspan==1&&a.attrs.rowspan==1)return!1;if(n){let c=a.attrs;const u=[],h=c.colwidth;c.rowspan>1&&(c={...c,rowspan:1}),c.colspan>1&&(c={...c,colspan:1});const f=Ys(e),m=e.tr;for(let y=0;y{o.attrs[t]!==e&&i.setNodeMarkup(c,null,{...o.attrs,[t]:e})}):i.setNodeMarkup(a.pos,null,{...a.nodeAfter.attrs,[t]:e}),r(i)}return!0}}function v$(t){return function(e,n){if(!Cs(e))return!1;if(n){const r=ar(e.schema),a=Ys(e),i=e.tr,o=a.map.cellsInRect(t=="column"?{left:a.left,top:0,right:a.right,bottom:a.map.height}:t=="row"?{left:0,top:a.top,right:a.map.width,bottom:a.bottom}:a),c=o.map(u=>a.table.nodeAt(u));for(let u=0;u{const y=g+i.tableStart,v=o.doc.nodeAt(y);v&&o.setNodeMarkup(y,m,v.attrs)}),r(o)}return!0}}vd("row",{useDeprecatedLogic:!0});vd("column",{useDeprecatedLogic:!0});const N$=vd("cell",{useDeprecatedLogic:!0});function w$(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,a=t.before();r>=0;r--){const i=t.node(-1).child(r),o=i.lastChild;if(o)return a-1-o.nodeSize;a-=i.nodeSize}}else{if(t.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function Qu(t,e){const n=t.selection;if(!(n instanceof Wt))return!1;if(e){const r=t.tr,a=ar(t.schema).cell.createAndFill().content;n.forEachCell((i,o)=>{i.content.eq(a)||r.replace(r.mapping.map(o+1),r.mapping.map(o+i.nodeSize-1),new Re(a,0,0))}),r.docChanged&&e(r)}return!0}function k$(t){if(t.size===0)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const a=e.child(0),i=a.type.spec.tableRole,o=a.type.schema,c=[];if(i=="row")for(let u=0;u=0;o--){const{rowspan:c,colspan:u}=i.child(o).attrs;for(let h=a;h=e.length&&e.push(xe.empty),n[a]r&&(g=g.type.createChecked(Do(g.attrs,g.attrs.colspan,f+g.attrs.colspan-r),g.content)),h.push(g),f+=g.attrs.colspan;for(let y=1;ya&&(m=m.type.create({...m.attrs,rowspan:Math.max(1,a-m.attrs.rowspan)},m.content)),u.push(m)}i.push(xe.from(u))}n=i,e=a}return{width:t,height:e,rows:n}}function E$(t,e,n,r,a,i,o){const c=t.doc.type.schema,u=ar(c);let h,f;if(a>e.width)for(let m=0,g=0;me.height){const m=[];for(let v=0,w=(e.height-1)*e.width;v=e.width?!1:n.nodeAt(e.map[w+v]).type==u.header_cell;m.push(N?f||(f=u.header_cell.createAndFill()):h||(h=u.cell.createAndFill()))}const g=u.row.create(null,xe.from(m)),y=[];for(let v=e.height;v{if(!a)return!1;const i=n.selection;if(i instanceof Wt)return ch(n,r,tt.near(i.$headCell,e));if(t!="horiz"&&!i.empty)return!1;const o=DC(a,t,e);if(o==null)return!1;if(t=="horiz")return ch(n,r,tt.near(n.doc.resolve(i.head+e),e));{const c=n.doc.resolve(o),u=TC(c,t,e);let h;return u?h=tt.near(u,1):e<0?h=tt.near(n.doc.resolve(c.before(-1)),-1):h=tt.near(n.doc.resolve(c.after(-1)),1),ch(n,r,h)}}}function Zu(t,e){return(n,r,a)=>{if(!a)return!1;const i=n.selection;let o;if(i instanceof Wt)o=i;else{const u=DC(a,t,e);if(u==null)return!1;o=new Wt(n.doc.resolve(u))}const c=TC(o.$headCell,t,e);return c?ch(n,r,new Wt(o.$anchorCell,c)):!1}}function M$(t,e){const n=t.state.doc,r=Oo(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Wt(r))),!0):!1}function A$(t,e,n){if(!Cs(t.state))return!1;let r=k$(n);const a=t.state.selection;if(a instanceof Wt){r||(r={width:1,height:1,rows:[xe.from(Ex(ar(t.state.schema).cell,n))]});const i=a.$anchorCell.node(-1),o=a.$anchorCell.start(-1),c=cn.get(i).rectBetween(a.$anchorCell.pos-o,a.$headCell.pos-o);return r=C$(r,c.right-c.left,c.bottom-c.top),ew(t.state,t.dispatch,o,c,r),!0}else if(r){const i=Bf(t.state),o=i.start(-1);return ew(t.state,t.dispatch,o,cn.get(i.node(-1)).findCell(i.pos-o),r),!0}else return!1}function I$(t,e){var n;if(e.button!=0||e.ctrlKey||e.metaKey)return;const r=tw(t,e.target);let a;if(e.shiftKey&&t.state.selection instanceof Wt)i(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(a=Oo(t.state.selection.$anchor))!=null&&((n=vg(t,e))===null||n===void 0?void 0:n.pos)!=a.pos)i(a,e),e.preventDefault();else if(!r)return;function i(u,h){let f=vg(t,h);const m=mi.getState(t.state)==null;if(!f||!Q0(u,f))if(m)f=u;else return;const g=new Wt(u,f);if(m||!t.state.selection.eq(g)){const y=t.state.tr.setSelection(g);m&&y.setMeta(mi,u.pos),t.dispatch(y)}}function o(){t.root.removeEventListener("mouseup",o),t.root.removeEventListener("dragstart",o),t.root.removeEventListener("mousemove",c),mi.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(mi,-1))}function c(u){const h=u,f=mi.getState(t.state);let m;if(f!=null)m=t.state.doc.resolve(f);else if(tw(t,h.target)!=r&&(m=vg(t,e),!m))return o();m&&i(m,h)}t.root.addEventListener("mouseup",o),t.root.addEventListener("dragstart",o),t.root.addEventListener("mousemove",c)}function DC(t,e,n){if(!(t.state.selection instanceof Qe))return null;const{$head:r}=t.state.selection;for(let a=r.depth-1;a>=0;a--){const i=r.node(a);if((n<0?r.index(a):r.indexAfter(a))!=(n<0?0:i.childCount))return null;if(i.type.spec.tableRole=="cell"||i.type.spec.tableRole=="header_cell"){const o=r.before(a),c=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(c)?o:null}}return null}function tw(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function vg(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});if(!n)return null;let{inside:r,pos:a}=n;return r>=0&&Oo(t.state.doc.resolve(r))||Oo(t.state.doc.resolve(a))}var R$=class{constructor(e,n){this.node=e,this.defaultCellMinWidth=n,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${n}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),Tx(e,this.colgroup,this.table,n),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,Tx(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function Tx(t,e,n,r,a,i){let o=0,c=!0,u=e.firstChild;const h=t.firstChild;if(h){for(let m=0,g=0;mnew r(m,n,g)),new O$(-1,!1)},apply(o,c){return c.apply(o)}},props:{attributes:o=>{const c=zr.getState(o);return c&&c.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,c)=>{D$(o,c,t,a)},mouseleave:o=>{L$(o)},mousedown:(o,c)=>{_$(o,c,e,n)}},decorations:o=>{const c=zr.getState(o);if(c&&c.activeHandle>-1)return V$(o,c.activeHandle)},nodeViews:{}}});return i}var O$=class dh{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(zr);if(r&&r.setHandle!=null)return new dh(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new dh(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let a=e.mapping.map(n.activeHandle,-1);return Cx(e.doc.resolve(a))||(a=-1),new dh(a,n.dragging)}return n}};function D$(t,e,n,r){if(!t.editable)return;const a=zr.getState(t.state);if(a&&!a.dragging){const i=$$(e.target);let o=-1;if(i){const{left:c,right:u}=i.getBoundingClientRect();e.clientX-c<=n?o=nw(t,e,"left",n):u-e.clientX<=n&&(o=nw(t,e,"right",n))}if(o!=a.activeHandle){if(!r&&o!==-1){const c=t.state.doc.resolve(o),u=c.node(-1),h=cn.get(u),f=c.start(-1);if(h.colCount(c.pos-f)+c.nodeAfter.attrs.colspan-1==h.width-1)return}LC(t,o)}}}function L$(t){if(!t.editable)return;const e=zr.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&LC(t,-1)}function _$(t,e,n,r){var a;if(!t.editable)return!1;const i=(a=t.dom.ownerDocument.defaultView)!==null&&a!==void 0?a:window,o=zr.getState(t.state);if(!o||o.activeHandle==-1||o.dragging)return!1;const c=t.state.doc.nodeAt(o.activeHandle),u=z$(t,o.activeHandle,c.attrs);t.dispatch(t.state.tr.setMeta(zr,{setDragging:{startX:e.clientX,startWidth:u}}));function h(m){i.removeEventListener("mouseup",h),i.removeEventListener("mousemove",f);const g=zr.getState(t.state);g!=null&&g.dragging&&(F$(t,g.activeHandle,rw(g.dragging,m,n)),t.dispatch(t.state.tr.setMeta(zr,{setDragging:null})))}function f(m){if(!m.which)return h(m);const g=zr.getState(t.state);if(g&&g.dragging){const y=rw(g.dragging,m,n);sw(t,g.activeHandle,y,r)}}return sw(t,o.activeHandle,u,r),i.addEventListener("mouseup",h),i.addEventListener("mousemove",f),e.preventDefault(),!0}function z$(t,e,{colspan:n,colwidth:r}){const a=r&&r[r.length-1];if(a)return a;const i=t.domAtPos(e);let o=i.node.childNodes[i.offset].offsetWidth,c=n;if(r)for(let u=0;u{var e,n;const r=t.getAttribute("colwidth"),a=r?r.split(",").map(i=>parseInt(i,10)):null;if(!a){const i=(e=t.closest("table"))==null?void 0:e.querySelectorAll("colgroup > col"),o=Array.from(((n=t.parentElement)==null?void 0:n.children)||[]).indexOf(t);if(o&&o>-1&&i&&i[o]){const c=i[o].getAttribute("width");return c?[parseInt(c,10)]:null}}return a}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:t}){return["td",kt(this.options.HTMLAttributes,t),0]}}),zC=wn.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:t}){return["th",kt(this.options.HTMLAttributes,t),0]}}),$C=wn.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:t}){return["tr",kt(this.options.HTMLAttributes,t),0]}});function Mx(t,e){return e?["width",`${Math.max(e,t)}px`]:["min-width",`${t}px`]}function aw(t,e,n,r,a,i){var o;let c=0,u=!0,h=e.firstChild;const f=t.firstChild;if(f!==null)for(let g=0,y=0;g{const r=t.nodes[n];r.spec.tableRole&&(e[r.spec.tableRole]=r)}),t.cached.tableNodeTypes=e,e}function q$(t,e,n,r,a){const i=K$(t),o=[],c=[];for(let h=0;h{const{selection:e}=t.state;if(!G$(e))return!1;let n=0;const r=N2(e.ranges[0].$from,i=>i.type.name==="table");return r==null||r.node.descendants(i=>{if(i.type.name==="table")return!1;["tableCell","tableHeader"].includes(i.type.name)&&(n+=1)}),n===e.ranges.length?(t.commands.deleteTable(),!0):!1},J$="";function Y$(t){return(t||"").replace(/\s+/g," ").trim()}function Q$(t,e,n={}){var r;const a=(r=n.cellLineSeparator)!=null?r:J$;if(!t||!t.content||t.content.length===0)return"";const i=[];t.content.forEach(v=>{const w=[];v.content&&v.content.forEach(N=>{let k="";N.content&&Array.isArray(N.content)&&N.content.length>1?k=N.content.map(D=>e.renderChildren(D)).join(a):k=N.content?e.renderChildren(N.content):"";const C=Y$(k),E=N.type==="tableHeader";w.push({text:C,isHeader:E})}),i.push(w)});const o=i.reduce((v,w)=>Math.max(v,w.length),0);if(o===0)return"";const c=new Array(o).fill(0);i.forEach(v=>{var w;for(let N=0;Nc[N]&&(c[N]=C),c[N]<3&&(c[N]=3)}});const u=(v,w)=>v+" ".repeat(Math.max(0,w-v.length)),h=i[0],f=h.some(v=>v.isHeader);let m=` +`),[i,o]=Z7(a);if(i.length===0)return;const c=NC(i,0,n);return c.length===0?void 0:{type:"list",ordered:!0,start:((r=i[0])==null?void 0:r.number)||1,items:c,raw:a.slice(0,o).join(` +`)}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleOrderedList:()=>({commands:t,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(tz,this.editor.getAttributes(BN)).run():t.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let t=Hl({find:VN,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(t=Hl({find:VN,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(BN)}),joinPredicate:(e,n)=>n.childCount+n.attrs.start===+e[1],editor:this.editor})),[t]}}),nz=/^\s*(\[([( |x])?\])\s$/,rz=wn.create({name:"taskItem",addOptions(){return{nested:!1,HTMLAttributes:{},taskListTypeName:"taskList",a11y:void 0}},content(){return this.options.nested?"paragraph block*":"paragraph+"},defining:!0,addAttributes(){return{checked:{default:!1,keepOnSplit:!1,parseHTML:t=>{const e=t.getAttribute("data-checked");return e===""||e==="true"},renderHTML:t=>({"data-checked":t.checked})}}},parseHTML(){return[{tag:`li[data-type="${this.name}"]`,priority:51}]},renderHTML({node:t,HTMLAttributes:e}){return["li",kt(this.options.HTMLAttributes,e,{"data-type":this.name}),["label",["input",{type:"checkbox",checked:t.attrs.checked?"checked":null}],["span"]],["div",0]]},parseMarkdown:(t,e)=>{const n=[];if(t.tokens&&t.tokens.length>0?n.push(e.createNode("paragraph",{},e.parseInline(t.tokens))):t.text?n.push(e.createNode("paragraph",{},[e.createNode("text",{text:t.text})])):n.push(e.createNode("paragraph",{},[])),t.nestedTokens&&t.nestedTokens.length>0){const r=e.parseChildren(t.nestedTokens);n.push(...r)}return e.createNode("taskItem",{checked:t.checked||!1},n)},renderMarkdown:(t,e)=>{var n;const a=`- [${(n=t.attrs)!=null&&n.checked?"x":" "}] `;return F0(t,e,a)},addKeyboardShortcuts(){const t={Enter:()=>this.editor.commands.splitListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)};return this.options.nested?{...t,Tab:()=>this.editor.commands.sinkListItem(this.name)}:t},addNodeView(){return({node:t,HTMLAttributes:e,getPos:n,editor:r})=>{const a=document.createElement("li"),i=document.createElement("label"),o=document.createElement("span"),c=document.createElement("input"),u=document.createElement("div"),h=m=>{var g,y;c.ariaLabel=((y=(g=this.options.a11y)==null?void 0:g.checkboxLabel)==null?void 0:y.call(g,m,c.checked))||`Task item checkbox for ${m.textContent||"empty task item"}`};h(t),i.contentEditable="false",c.type="checkbox",c.addEventListener("mousedown",m=>m.preventDefault()),c.addEventListener("change",m=>{if(!r.isEditable&&!this.options.onReadOnlyChecked){c.checked=!c.checked;return}const{checked:g}=m.target;r.isEditable&&typeof n=="function"&&r.chain().focus(void 0,{scrollIntoView:!1}).command(({tr:y})=>{const v=n();if(typeof v!="number")return!1;const w=y.doc.nodeAt(v);return y.setNodeMarkup(v,void 0,{...w==null?void 0:w.attrs,checked:g}),!0}).run(),!r.isEditable&&this.options.onReadOnlyChecked&&(this.options.onReadOnlyChecked(t,g)||(c.checked=!c.checked))}),Object.entries(this.options.HTMLAttributes).forEach(([m,g])=>{a.setAttribute(m,g)}),a.dataset.checked=t.attrs.checked,c.checked=t.attrs.checked,i.append(c,o),a.append(i,u),Object.entries(e).forEach(([m,g])=>{a.setAttribute(m,g)});let f=new Set(Object.keys(e));return{dom:a,contentDOM:u,update:m=>{if(m.type!==this.type)return!1;a.dataset.checked=m.attrs.checked,c.checked=m.attrs.checked,h(m);const g=r.extensionManager.attributes,y=xd(m,g),v=new Set(Object.keys(y)),w=this.options.HTMLAttributes;return f.forEach(N=>{v.has(N)||(N in w?a.setAttribute(N,w[N]):a.removeAttribute(N))}),Object.entries(y).forEach(([N,k])=>{k==null?N in w?a.setAttribute(N,w[N]):a.removeAttribute(N):a.setAttribute(N,k)}),f=v,!0}}}},addInputRules(){return[Hl({find:nz,type:this.type,getAttributes:t=>({checked:t[t.length-1]==="x"})})]}}),sz=wn.create({name:"taskList",addOptions(){return{itemTypeName:"taskItem",HTMLAttributes:{}}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:`ul[data-type="${this.name}"]`,priority:51}]},renderHTML({HTMLAttributes:t}){return["ul",kt(this.options.HTMLAttributes,t,{"data-type":this.name}),0]},parseMarkdown:(t,e)=>e.createNode("taskList",{},e.parseChildren(t.items||[])),renderMarkdown:(t,e)=>t.content?e.renderChildren(t.content,` +`):"",markdownTokenizer:{name:"taskList",level:"block",start(t){var e;const n=(e=t.match(/^\s*[-+*]\s+\[([ xX])\]\s+/))==null?void 0:e.index;return n!==void 0?n:-1},tokenize(t,e,n){const r=i=>{const o=mx(i,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:c=>({indentLevel:c[1].length,mainContent:c[4],checked:c[3].toLowerCase()==="x"}),createToken:(c,u)=>({type:"taskItem",raw:"",mainContent:c.mainContent,indentLevel:c.indentLevel,checked:c.checked,text:c.mainContent,tokens:n.inlineTokens(c.mainContent),nestedTokens:u}),customNestedParser:r},n);return o?[{type:"taskList",raw:o.raw,items:o.items}]:n.blockTokens(i)},a=mx(t,{itemPattern:/^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,extractItemData:i=>({indentLevel:i[1].length,mainContent:i[4],checked:i[3].toLowerCase()==="x"}),createToken:(i,o)=>({type:"taskItem",raw:"",mainContent:i.mainContent,indentLevel:i.indentLevel,checked:i.checked,text:i.mainContent,tokens:n.inlineTokens(i.mainContent),nestedTokens:o}),customNestedParser:r},n);if(a)return{type:"taskList",raw:a.raw,items:a.items}}},markdownOptions:{indentsContent:!0},addCommands(){return{toggleTaskList:()=>({commands:t})=>t.toggleList(this.name,this.options.itemTypeName)}},addKeyboardShortcuts(){return{"Mod-Shift-9":()=>this.editor.commands.toggleTaskList()}}});dn.create({name:"listKit",addExtensions(){const t=[];return this.options.bulletList!==!1&&t.push(fC.configure(this.options.bulletList)),this.options.listItem!==!1&&t.push(pC.configure(this.options.listItem)),this.options.listKeymap!==!1&&t.push(vC.configure(this.options.listKeymap)),this.options.orderedList!==!1&&t.push(wC.configure(this.options.orderedList)),this.options.taskItem!==!1&&t.push(rz.configure(this.options.taskItem)),this.options.taskList!==!1&&t.push(sz.configure(this.options.taskList)),t}});var HN=" ",az=" ",iz=wn.create({name:"paragraph",priority:1e3,addOptions(){return{HTMLAttributes:{}}},group:"block",content:"inline*",parseHTML(){return[{tag:"p"}]},renderHTML({HTMLAttributes:t}){return["p",kt(this.options.HTMLAttributes,t),0]},parseMarkdown:(t,e)=>{const n=t.tokens||[];if(n.length===1&&n[0].type==="image")return e.parseChildren([n[0]]);const r=e.parseInline(n);return r.length===1&&r[0].type==="text"&&(r[0].text===HN||r[0].text===az)?e.createNode("paragraph",void 0,[]):e.createNode("paragraph",void 0,r)},renderMarkdown:(t,e)=>{if(!t)return"";const n=Array.isArray(t.content)?t.content:[];return n.length===0?HN:e.renderChildren(n)},addCommands(){return{setParagraph:()=>({commands:t})=>t.setNode(this.name)}},addKeyboardShortcuts(){return{"Mod-Alt-0":()=>this.editor.commands.setParagraph()}}}),oz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,lz=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,cz=Fo.create({name:"strike",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"s"},{tag:"del"},{tag:"strike"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("line-through")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["s",kt(this.options.HTMLAttributes,t),0]},markdownTokenName:"del",parseMarkdown:(t,e)=>e.applyMark("strike",e.parseInline(t.tokens||[])),renderMarkdown:(t,e)=>`~~${e.renderChildren(t)}~~`,addCommands(){return{setStrike:()=>({commands:t})=>t.setMark(this.name),toggleStrike:()=>({commands:t})=>t.toggleMark(this.name),unsetStrike:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-Shift-s":()=>this.editor.commands.toggleStrike()}},addInputRules(){return[Vl({find:oz,type:this.type})]},addPasteRules(){return[Po({find:lz,type:this.type})]}}),dz=wn.create({name:"text",group:"inline",parseMarkdown:t=>({type:"text",text:t.text||""}),renderMarkdown:t=>t.text||""}),uz=Fo.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:t=>t.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:t}){return["u",kt(this.options.HTMLAttributes,t),0]},parseMarkdown(t,e){return e.applyMark(this.name||"underline",e.parseInline(t.tokens||[]))},renderMarkdown(t,e){return`++${e.renderChildren(t)}++`},markdownTokenizer:{name:"underline",level:"inline",start(t){return t.indexOf("++")},tokenize(t,e,n){const a=/^(\+\+)([\s\S]+?)(\+\+)/.exec(t);if(!a)return;const i=a[2].trim();return{type:"underline",raw:a[0],text:i,tokens:n.inlineTokens(i)}}},addCommands(){return{setUnderline:()=>({commands:t})=>t.setMark(this.name),toggleUnderline:()=>({commands:t})=>t.toggleMark(this.name),unsetUnderline:()=>({commands:t})=>t.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}});function hz(t={}){return new Ut({view(e){return new fz(e,t)}})}class fz{constructor(e,n){var r;this.editorView=e,this.cursorPos=null,this.element=null,this.timeout=-1,this.width=(r=n.width)!==null&&r!==void 0?r:1,this.color=n.color===!1?void 0:n.color||"black",this.class=n.class,this.handlers=["dragover","dragend","drop","dragleave"].map(a=>{let i=o=>{this[a](o)};return e.dom.addEventListener(a,i),{name:a,handler:i}})}destroy(){this.handlers.forEach(({name:e,handler:n})=>this.editorView.dom.removeEventListener(e,n))}update(e,n){this.cursorPos!=null&&n.doc!=e.state.doc&&(this.cursorPos>e.state.doc.content.size?this.setCursor(null):this.updateOverlay())}setCursor(e){e!=this.cursorPos&&(this.cursorPos=e,e==null?(this.element.parentNode.removeChild(this.element),this.element=null):this.updateOverlay())}updateOverlay(){let e=this.editorView.state.doc.resolve(this.cursorPos),n=!e.parent.inlineContent,r,a=this.editorView.dom,i=a.getBoundingClientRect(),o=i.width/a.offsetWidth,c=i.height/a.offsetHeight;if(n){let m=e.nodeBefore,g=e.nodeAfter;if(m||g){let y=this.editorView.nodeDOM(this.cursorPos-(m?m.nodeSize:0));if(y){let v=y.getBoundingClientRect(),w=m?v.bottom:v.top;m&&g&&(w=(w+this.editorView.nodeDOM(this.cursorPos).getBoundingClientRect().top)/2);let N=this.width/2*c;r={left:v.left,right:v.right,top:w-N,bottom:w+N}}}}if(!r){let m=this.editorView.coordsAtPos(this.cursorPos),g=this.width/2*o;r={left:m.left-g,right:m.left+g,top:m.top,bottom:m.bottom}}let u=this.editorView.dom.offsetParent;this.element||(this.element=u.appendChild(document.createElement("div")),this.class&&(this.element.className=this.class),this.element.style.cssText="position: absolute; z-index: 50; pointer-events: none;",this.color&&(this.element.style.backgroundColor=this.color)),this.element.classList.toggle("prosemirror-dropcursor-block",n),this.element.classList.toggle("prosemirror-dropcursor-inline",!n);let h,f;if(!u||u==document.body&&getComputedStyle(u).position=="static")h=-pageXOffset,f=-pageYOffset;else{let m=u.getBoundingClientRect(),g=m.width/u.offsetWidth,y=m.height/u.offsetHeight;h=m.left-u.scrollLeft*g,f=m.top-u.scrollTop*y}this.element.style.left=(r.left-h)/o+"px",this.element.style.top=(r.top-f)/c+"px",this.element.style.width=(r.right-r.left)/o+"px",this.element.style.height=(r.bottom-r.top)/c+"px"}scheduleRemoval(e){clearTimeout(this.timeout),this.timeout=setTimeout(()=>this.setCursor(null),e)}dragover(e){if(!this.editorView.editable)return;let n=this.editorView.posAtCoords({left:e.clientX,top:e.clientY}),r=n&&n.inside>=0&&this.editorView.state.doc.nodeAt(n.inside),a=r&&r.type.spec.disableDropCursor,i=typeof a=="function"?a(this.editorView,n,e):a;if(n&&!i){let o=n.pos;if(this.editorView.dragging&&this.editorView.dragging.slice){let c=pS(this.editorView.state.doc,o,this.editorView.dragging.slice);c!=null&&(o=c)}this.setCursor(o),this.scheduleRemoval(5e3)}}dragend(){this.scheduleRemoval(20)}drop(){this.scheduleRemoval(20)}dragleave(e){this.editorView.dom.contains(e.relatedTarget)||this.setCursor(null)}}class on extends tt{constructor(e){super(e,e)}map(e,n){let r=e.resolve(n.map(this.head));return on.valid(r)?new on(r):tt.near(r)}content(){return Re.empty}eq(e){return e instanceof on&&e.head==this.head}toJSON(){return{type:"gapcursor",pos:this.head}}static fromJSON(e,n){if(typeof n.pos!="number")throw new RangeError("Invalid input for GapCursor.fromJSON");return new on(e.resolve(n.pos))}getBookmark(){return new X0(this.anchor)}static valid(e){let n=e.parent;if(n.isTextblock||!pz(e)||!mz(e))return!1;let r=n.type.spec.allowGapCursor;if(r!=null)return r;let a=n.contentMatchAt(e.index()).defaultType;return a&&a.isTextblock}static findGapCursorFrom(e,n,r=!1){e:for(;;){if(!r&&on.valid(e))return e;let a=e.pos,i=null;for(let o=e.depth;;o--){let c=e.node(o);if(n>0?e.indexAfter(o)0){i=c.child(n>0?e.indexAfter(o):e.index(o)-1);break}else if(o==0)return null;a+=n;let u=e.doc.resolve(a);if(on.valid(u))return u}for(;;){let o=n>0?i.firstChild:i.lastChild;if(!o){if(i.isAtom&&!i.isText&&!Je.isSelectable(i)){e=e.doc.resolve(a+i.nodeSize*n),r=!1;continue e}break}i=o,a+=n;let c=e.doc.resolve(a);if(on.valid(c))return c}return null}}}on.prototype.visible=!1;on.findFrom=on.findGapCursorFrom;tt.jsonID("gapcursor",on);class X0{constructor(e){this.pos=e}map(e){return new X0(e.map(this.pos))}resolve(e){let n=e.resolve(this.pos);return on.valid(n)?new on(n):tt.near(n)}}function jC(t){return t.isAtom||t.spec.isolating||t.spec.createGapCursor}function pz(t){for(let e=t.depth;e>=0;e--){let n=t.index(e),r=t.node(e);if(n==0){if(r.type.spec.isolating)return!0;continue}for(let a=r.child(n-1);;a=a.lastChild){if(a.childCount==0&&!a.inlineContent||jC(a.type))return!0;if(a.inlineContent)return!1}}return!0}function mz(t){for(let e=t.depth;e>=0;e--){let n=t.indexAfter(e),r=t.node(e);if(n==r.childCount){if(r.type.spec.isolating)return!0;continue}for(let a=r.child(n);;a=a.firstChild){if(a.childCount==0&&!a.inlineContent||jC(a.type))return!0;if(a.inlineContent)return!1}}return!0}function gz(){return new Ut({props:{decorations:vz,createSelectionBetween(t,e,n){return e.pos==n.pos&&on.valid(n)?new on(n):null},handleClick:yz,handleKeyDown:xz,handleDOMEvents:{beforeinput:bz}}})}const xz=A0({ArrowLeft:Xu("horiz",-1),ArrowRight:Xu("horiz",1),ArrowUp:Xu("vert",-1),ArrowDown:Xu("vert",1)});function Xu(t,e){const n=t=="vert"?e>0?"down":"up":e>0?"right":"left";return function(r,a,i){let o=r.selection,c=e>0?o.$to:o.$from,u=o.empty;if(o instanceof Qe){if(!i.endOfTextblock(n)||c.depth==0)return!1;u=!1,c=r.doc.resolve(e>0?c.after():c.before())}let h=on.findGapCursorFrom(c,e,u);return h?(a&&a(r.tr.setSelection(new on(h))),!0):!1}}function yz(t,e,n){if(!t||!t.editable)return!1;let r=t.state.doc.resolve(e);if(!on.valid(r))return!1;let a=t.posAtCoords({left:n.clientX,top:n.clientY});return a&&a.inside>-1&&Je.isSelectable(t.state.doc.nodeAt(a.inside))?!1:(t.dispatch(t.state.tr.setSelection(new on(r))),!0)}function bz(t,e){if(e.inputType!="insertCompositionText"||!(t.state.selection instanceof on))return!1;let{$from:n}=t.state.selection,r=n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);if(!r)return!1;let a=xe.empty;for(let o=r.length-1;o>=0;o--)a=xe.from(r[o].createAndFill(null,a));let i=t.state.tr.replace(n.pos,n.pos,new Re(a,0,0));return i.setSelection(Qe.near(i.doc.resolve(n.pos+1))),t.dispatch(i),!1}function vz(t){if(!(t.selection instanceof on))return null;let e=document.createElement("div");return e.className="ProseMirror-gapcursor",Pt.create(t.doc,[Tn.widget(t.selection.head,e,{key:"gapcursor"})])}var uf=200,_n=function(){};_n.prototype.append=function(e){return e.length?(e=_n.from(e),!this.length&&e||e.length=n?_n.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,n))};_n.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)};_n.prototype.forEach=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length),n<=r?this.forEachInner(e,n,r,0):this.forEachInvertedInner(e,n,r,0)};_n.prototype.map=function(e,n,r){n===void 0&&(n=0),r===void 0&&(r=this.length);var a=[];return this.forEach(function(i,o){return a.push(e(i,o))},n,r),a};_n.from=function(e){return e instanceof _n?e:e&&e.length?new kC(e):_n.empty};var kC=(function(t){function e(r){t.call(this),this.values=r}t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e;var n={length:{configurable:!0},depth:{configurable:!0}};return e.prototype.flatten=function(){return this.values},e.prototype.sliceInner=function(a,i){return a==0&&i==this.length?this:new e(this.values.slice(a,i))},e.prototype.getInner=function(a){return this.values[a]},e.prototype.forEachInner=function(a,i,o,c){for(var u=i;u=o;u--)if(a(this.values[u],c+u)===!1)return!1},e.prototype.leafAppend=function(a){if(this.length+a.length<=uf)return new e(this.values.concat(a.flatten()))},e.prototype.leafPrepend=function(a){if(this.length+a.length<=uf)return new e(a.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(e.prototype,n),e})(_n);_n.empty=new kC([]);var Nz=(function(t){function e(n,r){t.call(this),this.left=n,this.right=r,this.length=n.length+r.length,this.depth=Math.max(n.depth,r.depth)+1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},e.prototype.getInner=function(r){return rc&&this.right.forEachInner(r,Math.max(a-c,0),Math.min(this.length,i)-c,o+c)===!1)return!1},e.prototype.forEachInvertedInner=function(r,a,i,o){var c=this.left.length;if(a>c&&this.right.forEachInvertedInner(r,a-c,Math.max(i,c)-c,o+c)===!1||i=i?this.right.slice(r-i,a-i):this.left.slice(r,i).append(this.right.slice(0,a-i))},e.prototype.leafAppend=function(r){var a=this.right.leafAppend(r);if(a)return new e(this.left,a)},e.prototype.leafPrepend=function(r){var a=this.left.leafPrepend(r);if(a)return new e(a,this.right)},e.prototype.appendInner=function(r){return this.left.depth>=Math.max(this.right.depth,r.depth)+1?new e(this.left,new e(this.right,r)):new e(this,r)},e})(_n);const wz=500;class bs{constructor(e,n){this.items=e,this.eventCount=n}popEvent(e,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let a,i;n&&(a=this.remapping(r,this.items.length),i=a.maps.length);let o=e.tr,c,u,h=[],f=[];return this.items.forEach((m,g)=>{if(!m.step){a||(a=this.remapping(r,g+1),i=a.maps.length),i--,f.push(m);return}if(a){f.push(new oi(m.map));let y=m.step.map(a.slice(i)),v;y&&o.maybeStep(y).doc&&(v=o.mapping.maps[o.mapping.maps.length-1],h.push(new oi(v,void 0,void 0,h.length+f.length))),i--,v&&a.appendMap(v,i)}else o.maybeStep(m.step);if(m.selection)return c=a?m.selection.map(a.slice(i)):m.selection,u=new bs(this.items.slice(0,r).append(f.reverse().concat(h)),this.eventCount-1),!1},this.items.length,0),{remaining:u,transform:o,selection:c}}addTransform(e,n,r,a){let i=[],o=this.eventCount,c=this.items,u=!a&&c.length?c.get(c.length-1):null;for(let f=0;fkz&&(c=jz(c,h),o-=h),new bs(c.append(i),o)}remapping(e,n){let r=new ud;return this.items.forEach((a,i)=>{let o=a.mirrorOffset!=null&&i-a.mirrorOffset>=e?r.maps.length-a.mirrorOffset:void 0;r.appendMap(a.map,o)},e,n),r}addMaps(e){return this.eventCount==0?this:new bs(this.items.append(e.map(n=>new oi(n))),this.eventCount)}rebased(e,n){if(!this.eventCount)return this;let r=[],a=Math.max(0,this.items.length-n),i=e.mapping,o=e.steps.length,c=this.eventCount;this.items.forEach(g=>{g.selection&&c--},a);let u=n;this.items.forEach(g=>{let y=i.getMirror(--u);if(y==null)return;o=Math.min(o,y);let v=i.maps[y];if(g.step){let w=e.steps[y].invert(e.docs[y]),N=g.selection&&g.selection.map(i.slice(u+1,y));N&&c++,r.push(new oi(v,w,N))}else r.push(new oi(v))},a);let h=[];for(let g=n;gwz&&(m=m.compress(this.items.length-r.length)),m}emptyItemCount(){let e=0;return this.items.forEach(n=>{n.step||e++}),e}compress(e=this.items.length){let n=this.remapping(0,e),r=n.maps.length,a=[],i=0;return this.items.forEach((o,c)=>{if(c>=e)a.push(o),o.selection&&i++;else if(o.step){let u=o.step.map(n.slice(r)),h=u&&u.getMap();if(r--,h&&n.appendMap(h,r),u){let f=o.selection&&o.selection.map(n.slice(r));f&&i++;let m=new oi(h.invert(),u,f),g,y=a.length-1;(g=a.length&&a[y].merge(m))?a[y]=g:a.push(m)}}else o.map&&r--},this.items.length,0),new bs(_n.from(a.reverse()),i)}}bs.empty=new bs(_n.empty,0);function jz(t,e){let n;return t.forEach((r,a)=>{if(r.selection&&e--==0)return n=a,!1}),t.slice(n)}let oi=class SC{constructor(e,n,r,a){this.map=e,this.step=n,this.selection=r,this.mirrorOffset=a}merge(e){if(this.step&&e.step&&!e.selection){let n=e.step.merge(this.step);if(n)return new SC(n.getMap().invert(),n,this.selection)}}};class hi{constructor(e,n,r,a,i){this.done=e,this.undone=n,this.prevRanges=r,this.prevTime=a,this.prevComposition=i}}const kz=20;function Sz(t,e,n,r){let a=n.getMeta(Co),i;if(a)return a.historyState;n.getMeta(Tz)&&(t=new hi(t.done,t.undone,null,0,-1));let o=n.getMeta("appendedTransaction");if(n.steps.length==0)return t;if(o&&o.getMeta(Co))return o.getMeta(Co).redo?new hi(t.done.addTransform(n,void 0,r,dh(e)),t.undone,WN(n.mapping.maps),t.prevTime,t.prevComposition):new hi(t.done,t.undone.addTransform(n,void 0,r,dh(e)),null,t.prevTime,t.prevComposition);if(n.getMeta("addToHistory")!==!1&&!(o&&o.getMeta("addToHistory")===!1)){let c=n.getMeta("composition"),u=t.prevTime==0||!o&&t.prevComposition!=c&&(t.prevTime<(n.time||0)-r.newGroupDelay||!Cz(n,t.prevRanges)),h=o?Ng(t.prevRanges,n.mapping):WN(n.mapping.maps);return new hi(t.done.addTransform(n,u?e.selection.getBookmark():void 0,r,dh(e)),bs.empty,h,n.time,c??t.prevComposition)}else return(i=n.getMeta("rebased"))?new hi(t.done.rebased(n,i),t.undone.rebased(n,i),Ng(t.prevRanges,n.mapping),t.prevTime,t.prevComposition):new hi(t.done.addMaps(n.mapping.maps),t.undone.addMaps(n.mapping.maps),Ng(t.prevRanges,n.mapping),t.prevTime,t.prevComposition)}function Cz(t,e){if(!e)return!1;if(!t.docChanged)return!0;let n=!1;return t.mapping.maps[0].forEach((r,a)=>{for(let i=0;i=e[i]&&(n=!0)}),n}function WN(t){let e=[];for(let n=t.length-1;n>=0&&e.length==0;n--)t[n].forEach((r,a,i,o)=>e.push(i,o));return e}function Ng(t,e){if(!t)return null;let n=[];for(let r=0;r{let a=Co.getState(n);if(!a||(t?a.undone:a.done).eventCount==0)return!1;if(r){let i=Ez(a,n,t);i&&r(e?i.scrollIntoView():i)}return!0}}const EC=CC(!1,!0),TC=CC(!0,!0);dn.create({name:"characterCount",addOptions(){return{limit:null,mode:"textSize",textCounter:t=>t.length,wordCounter:t=>t.split(" ").filter(e=>e!=="").length}},addStorage(){return{characters:()=>0,words:()=>0}},onBeforeCreate(){this.storage.characters=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc;if(((t==null?void 0:t.mode)||this.options.mode)==="textSize"){const r=e.textBetween(0,e.content.size,void 0," ");return this.options.textCounter(r)}return e.nodeSize},this.storage.words=t=>{const e=(t==null?void 0:t.node)||this.editor.state.doc,n=e.textBetween(0,e.content.size," "," ");return this.options.wordCounter(n)}},addProseMirrorPlugins(){let t=!1;return[new Ut({key:new Yt("characterCount"),appendTransaction:(e,n,r)=>{if(t)return;const a=this.options.limit;if(a==null||a===0){t=!0;return}const i=this.storage.characters({node:r.doc});if(i>a){const o=i-a,c=0,u=o;console.warn(`[CharacterCount] Initial content exceeded limit of ${a} characters. Content was automatically trimmed.`);const h=r.tr.deleteRange(c,u);return t=!0,h}t=!0},filterTransaction:(e,n)=>{const r=this.options.limit;if(!e.docChanged||r===0||r===null||r===void 0)return!0;const a=this.storage.characters({node:n.doc}),i=this.storage.characters({node:e.doc});if(i<=r||a>r&&i>r&&i<=a)return!0;if(a>r&&i>r&&i>a||!e.getMeta("paste"))return!1;const c=e.selection.$head.pos,u=i-r,h=c-u,f=c;return e.deleteRange(h,f),!(this.storage.characters({node:e.doc})>r)}})]}});var Az=dn.create({name:"dropCursor",addOptions(){return{color:"currentColor",width:1,class:void 0}},addProseMirrorPlugins(){return[hz(this.options)]}});dn.create({name:"focus",addOptions(){return{className:"has-focus",mode:"all"}},addProseMirrorPlugins(){return[new Ut({key:new Yt("focus"),props:{decorations:({doc:t,selection:e})=>{const{isEditable:n,isFocused:r}=this.editor,{anchor:a}=e,i=[];if(!n||!r)return Pt.create(t,[]);let o=0;this.options.mode==="deepest"&&t.descendants((u,h)=>{if(u.isText)return;if(!(a>=h&&a<=h+u.nodeSize-1))return!1;o+=1});let c=0;return t.descendants((u,h)=>{if(u.isText||!(a>=h&&a<=h+u.nodeSize-1))return!1;if(c+=1,this.options.mode==="deepest"&&o-c>0||this.options.mode==="shallowest"&&c>1)return this.options.mode==="deepest";i.push(Tn.node(h,h+u.nodeSize,{class:this.options.className}))}),Pt.create(t,i)}}})]}});var Iz=dn.create({name:"gapCursor",addProseMirrorPlugins(){return[gz()]},extendNodeSchema(t){var e;const n={name:t.name,options:t.options,storage:t.storage};return{allowGapCursor:(e=jt(We(t,"allowGapCursor",n)))!=null?e:null}}}),KN="placeholder";function Rz(t){return t.replace(/\s+/g,"-").replace(/[^a-zA-Z0-9-]/g,"").replace(/^[0-9-]+/,"").replace(/^-+/,"").toLowerCase()}var Pz=dn.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",dataAttribute:KN,placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){const t=this.options.dataAttribute?`data-${Rz(this.options.dataAttribute)}`:`data-${KN}`;return[new Ut({key:new Yt("placeholder"),props:{decorations:({doc:e,selection:n})=>{const r=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:a}=n,i=[];if(!r)return null;const o=this.editor.isEmpty;return e.descendants((c,u)=>{const h=a>=u&&a<=u+c.nodeSize,f=!c.isLeaf&&$f(c);if((h||!this.options.showOnlyCurrent)&&f){const m=[this.options.emptyNodeClass];o&&m.push(this.options.emptyEditorClass);const g=Tn.node(u,u+c.nodeSize,{class:m.join(" "),[t]:typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:c,pos:u,hasAnchor:h}):this.options.placeholder});i.push(g)}return this.options.includeChildren}),Pt.create(e,i)}}})]}});dn.create({name:"selection",addOptions(){return{className:"selection"}},addProseMirrorPlugins(){const{editor:t,options:e}=this;return[new Ut({key:new Yt("selection"),props:{decorations(n){return n.selection.empty||t.isFocused||!t.isEditable||I2(n.selection)||t.view.dragging?null:Pt.create(n.doc,[Tn.inline(n.selection.from,n.selection.to,{class:e.className})])}}})]}});function qN({types:t,node:e}){return e&&Array.isArray(t)&&t.includes(e.type)||(e==null?void 0:e.type)===t}var Oz=dn.create({name:"trailingNode",addOptions(){return{node:void 0,notAfter:[]}},addProseMirrorPlugins(){var t;const e=new Yt(this.name),n=this.options.node||((t=this.editor.schema.topNodeType.contentMatch.defaultType)==null?void 0:t.name)||"paragraph",r=Object.entries(this.editor.schema.nodes).map(([,a])=>a).filter(a=>(this.options.notAfter||[]).concat(n).includes(a.name));return[new Ut({key:e,appendTransaction:(a,i,o)=>{const{doc:c,tr:u,schema:h}=o,f=e.getState(o),m=c.content.size,g=h.nodes[n];if(f)return u.insert(m,g.create())},state:{init:(a,i)=>{const o=i.tr.doc.lastChild;return!qN({node:o,types:r})},apply:(a,i)=>{if(!a.docChanged||a.getMeta("__uniqueIDTransaction"))return i;const o=a.doc.lastChild;return!qN({node:o,types:r})}}})]}}),Dz=dn.create({name:"undoRedo",addOptions(){return{depth:100,newGroupDelay:500}},addCommands(){return{undo:()=>({state:t,dispatch:e})=>EC(t,e),redo:()=>({state:t,dispatch:e})=>TC(t,e)}},addProseMirrorPlugins(){return[Mz(this.options)]},addKeyboardShortcuts(){return{"Mod-z":()=>this.editor.commands.undo(),"Shift-Mod-z":()=>this.editor.commands.redo(),"Mod-y":()=>this.editor.commands.redo(),"Mod-я":()=>this.editor.commands.undo(),"Shift-Mod-я":()=>this.editor.commands.redo()}}}),Lz=dn.create({name:"starterKit",addExtensions(){var t,e,n,r;const a=[];return this.options.bold!==!1&&a.push(i7.configure(this.options.bold)),this.options.blockquote!==!1&&a.push(t7.configure(this.options.blockquote)),this.options.bulletList!==!1&&a.push(fC.configure(this.options.bulletList)),this.options.code!==!1&&a.push(c7.configure(this.options.code)),this.options.codeBlock!==!1&&a.push(h7.configure(this.options.codeBlock)),this.options.document!==!1&&a.push(f7.configure(this.options.document)),this.options.dropcursor!==!1&&a.push(Az.configure(this.options.dropcursor)),this.options.gapcursor!==!1&&a.push(Iz.configure(this.options.gapcursor)),this.options.hardBreak!==!1&&a.push(p7.configure(this.options.hardBreak)),this.options.heading!==!1&&a.push(m7.configure(this.options.heading)),this.options.undoRedo!==!1&&a.push(Dz.configure(this.options.undoRedo)),this.options.horizontalRule!==!1&&a.push(g7.configure(this.options.horizontalRule)),this.options.italic!==!1&&a.push(N7.configure(this.options.italic)),this.options.listItem!==!1&&a.push(pC.configure(this.options.listItem)),this.options.listKeymap!==!1&&a.push(vC.configure((t=this.options)==null?void 0:t.listKeymap)),this.options.link!==!1&&a.push(hC.configure((e=this.options)==null?void 0:e.link)),this.options.orderedList!==!1&&a.push(wC.configure(this.options.orderedList)),this.options.paragraph!==!1&&a.push(iz.configure(this.options.paragraph)),this.options.strike!==!1&&a.push(cz.configure(this.options.strike)),this.options.text!==!1&&a.push(dz.configure(this.options.text)),this.options.underline!==!1&&a.push(uz.configure((n=this.options)==null?void 0:n.underline)),this.options.trailingNode!==!1&&a.push(Oz.configure((r=this.options)==null?void 0:r.trailingNode)),a}}),_z=Lz,zz=/(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/,$z=wn.create({name:"image",addOptions(){return{inline:!1,allowBase64:!1,HTMLAttributes:{},resize:!1}},inline(){return this.options.inline},group(){return this.options.inline?"inline":"block"},draggable:!0,addAttributes(){return{src:{default:null},alt:{default:null},title:{default:null},width:{default:null},height:{default:null}}},parseHTML(){return[{tag:this.options.allowBase64?"img[src]":'img[src]:not([src^="data:"])'}]},renderHTML({HTMLAttributes:t}){return["img",kt(this.options.HTMLAttributes,t)]},parseMarkdown:(t,e)=>e.createNode("image",{src:t.href,title:t.title,alt:t.text}),renderMarkdown:t=>{var e,n,r,a,i,o;const c=(n=(e=t.attrs)==null?void 0:e.src)!=null?n:"",u=(a=(r=t.attrs)==null?void 0:r.alt)!=null?a:"",h=(o=(i=t.attrs)==null?void 0:i.title)!=null?o:"";return h?`![${u}](${c} "${h}")`:`![${u}](${c})`},addNodeView(){if(!this.options.resize||!this.options.resize.enabled||typeof document>"u")return null;const{directions:t,minWidth:e,minHeight:n,alwaysPreserveAspectRatio:r}=this.options.resize;return({node:a,getPos:i,HTMLAttributes:o,editor:c})=>{const u=document.createElement("img");Object.entries(o).forEach(([m,g])=>{if(g!=null)switch(m){case"width":case"height":break;default:u.setAttribute(m,g);break}}),u.src=o.src;const h=new V6({element:u,editor:c,node:a,getPos:i,onResize:(m,g)=>{u.style.width=`${m}px`,u.style.height=`${g}px`},onCommit:(m,g)=>{const y=i();y!==void 0&&this.editor.chain().setNodeSelection(y).updateAttributes(this.name,{width:m,height:g}).run()},onUpdate:(m,g,y)=>m.type===a.type,options:{directions:t,min:{width:e,height:n},preserveAspectRatio:r===!0}}),f=h.dom;return f.style.visibility="hidden",f.style.pointerEvents="none",u.onload=()=>{f.style.visibility="",f.style.pointerEvents=""},h}},addCommands(){return{setImage:t=>({commands:e})=>e.insertContent({type:this.name,attrs:t})}},addInputRules(){return[G2({find:zz,type:this.type,getAttributes:t=>{const[,,e,n,r]=t;return{src:n,alt:e,title:r}}})]}}),Fz=$z;function Bz(t){var e;const{char:n,allowSpaces:r,allowToIncludeChar:a,allowedPrefixes:i,startOfLine:o,$position:c}=t,u=r&&!a,h=W6(n),f=new RegExp(`\\s${h}$`),m=o?"^":"",g=a?"":h,y=u?new RegExp(`${m}${h}.*?(?=\\s${g}|$)`,"gm"):new RegExp(`${m}(?:^)?${h}[^\\s${g}]*`,"gm"),v=((e=c.nodeBefore)==null?void 0:e.isText)&&c.nodeBefore.text;if(!v)return null;const w=c.pos-v.length,N=Array.from(v.matchAll(y)).pop();if(!N||N.input===void 0||N.index===void 0)return null;const k=N.input.slice(Math.max(0,N.index-1),N.index),C=new RegExp(`^[${i==null?void 0:i.join("")}\0]?$`).test(k);if(i!==null&&!C)return null;const E=w+N.index;let A=E+N[0].length;return u&&f.test(v.slice(A-1,A+1))&&(N[0]+=" ",A+=1),E=c.pos?{range:{from:E,to:A},query:N[0].slice(n.length),text:N[0]}:null}var Vz=new Yt("suggestion");function Hz({pluginKey:t=Vz,editor:e,char:n="@",allowSpaces:r=!1,allowToIncludeChar:a=!1,allowedPrefixes:i=[" "],startOfLine:o=!1,decorationTag:c="span",decorationClass:u="suggestion",decorationContent:h="",decorationEmptyClass:f="is-empty",command:m=()=>null,items:g=()=>[],render:y=()=>({}),allow:v=()=>!0,findSuggestionMatch:w=Bz,shouldShow:N}){let k;const C=y==null?void 0:y(),E=()=>{const _=e.state.selection.$anchor.pos,P=e.view.coordsAtPos(_),{top:L,right:$,bottom:ee,left:K}=P;try{return new DOMRect(K,L,$-K,ee-L)}catch{return null}},A=(_,P)=>P?()=>{const L=t.getState(e.state),$=L==null?void 0:L.decorationId,ee=_.dom.querySelector(`[data-decoration-id="${$}"]`);return(ee==null?void 0:ee.getBoundingClientRect())||null}:E;function D(_,P){var L;try{const ee=t.getState(_.state),K=ee!=null&&ee.decorationId?_.dom.querySelector(`[data-decoration-id="${ee.decorationId}"]`):null,ue={editor:e,range:(ee==null?void 0:ee.range)||{from:0,to:0},query:(ee==null?void 0:ee.query)||null,text:(ee==null?void 0:ee.text)||null,items:[],command:me=>m({editor:e,range:(ee==null?void 0:ee.range)||{from:0,to:0},props:me}),decorationNode:K,clientRect:A(_,K)};(L=C==null?void 0:C.onExit)==null||L.call(C,ue)}catch{}const $=_.state.tr.setMeta(P,{exit:!0});_.dispatch($)}const H=new Ut({key:t,view(){return{update:async(_,P)=>{var L,$,ee,K,ue,me,R;const O=(L=this.key)==null?void 0:L.getState(P),F=($=this.key)==null?void 0:$.getState(_.state),I=O.active&&F.active&&O.range.from!==F.range.from,se=!O.active&&F.active,J=O.active&&!F.active,z=!se&&!J&&O.query!==F.query,U=se||I&&z,q=z||I,V=J||I&&z;if(!U&&!q&&!V)return;const ce=V&&!U?O:F,Y=_.dom.querySelector(`[data-decoration-id="${ce.decorationId}"]`);k={editor:e,range:ce.range,query:ce.query,text:ce.text,items:[],command:X=>m({editor:e,range:ce.range,props:X}),decorationNode:Y,clientRect:A(_,Y)},U&&((ee=C==null?void 0:C.onBeforeStart)==null||ee.call(C,k)),q&&((K=C==null?void 0:C.onBeforeUpdate)==null||K.call(C,k)),(q||U)&&(k.items=await g({editor:e,query:ce.query})),V&&((ue=C==null?void 0:C.onExit)==null||ue.call(C,k)),q&&((me=C==null?void 0:C.onUpdate)==null||me.call(C,k)),U&&((R=C==null?void 0:C.onStart)==null||R.call(C,k))},destroy:()=>{var _;k&&((_=C==null?void 0:C.onExit)==null||_.call(C,k))}}},state:{init(){return{active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}},apply(_,P,L,$){const{isEditable:ee}=e,{composing:K}=e.view,{selection:ue}=_,{empty:me,from:R}=ue,O={...P},F=_.getMeta(t);if(F&&F.exit)return O.active=!1,O.decorationId=null,O.range={from:0,to:0},O.query=null,O.text=null,O;if(O.composing=K,ee&&(me||e.view.composing)){(RP.range.to)&&!K&&!P.composing&&(O.active=!1);const I=w({char:n,allowSpaces:r,allowToIncludeChar:a,allowedPrefixes:i,startOfLine:o,$position:ue.$from}),se=`id_${Math.floor(Math.random()*4294967295)}`;I&&v({editor:e,state:$,range:I.range,isActive:P.active})&&(!N||N({editor:e,range:I.range,query:I.query,text:I.text,transaction:_}))?(O.active=!0,O.decorationId=P.decorationId?P.decorationId:se,O.range=I.range,O.query=I.query,O.text=I.text):O.active=!1}else O.active=!1;return O.active||(O.decorationId=null,O.range={from:0,to:0},O.query=null,O.text=null),O}},props:{handleKeyDown(_,P){var L,$,ee,K;const{active:ue,range:me}=H.getState(_.state);if(!ue)return!1;if(P.key==="Escape"||P.key==="Esc"){const O=H.getState(_.state),F=(L=k==null?void 0:k.decorationNode)!=null?L:null,I=F??(O!=null&&O.decorationId?_.dom.querySelector(`[data-decoration-id="${O.decorationId}"]`):null);if((($=C==null?void 0:C.onKeyDown)==null?void 0:$.call(C,{view:_,event:P,range:O.range}))||!1)return!0;const J={editor:e,range:O.range,query:O.query,text:O.text,items:[],command:z=>m({editor:e,range:O.range,props:z}),decorationNode:I,clientRect:I?()=>I.getBoundingClientRect()||null:null};return(ee=C==null?void 0:C.onExit)==null||ee.call(C,J),D(_,t),!0}return((K=C==null?void 0:C.onKeyDown)==null?void 0:K.call(C,{view:_,event:P,range:me}))||!1},decorations(_){const{active:P,range:L,decorationId:$,query:ee}=H.getState(_);if(!P)return null;const K=!(ee!=null&&ee.length),ue=[u];return K&&ue.push(f),Pt.create(_.doc,[Tn.inline(L.from,L.to,{nodeName:c,class:ue.join(" "),"data-decoration-id":$,"data-decoration-content":h})])}}});return H}function Wz({editor:t,overrideSuggestionOptions:e,extensionName:n,char:r="@"}){const a=new Yt;return{editor:t,char:r,pluginKey:a,command:({editor:i,range:o,props:c})=>{var u,h,f;const m=i.view.state.selection.$to.nodeAfter;((u=m==null?void 0:m.text)==null?void 0:u.startsWith(" "))&&(o.to+=1),i.chain().focus().insertContentAt(o,[{type:n,attrs:{...c,mentionSuggestionChar:r}},{type:"text",text:" "}]).run(),(f=(h=i.view.dom.ownerDocument.defaultView)==null?void 0:h.getSelection())==null||f.collapseToEnd()},allow:({state:i,range:o})=>{const c=i.doc.resolve(o.from),u=i.schema.nodes[n];return!!c.parent.type.contentMatch.matchType(u)},...e}}function MC(t){return(t.options.suggestions.length?t.options.suggestions:[t.options.suggestion]).map(e=>Wz({editor:t.editor,overrideSuggestionOptions:e,extensionName:t.name,char:e.char}))}function GN(t,e){const n=MC(t),r=n.find(a=>a.char===e);return r||(n.length?n[0]:null)}var Uz=wn.create({name:"mention",priority:101,addOptions(){return{HTMLAttributes:{},renderText({node:t,suggestion:e}){var n,r;return`${(n=e==null?void 0:e.char)!=null?n:"@"}${(r=t.attrs.label)!=null?r:t.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:t,node:e,suggestion:n}){var r,a;return["span",kt(this.HTMLAttributes,t.HTMLAttributes),`${(r=n==null?void 0:n.char)!=null?r:"@"}${(a=e.attrs.label)!=null?a:e.attrs.id}`]},suggestions:[],suggestion:{}}},group:"inline",inline:!0,selectable:!1,atom:!0,addAttributes(){return{id:{default:null,parseHTML:t=>t.getAttribute("data-id"),renderHTML:t=>t.id?{"data-id":t.id}:{}},label:{default:null,parseHTML:t=>t.getAttribute("data-label"),renderHTML:t=>t.label?{"data-label":t.label}:{}},mentionSuggestionChar:{default:"@",parseHTML:t=>t.getAttribute("data-mention-suggestion-char"),renderHTML:t=>({"data-mention-suggestion-char":t.mentionSuggestionChar})}}},parseHTML(){return[{tag:`span[data-type="${this.name}"]`}]},renderHTML({node:t,HTMLAttributes:e}){const n=GN(this,t.attrs.mentionSuggestionChar);if(this.options.renderLabel!==void 0)return console.warn("renderLabel is deprecated use renderText and renderHTML instead"),["span",kt({"data-type":this.name},this.options.HTMLAttributes,e),this.options.renderLabel({options:this.options,node:t,suggestion:n})];const r={...this.options};r.HTMLAttributes=kt({"data-type":this.name},this.options.HTMLAttributes,e);const a=this.options.renderHTML({options:r,node:t,suggestion:n});return typeof a=="string"?["span",kt({"data-type":this.name},this.options.HTMLAttributes,e),a]:a},...J2({nodeName:"mention",name:"@",selfClosing:!0,allowedAttributes:["id","label",{name:"mentionSuggestionChar",skipIfDefault:"@"}],parseAttributes:t=>{const e={},n=/(\w+)=(?:"([^"]*)"|'([^']*)')/g;let r=n.exec(t);for(;r!==null;){const[,a,i,o]=r,c=i??o;e[a==="char"?"mentionSuggestionChar":a]=c,r=n.exec(t)}return e},serializeAttributes:t=>Object.entries(t).filter(([,e])=>e!=null).map(([e,n])=>`${e==="mentionSuggestionChar"?"char":e}="${n}"`).join(" ")}),renderText({node:t}){const e={options:this.options,node:t,suggestion:GN(this,t.attrs.mentionSuggestionChar)};return this.options.renderLabel!==void 0?(console.warn("renderLabel is deprecated use renderText and renderHTML instead"),this.options.renderLabel(e)):this.options.renderText(e)},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:t,state:e})=>{let n=!1;const{selection:r}=e,{empty:a,anchor:i}=r;if(!a)return!1;let o=new Ca,c=0;return e.doc.nodesBetween(i-1,i,(u,h)=>{if(u.type.name===this.name)return n=!0,o=u,c=h,!1}),n&&t.insertText(this.options.deleteTriggerWithBackspace?"":o.attrs.mentionSuggestionChar,c,c+o.nodeSize),n})}},addProseMirrorPlugins(){return MC(this).map(Hz)}}),Kz=Uz,qz=Pz;let Ex,Tx;if(typeof WeakMap<"u"){let t=new WeakMap;Ex=e=>t.get(e),Tx=(e,n)=>(t.set(e,n),n)}else{const t=[];let n=0;Ex=r=>{for(let a=0;a(n==10&&(n=0),t[n++]=r,t[n++]=a)}var cn=class{constructor(t,e,n,r){this.width=t,this.height=e,this.map=n,this.problems=r}findCell(t){for(let e=0;e=n){(i||(i=[])).push({type:"overlong_rowspan",pos:f,n:k-E});break}const A=a+E*e;for(let D=0;Dr&&(i+=h.attrs.colspan)}}for(let o=0;o1&&(n=!0)}e==-1?e=i:e!=i&&(e=Math.max(e,i))}return e}function Yz(t,e,n){t.problems||(t.problems=[]);const r={};for(let a=0;a0;e--)if(t.node(e).type.spec.tableRole=="row")return t.node(0).resolve(t.before(e+1));return null}function Xz(t){for(let e=t.depth;e>0;e--){const n=t.node(e).type.spec.tableRole;if(n==="cell"||n==="header_cell")return t.node(e)}return null}function Cs(t){const e=t.selection.$head;for(let n=e.depth;n>0;n--)if(e.node(n).type.spec.tableRole=="row")return!0;return!1}function Hf(t){const e=t.selection;if("$anchorCell"in e&&e.$anchorCell)return e.$anchorCell.pos>e.$headCell.pos?e.$anchorCell:e.$headCell;if("node"in e&&e.node&&e.node.type.spec.tableRole=="cell")return e.$anchor;const n=Oo(e.$head)||Zz(e.$head);if(n)return n;throw new RangeError(`No cell found around position ${e.head}`)}function Zz(t){for(let e=t.nodeAfter,n=t.pos;e;e=e.firstChild,n++){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n)}for(let e=t.nodeBefore,n=t.pos;e;e=e.lastChild,n--){const r=e.type.spec.tableRole;if(r=="cell"||r=="header_cell")return t.doc.resolve(n-e.nodeSize)}}function Mx(t){return t.parent.type.spec.tableRole=="row"&&!!t.nodeAfter}function e$(t){return t.node(0).resolve(t.pos+t.nodeAfter.nodeSize)}function Z0(t,e){return t.depth==e.depth&&t.pos>=e.start(-1)&&t.pos<=e.end(-1)}function AC(t,e,n){const r=t.node(-1),a=cn.get(r),i=t.start(-1),o=a.nextCell(t.pos-i,e,n);return o==null?null:t.node(0).resolve(i+o)}function Do(t,e,n=1){const r={...t,colspan:t.colspan-n};return r.colwidth&&(r.colwidth=r.colwidth.slice(),r.colwidth.splice(e,n),r.colwidth.some(a=>a>0)||(r.colwidth=null)),r}function IC(t,e,n=1){const r={...t,colspan:t.colspan+n};if(r.colwidth){r.colwidth=r.colwidth.slice();for(let a=0;af!=n.pos-i);u.unshift(n.pos-i);const h=u.map(f=>{const m=r.nodeAt(f);if(!m)throw new RangeError(`No cell with offset ${f} found`);const g=i+f+1;return new bS(c.resolve(g),c.resolve(g+m.content.size))});super(h[0].$from,h[0].$to,h),this.$anchorCell=e,this.$headCell=n}map(e,n){const r=e.resolve(n.map(this.$anchorCell.pos)),a=e.resolve(n.map(this.$headCell.pos));if(Mx(r)&&Mx(a)&&Z0(r,a)){const i=this.$anchorCell.node(-1)!=r.node(-1);return i&&this.isRowSelection()?ba.rowSelection(r,a):i&&this.isColSelection()?ba.colSelection(r,a):new ba(r,a)}return Qe.between(r,a)}content(){const e=this.$anchorCell.node(-1),n=cn.get(e),r=this.$anchorCell.start(-1),a=n.rectBetween(this.$anchorCell.pos-r,this.$headCell.pos-r),i={},o=[];for(let u=a.top;u0||N>0){let k=v.attrs;if(w>0&&(k=Do(k,0,w)),N>0&&(k=Do(k,k.colspan-N,N)),y.lefta.bottom){const k={...v.attrs,rowspan:Math.min(y.bottom,a.bottom)-Math.max(y.top,a.top)};y.top0)return!1;const r=e+this.$anchorCell.nodeAfter.attrs.rowspan,a=n+this.$headCell.nodeAfter.attrs.rowspan;return Math.max(r,a)==this.$headCell.node(-1).childCount}static colSelection(e,n=e){const r=e.node(-1),a=cn.get(r),i=e.start(-1),o=a.findCell(e.pos-i),c=a.findCell(n.pos-i),u=e.node(0);return o.top<=c.top?(o.top>0&&(e=u.resolve(i+a.map[o.left])),c.bottom0&&(n=u.resolve(i+a.map[c.left])),o.bottom0)return!1;const o=a+this.$anchorCell.nodeAfter.attrs.colspan,c=i+this.$headCell.nodeAfter.attrs.colspan;return Math.max(o,c)==n.width}eq(e){return e instanceof ba&&e.$anchorCell.pos==this.$anchorCell.pos&&e.$headCell.pos==this.$headCell.pos}static rowSelection(e,n=e){const r=e.node(-1),a=cn.get(r),i=e.start(-1),o=a.findCell(e.pos-i),c=a.findCell(n.pos-i),u=e.node(0);return o.left<=c.left?(o.left>0&&(e=u.resolve(i+a.map[o.top*a.width])),c.right0&&(n=u.resolve(i+a.map[c.top*a.width])),o.right{e.push(Tn.node(r,r+n.nodeSize,{class:"selectedCell"}))}),Pt.create(t.doc,e)}function s$({$from:t,$to:e}){if(t.pos==e.pos||t.pos=0&&!(t.after(a+1)=0&&!(e.before(i+1)>e.start(i));i--,r--);return n==r&&/row|table/.test(t.node(a).type.spec.tableRole)}function a$({$from:t,$to:e}){let n,r;for(let a=t.depth;a>0;a--){const i=t.node(a);if(i.type.spec.tableRole==="cell"||i.type.spec.tableRole==="header_cell"){n=i;break}}for(let a=e.depth;a>0;a--){const i=e.node(a);if(i.type.spec.tableRole==="cell"||i.type.spec.tableRole==="header_cell"){r=i;break}}return n!==r&&e.parentOffset===0}function i$(t,e,n){const r=(e||t).selection,a=(e||t).doc;let i,o;if(r instanceof Je&&(o=r.node.type.spec.tableRole)){if(o=="cell"||o=="header_cell")i=Wt.create(a,r.from);else if(o=="row"){const c=a.resolve(r.from+1);i=Wt.rowSelection(c,c)}else if(!n){const c=cn.get(r.node),u=r.from+1,h=u+c.map[c.width*c.height-1];i=Wt.create(a,u+1,h)}}else r instanceof Qe&&s$(r)?i=Qe.create(a,r.from):r instanceof Qe&&a$(r)&&(i=Qe.create(a,r.$from.start(),r.$from.end()));return i&&(e||(e=t.tr)).setSelection(i),e}const o$=new Yt("fix-tables");function PC(t,e,n,r){const a=t.childCount,i=e.childCount;e:for(let o=0,c=0;o{a.type.spec.tableRole=="table"&&(n=l$(t,a,i,n))};return e?e.doc!=t.doc&&PC(e.doc,t.doc,0,r):t.doc.descendants(r),n}function l$(t,e,n,r){const a=cn.get(e);if(!a.problems)return r;r||(r=t.tr);const i=[];for(let u=0;u0){let y="cell";f.firstChild&&(y=f.firstChild.type.spec.tableRole);const v=[];for(let N=0;N0?-1:0;t$(e,r,a+i)&&(i=a==0||a==e.width?null:0);for(let o=0;o0&&a0&&e.map[c-1]==u||a0?-1:0;f$(e,r,a+c)&&(c=a==0||a==e.height?null:0);for(let h=0,f=e.width*a;h0&&a0&&m==e.map[f-e.width]){const g=n.nodeAt(m).attrs;t.setNodeMarkup(t.mapping.slice(c).map(m+r),null,{...g,rowspan:g.rowspan-1}),h+=g.colspan-1}else if(a0&&n[i]==n[i-1]||r.right0&&n[a]==n[a-t]||r.bottom0){const f=u+1+h.content.size,m=JN(h)?u+1:f;i.replaceWith(m+r.tableStart,f+r.tableStart,c)}i.setSelection(new Wt(i.doc.resolve(u+r.tableStart))),e(i)}return!0}function QN(t,e){const n=ar(t.schema);return b$(({node:r})=>n[r.type.spec.tableRole])(t,e)}function b$(t){return(e,n)=>{const r=e.selection;let a,i;if(r instanceof Wt){if(r.$anchorCell.pos!=r.$headCell.pos)return!1;a=r.$anchorCell.nodeAfter,i=r.$anchorCell.pos}else{var o;if(a=Xz(r.$from),!a)return!1;i=(o=Oo(r.$from))===null||o===void 0?void 0:o.pos}if(a==null||i==null||a.attrs.colspan==1&&a.attrs.rowspan==1)return!1;if(n){let c=a.attrs;const u=[],h=c.colwidth;c.rowspan>1&&(c={...c,rowspan:1}),c.colspan>1&&(c={...c,colspan:1});const f=Ys(e),m=e.tr;for(let y=0;y{o.attrs[t]!==e&&i.setNodeMarkup(c,null,{...o.attrs,[t]:e})}):i.setNodeMarkup(a.pos,null,{...a.nodeAfter.attrs,[t]:e}),r(i)}return!0}}function N$(t){return function(e,n){if(!Cs(e))return!1;if(n){const r=ar(e.schema),a=Ys(e),i=e.tr,o=a.map.cellsInRect(t=="column"?{left:a.left,top:0,right:a.right,bottom:a.map.height}:t=="row"?{left:0,top:a.top,right:a.map.width,bottom:a.bottom}:a),c=o.map(u=>a.table.nodeAt(u));for(let u=0;u{const y=g+i.tableStart,v=o.doc.nodeAt(y);v&&o.setNodeMarkup(y,m,v.attrs)}),r(o)}return!0}}vd("row",{useDeprecatedLogic:!0});vd("column",{useDeprecatedLogic:!0});const w$=vd("cell",{useDeprecatedLogic:!0});function j$(t,e){if(e<0){const n=t.nodeBefore;if(n)return t.pos-n.nodeSize;for(let r=t.index(-1)-1,a=t.before();r>=0;r--){const i=t.node(-1).child(r),o=i.lastChild;if(o)return a-1-o.nodeSize;a-=i.nodeSize}}else{if(t.index()0;r--)if(n.node(r).type.spec.tableRole=="table")return e&&e(t.tr.delete(n.before(r),n.after(r)).scrollIntoView()),!0;return!1}function Zu(t,e){const n=t.selection;if(!(n instanceof Wt))return!1;if(e){const r=t.tr,a=ar(t.schema).cell.createAndFill().content;n.forEachCell((i,o)=>{i.content.eq(a)||r.replace(r.mapping.map(o+1),r.mapping.map(o+i.nodeSize-1),new Re(a,0,0))}),r.docChanged&&e(r)}return!0}function S$(t){if(t.size===0)return null;let{content:e,openStart:n,openEnd:r}=t;for(;e.childCount==1&&(n>0&&r>0||e.child(0).type.spec.tableRole=="table");)n--,r--,e=e.child(0).content;const a=e.child(0),i=a.type.spec.tableRole,o=a.type.schema,c=[];if(i=="row")for(let u=0;u=0;o--){const{rowspan:c,colspan:u}=i.child(o).attrs;for(let h=a;h=e.length&&e.push(xe.empty),n[a]r&&(g=g.type.createChecked(Do(g.attrs,g.attrs.colspan,f+g.attrs.colspan-r),g.content)),h.push(g),f+=g.attrs.colspan;for(let y=1;ya&&(m=m.type.create({...m.attrs,rowspan:Math.max(1,a-m.attrs.rowspan)},m.content)),u.push(m)}i.push(xe.from(u))}n=i,e=a}return{width:t,height:e,rows:n}}function T$(t,e,n,r,a,i,o){const c=t.doc.type.schema,u=ar(c);let h,f;if(a>e.width)for(let m=0,g=0;me.height){const m=[];for(let v=0,w=(e.height-1)*e.width;v=e.width?!1:n.nodeAt(e.map[w+v]).type==u.header_cell;m.push(N?f||(f=u.header_cell.createAndFill()):h||(h=u.cell.createAndFill()))}const g=u.row.create(null,xe.from(m)),y=[];for(let v=e.height;v{if(!a)return!1;const i=n.selection;if(i instanceof Wt)return uh(n,r,tt.near(i.$headCell,e));if(t!="horiz"&&!i.empty)return!1;const o=_C(a,t,e);if(o==null)return!1;if(t=="horiz")return uh(n,r,tt.near(n.doc.resolve(i.head+e),e));{const c=n.doc.resolve(o),u=AC(c,t,e);let h;return u?h=tt.near(u,1):e<0?h=tt.near(n.doc.resolve(c.before(-1)),-1):h=tt.near(n.doc.resolve(c.after(-1)),1),uh(n,r,h)}}}function th(t,e){return(n,r,a)=>{if(!a)return!1;const i=n.selection;let o;if(i instanceof Wt)o=i;else{const u=_C(a,t,e);if(u==null)return!1;o=new Wt(n.doc.resolve(u))}const c=AC(o.$headCell,t,e);return c?uh(n,r,new Wt(o.$anchorCell,c)):!1}}function A$(t,e){const n=t.state.doc,r=Oo(n.resolve(e));return r?(t.dispatch(t.state.tr.setSelection(new Wt(r))),!0):!1}function I$(t,e,n){if(!Cs(t.state))return!1;let r=S$(n);const a=t.state.selection;if(a instanceof Wt){r||(r={width:1,height:1,rows:[xe.from(Ax(ar(t.state.schema).cell,n))]});const i=a.$anchorCell.node(-1),o=a.$anchorCell.start(-1),c=cn.get(i).rectBetween(a.$anchorCell.pos-o,a.$headCell.pos-o);return r=E$(r,c.right-c.left,c.bottom-c.top),nw(t.state,t.dispatch,o,c,r),!0}else if(r){const i=Hf(t.state),o=i.start(-1);return nw(t.state,t.dispatch,o,cn.get(i.node(-1)).findCell(i.pos-o),r),!0}else return!1}function R$(t,e){var n;if(e.button!=0||e.ctrlKey||e.metaKey)return;const r=rw(t,e.target);let a;if(e.shiftKey&&t.state.selection instanceof Wt)i(t.state.selection.$anchorCell,e),e.preventDefault();else if(e.shiftKey&&r&&(a=Oo(t.state.selection.$anchor))!=null&&((n=jg(t,e))===null||n===void 0?void 0:n.pos)!=a.pos)i(a,e),e.preventDefault();else if(!r)return;function i(u,h){let f=jg(t,h);const m=mi.getState(t.state)==null;if(!f||!Z0(u,f))if(m)f=u;else return;const g=new Wt(u,f);if(m||!t.state.selection.eq(g)){const y=t.state.tr.setSelection(g);m&&y.setMeta(mi,u.pos),t.dispatch(y)}}function o(){t.root.removeEventListener("mouseup",o),t.root.removeEventListener("dragstart",o),t.root.removeEventListener("mousemove",c),mi.getState(t.state)!=null&&t.dispatch(t.state.tr.setMeta(mi,-1))}function c(u){const h=u,f=mi.getState(t.state);let m;if(f!=null)m=t.state.doc.resolve(f);else if(rw(t,h.target)!=r&&(m=jg(t,e),!m))return o();m&&i(m,h)}t.root.addEventListener("mouseup",o),t.root.addEventListener("dragstart",o),t.root.addEventListener("mousemove",c)}function _C(t,e,n){if(!(t.state.selection instanceof Qe))return null;const{$head:r}=t.state.selection;for(let a=r.depth-1;a>=0;a--){const i=r.node(a);if((n<0?r.index(a):r.indexAfter(a))!=(n<0?0:i.childCount))return null;if(i.type.spec.tableRole=="cell"||i.type.spec.tableRole=="header_cell"){const o=r.before(a),c=e=="vert"?n>0?"down":"up":n>0?"right":"left";return t.endOfTextblock(c)?o:null}}return null}function rw(t,e){for(;e&&e!=t.dom;e=e.parentNode)if(e.nodeName=="TD"||e.nodeName=="TH")return e;return null}function jg(t,e){const n=t.posAtCoords({left:e.clientX,top:e.clientY});if(!n)return null;let{inside:r,pos:a}=n;return r>=0&&Oo(t.state.doc.resolve(r))||Oo(t.state.doc.resolve(a))}var P$=class{constructor(e,n){this.node=e,this.defaultCellMinWidth=n,this.dom=document.createElement("div"),this.dom.className="tableWrapper",this.table=this.dom.appendChild(document.createElement("table")),this.table.style.setProperty("--default-cell-min-width",`${n}px`),this.colgroup=this.table.appendChild(document.createElement("colgroup")),Ix(e,this.colgroup,this.table,n),this.contentDOM=this.table.appendChild(document.createElement("tbody"))}update(e){return e.type!=this.node.type?!1:(this.node=e,Ix(e,this.colgroup,this.table,this.defaultCellMinWidth),!0)}ignoreMutation(e){return e.type=="attributes"&&(e.target==this.table||this.colgroup.contains(e.target))}};function Ix(t,e,n,r,a,i){let o=0,c=!0,u=e.firstChild;const h=t.firstChild;if(h){for(let m=0,g=0;mnew r(m,n,g)),new D$(-1,!1)},apply(o,c){return c.apply(o)}},props:{attributes:o=>{const c=zr.getState(o);return c&&c.activeHandle>-1?{class:"resize-cursor"}:{}},handleDOMEvents:{mousemove:(o,c)=>{L$(o,c,t,a)},mouseleave:o=>{_$(o)},mousedown:(o,c)=>{z$(o,c,e,n)}},decorations:o=>{const c=zr.getState(o);if(c&&c.activeHandle>-1)return H$(o,c.activeHandle)},nodeViews:{}}});return i}var D$=class hh{constructor(e,n){this.activeHandle=e,this.dragging=n}apply(e){const n=this,r=e.getMeta(zr);if(r&&r.setHandle!=null)return new hh(r.setHandle,!1);if(r&&r.setDragging!==void 0)return new hh(n.activeHandle,r.setDragging);if(n.activeHandle>-1&&e.docChanged){let a=e.mapping.map(n.activeHandle,-1);return Mx(e.doc.resolve(a))||(a=-1),new hh(a,n.dragging)}return n}};function L$(t,e,n,r){if(!t.editable)return;const a=zr.getState(t.state);if(a&&!a.dragging){const i=F$(e.target);let o=-1;if(i){const{left:c,right:u}=i.getBoundingClientRect();e.clientX-c<=n?o=sw(t,e,"left",n):u-e.clientX<=n&&(o=sw(t,e,"right",n))}if(o!=a.activeHandle){if(!r&&o!==-1){const c=t.state.doc.resolve(o),u=c.node(-1),h=cn.get(u),f=c.start(-1);if(h.colCount(c.pos-f)+c.nodeAfter.attrs.colspan-1==h.width-1)return}zC(t,o)}}}function _$(t){if(!t.editable)return;const e=zr.getState(t.state);e&&e.activeHandle>-1&&!e.dragging&&zC(t,-1)}function z$(t,e,n,r){var a;if(!t.editable)return!1;const i=(a=t.dom.ownerDocument.defaultView)!==null&&a!==void 0?a:window,o=zr.getState(t.state);if(!o||o.activeHandle==-1||o.dragging)return!1;const c=t.state.doc.nodeAt(o.activeHandle),u=$$(t,o.activeHandle,c.attrs);t.dispatch(t.state.tr.setMeta(zr,{setDragging:{startX:e.clientX,startWidth:u}}));function h(m){i.removeEventListener("mouseup",h),i.removeEventListener("mousemove",f);const g=zr.getState(t.state);g!=null&&g.dragging&&(B$(t,g.activeHandle,aw(g.dragging,m,n)),t.dispatch(t.state.tr.setMeta(zr,{setDragging:null})))}function f(m){if(!m.which)return h(m);const g=zr.getState(t.state);if(g&&g.dragging){const y=aw(g.dragging,m,n);iw(t,g.activeHandle,y,r)}}return iw(t,o.activeHandle,u,r),i.addEventListener("mouseup",h),i.addEventListener("mousemove",f),e.preventDefault(),!0}function $$(t,e,{colspan:n,colwidth:r}){const a=r&&r[r.length-1];if(a)return a;const i=t.domAtPos(e);let o=i.node.childNodes[i.offset].offsetWidth,c=n;if(r)for(let u=0;u{var e,n;const r=t.getAttribute("colwidth"),a=r?r.split(",").map(i=>parseInt(i,10)):null;if(!a){const i=(e=t.closest("table"))==null?void 0:e.querySelectorAll("colgroup > col"),o=Array.from(((n=t.parentElement)==null?void 0:n.children)||[]).indexOf(t);if(o&&o>-1&&i&&i[o]){const c=i[o].getAttribute("width");return c?[parseInt(c,10)]:null}}return a}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:t}){return["td",kt(this.options.HTMLAttributes,t),0]}}),FC=wn.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:t=>{const e=t.getAttribute("colwidth");return e?e.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:t}){return["th",kt(this.options.HTMLAttributes,t),0]}}),BC=wn.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:t}){return["tr",kt(this.options.HTMLAttributes,t),0]}});function Rx(t,e){return e?["width",`${Math.max(e,t)}px`]:["min-width",`${t}px`]}function ow(t,e,n,r,a,i){var o;let c=0,u=!0,h=e.firstChild;const f=t.firstChild;if(f!==null)for(let g=0,y=0;g{const r=t.nodes[n];r.spec.tableRole&&(e[r.spec.tableRole]=r)}),t.cached.tableNodeTypes=e,e}function G$(t,e,n,r,a){const i=q$(t),o=[],c=[];for(let h=0;h{const{selection:e}=t.state;if(!J$(e))return!1;let n=0;const r=j2(e.ranges[0].$from,i=>i.type.name==="table");return r==null||r.node.descendants(i=>{if(i.type.name==="table")return!1;["tableCell","tableHeader"].includes(i.type.name)&&(n+=1)}),n===e.ranges.length?(t.commands.deleteTable(),!0):!1},Y$="";function Q$(t){return(t||"").replace(/\s+/g," ").trim()}function X$(t,e,n={}){var r;const a=(r=n.cellLineSeparator)!=null?r:Y$;if(!t||!t.content||t.content.length===0)return"";const i=[];t.content.forEach(v=>{const w=[];v.content&&v.content.forEach(N=>{let k="";N.content&&Array.isArray(N.content)&&N.content.length>1?k=N.content.map(D=>e.renderChildren(D)).join(a):k=N.content?e.renderChildren(N.content):"";const C=Q$(k),E=N.type==="tableHeader";w.push({text:C,isHeader:E})}),i.push(w)});const o=i.reduce((v,w)=>Math.max(v,w.length),0);if(o===0)return"";const c=new Array(o).fill(0);i.forEach(v=>{var w;for(let N=0;Nc[N]&&(c[N]=C),c[N]<3&&(c[N]=3)}});const u=(v,w)=>v+" ".repeat(Math.max(0,w-v.length)),h=i[0],f=h.some(v=>v.isHeader);let m=` `;const g=new Array(o).fill(0).map((v,w)=>f&&h[w]&&h[w].text||"");return m+=`| ${g.map((v,w)=>u(v,c[w])).join(" | ")} | `,m+=`| ${c.map(v=>"-".repeat(Math.max(3,v))).join(" | ")} | `,(f?i.slice(1):i).forEach(v=>{m+=`| ${new Array(o).fill(0).map((w,N)=>u(v[N]&&v[N].text||"",c[N])).join(" | ")} | -`}),m}var X$=Q$,FC=wn.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,renderWrapper:!1,handleWidth:5,cellMinWidth:25,View:W$,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:t,HTMLAttributes:e}){const{colgroup:n,tableWidth:r,tableMinWidth:a}=U$(t,this.options.cellMinWidth),i=e.style;function o(){return i||(r?`width: ${r}`:`min-width: ${a}`)}const c=["table",kt(this.options.HTMLAttributes,e,{style:o()}),n,["tbody",0]];return this.options.renderWrapper?["div",{class:"tableWrapper"},c]:c},parseMarkdown:(t,e)=>{const n=[];if(t.header){const r=[];t.header.forEach(a=>{r.push(e.createNode("tableHeader",{},[{type:"paragraph",content:e.parseInline(a.tokens)}]))}),n.push(e.createNode("tableRow",{},r))}return t.rows&&t.rows.forEach(r=>{const a=[];r.forEach(i=>{a.push(e.createNode("tableCell",{},[{type:"paragraph",content:e.parseInline(i.tokens)}]))}),n.push(e.createNode("tableRow",{},a))}),e.createNode("table",void 0,n)},renderMarkdown:(t,e)=>X$(t,e),addCommands(){return{insertTable:({rows:t=3,cols:e=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:a,editor:i})=>{const o=q$(i.schema,t,e,n);if(a){const c=r.selection.from+1;r.replaceSelectionWith(o).scrollIntoView().setSelection(Qe.near(r.doc.resolve(c)))}return!0},addColumnBefore:()=>({state:t,dispatch:e})=>l$(t,e),addColumnAfter:()=>({state:t,dispatch:e})=>c$(t,e),deleteColumn:()=>({state:t,dispatch:e})=>u$(t,e),addRowBefore:()=>({state:t,dispatch:e})=>f$(t,e),addRowAfter:()=>({state:t,dispatch:e})=>p$(t,e),deleteRow:()=>({state:t,dispatch:e})=>g$(t,e),deleteTable:()=>({state:t,dispatch:e})=>j$(t,e),mergeCells:()=>({state:t,dispatch:e})=>GN(t,e),splitCell:()=>({state:t,dispatch:e})=>JN(t,e),toggleHeaderColumn:()=>({state:t,dispatch:e})=>vd("column")(t,e),toggleHeaderRow:()=>({state:t,dispatch:e})=>vd("row")(t,e),toggleHeaderCell:()=>({state:t,dispatch:e})=>N$(t,e),mergeOrSplit:()=>({state:t,dispatch:e})=>GN(t,e)?!0:JN(t,e),setCellAttribute:(t,e)=>({state:n,dispatch:r})=>b$(t,e)(n,r),goToNextCell:()=>({state:t,dispatch:e})=>QN(1)(t,e),goToPreviousCell:()=>({state:t,dispatch:e})=>QN(-1)(t,e),fixTables:()=>({state:t,dispatch:e})=>(e&&RC(t),!0),setCellSelection:t=>({tr:e,dispatch:n})=>{if(n){const r=Wt.create(e.doc,t.anchorCell,t.headCell);e.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:eh,"Mod-Backspace":eh,Delete:eh,"Mod-Delete":eh}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[P$({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],H$({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(t){const e={name:t.name,options:t.options,storage:t.storage};return{tableRole:jt(We(t,"tableRole",e))}}});dn.create({name:"tableKit",addExtensions(){const t=[];return this.options.table!==!1&&t.push(FC.configure(this.options.table)),this.options.tableCell!==!1&&t.push(_C.configure(this.options.tableCell)),this.options.tableHeader!==!1&&t.push(zC.configure(this.options.tableHeader)),this.options.tableRow!==!1&&t.push($C.configure(this.options.tableRow)),t}});function df(t){return(t||"").trim().toLowerCase()}function Z$(t){return[t.name,...t.aliases?t.aliases.split(","):[]].map(df).filter(Boolean)}function eF(t){return[t.label,...t.aliases?t.aliases.split(","):[]].map(df).filter(Boolean)}function Ng(t,e,n){if(!t||!e.length&&!n.length||typeof document>"u")return t;const r=new Map,a=new Map;for(const u of e)for(const h of Z$(u))r.has(h)||r.set(h,u);for(const u of n)for(const h of eF(u))a.has(h)||a.set(h,u);const i=document.createElement("div");i.innerHTML=t;const o=u=>{const h=u.textContent||"";if(!h||!h.includes("@")&&!h.includes("@")&&!h.includes("#"))return;const f=u.parentNode;if(!f)return;const m=document.createDocumentFragment(),g=/([@@][^\s@#@#]+|#[^\s@#@#]+)/g;let y=0,v;for(;(v=g.exec(h))!==null;){const[w]=v,N=v.index;if(N>y&&m.appendChild(document.createTextNode(h.slice(y,N))),w.startsWith("@")||w.startsWith("@")){const k=r.get(df(w.slice(1)));if(k){const C=document.createElement("span");C.setAttribute("data-type","mention"),C.setAttribute("data-id",k.id),C.setAttribute("data-label",k.name),C.className="mention-tag",C.textContent=`@${k.name}`,m.appendChild(C)}else m.appendChild(document.createTextNode(w))}else{const k=a.get(df(w.slice(1)));if(k){const C=document.createElement("span");C.setAttribute("data-type","linkTag"),C.setAttribute("data-url",k.url||""),C.setAttribute("data-tag-type",k.type||"url"),C.setAttribute("data-tag-id",k.id||""),C.setAttribute("data-page-path",k.pagePath||""),C.setAttribute("data-app-id",k.appId||""),k.type==="miniprogram"&&k.appId&&C.setAttribute("data-mp-key",k.appId),C.className="link-tag-node",C.textContent=`#${k.label}`,m.appendChild(C)}else m.appendChild(document.createTextNode(w))}y=N+w.length}y{if(u.nodeType===globalThis.Node.ELEMENT_NODE){const h=u;if(h.matches('[data-type="mention"], [data-type="linkTag"], a, code, pre, script, style'))return;Array.from(h.childNodes).forEach(c);return}u.nodeType===globalThis.Node.TEXT_NODE&&o(u)};return Array.from(i.childNodes).forEach(c),i.innerHTML}function tF(t){if(!t)return"";let e=t;return e=e.replace(/]*>(.*?)<\/h1>/gi,`# $1 +`}),m}var Z$=X$,VC=wn.create({name:"table",addOptions(){return{HTMLAttributes:{},resizable:!1,renderWrapper:!1,handleWidth:5,cellMinWidth:25,View:U$,lastColumnResizable:!0,allowTableNodeSelection:!1}},content:"tableRow+",tableRole:"table",isolating:!0,group:"block",parseHTML(){return[{tag:"table"}]},renderHTML({node:t,HTMLAttributes:e}){const{colgroup:n,tableWidth:r,tableMinWidth:a}=K$(t,this.options.cellMinWidth),i=e.style;function o(){return i||(r?`width: ${r}`:`min-width: ${a}`)}const c=["table",kt(this.options.HTMLAttributes,e,{style:o()}),n,["tbody",0]];return this.options.renderWrapper?["div",{class:"tableWrapper"},c]:c},parseMarkdown:(t,e)=>{const n=[];if(t.header){const r=[];t.header.forEach(a=>{r.push(e.createNode("tableHeader",{},[{type:"paragraph",content:e.parseInline(a.tokens)}]))}),n.push(e.createNode("tableRow",{},r))}return t.rows&&t.rows.forEach(r=>{const a=[];r.forEach(i=>{a.push(e.createNode("tableCell",{},[{type:"paragraph",content:e.parseInline(i.tokens)}]))}),n.push(e.createNode("tableRow",{},a))}),e.createNode("table",void 0,n)},renderMarkdown:(t,e)=>Z$(t,e),addCommands(){return{insertTable:({rows:t=3,cols:e=3,withHeaderRow:n=!0}={})=>({tr:r,dispatch:a,editor:i})=>{const o=G$(i.schema,t,e,n);if(a){const c=r.selection.from+1;r.replaceSelectionWith(o).scrollIntoView().setSelection(Qe.near(r.doc.resolve(c)))}return!0},addColumnBefore:()=>({state:t,dispatch:e})=>c$(t,e),addColumnAfter:()=>({state:t,dispatch:e})=>d$(t,e),deleteColumn:()=>({state:t,dispatch:e})=>h$(t,e),addRowBefore:()=>({state:t,dispatch:e})=>p$(t,e),addRowAfter:()=>({state:t,dispatch:e})=>m$(t,e),deleteRow:()=>({state:t,dispatch:e})=>x$(t,e),deleteTable:()=>({state:t,dispatch:e})=>k$(t,e),mergeCells:()=>({state:t,dispatch:e})=>YN(t,e),splitCell:()=>({state:t,dispatch:e})=>QN(t,e),toggleHeaderColumn:()=>({state:t,dispatch:e})=>vd("column")(t,e),toggleHeaderRow:()=>({state:t,dispatch:e})=>vd("row")(t,e),toggleHeaderCell:()=>({state:t,dispatch:e})=>w$(t,e),mergeOrSplit:()=>({state:t,dispatch:e})=>YN(t,e)?!0:QN(t,e),setCellAttribute:(t,e)=>({state:n,dispatch:r})=>v$(t,e)(n,r),goToNextCell:()=>({state:t,dispatch:e})=>ZN(1)(t,e),goToPreviousCell:()=>({state:t,dispatch:e})=>ZN(-1)(t,e),fixTables:()=>({state:t,dispatch:e})=>(e&&OC(t),!0),setCellSelection:t=>({tr:e,dispatch:n})=>{if(n){const r=Wt.create(e.doc,t.anchorCell,t.headCell);e.setSelection(r)}return!0}}},addKeyboardShortcuts(){return{Tab:()=>this.editor.commands.goToNextCell()?!0:this.editor.can().addRowAfter()?this.editor.chain().addRowAfter().goToNextCell().run():!1,"Shift-Tab":()=>this.editor.commands.goToPreviousCell(),Backspace:nh,"Mod-Backspace":nh,Delete:nh,"Mod-Delete":nh}},addProseMirrorPlugins(){return[...this.options.resizable&&this.editor.isEditable?[O$({handleWidth:this.options.handleWidth,cellMinWidth:this.options.cellMinWidth,defaultCellMinWidth:this.options.cellMinWidth,View:this.options.View,lastColumnResizable:this.options.lastColumnResizable})]:[],W$({allowTableNodeSelection:this.options.allowTableNodeSelection})]},extendNodeSchema(t){const e={name:t.name,options:t.options,storage:t.storage};return{tableRole:jt(We(t,"tableRole",e))}}});dn.create({name:"tableKit",addExtensions(){const t=[];return this.options.table!==!1&&t.push(VC.configure(this.options.table)),this.options.tableCell!==!1&&t.push($C.configure(this.options.tableCell)),this.options.tableHeader!==!1&&t.push(FC.configure(this.options.tableHeader)),this.options.tableRow!==!1&&t.push(BC.configure(this.options.tableRow)),t}});function hf(t){return(t||"").trim().toLowerCase()}function eF(t){return[t.name,...t.aliases?t.aliases.split(","):[]].map(hf).filter(Boolean)}function tF(t){return[t.label,...t.aliases?t.aliases.split(","):[]].map(hf).filter(Boolean)}function kg(t,e,n){if(!t||!e.length&&!n.length||typeof document>"u")return t;const r=new Map,a=new Map;for(const u of e)for(const h of eF(u))r.has(h)||r.set(h,u);for(const u of n)for(const h of tF(u))a.has(h)||a.set(h,u);const i=document.createElement("div");i.innerHTML=t;const o=u=>{const h=u.textContent||"";if(!h||!h.includes("@")&&!h.includes("@")&&!h.includes("#"))return;const f=u.parentNode;if(!f)return;const m=document.createDocumentFragment(),g=/([@@][^\s@#@#]+|#[^\s@#@#]+)/g;let y=0,v;for(;(v=g.exec(h))!==null;){const[w]=v,N=v.index;if(N>y&&m.appendChild(document.createTextNode(h.slice(y,N))),w.startsWith("@")||w.startsWith("@")){const k=r.get(hf(w.slice(1)));if(k){const C=document.createElement("span");C.setAttribute("data-type","mention"),C.setAttribute("data-id",k.id),C.setAttribute("data-label",k.name),C.className="mention-tag",C.textContent=`@${k.name}`,m.appendChild(C)}else m.appendChild(document.createTextNode(w))}else{const k=a.get(hf(w.slice(1)));if(k){const C=document.createElement("span");C.setAttribute("data-type","linkTag"),C.setAttribute("data-url",k.url||""),C.setAttribute("data-tag-type",k.type||"url"),C.setAttribute("data-tag-id",k.id||""),C.setAttribute("data-page-path",k.pagePath||""),C.setAttribute("data-app-id",k.appId||""),k.type==="miniprogram"&&k.appId&&C.setAttribute("data-mp-key",k.appId),C.className="link-tag-node",C.textContent=`#${k.label}`,m.appendChild(C)}else m.appendChild(document.createTextNode(w))}y=N+w.length}y{if(u.nodeType===globalThis.Node.ELEMENT_NODE){const h=u;if(h.matches('[data-type="mention"], [data-type="linkTag"], a, code, pre, script, style'))return;Array.from(h.childNodes).forEach(c);return}u.nodeType===globalThis.Node.TEXT_NODE&&o(u)};return Array.from(i.childNodes).forEach(c),i.innerHTML}function nF(t){if(!t)return"";let e=t;return e=e.replace(/]*>(.*?)<\/h1>/gi,`# $1 `),e=e.replace(/]*>(.*?)<\/h2>/gi,`## $1 @@ -778,19 +778,19 @@ ${y.slice(h+2)}`,m+=1;else break}e.push({indent:h,number:parseInt(c,10),content: `),e=e.replace(/]*data-type="mention"[^>]*data-id="([^"]*)"[^>]*>@([^<]*)<\/span>/gi,"@$2"),e=e.replace(/]*data-type="linkTag"[^>]*data-url="([^"]*)"[^>]*>#([^<]*)<\/span>/gi,"#[$2]($1)"),e=e.replace(/<[^>]+>/g,""),e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"),e=e.replace(/\n{3,}/g,` -`),e.trim()}function ow(t){if(!t)return"";if(t.startsWith("<")&&t.includes("$1"),e=e.replace(/^## (.+)$/gm,"

$1

"),e=e.replace(/^# (.+)$/gm,"

$1

"),e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(new RegExp("(?$1"),e=e.replace(new RegExp("(?$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/!\[([^\]]*)\]\(([^)]+)\)/g,'$1'),e=e.replace(/\[([^\]]+)\]\(([^)]+)\)/g,'$1'),e=e.replace(/^> (.+)$/gm,"

$1

"),e=e.replace(/^---$/gm,"
"),e=e.replace(/^- (.+)$/gm,"
  • $1
  • ");const n=e.split(` -`),r=[];for(const a of n){const i=a.trim();i&&(/^<(?:h[1-6]|blockquote|hr|li|ul|ol|table|img)/.test(i)?r.push(i):r.push(`

    ${i}

    `))}return r.join("")}const nF=wn.create({name:"linkTag",group:"inline",inline:!0,selectable:!0,atom:!0,addAttributes(){return{label:{default:""},url:{default:""},tagType:{default:"url",parseHTML:t=>t.getAttribute("data-tag-type")||"url"},tagId:{default:"",parseHTML:t=>t.getAttribute("data-tag-id")||""},pagePath:{default:"",parseHTML:t=>t.getAttribute("data-page-path")||""},appId:{default:"",parseHTML:t=>t.getAttribute("data-app-id")||""},mpKey:{default:"",parseHTML:t=>t.getAttribute("data-mp-key")||""}}},parseHTML(){return[{tag:'span[data-type="linkTag"]',getAttrs:t=>{var e;return{label:((e=t.textContent)==null?void 0:e.replace(/^#/,"").trim())||"",url:t.getAttribute("data-url")||"",tagType:t.getAttribute("data-tag-type")||"url",tagId:t.getAttribute("data-tag-id")||"",pagePath:t.getAttribute("data-page-path")||"",appId:t.getAttribute("data-app-id")||"",mpKey:t.getAttribute("data-mp-key")||""}}}]},renderHTML({node:t,HTMLAttributes:e}){return["span",kt(e,{"data-type":"linkTag","data-url":t.attrs.url,"data-tag-type":t.attrs.tagType,"data-tag-id":t.attrs.tagId,"data-page-path":t.attrs.pagePath,"data-app-id":t.attrs.appId||"","data-mp-key":t.attrs.mpKey||t.attrs.appId||"",class:"link-tag-node"}),`#${t.attrs.label}`]}}),rF=(t,e)=>({items:({query:n})=>{const r=t.current||[],a=n.toLowerCase().trim(),i=r.filter(o=>o.name.toLowerCase().includes(a)||o.id.includes(a)?!0:o.aliases?o.aliases.split(",").some(c=>c.trim().toLowerCase().includes(a)):!1).slice(0,8);return a.length>=1&&!r.some(o=>o.name.toLowerCase()===a)&&i.push({id:"__new__",name:`+ 新增「${n.trim()}」`,_newName:n.trim()}),i},render:()=>{let n=null,r=0,a=[],i=null;const o=async u=>{const h=a[u];if(!h||!i)return;const f=h;if(f.id==="__new__"&&f._newName&&e.current)try{const m=await e.current(f._newName);m&&i({id:m.id,label:m.name})}catch{}else i({id:h.id,label:h.name})},c=()=>{n&&(n.innerHTML=a.map((u,h)=>`
    +`),e.trim()}function cw(t){if(!t)return"";if(t.startsWith("<")&&t.includes("$1"),e=e.replace(/^## (.+)$/gm,"

    $1

    "),e=e.replace(/^# (.+)$/gm,"

    $1

    "),e=e.replace(/\*\*(.+?)\*\*/g,"$1"),e=e.replace(/__(.+?)__/g,"$1"),e=e.replace(new RegExp("(?$1"),e=e.replace(new RegExp("(?$1"),e=e.replace(/~~(.+?)~~/g,"$1"),e=e.replace(/`([^`]+)`/g,"$1"),e=e.replace(/!\[([^\]]*)\]\(([^)]+)\)/g,'$1'),e=e.replace(/\[([^\]]+)\]\(([^)]+)\)/g,'$1'),e=e.replace(/^> (.+)$/gm,"

    $1

    "),e=e.replace(/^---$/gm,"
    "),e=e.replace(/^- (.+)$/gm,"
  • $1
  • ");const n=e.split(` +`),r=[];for(const a of n){const i=a.trim();i&&(/^<(?:h[1-6]|blockquote|hr|li|ul|ol|table|img)/.test(i)?r.push(i):r.push(`

    ${i}

    `))}return r.join("")}const rF=wn.create({name:"linkTag",group:"inline",inline:!0,selectable:!0,atom:!0,addAttributes(){return{label:{default:""},url:{default:""},tagType:{default:"url",parseHTML:t=>t.getAttribute("data-tag-type")||"url"},tagId:{default:"",parseHTML:t=>t.getAttribute("data-tag-id")||""},pagePath:{default:"",parseHTML:t=>t.getAttribute("data-page-path")||""},appId:{default:"",parseHTML:t=>t.getAttribute("data-app-id")||""},mpKey:{default:"",parseHTML:t=>t.getAttribute("data-mp-key")||""}}},parseHTML(){return[{tag:'span[data-type="linkTag"]',getAttrs:t=>{var e;return{label:((e=t.textContent)==null?void 0:e.replace(/^#/,"").trim())||"",url:t.getAttribute("data-url")||"",tagType:t.getAttribute("data-tag-type")||"url",tagId:t.getAttribute("data-tag-id")||"",pagePath:t.getAttribute("data-page-path")||"",appId:t.getAttribute("data-app-id")||"",mpKey:t.getAttribute("data-mp-key")||""}}}]},renderHTML({node:t,HTMLAttributes:e}){return["span",kt(e,{"data-type":"linkTag","data-url":t.attrs.url,"data-tag-type":t.attrs.tagType,"data-tag-id":t.attrs.tagId,"data-page-path":t.attrs.pagePath,"data-app-id":t.attrs.appId||"","data-mp-key":t.attrs.mpKey||t.attrs.appId||"",class:"link-tag-node"}),`#${t.attrs.label}`]}}),sF=(t,e)=>({items:({query:n})=>{const r=t.current||[],a=n.toLowerCase().trim(),i=r.filter(o=>o.name.toLowerCase().includes(a)||o.id.includes(a)?!0:o.aliases?o.aliases.split(",").some(c=>c.trim().toLowerCase().includes(a)):!1).slice(0,8);return a.length>=1&&!r.some(o=>o.name.toLowerCase()===a)&&i.push({id:"__new__",name:`+ 新增「${n.trim()}」`,_newName:n.trim()}),i},render:()=>{let n=null,r=0,a=[],i=null;const o=async u=>{const h=a[u];if(!h||!i)return;const f=h;if(f.id==="__new__"&&f._newName&&e.current)try{const m=await e.current(f._newName);m&&i({id:m.id,label:m.name})}catch{}else i({id:h.id,label:h.name})},c=()=>{n&&(n.innerHTML=a.map((u,h)=>`
    @${u.name} ${u.id==="__new__"?"":u.label||u.id} -
    `).join(""),n.querySelectorAll(".mention-item").forEach(u=>{u.addEventListener("click",()=>{const h=parseInt(u.getAttribute("data-index")||"0");o(h)})}))};return{onStart:u=>{if(n=document.createElement("div"),n.className="mention-popup",document.body.appendChild(n),a=u.items,i=u.command,r=0,c(),u.clientRect){const h=u.clientRect();h&&(n.style.top=`${h.bottom+4}px`,n.style.left=`${h.left}px`)}},onUpdate:u=>{if(a=u.items,i=u.command,r=0,c(),u.clientRect&&n){const h=u.clientRect();h&&(n.style.top=`${h.bottom+4}px`,n.style.left=`${h.left}px`)}},onKeyDown:u=>u.event.key==="ArrowUp"?(r=Math.max(0,r-1),c(),!0):u.event.key==="ArrowDown"?(r=Math.min(a.length-1,r+1),c(),!0):u.event.key==="Enter"?(o(r),!0):u.event.key==="Escape"?(n==null||n.remove(),n=null,!0):!1,onExit:()=>{n==null||n.remove(),n=null}}}}),Ax=b.forwardRef(({content:t,onChange:e,onImageUpload:n,onVideoUpload:r,persons:a=[],linkTags:i=[],onPersonCreate:o,placeholder:c="开始编辑内容...",className:u},h)=>{const f=b.useRef(null),m=b.useRef(null),[g,y]=b.useState(!1),[v,w]=b.useState(""),[N,k]=b.useState(!1),[C,E]=b.useState(!1),[A,D]=b.useState(0),H=b.useRef(Ng(ow(t),a,i)),_=b.useRef(e);_.current=e;const P=b.useRef(a);P.current=a;const L=b.useRef(i);L.current=i;const $=b.useRef(o);$.current=o;const ee=b.useRef(),K=J_({extensions:[Lz,$z.configure({inline:!0,allowBase64:!0}),U7.configure({openOnClick:!1,HTMLAttributes:{class:"rich-link"}}),Uz.configure({HTMLAttributes:{class:"mention-tag"},suggestion:{...rF(P,$),allowedPrefixes:null}}),nF,Kz.configure({placeholder:c}),FC.configure({resizable:!0}),$C,_C,zC],content:H.current,onUpdate:({editor:I})=>{ee.current&&clearTimeout(ee.current),ee.current=setTimeout(()=>{const se=I.getHTML(),J=Ng(se,P.current||[],L.current||[]);if(J!==se){I.commands.setContent(J,{emitUpdate:!1}),_.current(J);return}_.current(se)},300)},editorProps:{attributes:{class:"rich-editor-content"}}});b.useImperativeHandle(h,()=>({getHTML:()=>(K==null?void 0:K.getHTML())||"",getMarkdown:()=>tF((K==null?void 0:K.getHTML())||"")})),b.useEffect(()=>{if(!K)return;const I=Ng(ow(t),P.current||[],L.current||[]);I!==K.getHTML()&&K.commands.setContent(I,{emitUpdate:!1})},[t,K,a,i]);const ue=b.useCallback(async I=>{var J;const se=(J=I.target.files)==null?void 0:J[0];if(!(!se||!K)){if(n){E(!0),D(10);const z=setInterval(()=>{D(U=>Math.min(U+15,90))},300);try{const U=await n(se);clearInterval(z),D(100),U&&K.chain().focus().setImage({src:U}).run()}finally{clearInterval(z),setTimeout(()=>{E(!1),D(0)},500)}}else{const z=new FileReader;z.onload=()=>{typeof z.result=="string"&&K.chain().focus().setImage({src:z.result}).run()},z.readAsDataURL(se)}I.target.value=""}},[K,n]),me=b.useCallback(async I=>{var J;const se=(J=I.target.files)==null?void 0:J[0];if(!(!se||!K)){if(r){y(!0),D(5);const z=setInterval(()=>{D(U=>Math.min(U+8,90))},500);try{const U=await r(se);clearInterval(z),D(100),U&&K.chain().focus().insertContent(`

    `).run()}finally{clearInterval(z),setTimeout(()=>{y(!1),D(0)},500)}}I.target.value=""}},[K,r]),R=b.useCallback(()=>{K&&K.chain().focus().insertContent("@").run()},[K]),O=b.useCallback(I=>{K&&K.chain().focus().insertContent({type:"linkTag",attrs:{label:I.label,url:I.url||"",tagType:I.type||"url",tagId:I.id||"",pagePath:I.pagePath||"",appId:I.appId||"",mpKey:I.type==="miniprogram"&&I.appId||""}}).run()},[K]),F=b.useCallback(()=>{!K||!v||(K.chain().focus().setLink({href:v}).run(),w(""),k(!1))},[K,v]);return K?s.jsxs("div",{className:`rich-editor-wrapper ${u||""}`,children:[s.jsxs("div",{className:"rich-editor-toolbar",children:[s.jsxs("div",{className:"toolbar-group",children:[s.jsx("button",{onClick:()=>K.chain().focus().toggleBold().run(),className:K.isActive("bold")?"is-active":"",type:"button",children:s.jsx(VT,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleItalic().run(),className:K.isActive("italic")?"is-active":"",type:"button",children:s.jsx(HM,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleStrike().run(),className:K.isActive("strike")?"is-active":"",type:"button",children:s.jsx(FA,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleCode().run(),className:K.isActive("code")?"is-active":"",type:"button",children:s.jsx(cM,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"toolbar-divider"}),s.jsxs("div",{className:"toolbar-group",children:[s.jsx("button",{onClick:()=>K.chain().focus().toggleHeading({level:1}).run(),className:K.isActive("heading",{level:1})?"is-active":"",type:"button",children:s.jsx(PM,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleHeading({level:2}).run(),className:K.isActive("heading",{level:2})?"is-active":"",type:"button",children:s.jsx(DM,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleHeading({level:3}).run(),className:K.isActive("heading",{level:3})?"is-active":"",type:"button",children:s.jsx(_M,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"toolbar-divider"}),s.jsxs("div",{className:"toolbar-group",children:[s.jsx("button",{onClick:()=>K.chain().focus().toggleBulletList().run(),className:K.isActive("bulletList")?"is-active":"",type:"button",children:s.jsx(XM,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleOrderedList().run(),className:K.isActive("orderedList")?"is-active":"",type:"button",children:s.jsx(YM,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleBlockquote().run(),className:K.isActive("blockquote")?"is-active":"",type:"button",children:s.jsx(SA,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().setHorizontalRule().run(),type:"button",children:s.jsx(cA,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"toolbar-divider"}),s.jsxs("div",{className:"toolbar-group",children:[s.jsx("input",{ref:f,type:"file",accept:"image/*",onChange:ue,className:"hidden"}),s.jsx("button",{onClick:()=>{var I;return(I=f.current)==null?void 0:I.click()},type:"button",title:"插入图片",children:s.jsx(Xw,{className:"w-4 h-4"})}),s.jsx("input",{ref:m,type:"file",accept:"video/mp4,video/quicktime,video/webm,.mp4,.mov,.webm",onChange:me,className:"hidden"}),s.jsx("button",{onClick:()=>{var I;return(I=m.current)==null?void 0:I.click()},disabled:g||!r,type:"button",title:"插入视频",className:g?"opacity-50":"",children:s.jsx(t5,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>k(!N),className:K.isActive("link")?"is-active":"",type:"button",title:"插入链接",children:s.jsx(Lg,{className:"w-4 h-4"})}),s.jsx("button",{onClick:R,type:"button",title:"@ 指定人物",className:"mention-trigger-btn",children:s.jsx($T,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),type:"button",children:s.jsx(VA,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"toolbar-divider"}),s.jsxs("div",{className:"toolbar-group",children:[s.jsx("button",{onClick:()=>K.chain().focus().undo().run(),disabled:!K.can().undo(),type:"button",children:s.jsx(JA,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().redo().run(),disabled:!K.can().redo(),type:"button",children:s.jsx(EA,{className:"w-4 h-4"})})]}),i.length>0&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"toolbar-divider"}),s.jsx("div",{className:"toolbar-group",children:s.jsxs("select",{className:"link-tag-select",onChange:I=>{const se=i.find(J=>J.id===I.target.value);se&&O(se),I.target.value=""},defaultValue:"",children:[s.jsx("option",{value:"",disabled:!0,children:"# 插入链接标签"}),i.map(I=>s.jsx("option",{value:I.id,children:I.label},I.id))]})})]})]}),N&&s.jsxs("div",{className:"link-input-bar",children:[s.jsx("input",{type:"url",placeholder:"输入链接地址...",value:v,onChange:I=>w(I.target.value),onKeyDown:I=>I.key==="Enter"&&F(),className:"link-input"}),s.jsx("button",{onClick:F,className:"link-confirm",type:"button",children:"确定"}),s.jsx("button",{onClick:()=>{K.chain().focus().unsetLink().run(),k(!1)},className:"link-remove",type:"button",children:"移除"})]}),(C||g)&&s.jsxs("div",{className:"upload-progress-bar",children:[s.jsx("div",{className:"upload-progress-track",children:s.jsx("div",{className:"upload-progress-fill",style:{width:`${A}%`}})}),s.jsxs("span",{className:"upload-progress-text",children:[g?"视频":"图片","上传中 ",A,"%"]})]}),s.jsx(Y2,{editor:K})]}):null});Ax.displayName="RichEditor";const sF=["top","right","bottom","left"],Ii=Math.min,Lr=Math.max,uf=Math.round,th=Math.floor,Us=t=>({x:t,y:t}),aF={left:"right",right:"left",bottom:"top",top:"bottom"},iF={start:"end",end:"start"};function Ix(t,e,n){return Lr(t,Ii(e,n))}function Ma(t,e){return typeof t=="function"?t(e):t}function Aa(t){return t.split("-")[0]}function Zl(t){return t.split("-")[1]}function X0(t){return t==="x"?"y":"x"}function Z0(t){return t==="y"?"height":"width"}const oF=new Set(["top","bottom"]);function Ws(t){return oF.has(Aa(t))?"y":"x"}function ey(t){return X0(Ws(t))}function lF(t,e,n){n===void 0&&(n=!1);const r=Zl(t),a=ey(t),i=Z0(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=hf(o)),[o,hf(o)]}function cF(t){const e=hf(t);return[Rx(t),e,Rx(e)]}function Rx(t){return t.replace(/start|end/g,e=>iF[e])}const lw=["left","right"],cw=["right","left"],dF=["top","bottom"],uF=["bottom","top"];function hF(t,e,n){switch(t){case"top":case"bottom":return n?e?cw:lw:e?lw:cw;case"left":case"right":return e?dF:uF;default:return[]}}function fF(t,e,n,r){const a=Zl(t);let i=hF(Aa(t),n==="start",r);return a&&(i=i.map(o=>o+"-"+a),e&&(i=i.concat(i.map(Rx)))),i}function hf(t){return t.replace(/left|right|bottom|top/g,e=>aF[e])}function pF(t){return{top:0,right:0,bottom:0,left:0,...t}}function BC(t){return typeof t!="number"?pF(t):{top:t,right:t,bottom:t,left:t}}function ff(t){const{x:e,y:n,width:r,height:a}=t;return{width:r,height:a,top:n,left:e,right:e+r,bottom:n+a,x:e,y:n}}function dw(t,e,n){let{reference:r,floating:a}=t;const i=Ws(e),o=ey(e),c=Z0(o),u=Aa(e),h=i==="y",f=r.x+r.width/2-a.width/2,m=r.y+r.height/2-a.height/2,g=r[c]/2-a[c]/2;let y;switch(u){case"top":y={x:f,y:r.y-a.height};break;case"bottom":y={x:f,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:m};break;case"left":y={x:r.x-a.width,y:m};break;default:y={x:r.x,y:r.y}}switch(Zl(e)){case"start":y[o]-=g*(n&&h?-1:1);break;case"end":y[o]+=g*(n&&h?-1:1);break}return y}async function mF(t,e){var n;e===void 0&&(e={});const{x:r,y:a,platform:i,rects:o,elements:c,strategy:u}=t,{boundary:h="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:g=!1,padding:y=0}=Ma(e,t),v=BC(y),N=c[g?m==="floating"?"reference":"floating":m],k=ff(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(N)))==null||n?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:f,strategy:u})),C=m==="floating"?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),A=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},D=ff(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:E,strategy:u}):C);return{top:(k.top-D.top+v.top)/A.y,bottom:(D.bottom-k.bottom+v.bottom)/A.y,left:(k.left-D.left+v.left)/A.x,right:(D.right-k.right+v.right)/A.x}}const gF=async(t,e,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,c=i.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(e));let h=await o.getElementRects({reference:t,floating:e,strategy:a}),{x:f,y:m}=dw(h,r,u),g=r,y={},v=0;for(let N=0;N({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:a,rects:i,platform:o,elements:c,middlewareData:u}=e,{element:h,padding:f=0}=Ma(t,e)||{};if(h==null)return{};const m=BC(f),g={x:n,y:r},y=ey(a),v=Z0(y),w=await o.getDimensions(h),N=y==="y",k=N?"top":"left",C=N?"bottom":"right",E=N?"clientHeight":"clientWidth",A=i.reference[v]+i.reference[y]-g[y]-i.floating[v],D=g[y]-i.reference[y],H=await(o.getOffsetParent==null?void 0:o.getOffsetParent(h));let _=H?H[E]:0;(!_||!await(o.isElement==null?void 0:o.isElement(H)))&&(_=c.floating[E]||i.floating[v]);const P=A/2-D/2,L=_/2-w[v]/2-1,$=Ii(m[k],L),ee=Ii(m[C],L),K=$,ue=_-w[v]-ee,me=_/2-w[v]/2+P,R=Ix(K,me,ue),O=!u.arrow&&Zl(a)!=null&&me!==R&&i.reference[v]/2-(meme<=0)){var ee,K;const me=(((ee=i.flip)==null?void 0:ee.index)||0)+1,R=_[me];if(R&&(!(m==="alignment"?C!==Ws(R):!1)||$.every(I=>Ws(I.placement)===C?I.overflows[0]>0:!0)))return{data:{index:me,overflows:$},reset:{placement:R}};let O=(K=$.filter(F=>F.overflows[0]<=0).sort((F,I)=>F.overflows[1]-I.overflows[1])[0])==null?void 0:K.placement;if(!O)switch(y){case"bestFit":{var ue;const F=(ue=$.filter(I=>{if(H){const se=Ws(I.placement);return se===C||se==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(se=>se>0).reduce((se,J)=>se+J,0)]).sort((I,se)=>I[1]-se[1])[0])==null?void 0:ue[0];F&&(O=F);break}case"initialPlacement":O=c;break}if(a!==O)return{reset:{placement:O}}}return{}}}};function uw(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function hw(t){return sF.some(e=>t[e]>=0)}const bF=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:a="referenceHidden",...i}=Ma(t,e);switch(a){case"referenceHidden":{const o=await r.detectOverflow(e,{...i,elementContext:"reference"}),c=uw(o,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:hw(c)}}}case"escaped":{const o=await r.detectOverflow(e,{...i,altBoundary:!0}),c=uw(o,n.floating);return{data:{escapedOffsets:c,escaped:hw(c)}}}default:return{}}}}},VC=new Set(["left","top"]);async function vF(t,e){const{placement:n,platform:r,elements:a}=t,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),o=Aa(n),c=Zl(n),u=Ws(n)==="y",h=VC.has(o)?-1:1,f=i&&u?-1:1,m=Ma(e,t);let{mainAxis:g,crossAxis:y,alignmentAxis:v}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof v=="number"&&(y=c==="end"?v*-1:v),u?{x:y*f,y:g*h}:{x:g*h,y:y*f}}const NF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:a,y:i,placement:o,middlewareData:c}=e,u=await vF(e,t);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:o}}}}},wF=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:a,platform:i}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:u={fn:k=>{let{x:C,y:E}=k;return{x:C,y:E}}},...h}=Ma(t,e),f={x:n,y:r},m=await i.detectOverflow(e,h),g=Ws(Aa(a)),y=X0(g);let v=f[y],w=f[g];if(o){const k=y==="y"?"top":"left",C=y==="y"?"bottom":"right",E=v+m[k],A=v-m[C];v=Ix(E,v,A)}if(c){const k=g==="y"?"top":"left",C=g==="y"?"bottom":"right",E=w+m[k],A=w-m[C];w=Ix(E,w,A)}const N=u.fn({...e,[y]:v,[g]:w});return{...N,data:{x:N.x-n,y:N.y-r,enabled:{[y]:o,[g]:c}}}}}},jF=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:a,rects:i,middlewareData:o}=e,{offset:c=0,mainAxis:u=!0,crossAxis:h=!0}=Ma(t,e),f={x:n,y:r},m=Ws(a),g=X0(m);let y=f[g],v=f[m];const w=Ma(c,e),N=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){const E=g==="y"?"height":"width",A=i.reference[g]-i.floating[E]+N.mainAxis,D=i.reference[g]+i.reference[E]-N.mainAxis;yD&&(y=D)}if(h){var k,C;const E=g==="y"?"width":"height",A=VC.has(Aa(a)),D=i.reference[m]-i.floating[E]+(A&&((k=o.offset)==null?void 0:k[m])||0)+(A?0:N.crossAxis),H=i.reference[m]+i.reference[E]+(A?0:((C=o.offset)==null?void 0:C[m])||0)-(A?N.crossAxis:0);vH&&(v=H)}return{[g]:y,[m]:v}}}},kF=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:a,rects:i,platform:o,elements:c}=e,{apply:u=()=>{},...h}=Ma(t,e),f=await o.detectOverflow(e,h),m=Aa(a),g=Zl(a),y=Ws(a)==="y",{width:v,height:w}=i.floating;let N,k;m==="top"||m==="bottom"?(N=m,k=g===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(k=m,N=g==="end"?"top":"bottom");const C=w-f.top-f.bottom,E=v-f.left-f.right,A=Ii(w-f[N],C),D=Ii(v-f[k],E),H=!e.middlewareData.shift;let _=A,P=D;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(P=E),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(_=C),H&&!g){const $=Lr(f.left,0),ee=Lr(f.right,0),K=Lr(f.top,0),ue=Lr(f.bottom,0);y?P=v-2*($!==0||ee!==0?$+ee:Lr(f.left,f.right)):_=w-2*(K!==0||ue!==0?K+ue:Lr(f.top,f.bottom))}await u({...e,availableWidth:P,availableHeight:_});const L=await o.getDimensions(c.floating);return v!==L.width||w!==L.height?{reset:{rects:!0}}:{}}}};function Vf(){return typeof window<"u"}function ec(t){return HC(t)?(t.nodeName||"").toLowerCase():"#document"}function Br(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Qs(t){var e;return(e=(HC(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function HC(t){return Vf()?t instanceof Node||t instanceof Br(t).Node:!1}function js(t){return Vf()?t instanceof Element||t instanceof Br(t).Element:!1}function Js(t){return Vf()?t instanceof HTMLElement||t instanceof Br(t).HTMLElement:!1}function fw(t){return!Vf()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Br(t).ShadowRoot}const SF=new Set(["inline","contents"]);function Id(t){const{overflow:e,overflowX:n,overflowY:r,display:a}=ks(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!SF.has(a)}const CF=new Set(["table","td","th"]);function EF(t){return CF.has(ec(t))}const TF=[":popover-open",":modal"];function Hf(t){return TF.some(e=>{try{return t.matches(e)}catch{return!1}})}const MF=["transform","translate","scale","rotate","perspective"],AF=["transform","translate","scale","rotate","perspective","filter"],IF=["paint","layout","strict","content"];function ty(t){const e=ny(),n=js(t)?ks(t):t;return MF.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||AF.some(r=>(n.willChange||"").includes(r))||IF.some(r=>(n.contain||"").includes(r))}function RF(t){let e=Ri(t);for(;Js(e)&&!Wl(e);){if(ty(e))return e;if(Hf(e))return null;e=Ri(e)}return null}function ny(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const PF=new Set(["html","body","#document"]);function Wl(t){return PF.has(ec(t))}function ks(t){return Br(t).getComputedStyle(t)}function Wf(t){return js(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ri(t){if(ec(t)==="html")return t;const e=t.assignedSlot||t.parentNode||fw(t)&&t.host||Qs(t);return fw(e)?e.host:e}function WC(t){const e=Ri(t);return Wl(e)?t.ownerDocument?t.ownerDocument.body:t.body:Js(e)&&Id(e)?e:WC(e)}function Nd(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=WC(t),i=a===((r=t.ownerDocument)==null?void 0:r.body),o=Br(a);if(i){const c=Px(o);return e.concat(o,o.visualViewport||[],Id(a)?a:[],c&&n?Nd(c):[])}return e.concat(a,Nd(a,[],n))}function Px(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function UC(t){const e=ks(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const a=Js(t),i=a?t.offsetWidth:n,o=a?t.offsetHeight:r,c=uf(n)!==i||uf(r)!==o;return c&&(n=i,r=o),{width:n,height:r,$:c}}function ry(t){return js(t)?t:t.contextElement}function Ol(t){const e=ry(t);if(!Js(e))return Us(1);const n=e.getBoundingClientRect(),{width:r,height:a,$:i}=UC(e);let o=(i?uf(n.width):n.width)/r,c=(i?uf(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const OF=Us(0);function KC(t){const e=Br(t);return!ny()||!e.visualViewport?OF:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function DF(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Br(t)?!1:e}function Lo(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=ry(t);let o=Us(1);e&&(r?js(r)&&(o=Ol(r)):o=Ol(t));const c=DF(i,n,r)?KC(i):Us(0);let u=(a.left+c.x)/o.x,h=(a.top+c.y)/o.y,f=a.width/o.x,m=a.height/o.y;if(i){const g=Br(i),y=r&&js(r)?Br(r):r;let v=g,w=Px(v);for(;w&&r&&y!==v;){const N=Ol(w),k=w.getBoundingClientRect(),C=ks(w),E=k.left+(w.clientLeft+parseFloat(C.paddingLeft))*N.x,A=k.top+(w.clientTop+parseFloat(C.paddingTop))*N.y;u*=N.x,h*=N.y,f*=N.x,m*=N.y,u+=E,h+=A,v=Br(w),w=Px(v)}}return ff({width:f,height:m,x:u,y:h})}function Uf(t,e){const n=Wf(t).scrollLeft;return e?e.left+n:Lo(Qs(t)).left+n}function qC(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-Uf(t,n),a=n.top+e.scrollTop;return{x:r,y:a}}function LF(t){let{elements:e,rect:n,offsetParent:r,strategy:a}=t;const i=a==="fixed",o=Qs(r),c=e?Hf(e.floating):!1;if(r===o||c&&i)return n;let u={scrollLeft:0,scrollTop:0},h=Us(1);const f=Us(0),m=Js(r);if((m||!m&&!i)&&((ec(r)!=="body"||Id(o))&&(u=Wf(r)),Js(r))){const y=Lo(r);h=Ol(r),f.x=y.x+r.clientLeft,f.y=y.y+r.clientTop}const g=o&&!m&&!i?qC(o,u):Us(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+f.x+g.x,y:n.y*h.y-u.scrollTop*h.y+f.y+g.y}}function _F(t){return Array.from(t.getClientRects())}function zF(t){const e=Qs(t),n=Wf(t),r=t.ownerDocument.body,a=Lr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Lr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Uf(t);const c=-n.scrollTop;return ks(r).direction==="rtl"&&(o+=Lr(e.clientWidth,r.clientWidth)-a),{width:a,height:i,x:o,y:c}}const pw=25;function $F(t,e){const n=Br(t),r=Qs(t),a=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,c=0,u=0;if(a){i=a.width,o=a.height;const f=ny();(!f||f&&e==="fixed")&&(c=a.offsetLeft,u=a.offsetTop)}const h=Uf(r);if(h<=0){const f=r.ownerDocument,m=f.body,g=getComputedStyle(m),y=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,v=Math.abs(r.clientWidth-m.clientWidth-y);v<=pw&&(i-=v)}else h<=pw&&(i+=h);return{width:i,height:o,x:c,y:u}}const FF=new Set(["absolute","fixed"]);function BF(t,e){const n=Lo(t,!0,e==="fixed"),r=n.top+t.clientTop,a=n.left+t.clientLeft,i=Js(t)?Ol(t):Us(1),o=t.clientWidth*i.x,c=t.clientHeight*i.y,u=a*i.x,h=r*i.y;return{width:o,height:c,x:u,y:h}}function mw(t,e,n){let r;if(e==="viewport")r=$F(t,n);else if(e==="document")r=zF(Qs(t));else if(js(e))r=BF(e,n);else{const a=KC(t);r={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ff(r)}function GC(t,e){const n=Ri(t);return n===e||!js(n)||Wl(n)?!1:ks(n).position==="fixed"||GC(n,e)}function VF(t,e){const n=e.get(t);if(n)return n;let r=Nd(t,[],!1).filter(c=>js(c)&&ec(c)!=="body"),a=null;const i=ks(t).position==="fixed";let o=i?Ri(t):t;for(;js(o)&&!Wl(o);){const c=ks(o),u=ty(o);!u&&c.position==="fixed"&&(a=null),(i?!u&&!a:!u&&c.position==="static"&&!!a&&FF.has(a.position)||Id(o)&&!u&&GC(t,o))?r=r.filter(f=>f!==o):a=c,o=Ri(o)}return e.set(t,r),r}function HF(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const o=[...n==="clippingAncestors"?Hf(e)?[]:VF(e,this._c):[].concat(n),r],c=o[0],u=o.reduce((h,f)=>{const m=mw(e,f,a);return h.top=Lr(m.top,h.top),h.right=Ii(m.right,h.right),h.bottom=Ii(m.bottom,h.bottom),h.left=Lr(m.left,h.left),h},mw(e,c,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function WF(t){const{width:e,height:n}=UC(t);return{width:e,height:n}}function UF(t,e,n){const r=Js(e),a=Qs(e),i=n==="fixed",o=Lo(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const u=Us(0);function h(){u.x=Uf(a)}if(r||!r&&!i)if((ec(e)!=="body"||Id(a))&&(c=Wf(e)),r){const y=Lo(e,!0,i,e);u.x=y.x+e.clientLeft,u.y=y.y+e.clientTop}else a&&h();i&&!r&&a&&h();const f=a&&!r&&!i?qC(a,c):Us(0),m=o.left+c.scrollLeft-u.x-f.x,g=o.top+c.scrollTop-u.y-f.y;return{x:m,y:g,width:o.width,height:o.height}}function wg(t){return ks(t).position==="static"}function gw(t,e){if(!Js(t)||ks(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Qs(t)===n&&(n=n.ownerDocument.body),n}function JC(t,e){const n=Br(t);if(Hf(t))return n;if(!Js(t)){let a=Ri(t);for(;a&&!Wl(a);){if(js(a)&&!wg(a))return a;a=Ri(a)}return n}let r=gw(t,e);for(;r&&EF(r)&&wg(r);)r=gw(r,e);return r&&Wl(r)&&wg(r)&&!ty(r)?n:r||RF(t)||n}const KF=async function(t){const e=this.getOffsetParent||JC,n=this.getDimensions,r=await n(t.floating);return{reference:UF(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function qF(t){return ks(t).direction==="rtl"}const GF={convertOffsetParentRelativeRectToViewportRelativeRect:LF,getDocumentElement:Qs,getClippingRect:HF,getOffsetParent:JC,getElementRects:KF,getClientRects:_F,getDimensions:WF,getScale:Ol,isElement:js,isRTL:qF};function YC(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function JF(t,e){let n=null,r;const a=Qs(t);function i(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const h=t.getBoundingClientRect(),{left:f,top:m,width:g,height:y}=h;if(c||e(),!g||!y)return;const v=th(m),w=th(a.clientWidth-(f+g)),N=th(a.clientHeight-(m+y)),k=th(f),E={rootMargin:-v+"px "+-w+"px "+-N+"px "+-k+"px",threshold:Lr(0,Ii(1,u))||1};let A=!0;function D(H){const _=H[0].intersectionRatio;if(_!==u){if(!A)return o();_?o(!1,_):r=setTimeout(()=>{o(!1,1e-7)},1e3)}_===1&&!YC(h,t.getBoundingClientRect())&&o(),A=!1}try{n=new IntersectionObserver(D,{...E,root:a.ownerDocument})}catch{n=new IntersectionObserver(D,E)}n.observe(t)}return o(!0),i}function YF(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,h=ry(t),f=a||i?[...h?Nd(h):[],...Nd(e)]:[];f.forEach(k=>{a&&k.addEventListener("scroll",n,{passive:!0}),i&&k.addEventListener("resize",n)});const m=h&&c?JF(h,n):null;let g=-1,y=null;o&&(y=new ResizeObserver(k=>{let[C]=k;C&&C.target===h&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var E;(E=y)==null||E.observe(e)})),n()}),h&&!u&&y.observe(h),y.observe(e));let v,w=u?Lo(t):null;u&&N();function N(){const k=Lo(t);w&&!YC(w,k)&&n(),w=k,v=requestAnimationFrame(N)}return n(),()=>{var k;f.forEach(C=>{a&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),m==null||m(),(k=y)==null||k.disconnect(),y=null,u&&cancelAnimationFrame(v)}}const QF=NF,XF=wF,ZF=yF,eB=kF,tB=bF,xw=xF,nB=jF,rB=(t,e,n)=>{const r=new Map,a={platform:GF,...n},i={...a.platform,_c:r};return gF(t,e,{...a,platform:i})};var sB=typeof document<"u",aB=function(){},uh=sB?b.useLayoutEffect:aB;function pf(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,a;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!pf(t[r],e[r]))return!1;return!0}if(a=Object.keys(t),n=a.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,a[r]))return!1;for(r=n;r--!==0;){const i=a[r];if(!(i==="_owner"&&t.$$typeof)&&!pf(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function QC(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function yw(t,e){const n=QC(t);return Math.round(e*n)/n}function jg(t){const e=b.useRef(t);return uh(()=>{e.current=t}),e}function iB(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:i,floating:o}={},transform:c=!0,whileElementsMounted:u,open:h}=t,[f,m]=b.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[g,y]=b.useState(r);pf(g,r)||y(r);const[v,w]=b.useState(null),[N,k]=b.useState(null),C=b.useCallback(I=>{I!==H.current&&(H.current=I,w(I))},[]),E=b.useCallback(I=>{I!==_.current&&(_.current=I,k(I))},[]),A=i||v,D=o||N,H=b.useRef(null),_=b.useRef(null),P=b.useRef(f),L=u!=null,$=jg(u),ee=jg(a),K=jg(h),ue=b.useCallback(()=>{if(!H.current||!_.current)return;const I={placement:e,strategy:n,middleware:g};ee.current&&(I.platform=ee.current),rB(H.current,_.current,I).then(se=>{const J={...se,isPositioned:K.current!==!1};me.current&&!pf(P.current,J)&&(P.current=J,jd.flushSync(()=>{m(J)}))})},[g,e,n,ee,K]);uh(()=>{h===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,m(I=>({...I,isPositioned:!1})))},[h]);const me=b.useRef(!1);uh(()=>(me.current=!0,()=>{me.current=!1}),[]),uh(()=>{if(A&&(H.current=A),D&&(_.current=D),A&&D){if($.current)return $.current(A,D,ue);ue()}},[A,D,ue,$,L]);const R=b.useMemo(()=>({reference:H,floating:_,setReference:C,setFloating:E}),[C,E]),O=b.useMemo(()=>({reference:A,floating:D}),[A,D]),F=b.useMemo(()=>{const I={position:n,left:0,top:0};if(!O.floating)return I;const se=yw(O.floating,f.x),J=yw(O.floating,f.y);return c?{...I,transform:"translate("+se+"px, "+J+"px)",...QC(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:se,top:J}},[n,c,O.floating,f.x,f.y]);return b.useMemo(()=>({...f,update:ue,refs:R,elements:O,floatingStyles:F}),[f,ue,R,O,F])}const oB=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:a}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?xw({element:r.current,padding:a}).fn(n):{}:r?xw({element:r,padding:a}).fn(n):{}}}},lB=(t,e)=>({...QF(t),options:[t,e]}),cB=(t,e)=>({...XF(t),options:[t,e]}),dB=(t,e)=>({...nB(t),options:[t,e]}),uB=(t,e)=>({...ZF(t),options:[t,e]}),hB=(t,e)=>({...eB(t),options:[t,e]}),fB=(t,e)=>({...tB(t),options:[t,e]}),pB=(t,e)=>({...oB(t),options:[t,e]});var mB="Arrow",XC=b.forwardRef((t,e)=>{const{children:n,width:r=10,height:a=5,...i}=t;return s.jsx(ut.svg,{...i,ref:e,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:s.jsx("polygon",{points:"0,0 30,0 15,10"})})});XC.displayName=mB;var gB=XC,sy="Popper",[ZC,e4]=Li(sy),[xB,t4]=ZC(sy),n4=t=>{const{__scopePopper:e,children:n}=t,[r,a]=b.useState(null);return s.jsx(xB,{scope:e,anchor:r,onAnchorChange:a,children:n})};n4.displayName=sy;var r4="PopperAnchor",s4=b.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...a}=t,i=t4(r4,n),o=b.useRef(null),c=St(e,o),u=b.useRef(null);return b.useEffect(()=>{const h=u.current;u.current=(r==null?void 0:r.current)||o.current,h!==u.current&&i.onAnchorChange(u.current)}),r?null:s.jsx(ut.div,{...a,ref:c})});s4.displayName=r4;var ay="PopperContent",[yB,bB]=ZC(ay),a4=b.forwardRef((t,e)=>{var X,ae,ye,Me,Be,He;const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:i="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:h=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:y="optimized",onPlaced:v,...w}=t,N=t4(ay,n),[k,C]=b.useState(null),E=St(e,gt=>C(gt)),[A,D]=b.useState(null),H=a0(A),_=(H==null?void 0:H.width)??0,P=(H==null?void 0:H.height)??0,L=r+(i!=="center"?"-"+i:""),$=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},ee=Array.isArray(h)?h:[h],K=ee.length>0,ue={padding:$,boundary:ee.filter(NB),altBoundary:K},{refs:me,floatingStyles:R,placement:O,isPositioned:F,middlewareData:I}=iB({strategy:"fixed",placement:L,whileElementsMounted:(...gt)=>YF(...gt,{animationFrame:y==="always"}),elements:{reference:N.anchor},middleware:[lB({mainAxis:a+P,alignmentAxis:o}),u&&cB({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?dB():void 0,...ue}),u&&uB({...ue}),hB({...ue,apply:({elements:gt,rects:Dt,availableWidth:jn,availableHeight:it})=>{const{width:Mt,height:re}=Dt.reference,Pe=gt.floating.style;Pe.setProperty("--radix-popper-available-width",`${jn}px`),Pe.setProperty("--radix-popper-available-height",`${it}px`),Pe.setProperty("--radix-popper-anchor-width",`${Mt}px`),Pe.setProperty("--radix-popper-anchor-height",`${re}px`)}}),A&&pB({element:A,padding:c}),wB({arrowWidth:_,arrowHeight:P}),g&&fB({strategy:"referenceHidden",...ue})]}),[se,J]=l4(O),z=Ti(v);rr(()=>{F&&(z==null||z())},[F,z]);const U=(X=I.arrow)==null?void 0:X.x,q=(ae=I.arrow)==null?void 0:ae.y,B=((ye=I.arrow)==null?void 0:ye.centerOffset)!==0,[ce,Y]=b.useState();return rr(()=>{k&&Y(window.getComputedStyle(k).zIndex)},[k]),s.jsx("div",{ref:me.setFloating,"data-radix-popper-content-wrapper":"",style:{...R,transform:F?R.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(Me=I.transformOrigin)==null?void 0:Me.x,(Be=I.transformOrigin)==null?void 0:Be.y].join(" "),...((He=I.hide)==null?void 0:He.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:s.jsx(yB,{scope:n,placedSide:se,onArrowChange:D,arrowX:U,arrowY:q,shouldHideArrow:B,children:s.jsx(ut.div,{"data-side":se,"data-align":J,...w,ref:E,style:{...w.style,animation:F?void 0:"none"}})})})});a4.displayName=ay;var i4="PopperArrow",vB={top:"bottom",right:"left",bottom:"top",left:"right"},o4=b.forwardRef(function(e,n){const{__scopePopper:r,...a}=e,i=bB(i4,r),o=vB[i.placedSide];return s.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:s.jsx(gB,{...a,ref:n,style:{...a.style,display:"block"}})})});o4.displayName=i4;function NB(t){return t!==null}var wB=t=>({name:"transformOrigin",options:t,fn(e){var N,k,C;const{placement:n,rects:r,middlewareData:a}=e,o=((N=a.arrow)==null?void 0:N.centerOffset)!==0,c=o?0:t.arrowWidth,u=o?0:t.arrowHeight,[h,f]=l4(n),m={start:"0%",center:"50%",end:"100%"}[f],g=(((k=a.arrow)==null?void 0:k.x)??0)+c/2,y=(((C=a.arrow)==null?void 0:C.y)??0)+u/2;let v="",w="";return h==="bottom"?(v=o?m:`${g}px`,w=`${-u}px`):h==="top"?(v=o?m:`${g}px`,w=`${r.floating.height+u}px`):h==="right"?(v=`${-u}px`,w=o?m:`${y}px`):h==="left"&&(v=`${r.floating.width+u}px`,w=o?m:`${y}px`),{data:{x:v,y:w}}}});function l4(t){const[e,n="center"]=t.split("-");return[e,n]}var jB=n4,kB=s4,SB=a4,CB=o4,c4=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),EB="VisuallyHidden",TB=b.forwardRef((t,e)=>s.jsx(ut.span,{...t,ref:e,style:{...c4,...t.style}}));TB.displayName=EB;var MB=[" ","Enter","ArrowUp","ArrowDown"],AB=[" ","Enter"],_o="Select",[Kf,qf,IB]=n0(_o),[tc]=Li(_o,[IB,e4]),Gf=e4(),[RB,Fi]=tc(_o),[PB,OB]=tc(_o),d4=t=>{const{__scopeSelect:e,children:n,open:r,defaultOpen:a,onOpenChange:i,value:o,defaultValue:c,onValueChange:u,dir:h,name:f,autoComplete:m,disabled:g,required:y,form:v}=t,w=Gf(e),[N,k]=b.useState(null),[C,E]=b.useState(null),[A,D]=b.useState(!1),H=wf(h),[_,P]=Eo({prop:r,defaultProp:a??!1,onChange:i,caller:_o}),[L,$]=Eo({prop:o,defaultProp:c,onChange:u,caller:_o}),ee=b.useRef(null),K=N?v||!!N.closest("form"):!0,[ue,me]=b.useState(new Set),R=Array.from(ue).map(O=>O.props.value).join(";");return s.jsx(jB,{...w,children:s.jsxs(RB,{required:y,scope:e,trigger:N,onTriggerChange:k,valueNode:C,onValueNodeChange:E,valueNodeHasChildren:A,onValueNodeHasChildrenChange:D,contentId:ji(),value:L,onValueChange:$,open:_,onOpenChange:P,dir:H,triggerPointerDownPosRef:ee,disabled:g,children:[s.jsx(Kf.Provider,{scope:e,children:s.jsx(PB,{scope:t.__scopeSelect,onNativeOptionAdd:b.useCallback(O=>{me(F=>new Set(F).add(O))},[]),onNativeOptionRemove:b.useCallback(O=>{me(F=>{const I=new Set(F);return I.delete(O),I})},[]),children:n})}),K?s.jsxs(R4,{"aria-hidden":!0,required:y,tabIndex:-1,name:f,autoComplete:m,value:L,onChange:O=>$(O.target.value),disabled:g,form:v,children:[L===void 0?s.jsx("option",{value:""}):null,Array.from(ue)]},R):null]})})};d4.displayName=_o;var u4="SelectTrigger",h4=b.forwardRef((t,e)=>{const{__scopeSelect:n,disabled:r=!1,...a}=t,i=Gf(n),o=Fi(u4,n),c=o.disabled||r,u=St(e,o.onTriggerChange),h=qf(n),f=b.useRef("touch"),[m,g,y]=O4(w=>{const N=h().filter(E=>!E.disabled),k=N.find(E=>E.value===o.value),C=D4(N,w,k);C!==void 0&&o.onValueChange(C.value)}),v=w=>{c||(o.onOpenChange(!0),y()),w&&(o.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})};return s.jsx(kB,{asChild:!0,...i,children:s.jsx(ut.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":P4(o.value)?"":void 0,...a,ref:u,onClick:at(a.onClick,w=>{w.currentTarget.focus(),f.current!=="mouse"&&v(w)}),onPointerDown:at(a.onPointerDown,w=>{f.current=w.pointerType;const N=w.target;N.hasPointerCapture(w.pointerId)&&N.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&w.pointerType==="mouse"&&(v(w),w.preventDefault())}),onKeyDown:at(a.onKeyDown,w=>{const N=m.current!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&g(w.key),!(N&&w.key===" ")&&MB.includes(w.key)&&(v(),w.preventDefault())})})})});h4.displayName=u4;var f4="SelectValue",p4=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:a,children:i,placeholder:o="",...c}=t,u=Fi(f4,n),{onValueNodeHasChildrenChange:h}=u,f=i!==void 0,m=St(e,u.onValueNodeChange);return rr(()=>{h(f)},[h,f]),s.jsx(ut.span,{...c,ref:m,style:{pointerEvents:"none"},children:P4(u.value)?s.jsx(s.Fragment,{children:o}):i})});p4.displayName=f4;var DB="SelectIcon",m4=b.forwardRef((t,e)=>{const{__scopeSelect:n,children:r,...a}=t;return s.jsx(ut.span,{"aria-hidden":!0,...a,ref:e,children:r||"▼"})});m4.displayName=DB;var LB="SelectPortal",g4=t=>s.jsx(Qx,{asChild:!0,...t});g4.displayName=LB;var zo="SelectContent",x4=b.forwardRef((t,e)=>{const n=Fi(zo,t.__scopeSelect),[r,a]=b.useState();if(rr(()=>{a(new DocumentFragment)},[]),!n.open){const i=r;return i?jd.createPortal(s.jsx(y4,{scope:t.__scopeSelect,children:s.jsx(Kf.Slot,{scope:t.__scopeSelect,children:s.jsx("div",{children:t.children})})}),i):null}return s.jsx(b4,{...t,ref:e})});x4.displayName=zo;var ys=10,[y4,Bi]=tc(zo),_B="SelectContentImpl",zB=ld("SelectContent.RemoveScroll"),b4=b.forwardRef((t,e)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:i,onPointerDownOutside:o,side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:w,avoidCollisions:N,...k}=t,C=Fi(zo,n),[E,A]=b.useState(null),[D,H]=b.useState(null),_=St(e,X=>A(X)),[P,L]=b.useState(null),[$,ee]=b.useState(null),K=qf(n),[ue,me]=b.useState(!1),R=b.useRef(!1);b.useEffect(()=>{if(E)return Rj(E)},[E]),jj();const O=b.useCallback(X=>{const[ae,...ye]=K().map(He=>He.ref.current),[Me]=ye.slice(-1),Be=document.activeElement;for(const He of X)if(He===Be||(He==null||He.scrollIntoView({block:"nearest"}),He===ae&&D&&(D.scrollTop=0),He===Me&&D&&(D.scrollTop=D.scrollHeight),He==null||He.focus(),document.activeElement!==Be))return},[K,D]),F=b.useCallback(()=>O([P,E]),[O,P,E]);b.useEffect(()=>{ue&&F()},[ue,F]);const{onOpenChange:I,triggerPointerDownPosRef:se}=C;b.useEffect(()=>{if(E){let X={x:0,y:0};const ae=Me=>{var Be,He;X={x:Math.abs(Math.round(Me.pageX)-(((Be=se.current)==null?void 0:Be.x)??0)),y:Math.abs(Math.round(Me.pageY)-(((He=se.current)==null?void 0:He.y)??0))}},ye=Me=>{X.x<=10&&X.y<=10?Me.preventDefault():E.contains(Me.target)||I(!1),document.removeEventListener("pointermove",ae),se.current=null};return se.current!==null&&(document.addEventListener("pointermove",ae),document.addEventListener("pointerup",ye,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ae),document.removeEventListener("pointerup",ye,{capture:!0})}}},[E,I,se]),b.useEffect(()=>{const X=()=>I(!1);return window.addEventListener("blur",X),window.addEventListener("resize",X),()=>{window.removeEventListener("blur",X),window.removeEventListener("resize",X)}},[I]);const[J,z]=O4(X=>{const ae=K().filter(Be=>!Be.disabled),ye=ae.find(Be=>Be.ref.current===document.activeElement),Me=D4(ae,X,ye);Me&&setTimeout(()=>Me.ref.current.focus())}),U=b.useCallback((X,ae,ye)=>{const Me=!R.current&&!ye;(C.value!==void 0&&C.value===ae||Me)&&(L(X),Me&&(R.current=!0))},[C.value]),q=b.useCallback(()=>E==null?void 0:E.focus(),[E]),B=b.useCallback((X,ae,ye)=>{const Me=!R.current&&!ye;(C.value!==void 0&&C.value===ae||Me)&&ee(X)},[C.value]),ce=r==="popper"?Ox:v4,Y=ce===Ox?{side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:w,avoidCollisions:N}:{};return s.jsx(y4,{scope:n,content:E,viewport:D,onViewportChange:H,itemRefCallback:U,selectedItem:P,onItemLeave:q,itemTextRefCallback:B,focusSelectedItem:F,selectedItemText:$,position:r,isPositioned:ue,searchRef:J,children:s.jsx(Xx,{as:zB,allowPinchZoom:!0,children:s.jsx(Yx,{asChild:!0,trapped:C.open,onMountAutoFocus:X=>{X.preventDefault()},onUnmountAutoFocus:at(a,X=>{var ae;(ae=C.trigger)==null||ae.focus({preventScroll:!0}),X.preventDefault()}),children:s.jsx(Jx,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:X=>X.preventDefault(),onDismiss:()=>C.onOpenChange(!1),children:s.jsx(ce,{role:"listbox",id:C.contentId,"data-state":C.open?"open":"closed",dir:C.dir,onContextMenu:X=>X.preventDefault(),...k,...Y,onPlaced:()=>me(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:at(k.onKeyDown,X=>{const ae=X.ctrlKey||X.altKey||X.metaKey;if(X.key==="Tab"&&X.preventDefault(),!ae&&X.key.length===1&&z(X.key),["ArrowUp","ArrowDown","Home","End"].includes(X.key)){let Me=K().filter(Be=>!Be.disabled).map(Be=>Be.ref.current);if(["ArrowUp","End"].includes(X.key)&&(Me=Me.slice().reverse()),["ArrowUp","ArrowDown"].includes(X.key)){const Be=X.target,He=Me.indexOf(Be);Me=Me.slice(He+1)}setTimeout(()=>O(Me)),X.preventDefault()}})})})})})})});b4.displayName=_B;var $B="SelectItemAlignedPosition",v4=b.forwardRef((t,e)=>{const{__scopeSelect:n,onPlaced:r,...a}=t,i=Fi(zo,n),o=Bi(zo,n),[c,u]=b.useState(null),[h,f]=b.useState(null),m=St(e,_=>f(_)),g=qf(n),y=b.useRef(!1),v=b.useRef(!0),{viewport:w,selectedItem:N,selectedItemText:k,focusSelectedItem:C}=o,E=b.useCallback(()=>{if(i.trigger&&i.valueNode&&c&&h&&w&&N&&k){const _=i.trigger.getBoundingClientRect(),P=h.getBoundingClientRect(),L=i.valueNode.getBoundingClientRect(),$=k.getBoundingClientRect();if(i.dir!=="rtl"){const Be=$.left-P.left,He=L.left-Be,gt=_.left-He,Dt=_.width+gt,jn=Math.max(Dt,P.width),it=window.innerWidth-ys,Mt=bh(He,[ys,Math.max(ys,it-jn)]);c.style.minWidth=Dt+"px",c.style.left=Mt+"px"}else{const Be=P.right-$.right,He=window.innerWidth-L.right-Be,gt=window.innerWidth-_.right-He,Dt=_.width+gt,jn=Math.max(Dt,P.width),it=window.innerWidth-ys,Mt=bh(He,[ys,Math.max(ys,it-jn)]);c.style.minWidth=Dt+"px",c.style.right=Mt+"px"}const ee=g(),K=window.innerHeight-ys*2,ue=w.scrollHeight,me=window.getComputedStyle(h),R=parseInt(me.borderTopWidth,10),O=parseInt(me.paddingTop,10),F=parseInt(me.borderBottomWidth,10),I=parseInt(me.paddingBottom,10),se=R+O+ue+I+F,J=Math.min(N.offsetHeight*5,se),z=window.getComputedStyle(w),U=parseInt(z.paddingTop,10),q=parseInt(z.paddingBottom,10),B=_.top+_.height/2-ys,ce=K-B,Y=N.offsetHeight/2,X=N.offsetTop+Y,ae=R+O+X,ye=se-ae;if(ae<=B){const Be=ee.length>0&&N===ee[ee.length-1].ref.current;c.style.bottom="0px";const He=h.clientHeight-w.offsetTop-w.offsetHeight,gt=Math.max(ce,Y+(Be?q:0)+He+F),Dt=ae+gt;c.style.height=Dt+"px"}else{const Be=ee.length>0&&N===ee[0].ref.current;c.style.top="0px";const gt=Math.max(B,R+w.offsetTop+(Be?U:0)+Y)+ye;c.style.height=gt+"px",w.scrollTop=ae-B+w.offsetTop}c.style.margin=`${ys}px 0`,c.style.minHeight=J+"px",c.style.maxHeight=K+"px",r==null||r(),requestAnimationFrame(()=>y.current=!0)}},[g,i.trigger,i.valueNode,c,h,w,N,k,i.dir,r]);rr(()=>E(),[E]);const[A,D]=b.useState();rr(()=>{h&&D(window.getComputedStyle(h).zIndex)},[h]);const H=b.useCallback(_=>{_&&v.current===!0&&(E(),C==null||C(),v.current=!1)},[E,C]);return s.jsx(BB,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:y,onScrollButtonChange:H,children:s.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:A},children:s.jsx(ut.div,{...a,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});v4.displayName=$B;var FB="SelectPopperPosition",Ox=b.forwardRef((t,e)=>{const{__scopeSelect:n,align:r="start",collisionPadding:a=ys,...i}=t,o=Gf(n);return s.jsx(SB,{...o,...i,ref:e,align:r,collisionPadding:a,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Ox.displayName=FB;var[BB,iy]=tc(zo,{}),Dx="SelectViewport",N4=b.forwardRef((t,e)=>{const{__scopeSelect:n,nonce:r,...a}=t,i=Bi(Dx,n),o=iy(Dx,n),c=St(e,i.onViewportChange),u=b.useRef(0);return s.jsxs(s.Fragment,{children:[s.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),s.jsx(Kf.Slot,{scope:n,children:s.jsx(ut.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:at(a.onScroll,h=>{const f=h.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:g}=o;if(g!=null&&g.current&&m){const y=Math.abs(u.current-f.scrollTop);if(y>0){const v=window.innerHeight-ys*2,w=parseFloat(m.style.minHeight),N=parseFloat(m.style.height),k=Math.max(w,N);if(k0?A:0,m.style.justifyContent="flex-end")}}}u.current=f.scrollTop})})})]})});N4.displayName=Dx;var w4="SelectGroup",[VB,HB]=tc(w4),WB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,a=ji();return s.jsx(VB,{scope:n,id:a,children:s.jsx(ut.div,{role:"group","aria-labelledby":a,...r,ref:e})})});WB.displayName=w4;var j4="SelectLabel",UB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,a=HB(j4,n);return s.jsx(ut.div,{id:a.id,...r,ref:e})});UB.displayName=j4;var mf="SelectItem",[KB,k4]=tc(mf),S4=b.forwardRef((t,e)=>{const{__scopeSelect:n,value:r,disabled:a=!1,textValue:i,...o}=t,c=Fi(mf,n),u=Bi(mf,n),h=c.value===r,[f,m]=b.useState(i??""),[g,y]=b.useState(!1),v=St(e,C=>{var E;return(E=u.itemRefCallback)==null?void 0:E.call(u,C,r,a)}),w=ji(),N=b.useRef("touch"),k=()=>{a||(c.onValueChange(r),c.onOpenChange(!1))};if(r==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return s.jsx(KB,{scope:n,value:r,disabled:a,textId:w,isSelected:h,onItemTextChange:b.useCallback(C=>{m(E=>E||((C==null?void 0:C.textContent)??"").trim())},[]),children:s.jsx(Kf.ItemSlot,{scope:n,value:r,disabled:a,textValue:f,children:s.jsx(ut.div,{role:"option","aria-labelledby":w,"data-highlighted":g?"":void 0,"aria-selected":h&&g,"data-state":h?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...o,ref:v,onFocus:at(o.onFocus,()=>y(!0)),onBlur:at(o.onBlur,()=>y(!1)),onClick:at(o.onClick,()=>{N.current!=="mouse"&&k()}),onPointerUp:at(o.onPointerUp,()=>{N.current==="mouse"&&k()}),onPointerDown:at(o.onPointerDown,C=>{N.current=C.pointerType}),onPointerMove:at(o.onPointerMove,C=>{var E;N.current=C.pointerType,a?(E=u.onItemLeave)==null||E.call(u):N.current==="mouse"&&C.currentTarget.focus({preventScroll:!0})}),onPointerLeave:at(o.onPointerLeave,C=>{var E;C.currentTarget===document.activeElement&&((E=u.onItemLeave)==null||E.call(u))}),onKeyDown:at(o.onKeyDown,C=>{var A;((A=u.searchRef)==null?void 0:A.current)!==""&&C.key===" "||(AB.includes(C.key)&&k(),C.key===" "&&C.preventDefault())})})})})});S4.displayName=mf;var Uc="SelectItemText",C4=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:a,...i}=t,o=Fi(Uc,n),c=Bi(Uc,n),u=k4(Uc,n),h=OB(Uc,n),[f,m]=b.useState(null),g=St(e,k=>m(k),u.onItemTextChange,k=>{var C;return(C=c.itemTextRefCallback)==null?void 0:C.call(c,k,u.value,u.disabled)}),y=f==null?void 0:f.textContent,v=b.useMemo(()=>s.jsx("option",{value:u.value,disabled:u.disabled,children:y},u.value),[u.disabled,u.value,y]),{onNativeOptionAdd:w,onNativeOptionRemove:N}=h;return rr(()=>(w(v),()=>N(v)),[w,N,v]),s.jsxs(s.Fragment,{children:[s.jsx(ut.span,{id:u.textId,...i,ref:g}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren?jd.createPortal(i.children,o.valueNode):null]})});C4.displayName=Uc;var E4="SelectItemIndicator",T4=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return k4(E4,n).isSelected?s.jsx(ut.span,{"aria-hidden":!0,...r,ref:e}):null});T4.displayName=E4;var Lx="SelectScrollUpButton",M4=b.forwardRef((t,e)=>{const n=Bi(Lx,t.__scopeSelect),r=iy(Lx,t.__scopeSelect),[a,i]=b.useState(!1),o=St(e,r.onScrollButtonChange);return rr(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollTop>0;i(h)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),a?s.jsx(I4,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null});M4.displayName=Lx;var _x="SelectScrollDownButton",A4=b.forwardRef((t,e)=>{const n=Bi(_x,t.__scopeSelect),r=iy(_x,t.__scopeSelect),[a,i]=b.useState(!1),o=St(e,r.onScrollButtonChange);return rr(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollHeight-u.clientHeight,f=Math.ceil(u.scrollTop)u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),a?s.jsx(I4,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null});A4.displayName=_x;var I4=b.forwardRef((t,e)=>{const{__scopeSelect:n,onAutoScroll:r,...a}=t,i=Bi("SelectScrollButton",n),o=b.useRef(null),c=qf(n),u=b.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return b.useEffect(()=>()=>u(),[u]),rr(()=>{var f;const h=c().find(m=>m.ref.current===document.activeElement);(f=h==null?void 0:h.ref.current)==null||f.scrollIntoView({block:"nearest"})},[c]),s.jsx(ut.div,{"aria-hidden":!0,...a,ref:e,style:{flexShrink:0,...a.style},onPointerDown:at(a.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:at(a.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:at(a.onPointerLeave,()=>{u()})})}),qB="SelectSeparator",GB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return s.jsx(ut.div,{"aria-hidden":!0,...r,ref:e})});GB.displayName=qB;var zx="SelectArrow",JB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,a=Gf(n),i=Fi(zx,n),o=Bi(zx,n);return i.open&&o.position==="popper"?s.jsx(CB,{...a,...r,ref:e}):null});JB.displayName=zx;var YB="SelectBubbleInput",R4=b.forwardRef(({__scopeSelect:t,value:e,...n},r)=>{const a=b.useRef(null),i=St(r,a),o=s0(e);return b.useEffect(()=>{const c=a.current;if(!c)return;const u=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("change",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),s.jsx(ut.select,{...n,style:{...c4,...n.style},ref:i,defaultValue:e})});R4.displayName=YB;function P4(t){return t===""||t===void 0}function O4(t){const e=Ti(t),n=b.useRef(""),r=b.useRef(0),a=b.useCallback(o=>{const c=n.current+o;e(c),(function u(h){n.current=h,window.clearTimeout(r.current),h!==""&&(r.current=window.setTimeout(()=>u(""),1e3))})(c)},[e]),i=b.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return b.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,a,i]}function D4(t,e,n){const a=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=n?t.indexOf(n):-1;let o=QB(t,Math.max(i,0));a.length===1&&(o=o.filter(h=>h!==n));const u=o.find(h=>h.textValue.toLowerCase().startsWith(a.toLowerCase()));return u!==n?u:void 0}function QB(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var XB=d4,L4=h4,ZB=p4,eV=m4,tV=g4,_4=x4,nV=N4,z4=S4,rV=C4,sV=T4,aV=M4,iV=A4;const Sl=XB,Cl=ZB,fo=b.forwardRef(({className:t,children:e,...n},r)=>s.jsxs(L4,{ref:r,className:Ct("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...n,children:[e,s.jsx(eV,{asChild:!0,children:s.jsx(od,{className:"h-4 w-4 opacity-50"})})]}));fo.displayName=L4.displayName;const po=b.forwardRef(({className:t,children:e,position:n="popper",...r},a)=>s.jsx(tV,{children:s.jsxs(_4,{ref:a,className:Ct("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1",t),position:n,...r,children:[s.jsx(aV,{className:"flex cursor-default items-center justify-center py-1",children:s.jsx(qw,{className:"h-4 w-4"})}),s.jsx(nV,{className:"p-1",children:e}),s.jsx(iV,{className:"flex cursor-default items-center justify-center py-1",children:s.jsx(od,{className:"h-4 w-4"})})]})}));po.displayName=_4.displayName;const Dr=b.forwardRef(({className:t,children:e,...n},r)=>s.jsxs(z4,{ref:r,className:Ct("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(sV,{children:s.jsx(yf,{className:"h-4 w-4"})})}),s.jsx(rV,{children:e})]}));Dr.displayName=z4.displayName;const oV=["一","二","三","四","五","六","七","八","九","十"];function kg(t){return t.startsWith("part:")?{type:"part",id:t.slice(5)}:t.startsWith("chapter:")?{type:"chapter",id:t.slice(8)}:t.startsWith("section:")?{type:"section",id:t.slice(8)}:null}function lV({parts:t,expandedParts:e,onTogglePart:n,onReorder:r,onReadSection:a,onDeleteSection:i,onAddSectionInPart:o,onAddChapterInPart:c,onDeleteChapter:u,onEditPart:h,onDeletePart:f,onEditChapter:m,selectedSectionIds:g=[],onToggleSectionSelect:y,onShowSectionOrders:v,pinnedSectionIds:w=[]}){const[N,k]=b.useState(null),[C,E]=b.useState(null),A=($,ee)=>(N==null?void 0:N.type)===$&&(N==null?void 0:N.id)===ee,D=($,ee)=>(C==null?void 0:C.type)===$&&(C==null?void 0:C.id)===ee,H=b.useCallback(()=>{const $=[];for(const ee of t)for(const K of ee.chapters)for(const ue of K.sections)$.push({id:ue.id,partId:ee.id,partTitle:ee.title,chapterId:K.id,chapterTitle:K.title});return $},[t]),_=b.useCallback(async($,ee,K,ue)=>{var I;$.preventDefault(),$.stopPropagation();const me=$.dataTransfer.getData("text/plain"),R=kg(me);if(!R||R.type===ee&&R.id===K)return;const O=H(),F=new Map(O.map(se=>[se.id,se]));if(R.type==="part"&&ee==="part"){const se=t.map(B=>B.id),J=se.indexOf(R.id),z=se.indexOf(K);if(J===-1||z===-1)return;const U=[...se];U.splice(J,1),U.splice(JY.id===B);if(ce)for(const Y of ce.chapters)for(const X of Y.sections){const ae=F.get(X.id);ae&&q.push(ae)}}await r(q);return}if(R.type==="chapter"&&(ee==="chapter"||ee==="section"||ee==="part")){const se=t.find(ae=>ae.chapters.some(ye=>ye.id===R.id)),J=se==null?void 0:se.chapters.find(ae=>ae.id===R.id);if(!se||!J)return;let z,U,q=null;if(ee==="section"){const ae=F.get(K);if(!ae)return;z=ae.partId,U=ae.partTitle,q=K}else if(ee==="chapter"){const ae=t.find(Be=>Be.chapters.some(He=>He.id===K)),ye=ae==null?void 0:ae.chapters.find(Be=>Be.id===K);if(!ae||!ye)return;z=ae.id,U=ae.title;const Me=O.filter(Be=>Be.chapterId===K).pop();q=(Me==null?void 0:Me.id)??null}else{const ae=t.find(Me=>Me.id===K);if(!ae||!ae.chapters[0])return;z=ae.id,U=ae.title;const ye=O.filter(Me=>Me.partId===ae.id&&Me.chapterId===ae.chapters[0].id);q=((I=ye[ye.length-1])==null?void 0:I.id)??null}const B=J.sections.map(ae=>ae.id),ce=O.filter(ae=>!B.includes(ae.id));let Y=ce.length;if(q){const ae=ce.findIndex(ye=>ye.id===q);ae>=0&&(Y=ae+1)}const X=B.map(ae=>({...F.get(ae),partId:z,partTitle:U,chapterId:J.id,chapterTitle:J.title}));await r([...ce.slice(0,Y),...X,...ce.slice(Y)]);return}if(R.type==="section"&&(ee==="section"||ee==="chapter"||ee==="part")){if(!ue)return;const{partId:se,partTitle:J,chapterId:z,chapterTitle:U}=ue;let q;if(ee==="section")q=O.findIndex(ye=>ye.id===K);else if(ee==="chapter"){const ye=O.filter(Me=>Me.chapterId===K).pop();q=ye?O.findIndex(Me=>Me.id===ye.id)+1:O.length}else{const ye=t.find(He=>He.id===K);if(!(ye!=null&&ye.chapters[0]))return;const Me=O.filter(He=>He.partId===ye.id&&He.chapterId===ye.chapters[0].id),Be=Me[Me.length-1];q=Be?O.findIndex(He=>He.id===Be.id)+1:0}const B=O.findIndex(ye=>ye.id===R.id);if(B===-1)return;const ce=O.filter(ye=>ye.id!==R.id),Y=B({onDragEnter:ue=>{ue.preventDefault(),ue.stopPropagation(),ue.dataTransfer.dropEffect="move",E({type:$,id:ee})},onDragOver:ue=>{ue.preventDefault(),ue.stopPropagation(),ue.dataTransfer.dropEffect="move",E({type:$,id:ee})},onDragLeave:()=>E(null),onDrop:ue=>{E(null);const me=kg(ue.dataTransfer.getData("text/plain"));if(me&&!($==="section"&&me.type==="section"&&me.id===ee))if($==="part")if(me.type==="part")_(ue,"part",ee);else{const R=t.find(F=>F.id===ee);(R==null?void 0:R.chapters[0])&&K&&_(ue,"part",ee,K)}else $==="chapter"&&K?(me.type==="section"||me.type==="chapter")&&_(ue,"chapter",ee,K):$==="section"&&K&&_(ue,"section",ee,K)}}),L=$=>oV[$]??String($+1);return s.jsx("div",{className:"space-y-3",children:t.map(($,ee)=>{var J,z,U,q;const K=$.title==="序言"||$.title.includes("序言"),ue=$.title==="尾声"||$.title.includes("尾声"),me=$.title==="附录"||$.title.includes("附录"),R=D("part",$.id),O=e.includes($.id),F=$.chapters.length,I=$.chapters.reduce((B,ce)=>B+ce.sections.length,0);if(K&&$.chapters.length===1&&$.chapters[0].sections.length===1){const B=$.chapters[0].sections[0],ce=D("section",B.id),Y={partId:$.id,partTitle:$.title,chapterId:$.chapters[0].id,chapterTitle:$.chapters[0].title};return s.jsxs("div",{draggable:!0,onDragStart:X=>{X.stopPropagation(),X.dataTransfer.setData("text/plain","section:"+B.id),X.dataTransfer.effectAllowed="move",k({type:"section",id:B.id})},onDragEnd:()=>{k(null),E(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${ce?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${A("section",B.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",B.id,Y),children:[s.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[s.jsx(fa,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:X=>X.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(B.id),onChange:()=>y(B.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:s.jsx($r,{className:"w-4 h-4 text-gray-400"})}),s.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[$.chapters[0].title," | ",B.title]}),w.includes(B.id)&&s.jsx("span",{title:"已置顶",children:s.jsx(xi,{className:"w-3.5 h-3.5 text-amber-400 fill-amber-400 shrink-0"})})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:X=>X.stopPropagation(),onClick:X=>X.stopPropagation(),children:[B.price===0||B.isFree?s.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):s.jsxs("span",{className:"text-xs text-gray-500",children:["¥",B.price]}),s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",B.clickCount??0," · 付款 ",B.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(B.hotScore??0).toFixed(1)," · 第",B.hotRank&&B.hotRank>0?B.hotRank:"-","名"]}),v&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(B),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsxs("div",{className:"flex gap-1",children:[s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(B),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(B),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]})]},$.id)}if($.title==="2026每日派对干货"||$.title.includes("2026每日派对干货")){const B=D("part",$.id);return s.jsxs("div",{className:`rounded-xl border overflow-hidden transition-all duration-200 ${B?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50 bg-[#1C1C1E]"}`,...P("part",$.id,{partId:$.id,partTitle:$.title,chapterId:((J=$.chapters[0])==null?void 0:J.id)??"",chapterTitle:((z=$.chapters[0])==null?void 0:z.title)??""}),children:[s.jsxs("div",{draggable:!0,onDragStart:ce=>{ce.stopPropagation(),ce.dataTransfer.setData("text/plain","part:"+$.id),ce.dataTransfer.effectAllowed="move",k({type:"part",id:$.id})},onDragEnd:()=>{k(null),E(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${A("part",$.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/50"}`,onClick:()=>n($.id),children:[s.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[s.jsx(fa,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),s.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac]/80 flex items-center justify-center text-white font-bold shrink-0",children:"派"}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-white text-base",children:$.title}),s.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",I," 节"]})]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:ce=>ce.stopPropagation(),onClick:ce=>ce.stopPropagation(),children:[o&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:s.jsx(pn,{className:"w-3.5 h-3.5"})}),h&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),f&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f($),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:s.jsx(er,{className:"w-3.5 h-3.5"})}),s.jsxs("span",{className:"text-xs text-gray-500",children:[F,"章"]}),O?s.jsx(od,{className:"w-5 h-5 text-gray-500"}):s.jsx(El,{className:"w-5 h-5 text-gray-500"})]})]}),O&&$.chapters.length>0&&s.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:$.chapters.map(ce=>s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[s.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:ce.title}),s.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Y=>Y.stopPropagation(),children:[m&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>m($,ce),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),c&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>c($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:s.jsx(pn,{className:"w-3.5 h-3.5"})}),u&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>u($,ce),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]}),s.jsx("div",{className:"space-y-1 pl-2",children:ce.sections.map(Y=>{const X=D("section",Y.id);return s.jsxs("div",{draggable:!0,onDragStart:ae=>{ae.stopPropagation(),ae.dataTransfer.setData("text/plain","section:"+Y.id),ae.dataTransfer.effectAllowed="move",k({type:"section",id:Y.id})},onDragEnd:()=>{k(null),E(null)},onClick:()=>a(Y),className:`flex items-center justify-between py-2 px-3 rounded-lg min-h-[40px] cursor-pointer select-none transition-all duration-200 ${X?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${A("section",Y.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",Y.id,{partId:$.id,partTitle:$.title,chapterId:ce.id,chapterTitle:ce.title}),children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:ae=>ae.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(Y.id),onChange:()=>y(Y.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Y.id," ",Y.title]}),w.includes(Y.id)&&s.jsx("span",{title:"已置顶",children:s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onClick:ae=>ae.stopPropagation(),children:[s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Y.clickCount??0," · 付款 ",Y.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Y.hotScore??0).toFixed(1)," · 第",Y.hotRank&&Y.hotRank>0?Y.hotRank:"-","名"]}),v&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Y),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Y),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(Y),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]},Y.id)})})]},ce.id))})]},$.id)}if(me)return s.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[s.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"附录"}),s.jsx("div",{className:"space-y-3",children:$.chapters.map((B,ce)=>B.sections.length>0?B.sections.map(Y=>{const X=D("section",Y.id);return s.jsxs("div",{draggable:!0,onDragStart:ae=>{ae.stopPropagation(),ae.dataTransfer.setData("text/plain","section:"+Y.id),ae.dataTransfer.effectAllowed="move",k({type:"section",id:Y.id})},onDragEnd:()=>{k(null),E(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 group cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${X?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${A("section",Y.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",Y.id,{partId:$.id,partTitle:$.title,chapterId:B.id,chapterTitle:B.title}),children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:ae=>ae.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(Y.id),onChange:()=>y(Y.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsxs("span",{className:"text-sm text-gray-300 truncate",children:["附录",ce+1," | ",B.title," | ",Y.title]}),w.includes(Y.id)&&s.jsx("span",{title:"已置顶",children:s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Y.clickCount??0," · 付款 ",Y.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Y.hotScore??0).toFixed(1)," · 第",Y.hotRank&&Y.hotRank>0?Y.hotRank:"-","名"]}),v&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Y),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>a(Y),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>i(Y),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]}),s.jsx(El,{className:"w-4 h-4 text-gray-500 shrink-0"})]},Y.id)}):s.jsxs("div",{className:"flex justify-between items-center py-2 select-none hover:bg-[#162840]/50 rounded px-2 -mx-2",children:[s.jsxs("span",{className:"text-sm text-gray-500",children:["附录",ce+1," | ",B.title,"(空)"]}),s.jsx(El,{className:"w-4 h-4 text-gray-500 shrink-0"})]},B.id))})]},$.id);if(ue&&$.chapters.length===1&&$.chapters[0].sections.length===1){const B=$.chapters[0].sections[0],ce=D("section",B.id),Y={partId:$.id,partTitle:$.title,chapterId:$.chapters[0].id,chapterTitle:$.chapters[0].title};return s.jsxs("div",{draggable:!0,onDragStart:X=>{X.stopPropagation(),X.dataTransfer.setData("text/plain","section:"+B.id),X.dataTransfer.effectAllowed="move",k({type:"section",id:B.id})},onDragEnd:()=>{k(null),E(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${ce?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${A("section",B.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",B.id,Y),children:[s.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[s.jsx(fa,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:X=>X.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(B.id),onChange:()=>y(B.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:s.jsx($r,{className:"w-4 h-4 text-gray-400"})}),s.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[$.chapters[0].title," | ",B.title]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:X=>X.stopPropagation(),onClick:X=>X.stopPropagation(),children:[B.price===0||B.isFree?s.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):s.jsxs("span",{className:"text-xs text-gray-500",children:["¥",B.price]}),s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",B.clickCount??0," · 付款 ",B.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(B.hotScore??0).toFixed(1)," · 第",B.hotRank&&B.hotRank>0?B.hotRank:"-","名"]}),v&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(B),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsxs("div",{className:"flex gap-1",children:[s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(B),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(B),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]})]},$.id)}return ue?s.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[s.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"尾声"}),s.jsx("div",{className:"space-y-3",children:$.chapters.map(B=>B.sections.map(ce=>{const Y=D("section",ce.id);return s.jsxs("div",{draggable:!0,onDragStart:X=>{X.stopPropagation(),X.dataTransfer.setData("text/plain","section:"+ce.id),X.dataTransfer.effectAllowed="move",k({type:"section",id:ce.id})},onDragEnd:()=>{k(null),E(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${Y?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${A("section",ce.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",ce.id,{partId:$.id,partTitle:$.title,chapterId:B.id,chapterTitle:B.title}),children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:X=>X.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(ce.id),onChange:()=>y(ce.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsxs("span",{className:"text-sm text-gray-300",children:[B.title," | ",ce.title]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",ce.clickCount??0," · 付款 ",ce.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(ce.hotScore??0).toFixed(1)," · 第",ce.hotRank&&ce.hotRank>0?ce.hotRank:"-","名"]}),v&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(ce),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsxs("div",{className:"flex gap-1",children:[s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(ce),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(ce),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]})]},ce.id)}))})]},$.id):s.jsxs("div",{className:`rounded-xl border bg-[#1C1C1E] overflow-hidden transition-all duration-200 ${R?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50"}`,...P("part",$.id,{partId:$.id,partTitle:$.title,chapterId:((U=$.chapters[0])==null?void 0:U.id)??"",chapterTitle:((q=$.chapters[0])==null?void 0:q.title)??""}),children:[s.jsxs("div",{draggable:!0,onDragStart:B=>{B.stopPropagation(),B.dataTransfer.setData("text/plain","part:"+$.id),B.dataTransfer.effectAllowed="move",k({type:"part",id:$.id})},onDragEnd:()=>{k(null),E(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${A("part",$.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] rounded-xl shadow-xl shadow-[#38bdac]/20":"hover:bg-[#162840]/50"}`,onClick:()=>n($.id),children:[s.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[s.jsx(fa,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),s.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac] flex items-center justify-center text-white font-bold shadow-lg shadow-[#38bdac]/30 shrink-0",children:L(ee)}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-white text-base",children:$.title}),s.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",I," 节"]})]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:B=>B.stopPropagation(),onClick:B=>B.stopPropagation(),children:[o&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:s.jsx(pn,{className:"w-3.5 h-3.5"})}),h&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),f&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f($),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:s.jsx(er,{className:"w-3.5 h-3.5"})}),s.jsxs("span",{className:"text-xs text-gray-500",children:[F,"章"]}),O?s.jsx(od,{className:"w-5 h-5 text-gray-500"}):s.jsx(El,{className:"w-5 h-5 text-gray-500"})]})]}),O&&s.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:$.chapters.map(B=>{const ce=D("chapter",B.id);return s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[s.jsxs("div",{draggable:!0,onDragStart:Y=>{Y.stopPropagation(),Y.dataTransfer.setData("text/plain","chapter:"+B.id),Y.dataTransfer.effectAllowed="move",k({type:"chapter",id:B.id})},onDragEnd:()=>{k(null),E(null)},onDragEnter:Y=>{Y.preventDefault(),Y.stopPropagation(),Y.dataTransfer.dropEffect="move",E({type:"chapter",id:B.id})},onDragOver:Y=>{Y.preventDefault(),Y.stopPropagation(),Y.dataTransfer.dropEffect="move",E({type:"chapter",id:B.id})},onDragLeave:()=>E(null),onDrop:Y=>{E(null);const X=kg(Y.dataTransfer.getData("text/plain"));if(!X)return;const ae={partId:$.id,partTitle:$.title,chapterId:B.id,chapterTitle:B.title};(X.type==="section"||X.type==="chapter")&&_(Y,"chapter",B.id,ae)},className:`flex-1 min-w-0 py-2 px-2 rounded cursor-grab active:cursor-grabbing select-none -mx-2 transition-all duration-200 flex items-center gap-2 ${ce?"bg-[#38bdac]/15 ring-1 ring-[#38bdac]/50":""} ${A("chapter",B.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/30"}`,children:[s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),s.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:B.title})]}),s.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Y=>Y.stopPropagation(),children:[m&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>m($,B),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),c&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>c($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:s.jsx(pn,{className:"w-3.5 h-3.5"})}),u&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>u($,B),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]}),s.jsx("div",{className:"space-y-1 pl-2",children:B.sections.map(Y=>{const X=D("section",Y.id);return s.jsxs("div",{draggable:!0,onDragStart:ae=>{ae.stopPropagation(),ae.dataTransfer.setData("text/plain","section:"+Y.id),ae.dataTransfer.effectAllowed="move",k({type:"section",id:Y.id})},onDragEnd:()=>{k(null),E(null)},className:`flex items-center justify-between py-2 px-3 rounded-lg group cursor-grab active:cursor-grabbing select-none min-h-[40px] transition-all duration-200 ${X?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${A("section",Y.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] shadow-lg":"hover:bg-[#162840]/50"}`,...P("section",Y.id,{partId:$.id,partTitle:$.title,chapterId:B.id,chapterTitle:B.title}),children:[s.jsxs("div",{className:"flex items-center gap-3 min-w-0 flex-1",children:[y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:ae=>ae.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(Y.id),onChange:()=>y(Y.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),s.jsx("div",{className:`w-2 h-2 rounded-full shrink-0 ${Y.price===0||Y.isFree?"border-2 border-[#38bdac] bg-transparent":"bg-gray-500"}`}),s.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Y.id," ",Y.title]}),w.includes(Y.id)&&s.jsx("span",{title:"已置顶",children:s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:ae=>ae.stopPropagation(),onClick:ae=>ae.stopPropagation(),children:[Y.isNew&&s.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"NEW"}),Y.price===0||Y.isFree?s.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):s.jsxs("span",{className:"text-xs text-gray-500",children:["¥",Y.price]}),s.jsxs("span",{className:"text-[10px] text-gray-500",title:"点击次数 · 付款笔数",children:["点击 ",Y.clickCount??0," · 付款 ",Y.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Y.hotScore??0).toFixed(1)," · 第",Y.hotRank&&Y.hotRank>0?Y.hotRank:"-","名"]}),v&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Y),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5 shrink-0",children:"付款记录"}),s.jsxs("div",{className:"flex gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity",children:[s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Y),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(Y),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]})]},Y.id)})})]},B.id)})})]},$.id)})})}function cV(t){var a;const e=new URLSearchParams;e.set("page",String(t.page)),e.set("limit",String(t.limit)),(a=t==null?void 0:t.keyword)!=null&&a.trim()&&e.set("keyword",t.keyword.trim());const n=e.toString(),r=n?`/api/admin/ckb/devices?${n}`:"/api/admin/ckb/devices";return De(r)}function dV(t){return De(`/api/db/person?personId=${encodeURIComponent(t)}`)}function uV(t){var r;const e=new URLSearchParams;e.set("page",String(t.page)),e.set("limit",String(t.limit)),(r=t==null?void 0:t.keyword)!=null&&r.trim()&&e.set("keyword",t.keyword.trim());const n=e.toString();return De(n?`/api/admin/ckb/plans?${n}`:"/api/admin/ckb/plans")}const $4=11,bw={personId:"",name:"",aliases:"",label:"",sceneId:$4,ckbApiKey:"",greeting:"你好,请通过",tips:"请注意消息,稍后加你微信",remarkType:"phone",remarkFormat:"",addFriendInterval:1,startTime:"09:00",endTime:"18:00",deviceGroups:""};function hV({open:t,onOpenChange:e,editingPerson:n,onSubmit:r}){var O;const a=!!n,[i,o]=b.useState(bw),[c,u]=b.useState(!1),[h,f]=b.useState(!1),[m,g]=b.useState([]),[y,v]=b.useState(!1),[w,N]=b.useState(""),[k,C]=b.useState([]),[E,A]=b.useState(!1),[D,H]=b.useState(""),[_,P]=b.useState(!1),[L,$]=b.useState({});b.useEffect(()=>{t&&(N(""),o(n?{personId:n.personId??n.name??"",name:n.name??"",aliases:n.aliases??"",label:n.label??"",sceneId:$4,ckbApiKey:n.ckbApiKey??"",greeting:"你好,请通过",tips:"请注意消息,稍后加你微信",remarkType:n.remarkType??"phone",remarkFormat:n.remarkFormat??"",addFriendInterval:n.addFriendInterval??1,startTime:n.startTime??"09:00",endTime:n.endTime??"18:00",deviceGroups:n.deviceGroups??""}:{...bw}),$({}),m.length===0&&ee(""),k.length===0&&K(""))},[t,n]);const ee=async F=>{v(!0);try{const I=await cV({page:1,limit:50,keyword:F});I!=null&&I.success&&Array.isArray(I.devices)?g(I.devices):I!=null&&I.error&&oe.error(I.error)}catch(I){oe.error(I instanceof Error?I.message:"加载设备列表失败")}finally{v(!1)}},K=async F=>{A(!0);try{const I=await uV({page:1,limit:100,keyword:F});I!=null&&I.success&&Array.isArray(I.plans)?C(I.plans):I!=null&&I.error&&oe.error(I.error)}catch{oe.error("加载计划列表失败")}finally{A(!1)}},ue=F=>{const I=Array.isArray(F.deviceGroups)?F.deviceGroups.map(String).join(","):"";o(se=>({...se,ckbApiKey:F.apiKey||"",greeting:F.greeting||se.greeting,tips:F.tips||se.tips,remarkType:F.remarkType||se.remarkType,remarkFormat:F.remarkFormat||se.remarkFormat,addFriendInterval:F.addInterval||se.addFriendInterval,startTime:F.startTime||se.startTime,endTime:F.endTime||se.endTime,deviceGroups:I||se.deviceGroups})),P(!1),oe.success(`已选择计划「${F.name}」,参数已覆盖`)},me=D.trim()?k.filter(F=>(F.name||"").includes(D.trim())||String(F.id).includes(D.trim())):k,R=async()=>{var J;const F={};(!i.name||!String(i.name).trim())&&(F.name="请填写名称");const I=i.addFriendInterval;if((typeof I!="number"||I<1)&&(F.addFriendInterval="添加间隔至少为 1 分钟"),(((J=i.deviceGroups)==null?void 0:J.split(",").map(z=>z.trim()).filter(Boolean))??[]).length===0&&(F.deviceGroups="请至少选择 1 台设备"),$(F),Object.keys(F).length>0){oe.error(F.name||F.addFriendInterval||F.deviceGroups||"请完善必填项");return}u(!0);try{await r(i),e(!1)}catch(z){oe.error(z instanceof Error?z.message:"保存失败")}finally{u(!1)}};return s.jsx(Ft,{open:t,onOpenChange:e,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] overflow-y-auto",children:[s.jsxs(Bt,{children:[s.jsx(Vt,{className:"text-[#38bdac]",children:a?"编辑人物":"添加人物 — 存客宝 API 获客"}),s.jsx(Jj,{className:"text-gray-400 text-sm",children:a?"修改后同步到存客宝计划":"添加时自动生成 token,并同步创建存客宝场景获客计划"})]}),s.jsxs("div",{className:"space-y-6 py-2",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-xs font-medium text-gray-400 uppercase tracking-wider mb-3",children:"基础信息"}),s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"space-y-1.5",children:[s.jsxs(te,{className:"text-gray-400 text-xs",children:["名称 ",s.jsx("span",{className:"text-red-400",children:"*"})]}),s.jsx(le,{className:`bg-[#0a1628] text-white ${L.name?"border-red-500 focus-visible:ring-red-500":"border-gray-700"}`,placeholder:"如 卡若",value:i.name,onChange:F=>{o(I=>({...I,name:F.target.value})),L.name&&$(I=>({...I,name:void 0}))}}),L.name&&s.jsx("p",{className:"text-xs text-red-400",children:L.name})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"人物ID(可选)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"自动生成",value:i.personId,onChange:F=>o(I=>({...I,personId:F.target.value})),disabled:a})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"标签(身份/角色)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如 超级个体",value:i.label,onChange:F=>o(I=>({...I,label:F.target.value}))})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"别名(逗号分隔,@ 可匹配)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如 卡卡, 若若",value:i.aliases,onChange:F=>o(I=>({...I,aliases:F.target.value}))})]})]})]}),s.jsxs("div",{className:"border-t border-gray-700/50 pt-5",children:[s.jsx("p",{className:"text-xs font-medium text-gray-400 uppercase tracking-wider mb-4",children:"存客宝 API 获客配置"}),s.jsxs("div",{className:"grid grid-cols-2 gap-x-8 gap-y-4",children:[s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-1.5 relative",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"选择存客宝获客计划"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("div",{className:"flex-1 flex items-center bg-[#0a1628] border border-gray-700 rounded-md px-3 py-2 cursor-pointer hover:border-[#38bdac]/60 text-sm",onClick:()=>P(!_),children:i.ckbApiKey?s.jsx("span",{className:"text-white truncate",children:((O=k.find(F=>F.apiKey===i.ckbApiKey))==null?void 0:O.name)||`密钥: ${i.ckbApiKey.slice(0,20)}...`}):s.jsx("span",{className:"text-gray-500",children:"点击选择已有计划 / 新建时自动创建"})}),s.jsx(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-200 shrink-0",onClick:()=>{K(D),P(!0)},disabled:E,children:E?"加载...":"刷新"})]}),_&&s.jsxs("div",{className:"absolute z-50 top-full left-0 right-0 mt-1 bg-[#0b1828] border border-gray-700 rounded-lg shadow-xl max-h-64 flex flex-col",children:[s.jsx("div",{className:"p-2 border-b border-gray-700/60",children:s.jsx(le,{className:"bg-[#050c18] border-gray-700 text-white h-8 text-xs",placeholder:"搜索计划名称...",value:D,onChange:F=>H(F.target.value),onKeyDown:F=>{F.key==="Enter"&&K(D)},autoFocus:!0})}),s.jsx("div",{className:"flex-1 overflow-y-auto",children:me.length===0?s.jsx("div",{className:"text-center py-4 text-gray-500 text-xs",children:E?"加载中...":"暂无计划"}):me.map(F=>s.jsxs("div",{className:`px-3 py-2 cursor-pointer hover:bg-[#38bdac]/10 text-sm flex items-center justify-between ${i.ckbApiKey===F.apiKey?"bg-[#38bdac]/20 text-[#38bdac]":"text-white"}`,onClick:()=>ue(F),children:[s.jsxs("div",{className:"truncate",children:[s.jsx("span",{className:"font-medium",children:F.name}),s.jsxs("span",{className:"text-xs text-gray-500 ml-2",children:["ID:",String(F.id)]})]}),F.enabled?s.jsx("span",{className:"text-[10px] text-green-400 bg-green-400/10 px-1.5 rounded shrink-0 ml-2",children:"启用"}):s.jsx("span",{className:"text-[10px] text-gray-500 bg-gray-500/10 px-1.5 rounded shrink-0 ml-2",children:"停用"})]},String(F.id)))}),s.jsx("div",{className:"p-2 border-t border-gray-700/60 flex justify-end",children:s.jsx(ne,{type:"button",size:"sm",variant:"ghost",className:"text-gray-400 h-7 text-xs",onClick:()=>P(!1),children:"关闭"})})]}),s.jsx("p",{className:"text-xs text-gray-500",children:"选择计划后自动覆盖下方参数。新建人物时若不选择则自动创建新计划。"})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsxs(te,{className:"text-gray-400 text-xs",children:["选择设备 ",s.jsx("span",{className:"text-red-400",children:"*"})]}),s.jsxs("div",{className:`flex gap-2 rounded-md border ${L.deviceGroups?"border-red-500":"border-gray-700"}`,children:[s.jsx(le,{className:"bg-[#0a1628] border-0 text-white focus-visible:ring-0 focus-visible:ring-offset-0",placeholder:"未选择设备",readOnly:!0,value:i.deviceGroups?`已选择 ${i.deviceGroups.split(",").filter(Boolean).length} 个设备`:"",onClick:()=>f(!0)}),s.jsx(ne,{type:"button",variant:"outline",className:"border-0 border-l border-inherit rounded-r-md text-gray-200",onClick:()=>f(!0),children:"选择"})]}),L.deviceGroups?s.jsx("p",{className:"text-xs text-red-400",children:L.deviceGroups}):s.jsx("p",{className:"text-xs text-gray-500",children:"从存客宝设备列表中选择,至少选择 1 台设备参与获客计划。"})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"好友备注"}),s.jsxs(Sl,{value:i.remarkType,onValueChange:F=>o(I=>({...I,remarkType:F})),children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{placeholder:"选择备注类型"})}),s.jsxs(po,{children:[s.jsx(Dr,{value:"phone",children:"手机号"}),s.jsx(Dr,{value:"nickname",children:"昵称"}),s.jsx(Dr,{value:"source",children:"来源"})]})]})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"备注格式"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如 手机号+SOUL链接人与事-{名称},留空用默认",value:i.remarkFormat,onChange:F=>o(I=>({...I,remarkFormat:F.target.value}))})]})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"打招呼语"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"你好,请通过",value:i.greeting,onChange:F=>o(I=>({...I,greeting:F.target.value}))})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"添加间隔(分钟)"}),s.jsx(le,{type:"number",min:1,className:`bg-[#0a1628] text-white ${L.addFriendInterval?"border-red-500 focus-visible:ring-red-500":"border-gray-700"}`,value:i.addFriendInterval,onChange:F=>{o(I=>({...I,addFriendInterval:Number(F.target.value)||1})),L.addFriendInterval&&$(I=>({...I,addFriendInterval:void 0}))}}),L.addFriendInterval&&s.jsx("p",{className:"text-xs text-red-400",children:L.addFriendInterval})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"允许加人时间段"}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(le,{type:"time",className:"bg-[#0a1628] border-gray-700 text-white w-24",value:i.startTime,onChange:F=>o(I=>({...I,startTime:F.target.value}))}),s.jsx("span",{className:"text-gray-500 text-sm shrink-0",children:"至"}),s.jsx(le,{type:"time",className:"bg-[#0a1628] border-gray-700 text-white w-24",value:i.endTime,onChange:F=>o(I=>({...I,endTime:F.target.value}))})]})]})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"获客成功提示"}),s.jsx(Yl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[72px] resize-none",placeholder:"请注意消息,稍后加你微信",value:i.tips,onChange:F=>o(I=>({...I,tips:F.target.value}))})]})]})]})]})]}),s.jsxs(ln,{className:"gap-3 pt-2",children:[s.jsx(ne,{variant:"outline",onClick:()=>e(!1),className:"border-gray-600 text-gray-300",children:"取消"}),s.jsx(ne,{onClick:R,disabled:c,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:c?"保存中...":a?"保存":"添加"})]}),h&&s.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60",children:s.jsxs("div",{className:"w-full max-w-3xl max-h-[80vh] bg-[#0b1828] border border-gray-700 rounded-xl shadow-xl flex flex-col",children:[s.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-b border-gray-700/60",children:[s.jsxs("div",{children:[s.jsx("h3",{className:"text-sm font-medium text-white",children:"选择设备"}),s.jsx("p",{className:"text-xs text-gray-400 mt-0.5",children:"勾选需要参与本计划的设备,可多选"})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(le,{className:"bg-[#050c18] border-gray-700 text-white h-8 w-52",placeholder:"搜索备注/微信号/IMEI",value:w,onChange:F=>N(F.target.value),onKeyDown:F=>{F.key==="Enter"&&ee(w)}}),s.jsx(ne,{type:"button",size:"sm",variant:"outline",className:"border-gray-600 text-gray-200 h-8",onClick:()=>ee(w),disabled:y,children:"刷新"}),s.jsx(ne,{type:"button",size:"icon",variant:"outline",className:"border-gray-600 text-gray-300 h-8 w-8",onClick:()=>f(!1),children:"✕"})]})]}),s.jsx("div",{className:"flex-1 overflow-y-auto",children:y?s.jsx("div",{className:"flex h-full items-center justify-center text-gray-400 text-sm",children:"正在加载设备列表…"}):m.length===0?s.jsx("div",{className:"flex h-full items-center justify-center text-gray-500 text-sm",children:"暂无设备数据,请检查存客宝账号与开放 API 配置"}):s.jsx("div",{className:"p-4 space-y-2",children:m.map(F=>{const I=String(F.id??""),se=i.deviceGroups?i.deviceGroups.split(",").map(U=>U.trim()).filter(Boolean):[],J=se.includes(I),z=()=>{let U;J?U=se.filter(q=>q!==I):U=[...se,I],o(q=>({...q,deviceGroups:U.join(",")})),U.length>0&&$(q=>({...q,deviceGroups:void 0}))};return s.jsxs("label",{className:"flex items-center gap-3 rounded-lg border border-gray-700/60 bg-[#050c18] px-3 py-2 cursor-pointer hover:border-[#38bdac]/70",children:[s.jsx("input",{type:"checkbox",className:"h-4 w-4 accent-[#38bdac]",checked:J,onChange:z}),s.jsxs("div",{className:"flex flex-col min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"text-sm text-white truncate max-w-xs",children:F.memo||F.wechatId||`设备 ${I}`}),F.status==="online"&&s.jsx("span",{className:"rounded-full bg-emerald-500/20 text-emerald-400 text-[11px] px-2 py-0.5",children:"在线"}),F.status==="offline"&&s.jsx("span",{className:"rounded-full bg-gray-600/20 text-gray-400 text-[11px] px-2 py-0.5",children:"离线"})]}),s.jsxs("div",{className:"text-[11px] text-gray-400 mt-0.5",children:[s.jsxs("span",{className:"mr-3",children:["ID: ",I]}),F.wechatId&&s.jsxs("span",{className:"mr-3",children:["微信号: ",F.wechatId]}),typeof F.totalFriend=="number"&&s.jsxs("span",{children:["好友数: ",F.totalFriend]})]})]})]},I)})})}),s.jsxs("div",{className:"flex justify-between items-center px-5 py-3 border-t border-gray-700/60",children:[s.jsxs("span",{className:"text-xs text-gray-400",children:["已选择"," ",i.deviceGroups?i.deviceGroups.split(",").filter(Boolean).length:0," ","台设备"]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(ne,{type:"button",variant:"outline",className:"border-gray-600 text-gray-200 h-8 px-4",onClick:()=>f(!1),children:"取消"}),s.jsx(ne,{type:"button",className:"bg-[#38bdac] hover:bg-[#2da396] text-white h-8 px-4",onClick:()=>f(!1),children:"确定"})]})]})]})})]})})}function vw(t,e,n){if(!t||!t.includes("@")&&!t.includes("@")&&!t.includes("#")||typeof document>"u")return t;const r=document.createElement("div");r.innerHTML=t;const a=h=>h.trim().toLowerCase(),i=new Map;for(const h of e){const f=[h.name,...h.aliases?h.aliases.split(","):[]].map(m=>a(m)).filter(Boolean);for(const m of f)i.has(m)||i.set(m,h)}const o=new Map;for(const h of n){const f=[h.label,...h.aliases?h.aliases.split(","):[]].map(m=>a(m)).filter(Boolean);for(const m of f)o.has(m)||o.set(m,h)}const c=h=>{const f=h.textContent||"";if(!f||!f.includes("@")&&!f.includes("@")&&!f.includes("#"))return;const m=h.parentNode;if(!m)return;const g=document.createDocumentFragment(),y=/([@@][^\s@#@#]+|#[^\s@#@#]+)/g;let v=0,w;for(;w=y.exec(f);){const[N]=w,k=w.index;if(k>v&&g.appendChild(document.createTextNode(f.slice(v,k))),N.startsWith("@")||N.startsWith("@")){const C=i.get(a(N.slice(1)));if(C){const E=document.createElement("span");E.setAttribute("data-type","mention"),E.setAttribute("data-id",C.id),E.setAttribute("data-label",C.name),E.className="mention-tag",E.textContent=`@${C.name}`,g.appendChild(E)}else g.appendChild(document.createTextNode(N))}else if(N.startsWith("#")){const C=o.get(a(N.slice(1)));if(C){const E=document.createElement("span");E.setAttribute("data-type","linkTag"),E.setAttribute("data-url",C.url||""),E.setAttribute("data-tag-type",C.type||"url"),E.setAttribute("data-tag-id",C.id||""),E.setAttribute("data-page-path",C.pagePath||""),E.setAttribute("data-app-id",C.appId||""),C.type==="miniprogram"&&C.appId&&E.setAttribute("data-mp-key",C.appId),E.className="link-tag-node",E.textContent=`#${C.label}`,g.appendChild(E)}else g.appendChild(document.createTextNode(N))}else g.appendChild(document.createTextNode(N));v=k+N.length}v{if(h.nodeType===Node.ELEMENT_NODE){const m=h.getAttribute("data-type");if(m==="mention"||m==="linkTag")return;h.childNodes.forEach(g=>u(g));return}h.nodeType===Node.TEXT_NODE&&c(h)};return r.childNodes.forEach(h=>u(h)),r.innerHTML}function fV(t){const e=new Map;for(const c of t){const u=c.partId||"part-1",h=c.partTitle||"未分类",f=c.chapterId||"chapter-1",m=c.chapterTitle||"未分类";e.has(u)||e.set(u,{id:u,title:h,chapters:new Map});const g=e.get(u);g.chapters.has(f)||g.chapters.set(f,{id:f,title:m,sections:[]}),g.chapters.get(f).sections.push({id:c.id,title:c.title,price:c.price??1,filePath:c.filePath,isFree:c.isFree,isNew:c.isNew,clickCount:c.clickCount??0,payCount:c.payCount??0,hotScore:c.hotScore??0,hotRank:c.hotRank??0})}const n="part-2026-daily",r="2026每日派对干货";Array.from(e.values()).some(c=>c.title===r||c.title.includes(r))||e.set(n,{id:n,title:r,chapters:new Map([["chapter-2026-daily",{id:"chapter-2026-daily",title:r,sections:[]}]])});const i=Array.from(e.values()).map(c=>({...c,chapters:Array.from(c.chapters.values())})),o=c=>c.includes("序言")?0:c.includes(r)?1.5:c.includes("附录")?2:c.includes("尾声")?3:1;return i.sort((c,u)=>{const h=o(c.title),f=o(u.title);return h!==f?h-f:0})}function pV(){var cs,ds,us;const[t,e]=b.useState([]),[n,r]=b.useState(!0),[a,i]=b.useState([]),[o,c]=b.useState(null),[u,h]=b.useState(!1),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,w]=b.useState(""),[N,k]=b.useState([]),[C,E]=b.useState(!1),[A,D]=b.useState({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),[H,_]=b.useState(null),[P,L]=b.useState(!1),[$,ee]=b.useState(!1),[K,ue]=b.useState(null),[me,R]=b.useState(!1),[O,F]=b.useState([]),[I,se]=b.useState(!1),[J,z]=b.useState(""),[U,q]=b.useState(""),[B,ce]=b.useState(!1),[Y,X]=b.useState(""),[ae,ye]=b.useState(!1),[Me,Be]=b.useState(null),[He,gt]=b.useState(!1),[Dt,jn]=b.useState(!1),[it,Mt]=b.useState({readWeight:50,recencyWeight:30,payWeight:20}),[re,Pe]=b.useState(!1),[et,xt]=b.useState(!1),[ft,pt]=b.useState(1),[wt,Qt]=b.useState([]),[Lt,An]=b.useState(!1),[At,Kn]=b.useState([]),[ns,or]=b.useState(!1),[ge,Ne]=b.useState(20),[qn,Es]=b.useState(!1),[Ts,Pa]=b.useState(!1),[br,Vi]=b.useState([]),[vr,lr]=b.useState([]),[Ms,Oa]=b.useState(!1),[Hi,Xs]=b.useState(null),[vt,Gn]=b.useState({tagId:"",label:"",aliases:"",url:"",type:"url",appId:"",pagePath:""}),[Da,As]=b.useState(null),Nr=b.useRef(null),[Wi,Zs]=b.useState({}),[nc,Jn]=b.useState(!1),[ea,rs]=b.useState(""),[Ar,La]=b.useState(""),[ta,Ui]=b.useState([]),[cr,Ki]=b.useState(0),[ss,rc]=b.useState(1),[Vo,qi]=b.useState(!1),un=fV(t),as=t.length,Is=10,_a=Math.max(1,Math.ceil(wt.length/Is)),It=wt.slice((ft-1)*Is,ft*Is),zn=async()=>{r(!0);try{const T=await De("/api/db/book?action=list",{cache:"no-store"});e(Array.isArray(T==null?void 0:T.sections)?T.sections:[])}catch(T){console.error(T),e([])}finally{r(!1)}},Vr=async()=>{An(!0);try{const T=await De("/api/db/book?action=ranking",{cache:"no-store"}),G=Array.isArray(T==null?void 0:T.sections)?T.sections:[];Qt(G);const he=G.filter(fe=>fe.isPinned).map(fe=>fe.id);Kn(he)}catch(T){console.error(T),Qt([])}finally{An(!1)}};b.useEffect(()=>{zn(),Vr()},[]);const Ho=T=>{i(G=>G.includes(T)?G.filter(he=>he!==T):[...G,T])},za=b.useCallback(T=>{const G=t,he=T.flatMap(fe=>{const nt=G.find(yt=>yt.id===fe.id);return nt?[{...nt,partId:fe.partId,partTitle:fe.partTitle,chapterId:fe.chapterId,chapterTitle:fe.chapterTitle}]:[]});return e(he),Tt("/api/db/book",{action:"reorder",items:T}).then(fe=>{fe&&fe.success===!1&&(e(G),oe.error("排序失败: "+(fe&&typeof fe=="object"&&"error"in fe?fe.error:"未知错误")))}).catch(fe=>{e(G),console.error("排序失败:",fe),oe.error("排序失败: "+(fe instanceof Error?fe.message:"网络或服务异常"))}),Promise.resolve()},[t]),sc=async T=>{if(confirm(`确定要删除章节「${T.title}」吗?此操作不可恢复。`))try{const G=await wa(`/api/db/book?id=${encodeURIComponent(T.id)}`);G&&G.success!==!1?(oe.success("已删除"),zn(),Vr()):oe.error("删除失败: "+(G&&typeof G=="object"&&"error"in G?G.error:"未知错误"))}catch(G){console.error(G),oe.error("删除失败")}},Gi=b.useCallback(async()=>{Pe(!0);try{const T=await De("/api/db/config/full?key=article_ranking_weights",{cache:"no-store"}),G=T&&T.data;G&&typeof G.readWeight=="number"&&typeof G.recencyWeight=="number"&&typeof G.payWeight=="number"&&Mt({readWeight:Math.round(G.readWeight*100),recencyWeight:Math.round(G.recencyWeight*100),payWeight:Math.round(G.payWeight*100)})}catch{}finally{Pe(!1)}},[]);b.useEffect(()=>{Dt&&Gi()},[Dt,Gi]);const $a=async()=>{const{readWeight:T,recencyWeight:G,payWeight:he}=it,fe=T+G+he;if(Math.abs(fe-100)>1){oe.error("三个权重之和必须等于 100%");return}xt(!0);try{const nt=await Nt("/api/db/config",{key:"article_ranking_weights",value:{readWeight:T/100,recencyWeight:G/100,payWeight:he/100},description:"文章排名算法权重"});nt&&nt.success!==!1?(oe.success("排名权重已保存,排行榜已刷新"),zn(),Vr()):oe.error("保存失败: "+(nt&&typeof nt=="object"&&"error"in nt?nt.error:""))}catch(nt){console.error(nt),oe.error("保存失败")}finally{xt(!1)}},dr=b.useCallback(async()=>{or(!0);try{const T=await De("/api/db/config/full?key=pinned_section_ids",{cache:"no-store"}),G=T&&T.data;Array.isArray(G)&&Kn(G)}catch{}finally{or(!1)}},[]),is=b.useCallback(async()=>{try{const T=await De("/api/db/persons");T!=null&&T.success&&T.persons&&Vi(T.persons.map(G=>{const he=G.deviceGroups,fe=Array.isArray(he)?he.join(","):he??"";return{id:G.token??G.personId??"",personId:G.personId,name:G.name,aliases:G.aliases??"",label:G.label??"",ckbApiKey:G.ckbApiKey??"",ckbPlanId:G.ckbPlanId,remarkType:G.remarkType,remarkFormat:G.remarkFormat,addFriendInterval:G.addFriendInterval,startTime:G.startTime,endTime:G.endTime,deviceGroups:fe}}))}catch{}},[]),$n=b.useCallback(async T=>{const G=T==null?void 0:T.trim();if(!G)return null;try{const he=await Nt("/api/db/persons",{name:G});if(!(he!=null&&he.success)||!he.person)return null;const fe=he.person;return is(),{id:fe.token??fe.personId??"",personId:fe.personId,name:fe.name??G,label:fe.label??""}}catch{return oe.error("创建人物失败"),null}},[is]),Wo=b.useCallback(async()=>{try{const T=await De("/api/db/ckb-person-leads");if(T!=null&&T.success&&T.byPerson){const G={};for(const he of T.byPerson)G[he.token]=he.total;Zs(G)}}catch{}},[]),Fa=b.useCallback(async(T,G,he=1)=>{rs(T),La(G),Jn(!0),rc(he),qi(!0);try{const fe=await De(`/api/db/ckb-person-leads?token=${encodeURIComponent(T)}&page=${he}&pageSize=20`);fe!=null&&fe.success&&(Ui(fe.records||[]),Ki(fe.total||0),fe.personName&&La(fe.personName))}catch{}finally{qi(!1)}},[]),na=b.useCallback(async()=>{try{const T=await De("/api/db/link-tags");T!=null&&T.success&&T.linkTags&&lr(T.linkTags.map(G=>({id:G.tagId,label:G.label,aliases:G.aliases??"",url:G.url,type:G.type||"url",appId:G.appId||"",pagePath:G.pagePath||""})))}catch{}},[]),Rs=async T=>{const G=At.includes(T)?At.filter(he=>he!==T):[...At,T];Kn(G);try{await Nt("/api/db/config",{key:"pinned_section_ids",value:G,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"}),Vr()}catch{Kn(At)}},Ps=b.useCallback(async()=>{Es(!0);try{const T=await De("/api/db/config/full?key=unpaid_preview_percent",{cache:"no-store"}),G=T&&T.data;typeof G=="number"&&G>0&&G<=100&&Ne(G)}catch{}finally{Es(!1)}},[]),Os=async()=>{if(ge<1||ge>100){oe.error("预览比例需在 1~100 之间");return}Pa(!0);try{const T=await Nt("/api/db/config",{key:"unpaid_preview_percent",value:ge,description:"小程序未付费内容默认预览比例(%)"});T&&T.success!==!1?oe.success("预览比例已保存"):oe.error("保存失败: "+(T.error||""))}catch{oe.error("保存失败")}finally{Pa(!1)}};b.useEffect(()=>{dr(),Ps(),is(),na(),Wo()},[dr,Ps,is,na,Wo]);const Ds=async T=>{Be({section:T,orders:[]}),gt(!0);try{const G=await De(`/api/db/book?action=section-orders&id=${encodeURIComponent(T.id)}`),he=G!=null&&G.success&&Array.isArray(G.orders)?G.orders:[];Be(fe=>fe?{...fe,orders:he}:null)}catch(G){console.error(G),Be(he=>he?{...he,orders:[]}:null)}finally{gt(!1)}},V=async T=>{m(!0);try{const G=await De(`/api/db/book?action=read&id=${encodeURIComponent(T.id)}`);if(G!=null&&G.success&&G.section){const he=G.section,fe=he.editionPremium===!0;c({id:T.id,originalId:T.id,title:G.section.title??T.title,price:G.section.price??T.price,content:G.section.content??"",filePath:T.filePath,isFree:T.isFree||T.price===0,isNew:he.isNew??T.isNew,isPinned:At.includes(T.id),hotScore:T.hotScore??0,editionStandard:fe?!1:he.editionStandard??!0,editionPremium:fe,previewPercent:he.previewPercent??null})}else c({id:T.id,originalId:T.id,title:T.title,price:T.price,content:"",filePath:T.filePath,isFree:T.isFree,isNew:T.isNew,isPinned:At.includes(T.id),hotScore:T.hotScore??0,editionStandard:!0,editionPremium:!1,previewPercent:null}),G&&!G.success&&oe.error("无法读取文件内容: "+(G.error||"未知错误"))}catch(G){console.error(G),c({id:T.id,title:T.title,price:T.price,content:"",filePath:T.filePath,isFree:T.isFree})}finally{m(!1)}},Ae=async()=>{var T;if(o){y(!0);try{let G=o.content||"";G=vw(G,br,vr);const he=[new RegExp(`^#+\\s*${o.id.replace(".","\\.")}\\s+.*$`,"gm"),new RegExp(`^#+\\s*${o.id.replace(".","\\.")}[::].*$`,"gm"),new RegExp(`^#\\s+.*${(T=o.title)==null?void 0:T.slice(0,10).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}.*$`,"gm")];for(const Ls of he)G=G.replace(Ls,"");G=G.replace(/^\s*\n+/,"").trim();const fe=o.originalId||o.id,nt=o.id!==fe,yt=o.previewPercent,In=yt!=null&&yt!==0&&Number(yt)>=1&&Number(yt)<=100,hn=await Tt("/api/db/book",{id:fe,...nt?{newId:o.id}:{},title:o.title,price:o.isFree?0:o.price,content:G,isFree:o.isFree||o.price===0,isNew:o.isNew,hotScore:o.hotScore,editionStandard:o.editionPremium?!1:o.editionStandard??!0,editionPremium:o.editionPremium??!1,...In?{previewPercent:Number(yt)}:{clearPreviewPercent:!0},saveToFile:!0}),sa=nt?o.id:fe;o.isPinned!==At.includes(sa)&&await Rs(sa),hn&&hn.success!==!1?(oe.success(`已保存:${o.title}`),c(null),zn()):oe.error("保存失败: "+(hn&&typeof hn=="object"&&"error"in hn?hn.error:"未知错误"))}catch(G){console.error(G),oe.error("保存失败")}finally{y(!1)}}},Ye=async()=>{if(!A.id||!A.title){oe.error("请填写章节ID和标题");return}y(!0);try{const T=un.find(fe=>fe.id===A.partId),G=T==null?void 0:T.chapters.find(fe=>fe.id===A.chapterId),he=await Tt("/api/db/book",{id:A.id,title:A.title,price:A.isFree?0:A.price,content:vw(A.content||"",br,vr),partId:A.partId,partTitle:(T==null?void 0:T.title)??"",chapterId:A.chapterId,chapterTitle:(G==null?void 0:G.title)??"",isFree:A.isFree,isNew:A.isNew,editionStandard:A.editionPremium?!1:A.editionStandard??!0,editionPremium:A.editionPremium??!1,hotScore:A.hotScore??0,saveToFile:!1});if(he&&he.success!==!1){if(A.isPinned){const fe=[...At,A.id];Kn(fe);try{await Nt("/api/db/config",{key:"pinned_section_ids",value:fe,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"})}catch{}}oe.success(`章节创建成功:${A.title}`),h(!1),D({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),zn()}else oe.error("创建失败: "+(he&&typeof he=="object"&&"error"in he?he.error:"未知错误"))}catch(T){console.error(T),oe.error("创建失败")}finally{y(!1)}},ct=T=>{D(G=>{var he;return{...G,partId:T.id,chapterId:((he=T.chapters[0])==null?void 0:he.id)??"chapter-1"}}),h(!0)},xn=T=>{_({id:T.id,title:T.title})},kn=async()=>{var T;if((T=H==null?void 0:H.title)!=null&&T.trim()){L(!0);try{const G=t.map(fe=>({id:fe.id,partId:fe.partId||"part-1",partTitle:fe.partId===H.id?H.title.trim():fe.partTitle||"",chapterId:fe.chapterId||"chapter-1",chapterTitle:fe.chapterTitle||""})),he=await Tt("/api/db/book",{action:"reorder",items:G});if(he&&he.success!==!1){const fe=H.title.trim();e(nt=>nt.map(yt=>yt.partId===H.id?{...yt,partTitle:fe}:yt)),_(null),zn()}else oe.error("更新篇名失败: "+(he&&typeof he=="object"&&"error"in he?he.error:"未知错误"))}catch(G){console.error(G),oe.error("更新篇名失败")}finally{L(!1)}}},Uo=T=>{const G=T.chapters.length+1,he=`chapter-${T.id}-${G}-${Date.now()}`;D({id:`${G}.1`,title:"新章节",price:1,partId:T.id,chapterId:he,content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),h(!0)},Xt=(T,G)=>{ue({part:T,chapter:G,title:G.title})},st=async()=>{var T;if((T=K==null?void 0:K.title)!=null&&T.trim()){R(!0);try{const G=t.map(fe=>({id:fe.id,partId:fe.partId||K.part.id,partTitle:fe.partId===K.part.id?K.part.title:fe.partTitle||"",chapterId:fe.chapterId||K.chapter.id,chapterTitle:fe.partId===K.part.id&&fe.chapterId===K.chapter.id?K.title.trim():fe.chapterTitle||""})),he=await Tt("/api/db/book",{action:"reorder",items:G});if(he&&he.success!==!1){const fe=K.title.trim(),nt=K.part.id,yt=K.chapter.id;e(In=>In.map(hn=>hn.partId===nt&&hn.chapterId===yt?{...hn,chapterTitle:fe}:hn)),ue(null),zn()}else oe.error("保存失败: "+(he&&typeof he=="object"&&"error"in he?he.error:"未知错误"))}catch(G){console.error(G),oe.error("保存失败")}finally{R(!1)}}},Ba=async(T,G)=>{const he=G.sections.map(fe=>fe.id);if(he.length===0){oe.info("该章下无小节,无需删除");return}if(confirm(`确定要删除「第${T.chapters.indexOf(G)+1}章 | ${G.title}」吗?将删除共 ${he.length} 节,此操作不可恢复。`))try{for(const fe of he)await wa(`/api/db/book?id=${encodeURIComponent(fe)}`);zn()}catch(fe){console.error(fe),oe.error("删除失败")}},Va=async()=>{if(!Y.trim()){oe.error("请输入篇名");return}ye(!0);try{const T=`part-new-${Date.now()}`,G="chapter-1",he=`part-placeholder-${Date.now()}`,fe=await Tt("/api/db/book",{id:he,title:"占位节(可编辑)",price:0,content:"",partId:T,partTitle:Y.trim(),chapterId:G,chapterTitle:"第1章 | 待编辑",saveToFile:!1});fe&&fe.success!==!1?(oe.success(`篇「${Y}」创建成功`),ee(!1),X(""),zn()):oe.error("创建失败: "+(fe&&typeof fe=="object"&&"error"in fe?fe.error:"未知错误"))}catch(T){console.error(T),oe.error("创建失败")}finally{ye(!1)}},ls=async()=>{if(O.length===0){oe.error("请先勾选要移动的章节");return}const T=un.find(he=>he.id===J),G=T==null?void 0:T.chapters.find(he=>he.id===U);if(!T||!G||!J||!U){oe.error("请选择目标篇和章");return}ce(!0);try{const he=()=>{const In=new Set(O),hn=t.map(rn=>({id:rn.id,partId:rn.partId||"",partTitle:rn.partTitle||"",chapterId:rn.chapterId||"",chapterTitle:rn.chapterTitle||""})),sa=hn.filter(rn=>In.has(rn.id)).map(rn=>({...rn,partId:J,partTitle:T.title||J,chapterId:U,chapterTitle:G.title||U})),Ls=hn.filter(rn=>!In.has(rn.id));let ac=Ls.length;for(let rn=Ls.length-1;rn>=0;rn-=1){const Ha=Ls[rn];if(Ha.partId===J&&Ha.chapterId===U){ac=rn+1;break}}return[...Ls.slice(0,ac),...sa,...Ls.slice(ac)]},fe=async()=>{const In=he(),hn=await Tt("/api/db/book",{action:"reorder",items:In});return hn&&hn.success!==!1?(oe.success(`已移动 ${O.length} 节到「${T.title}」-「${G.title}」`),se(!1),F([]),await zn(),!0):!1},nt={action:"move-sections",sectionIds:O,targetPartId:J,targetChapterId:U,targetPartTitle:T.title||J,targetChapterTitle:G.title||U},yt=await Tt("/api/db/book",nt);if(yt&&yt.success!==!1)oe.success(`已移动 ${yt.count??O.length} 节到「${T.title}」-「${G.title}」`),se(!1),F([]),await zn();else{const In=yt&&typeof yt=="object"&&"error"in yt?yt.error||"":"未知错误";if((In.includes("缺少 id")||In.includes("无效的 action"))&&await fe())return;oe.error("移动失败: "+In)}}catch(he){console.error(he),oe.error("移动失败: "+(he instanceof Error?he.message:"网络或服务异常"))}finally{ce(!1)}},Ko=T=>{F(G=>G.includes(T)?G.filter(he=>he!==T):[...G,T])},qo=async T=>{const G=t.filter(he=>he.partId===T.id).map(he=>he.id);if(G.length===0){oe.info("该篇下暂无小节可删除");return}if(confirm(`确定要删除「${T.title}」整篇吗?将删除共 ${G.length} 节内容,此操作不可恢复。`))try{for(const he of G)await wa(`/api/db/book?id=${encodeURIComponent(he)}`);zn()}catch(he){console.error(he),oe.error("删除失败")}},ra=async()=>{var T;if(v.trim()){E(!0);try{const G=await De(`/api/search?q=${encodeURIComponent(v)}`);G!=null&&G.success&&((T=G.data)!=null&&T.results)?k(G.data.results):(k([]),G&&!G.success&&oe.error("搜索失败: "+G.error))}catch(G){console.error(G),k([]),oe.error("搜索失败")}finally{E(!1)}}},Ji=un.find(T=>T.id===A.partId),Yi=(Ji==null?void 0:Ji.chapters)??[];return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"内容管理"}),s.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",un.length," 篇 · ",as," 节内容"]})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsxs(ne,{onClick:()=>jn(!0),variant:"outline",className:"border-amber-500/50 text-amber-400 hover:bg-amber-500/10 bg-transparent",children:[s.jsx(Iu,{className:"w-4 h-4 mr-2"}),"排名算法"]}),s.jsxs(ne,{onClick:()=>{const T=typeof window<"u"?`${window.location.origin}/api-doc`:"";T&&window.open(T,"_blank","noopener,noreferrer")},variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ns,{className:"w-4 h-4 mr-2"}),"API 接口"]})]})]}),s.jsx(Ft,{open:u,onOpenChange:h,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[s.jsx(Bt,{className:"shrink-0 px-6 pt-6 pb-2",children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(pn,{className:"w-5 h-5 text-[#38bdac]"}),"新建章节"]})}),s.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节ID *"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 9.15",value:A.id,onChange:T=>D({...A,id:T.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:A.isFree?0:A.price,onChange:T=>D({...A,price:Number(T.target.value),isFree:Number(T.target.value)===0}),disabled:A.isFree})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"免费"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:A.isFree,onChange:T=>D({...A,isFree:T.target.checked,price:T.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"最新新增"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:A.isNew,onChange:T=>D({...A,isNew:T.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"小程序直推"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:A.isPinned,onChange:T=>D({...A,isPinned:T.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"文章类型"}),s.jsxs("div",{className:"flex items-center gap-4 h-10",children:[s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"radio",name:"new-edition-type",checked:A.editionPremium!==!0,onChange:()=>D({...A,editionStandard:!0,editionPremium:!1}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"普通版"})]}),s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"radio",name:"new-edition-type",checked:A.editionPremium===!0,onChange:()=>D({...A,editionStandard:!1,editionPremium:!0}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"增值版"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"热度分"}),s.jsx(le,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:A.hotScore??0,onChange:T=>D({...A,hotScore:Math.max(0,parseFloat(T.target.value)||0)})})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节标题 *"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入章节标题",value:A.title,onChange:T=>D({...A,title:T.target.value})})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"所属篇"}),s.jsxs(Sl,{value:A.partId,onValueChange:T=>{var he;const G=un.find(fe=>fe.id===T);D({...A,partId:T,chapterId:((he=G==null?void 0:G.chapters[0])==null?void 0:he.id)??"chapter-1"})},children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{})}),s.jsxs(po,{className:"bg-[#0f2137] border-gray-700",children:[un.map(T=>s.jsx(Dr,{value:T.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:T.title},T.id)),un.length===0&&s.jsx(Dr,{value:"part-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认篇"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"所属章"}),s.jsxs(Sl,{value:A.chapterId,onValueChange:T=>D({...A,chapterId:T}),children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{})}),s.jsxs(po,{className:"bg-[#0f2137] border-gray-700",children:[Yi.map(T=>s.jsx(Dr,{value:T.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:T.title},T.id)),Yi.length===0&&s.jsx(Dr,{value:"chapter-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认章"})]})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @链接AI人物 和 #链接标签)"}),s.jsx(Ax,{content:A.content||"",onChange:T=>D({...A,content:T}),onImageUpload:async T=>{var nt;const G=new FormData;G.append("file",T),G.append("folder","book-images");const fe=await(await fetch(ja("/api/upload"),{method:"POST",body:G,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((nt=fe==null?void 0:fe.data)==null?void 0:nt.url)||(fe==null?void 0:fe.url)||""},onVideoUpload:async T=>{var nt;const G=new FormData;G.append("file",T),G.append("folder","book-videos");const fe=await(await fetch(ja("/api/upload/video"),{method:"POST",body:G,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((nt=fe==null?void 0:fe.data)==null?void 0:nt.url)||(fe==null?void 0:fe.url)||""},persons:br,linkTags:vr,onPersonCreate:$n,placeholder:"开始编辑内容... 输入 @ 可链接AI人物,工具栏可插入 #链接标签"})]})]}),s.jsxs(ln,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[s.jsx(ne,{variant:"outline",onClick:()=>h(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:Ye,disabled:g||!A.id||!A.title,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"创建章节"]})})]})]})}),s.jsx(Ft,{open:!!H,onOpenChange:T=>!T&&_(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}),"编辑篇名"]})}),H&&s.jsx("div",{className:"space-y-4 py-4",children:s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"篇名"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:H.title,onChange:T=>_({...H,title:T.target.value}),placeholder:"输入篇名"})]})}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>_(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:kn,disabled:P||!((cs=H==null?void 0:H.title)!=null&&cs.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:P?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),s.jsx(Ft,{open:!!K,onOpenChange:T=>!T&&ue(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节名称"]})}),K&&s.jsx("div",{className:"space-y-4 py-4",children:s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节名称(如:第8章|底层结构)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:K.title,onChange:T=>ue({...K,title:T.target.value}),placeholder:"输入章节名称"})]})}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>ue(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:st,disabled:me||!((ds=K==null?void 0:K.title)!=null&&ds.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:me?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),s.jsx(Ft,{open:I,onOpenChange:T=>{var G;if(se(T),T&&un.length>0){const he=un[0];z(he.id),q(((G=he.chapters[0])==null?void 0:G.id)??"")}},children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"批量移动至指定目录"})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("p",{className:"text-gray-400 text-sm",children:["已选 ",s.jsx("span",{className:"text-[#38bdac] font-medium",children:O.length})," 节,请选择目标篇与章。"]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"目标篇"}),s.jsxs(Sl,{value:J,onValueChange:T=>{var he;z(T);const G=un.find(fe=>fe.id===T);q(((he=G==null?void 0:G.chapters[0])==null?void 0:he.id)??"")},children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{placeholder:"选择篇"})}),s.jsx(po,{className:"bg-[#0f2137] border-gray-700",children:un.map(T=>s.jsx(Dr,{value:T.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:T.title},T.id))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"目标章"}),s.jsxs(Sl,{value:U,onValueChange:q,children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{placeholder:"选择章"})}),s.jsx(po,{className:"bg-[#0f2137] border-gray-700",children:(((us=un.find(T=>T.id===J))==null?void 0:us.chapters)??[]).map(T=>s.jsx(Dr,{value:T.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:T.title},T.id))})]})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>se(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:ls,disabled:B||O.length===0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:B?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"移动中..."]}):"确认移动"})]})]})}),s.jsx(Ft,{open:!!Me,onOpenChange:T=>!T&&Be(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-3xl max-h-[85vh] overflow-hidden flex flex-col",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white",children:["付款记录 — ",(Me==null?void 0:Me.section.title)??""]})}),s.jsx("div",{className:"flex-1 overflow-y-auto py-2",children:He?s.jsxs("div",{className:"flex items-center justify-center py-8",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):Me&&Me.orders.length===0?s.jsx("p",{className:"text-gray-500 text-center py-6",children:"暂无付款记录"}):Me?s.jsxs("table",{className:"w-full text-sm border-collapse",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[s.jsx("th",{className:"py-2 pr-2",children:"订单号"}),s.jsx("th",{className:"py-2 pr-2",children:"用户ID"}),s.jsx("th",{className:"py-2 pr-2",children:"金额"}),s.jsx("th",{className:"py-2 pr-2",children:"状态"}),s.jsx("th",{className:"py-2 pr-2",children:"支付时间"})]})}),s.jsx("tbody",{children:Me.orders.map(T=>s.jsxs("tr",{className:"border-b border-gray-700/50",children:[s.jsx("td",{className:"py-2 pr-2",children:s.jsx("button",{className:"text-blue-400 hover:text-blue-300 hover:underline text-left truncate max-w-[180px] block",title:`查看订单 ${T.orderSn}`,onClick:()=>window.open(`/orders?search=${T.orderSn??T.id??""}`,"_blank"),children:T.orderSn?T.orderSn.length>16?T.orderSn.slice(0,8)+"..."+T.orderSn.slice(-6):T.orderSn:"-"})}),s.jsx("td",{className:"py-2 pr-2",children:s.jsx("button",{className:"text-[#38bdac] hover:text-[#2da396] hover:underline text-left truncate max-w-[140px] block",title:`查看用户 ${T.userId??T.openId??""}`,onClick:()=>window.open(`/users?search=${T.userId??T.openId??""}`,"_blank"),children:(()=>{const G=T.userId??T.openId??"-";return G.length>12?G.slice(0,6)+"..."+G.slice(-4):G})()})}),s.jsxs("td",{className:"py-2 pr-2 text-gray-300",children:["¥",T.amount??0]}),s.jsx("td",{className:"py-2 pr-2 text-gray-300",children:T.status??"-"}),s.jsx("td",{className:"py-2 pr-2 text-gray-500",children:T.payTime??T.createdAt??"-"})]},T.id??T.orderSn??""))})]}):null})]})}),s.jsx(Ft,{open:Dt,onOpenChange:jn,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Iu,{className:"w-5 h-5 text-amber-400"}),"文章排名算法"]})}),s.jsxs("div",{className:"space-y-4 py-2",children:[s.jsx("p",{className:"text-sm text-gray-400",children:"排名积分制:三个维度各取前20名(第1名=20分,第20名=1分),乘以权重后求和(三权重之和须为 100%)"}),re?s.jsx("p",{className:"text-gray-500",children:"加载中..."}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"阅读权重 (%)"}),s.jsx(le,{type:"number",step:"5",min:"0",max:"100",className:"bg-[#0a1628] border-gray-700 text-white",value:it.readWeight,onChange:T=>Mt(G=>({...G,readWeight:Math.max(0,Math.min(100,parseInt(T.target.value)||0))}))})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"新度权重 (%)"}),s.jsx(le,{type:"number",step:"5",min:"0",max:"100",className:"bg-[#0a1628] border-gray-700 text-white",value:it.recencyWeight,onChange:T=>Mt(G=>({...G,recencyWeight:Math.max(0,Math.min(100,parseInt(T.target.value)||0))}))})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"付款权重 (%)"}),s.jsx(le,{type:"number",step:"5",min:"0",max:"100",className:"bg-[#0a1628] border-gray-700 text-white",value:it.payWeight,onChange:T=>Mt(G=>({...G,payWeight:Math.max(0,Math.min(100,parseInt(T.target.value)||0))}))})]})]}),s.jsxs("p",{className:`text-xs ${Math.abs(it.readWeight+it.recencyWeight+it.payWeight-100)>1?"text-red-400":"text-green-400"}`,children:["当前之和: ",it.readWeight+it.recencyWeight+it.payWeight,"%",Math.abs(it.readWeight+it.recencyWeight+it.payWeight-100)>1?"(须为 100%)":" ✓"]}),s.jsxs("ul",{className:"list-disc list-inside space-y-1 text-xs text-gray-400",children:[s.jsx("li",{children:"阅读量排名前20:第1名=20分 → 第20名=1分,其余0分"}),s.jsx("li",{children:"新度排名前20(按最近更新):同理20→1分"}),s.jsx("li",{children:"付款量排名前20:同理20→1分"}),s.jsx("li",{children:"热度 = 阅读排名分 × 阅读权重% + 新度排名分 × 新度权重% + 付款排名分 × 付款权重%"})]}),s.jsx(ne,{onClick:$a,disabled:et||Math.abs(it.readWeight+it.recencyWeight+it.payWeight-100)>1,className:"w-full bg-amber-500 hover:bg-amber-600 text-white",children:et?"保存中...":"保存权重"})]})]})]})}),s.jsx(Ft,{open:$,onOpenChange:ee,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(pn,{className:"w-5 h-5 text-amber-400"}),"新建篇"]})}),s.jsx("div",{className:"space-y-4 py-4",children:s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"篇名(如:第六篇|真实的社会)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:Y,onChange:T=>X(T.target.value),placeholder:"输入篇名"})]})}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>{ee(!1),X("")},className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:Va,disabled:ae||!Y.trim(),className:"bg-amber-500 hover:bg-amber-600 text-white",children:ae?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"创建篇"]})})]})]})}),s.jsx(Ft,{open:!!o,onOpenChange:()=>c(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[s.jsx(Bt,{className:"shrink-0 px-6 pt-6 pb-2",children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节"]})}),o&&s.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节ID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.id,onChange:T=>c({...o,id:T.target.value}),placeholder:"如: 9.15"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:o.isFree?0:o.price,onChange:T=>c({...o,price:Number(T.target.value),isFree:Number(T.target.value)===0}),disabled:o.isFree})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"免费"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:o.isFree||o.price===0,onChange:T=>c({...o,isFree:T.target.checked,price:T.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"最新新增"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:o.isNew??!1,onChange:T=>c({...o,isNew:T.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"小程序直推"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:o.isPinned??!1,onChange:T=>c({...o,isPinned:T.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"文章类型"}),s.jsxs("div",{className:"flex items-center gap-4 h-10",children:[s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"radio",name:"edition-type",checked:o.editionPremium!==!0,onChange:()=>c({...o,editionStandard:!0,editionPremium:!1}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"普通版"})]}),s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"radio",name:"edition-type",checked:o.editionPremium===!0,onChange:()=>c({...o,editionStandard:!1,editionPremium:!0}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"增值版"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"热度分"}),s.jsx(le,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:o.hotScore??0,onChange:T=>c({...o,hotScore:Math.max(0,parseFloat(T.target.value)||0)})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"预览比例 (%)"}),s.jsx(le,{type:"number",min:"1",max:"100",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"默认使用全局设置",value:o.previewPercent!=null&&o.previewPercent>=1&&o.previewPercent<=100?String(o.previewPercent):"",onChange:T=>{const G=T.target.value.trim(),he=G===""?null:parseInt(G,10);c({...o,previewPercent:G!==""&&he!==null&&!isNaN(he)&&he>=1&&he<=100?he:null})}}),s.jsx("span",{className:"text-xs text-gray-500",children:"未付费用户可见前 N% 内容,留空使用全局设置"})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.title,onChange:T=>c({...o,title:T.target.value})})]}),o.filePath&&s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"文件路径"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-gray-400 text-sm",value:o.filePath,disabled:!0})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @链接AI人物 和 #链接标签)"}),f?s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700 rounded-md min-h-[400px] flex items-center justify-center",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsx(Ax,{ref:Nr,content:o.content||"",onChange:T=>c({...o,content:T}),onImageUpload:async T=>{var nt;const G=new FormData;G.append("file",T),G.append("folder","book-images");const fe=await(await fetch(ja("/api/upload"),{method:"POST",body:G,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((nt=fe==null?void 0:fe.data)==null?void 0:nt.url)||(fe==null?void 0:fe.url)||""},onVideoUpload:async T=>{var nt;const G=new FormData;G.append("file",T),G.append("folder","book-videos");const fe=await(await fetch(ja("/api/upload/video"),{method:"POST",body:G,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((nt=fe==null?void 0:fe.data)==null?void 0:nt.url)||(fe==null?void 0:fe.url)||""},persons:br,linkTags:vr,onPersonCreate:$n,placeholder:"开始编辑内容... 输入 @ 可链接AI人物,工具栏可插入 #链接标签"})]})]}),s.jsxs(ln,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[o&&s.jsxs(ne,{variant:"outline",onClick:()=>Ds({id:o.id,title:o.title,price:o.price}),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent mr-auto",children:[s.jsx($r,{className:"w-4 h-4 mr-2"}),"付款记录"]}),s.jsxs(ne,{variant:"outline",onClick:()=>c(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsx(ne,{onClick:Ae,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存修改"]})})]})]})}),s.jsxs(Cd,{defaultValue:"chapters",className:"space-y-6",children:[s.jsxs(Jl,{className:"bg-[#0f2137] border border-gray-700/50 p-1",children:[s.jsxs(tn,{value:"chapters",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[s.jsx($r,{className:"w-4 h-4 mr-2"}),"章节管理"]}),s.jsxs(tn,{value:"ranking",className:"data-[state=active]:bg-amber-500/20 data-[state=active]:text-amber-400 text-gray-400",children:[s.jsx(zg,{className:"w-4 h-4 mr-2"}),"内容排行榜"]}),s.jsxs(tn,{value:"search",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[s.jsx(Sa,{className:"w-4 h-4 mr-2"}),"内容搜索"]}),s.jsxs(tn,{value:"link-person",className:"data-[state=active]:bg-purple-500/20 data-[state=active]:text-purple-400 text-gray-400",children:[s.jsx(Ns,{className:"w-4 h-4 mr-2"}),"链接人与事"]}),s.jsxs(tn,{value:"link-tag",className:"data-[state=active]:bg-amber-500/20 data-[state=active]:text-amber-400 text-gray-400",children:[s.jsx(Hv,{className:"w-4 h-4 mr-2"}),"链接标签"]})]}),s.jsxs(nn,{value:"chapters",className:"space-y-4",children:[s.jsxs("div",{className:"rounded-2xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between shadow-sm",children:[s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac] flex items-center justify-center text-white shadow-lg shadow-[#38bdac]/20 shrink-0",children:s.jsx($r,{className:"w-6 h-6"})}),s.jsxs("div",{children:[s.jsx("h2",{className:"font-bold text-base text-white leading-tight mb-1",children:"一场SOUL的创业实验场"}),s.jsx("p",{className:"text-xs text-gray-500",children:"来自Soul派对房的真实商业故事"})]})]}),s.jsxs("div",{className:"text-center shrink-0",children:[s.jsx("span",{className:"block text-2xl font-bold text-[#38bdac]",children:as}),s.jsx("span",{className:"text-xs text-gray-500",children:"章节"})]})]}),s.jsxs("div",{className:"flex flex-wrap gap-2",children:[s.jsxs(ne,{onClick:()=>h(!0),className:"flex-1 min-w-[120px] bg-[#38bdac]/10 hover:bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/30",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"新建章节"]}),s.jsxs(ne,{onClick:()=>ee(!0),className:"flex-1 min-w-[120px] bg-amber-500/10 hover:bg-amber-500/20 text-amber-400 border border-amber-500/30",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"新建篇"]}),s.jsxs(ne,{variant:"outline",onClick:()=>se(!0),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:["批量移动(已选 ",O.length," 节)"]})]}),n?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsx(lV,{parts:un,expandedParts:a,onTogglePart:Ho,onReorder:za,onReadSection:V,onDeleteSection:sc,onAddSectionInPart:ct,onAddChapterInPart:Uo,onDeleteChapter:Ba,onEditPart:xn,onDeletePart:qo,onEditChapter:Xt,selectedSectionIds:O,onToggleSectionSelect:Ko,onShowSectionOrders:Ds,pinnedSectionIds:At})]}),s.jsx(nn,{value:"search",className:"space-y-4",children:s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"内容搜索"})}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-2",children:[s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",placeholder:"搜索标题或内容...",value:v,onChange:T=>w(T.target.value),onKeyDown:T=>T.key==="Enter"&&ra()}),s.jsx(ne,{onClick:ra,disabled:C||!v.trim(),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:C?s.jsx(Ue,{className:"w-4 h-4 animate-spin"}):s.jsx(Sa,{className:"w-4 h-4"})})]}),N.length>0&&s.jsxs("div",{className:"space-y-2 mt-4",children:[s.jsxs("p",{className:"text-gray-400 text-sm",children:["找到 ",N.length," 个结果"]}),N.filter(T=>T.matchType==="title").length>0&&s.jsxs("div",{children:[s.jsx("p",{className:"text-amber-400 text-sm font-medium mb-2",children:"标题匹配"}),N.filter(T=>T.matchType==="title").slice(0,3).map(T=>s.jsxs("div",{className:"p-3 rounded-lg bg-[#162840] hover:bg-[#1a3050] cursor-pointer transition-colors mb-2",onClick:()=>V({id:T.id,title:T.title,price:T.price??1,filePath:""}),children:[s.jsx("div",{className:"flex items-center justify-between",children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"text-[#38bdac] font-mono text-xs",children:T.id}),s.jsx("span",{className:"text-white",children:T.title}),At.includes(T.id)&&s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})]})}),(T.partTitle||T.chapterTitle)&&s.jsxs("p",{className:"text-gray-600 text-xs mt-1",children:[T.partTitle," · ",T.chapterTitle]})]},T.id))]}),N.filter(T=>T.matchType==="content").length>0&&s.jsxs("div",{className:"mt-4",children:[s.jsx("p",{className:"text-gray-400 text-sm font-medium mb-2",children:"内容匹配"}),N.filter(T=>T.matchType==="content").map(T=>s.jsxs("div",{className:"p-3 rounded-lg bg-[#162840] hover:bg-[#1a3050] cursor-pointer transition-colors mb-2",onClick:()=>V({id:T.id,title:T.title,price:T.price??1,filePath:""}),children:[s.jsx("div",{className:"flex items-center justify-between",children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"text-[#38bdac] font-mono text-xs",children:T.id}),s.jsx("span",{className:"text-white",children:T.title}),At.includes(T.id)&&s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})]})}),T.snippet&&s.jsx("p",{className:"text-gray-500 text-xs mt-2 line-clamp-2",children:T.snippet}),(T.partTitle||T.chapterTitle)&&s.jsxs("p",{className:"text-gray-600 text-xs mt-1",children:[T.partTitle," · ",T.chapterTitle]})]},T.id))]})]})]})]})}),s.jsxs(nn,{value:"ranking",className:"space-y-4",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx(Iu,{className:"w-4 h-4 text-[#38bdac]"}),"内容显示规则"]})}),s.jsx(Ce,{children:s.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(te,{className:"text-gray-400 text-sm whitespace-nowrap",children:"未付费预览比例"}),s.jsx(le,{type:"number",min:"1",max:"100",className:"bg-[#0a1628] border-gray-700 text-white w-20",value:ge,onChange:T=>Ne(Math.max(1,Math.min(100,Number(T.target.value)||20))),disabled:qn}),s.jsx("span",{className:"text-gray-500 text-sm",children:"%"})]}),s.jsx(ne,{size:"sm",onClick:Os,disabled:Ts,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:Ts?"保存中...":"保存"}),s.jsxs("span",{className:"text-xs text-gray-500",children:["小程序未付费用户默认显示文章前 ",ge,"% 内容"]})]})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx(zg,{className:"w-4 h-4 text-amber-400"}),"内容排行榜",s.jsxs("span",{className:"text-xs text-gray-500 font-normal ml-2",children:["按热度排行 · 共 ",wt.length," 节"]})]}),s.jsxs("div",{className:"flex items-center gap-1 text-sm",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>Vr(),disabled:Lt,className:"text-gray-400 hover:text-white h-7 w-7 p-0",title:"刷新排行榜",children:s.jsx(Ue,{className:`w-4 h-4 ${Lt?"animate-spin":""}`})}),s.jsx(ne,{variant:"ghost",size:"sm",disabled:ft<=1||Lt,onClick:()=>pt(T=>Math.max(1,T-1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:s.jsx(JT,{className:"w-4 h-4"})}),s.jsxs("span",{className:"text-gray-400 min-w-[60px] text-center",children:[ft," / ",_a]}),s.jsx(ne,{variant:"ghost",size:"sm",disabled:ft>=_a||Lt,onClick:()=>pt(T=>Math.min(_a,T+1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:s.jsx(El,{className:"w-4 h-4"})})]})]})}),s.jsx(Ce,{children:s.jsxs("div",{className:"space-y-0",children:[s.jsxs("div",{className:"grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2 text-xs text-gray-500 border-b border-gray-700/50",children:[s.jsx("span",{children:"排名"}),s.jsx("span",{children:"置顶"}),s.jsx("span",{children:"标题"}),s.jsx("span",{className:"text-right",children:"点击量"}),s.jsx("span",{className:"text-right",children:"付款数"}),s.jsx("span",{className:"text-right",children:"热度"}),s.jsx("span",{className:"text-right",children:"编辑"})]}),It.map((T,G)=>{const he=(ft-1)*Is+G+1,fe=T.isPinned??At.includes(T.id);return s.jsxs("div",{className:`grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2.5 items-center border-b border-gray-700/30 hover:bg-[#162840] transition-colors ${fe?"bg-amber-500/5":""}`,children:[s.jsx("span",{className:`text-sm font-bold ${he<=3?"text-amber-400":"text-gray-500"}`,children:he<=3?["🥇","🥈","🥉"][he-1]:`#${he}`}),s.jsx(ne,{variant:"ghost",size:"sm",className:`h-6 w-6 p-0 ${fe?"text-amber-400":"text-gray-600 hover:text-amber-400"}`,onClick:()=>Rs(T.id),disabled:ns,title:fe?"取消置顶":"强制置顶(精选推荐/首页最新更新)",children:fe?s.jsx(xi,{className:"w-3.5 h-3.5 fill-current"}):s.jsx(NA,{className:"w-3.5 h-3.5"})}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"text-white text-sm truncate block",children:T.title}),s.jsxs("span",{className:"text-gray-600 text-xs",children:[T.partTitle," · ",T.chapterTitle]})]}),s.jsx("span",{className:"text-right text-sm text-blue-400 font-mono",children:T.clickCount??0}),s.jsx("span",{className:"text-right text-sm text-green-400 font-mono",children:T.payCount??0}),s.jsx("span",{className:"text-right text-sm text-amber-400 font-mono",children:(T.hotScore??0).toFixed(1)}),s.jsx("div",{className:"text-right",children:s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-500 hover:text-[#38bdac] h-6 px-1",onClick:()=>V({id:T.id,title:T.title,price:T.price,filePath:""}),title:"编辑文章",children:s.jsx($t,{className:"w-3 h-3"})})})]},T.id)}),It.length===0&&s.jsx("div",{className:"py-8 text-center text-gray-500",children:"暂无数据"})]})})]})]}),s.jsxs(nn,{value:"link-person",className:"space-y-4",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"pb-3",children:[s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx("span",{className:"text-[#38bdac] text-lg font-bold",children:"@"}),"AI列表 — 链接人与事(编辑器内输入 @ 可链接)"]}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"添加时自动生成 32 位 token,文章 @ 时存 token;小程序点击 @ 时用 token 兑换真实密钥后加好友"})]}),s.jsxs(Ce,{className:"space-y-3",children:[s.jsxs("div",{className:"flex justify-between items-center",children:[s.jsx("p",{className:"text-xs text-gray-500",children:"添加人物时同步创建存客宝场景获客计划,配置与存客宝 API 获客一致"}),s.jsxs(ne,{size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",onClick:()=>{Xs(null),Oa(!0)},children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"添加"]})]}),s.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[br.length>0&&s.jsxs("div",{className:"flex items-center gap-4 px-3 py-1.5 text-xs text-gray-500 border-b border-gray-700/50",children:[s.jsx("span",{className:"w-[200px] shrink-0",children:"token"}),s.jsx("span",{className:"w-24 shrink-0",children:"@的人"}),s.jsx("span",{className:"w-28 shrink-0",children:"别名"}),s.jsx("span",{className:"w-16 shrink-0 text-center",children:"获客数"}),s.jsx("span",{children:"获客计划活动名"})]}),br.map(T=>{const G=Wi[T.id]||0;return s.jsxs("div",{className:"bg-[#0a1628] rounded px-3 py-2 flex items-center justify-between gap-3",children:[s.jsxs("div",{className:"flex items-center gap-4 text-sm min-w-0",children:[s.jsx("span",{className:"text-gray-400 text-xs font-mono shrink-0 w-[200px] truncate",title:T.id,children:T.id}),s.jsx("span",{className:"text-amber-400 shrink-0 w-24 truncate",title:"@的人",children:T.name}),s.jsx("span",{className:"text-gray-500 shrink-0 w-28 truncate text-xs",title:"别名",children:T.aliases||"-"}),s.jsx("span",{className:`shrink-0 w-16 text-center text-xs font-bold ${G>0?"text-green-400":"text-gray-600"}`,title:"获客数",children:G}),s.jsxs("span",{className:"text-white truncate",title:"获客计划活动名",children:["SOUL链接人与事-",T.name]})]}),s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 hover:text-[#38bdac] h-6 px-2",title:"编辑",onClick:async()=>{try{const he=await dV(T.personId||"");if(he!=null&&he.success&&he.person){const fe=he.person;Xs({id:fe.token??fe.personId,personId:fe.personId,name:fe.name,aliases:fe.aliases??"",label:fe.label??"",ckbApiKey:fe.ckbApiKey??"",remarkType:fe.remarkType,remarkFormat:fe.remarkFormat,addFriendInterval:fe.addFriendInterval,startTime:fe.startTime,endTime:fe.endTime,deviceGroups:fe.deviceGroups})}else Xs(T),he!=null&&he.error&&oe.error(he.error)}catch(he){console.error(he),Xs(T),oe.error(he instanceof Error?he.message:"加载人物详情失败")}Oa(!0)},children:s.jsx(mA,{className:"w-3 h-3"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 hover:text-green-400 h-6 px-2",title:"查看获客详情",onClick:()=>Fa(T.id,T.name),children:s.jsx(Mn,{className:"w-3 h-3"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 hover:text-amber-400 h-6 px-2",title:"编辑计划(跳转存客宝)",onClick:()=>{const he=T.ckbPlanId;he?window.open(`https://h5.ckb.quwanzhi.com/#/scenarios/edit/${he}`,"_blank"):oe.info("该人物尚未同步存客宝计划,请先保存后等待同步完成")},children:s.jsx(Ks,{className:"w-3 h-3"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",title:"删除(同时删除存客宝对应获客计划)",onClick:async()=>{confirm(`确定删除「SOUL链接人与事-${T.name}」?将同时删除存客宝对应获客计划。`)&&(await wa(`/api/db/persons?personId=${T.personId}`),is())},children:s.jsx(nr,{className:"w-3 h-3"})})]})]},T.id)}),br.length===0&&s.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无AI人物,添加后可在编辑器中 @链接"})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"pb-3",children:[s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx(Iu,{className:"w-4 h-4 text-green-400"}),"存客宝绑定"]}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"配置存客宝 API 后,文章中 @人物 或 #标签 点击可自动进入存客宝流量池"})]}),s.jsxs(Ce,{className:"space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"存客宝 API 地址"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8",placeholder:"https://ckbapi.quwanzhi.com",defaultValue:"https://ckbapi.quwanzhi.com",readOnly:!0})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"绑定计划"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8",placeholder:"创业实验-内容引流",defaultValue:"创业实验-内容引流",readOnly:!0})]})]}),s.jsxs("p",{className:"text-xs text-gray-500",children:["具体存客宝场景配置与接口测试请前往"," ",s.jsx("button",{className:"text-[#38bdac] hover:underline",onClick:()=>window.open("/match","_blank"),children:"找伙伴 → 存客宝工作台"})]})]})]})]}),s.jsx(nn,{value:"link-tag",className:"space-y-4",children:s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"pb-3",children:[s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx(Hv,{className:"w-4 h-4 text-amber-400"}),"链接标签 — 链接事与物(编辑器内 #标签 可跳转链接/小程序/存客宝)"]}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"小程序端点击 #标签 可直接跳转对应链接,进入流量池"})]}),s.jsxs(Ce,{className:"space-y-3",children:[s.jsxs("div",{className:"flex gap-2 items-end flex-wrap",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"标签ID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",placeholder:"如 team01",value:vt.tagId,onChange:T=>Gn({...vt,tagId:T.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"显示文字"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 神仙团队",value:vt.label,onChange:T=>Gn({...vt,label:T.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"别名"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"逗号分隔",value:vt.aliases,onChange:T=>Gn({...vt,aliases:T.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"类型"}),s.jsxs(Sl,{value:vt.type,onValueChange:T=>Gn({...vt,type:T}),children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",children:s.jsx(Cl,{})}),s.jsxs(po,{children:[s.jsx(Dr,{value:"url",children:"网页链接"}),s.jsx(Dr,{value:"miniprogram",children:"小程序"}),s.jsx(Dr,{value:"ckb",children:"存客宝"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:vt.type==="url"?"URL地址":vt.type==="ckb"?"存客宝计划URL":"AppID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-44",placeholder:vt.type==="url"?"https://...":vt.type==="ckb"?"https://ckbapi.quwanzhi.com/...":"wx...",value:vt.type==="url"||vt.type==="ckb"?vt.url:vt.appId,onChange:T=>{vt.type==="url"||vt.type==="ckb"?Gn({...vt,url:T.target.value}):Gn({...vt,appId:T.target.value})}})]}),vt.type==="miniprogram"&&s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"页面路径"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-36",placeholder:"pages/index/index",value:vt.pagePath,onChange:T=>Gn({...vt,pagePath:T.target.value})})]}),s.jsxs(ne,{size:"sm",className:"bg-amber-500 hover:bg-amber-600 text-white h-8",onClick:async()=>{if(!vt.tagId||!vt.label){oe.error("标签ID和显示文字必填");return}const T={...vt};T.type==="miniprogram"&&(T.url=""),await Nt("/api/db/link-tags",T),Gn({tagId:"",label:"",aliases:"",url:"",type:"url",appId:"",pagePath:""}),As(null),na()},children:[s.jsx(pn,{className:"w-3 h-3 mr-1"}),Da?"保存":"添加"]})]}),s.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[vr.map(T=>s.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded px-3 py-2",children:[s.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[s.jsxs("button",{type:"button",className:"text-amber-400 font-bold text-base hover:underline",onClick:()=>{Gn({tagId:T.id,label:T.label,aliases:T.aliases??"",url:T.url,type:T.type,appId:T.appId??"",pagePath:T.pagePath??""}),As(T.id)},children:["#",T.label]}),s.jsx(Ke,{variant:"secondary",className:`text-[10px] ${T.type==="ckb"?"bg-green-500/20 text-green-300 border-green-500/30":"bg-gray-700 text-gray-300"}`,children:T.type==="url"?"网页":T.type==="ckb"?"存客宝":"小程序"}),T.type==="miniprogram"?s.jsxs("span",{className:"text-gray-400 text-xs font-mono",children:[T.appId," ",T.pagePath?`· ${T.pagePath}`:""]}):T.url?s.jsxs("a",{href:T.url,target:"_blank",rel:"noreferrer",className:"text-blue-400 text-xs truncate max-w-[250px] hover:underline flex items-center gap-1",children:[T.url," ",s.jsx(Ks,{className:"w-3 h-3 shrink-0"})]}):null]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-300 hover:text-white h-6 px-2",onClick:()=>{Gn({tagId:T.id,label:T.label,aliases:T.aliases??"",url:T.url,type:T.type,appId:T.appId??"",pagePath:T.pagePath??""}),As(T.id)},children:"编辑"}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",onClick:async()=>{await wa(`/api/db/link-tags?tagId=${T.id}`),Da===T.id&&(As(null),Gn({tagId:"",label:"",aliases:"",url:"",type:"url",appId:"",pagePath:""})),na()},children:s.jsx(nr,{className:"w-3 h-3"})})]})]},T.id)),vr.length===0&&s.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无链接标签,添加后可在编辑器中使用 #标签 跳转"})]})]})]})})]}),s.jsx(hV,{open:Ms,onOpenChange:Oa,editingPerson:Hi,onSubmit:async T=>{var fe;const G={personId:T.personId||T.name.toLowerCase().replace(/\s+/g,"_")+"_"+Date.now().toString(36),name:T.name,aliases:T.aliases||void 0,label:T.label,ckbApiKey:T.ckbApiKey||void 0,greeting:T.greeting||void 0,tips:T.tips||void 0,remarkType:T.remarkType||void 0,remarkFormat:T.remarkFormat||void 0,addFriendInterval:T.addFriendInterval,startTime:T.startTime||void 0,endTime:T.endTime||void 0,deviceGroups:(fe=T.deviceGroups)!=null&&fe.trim()?T.deviceGroups.split(",").map(nt=>parseInt(nt.trim(),10)).filter(nt=>!Number.isNaN(nt)):void 0},he=await Nt("/api/db/persons",G);if(he&&he.success===!1){const nt=he;nt.ckbResponse&&console.log("存客宝返回",nt.ckbResponse);const yt=nt.error||"操作失败";throw new Error(yt)}if(is(),oe.success(Hi?"已保存":"已添加"),he!=null&&he.ckbCreateResult&&Object.keys(he.ckbCreateResult).length>0){const nt=he.ckbCreateResult;console.log("存客宝创建结果",nt);const yt=nt.planId??nt.id,In=yt!=null?[`planId: ${yt}`]:[];nt.apiKey!=null&&In.push("apiKey: ***"),oe.info(In.length?`存客宝创建结果:${In.join(",")}`:"存客宝创建结果见控制台")}}}),s.jsx(Ft,{open:nc,onOpenChange:Jn,children:s.jsxs(Rt,{className:"max-w-2xl bg-[#0f2137] border-gray-700",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-green-400"}),Ar," — 获客详情(共 ",cr," 条)"]})}),s.jsx("div",{className:"max-h-[450px] overflow-y-auto space-y-2",children:Vo?s.jsxs("div",{className:"flex items-center justify-center py-8",children:[s.jsx(Ue,{className:"w-5 h-5 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):ta.length===0?s.jsx("div",{className:"text-gray-500 text-sm py-8 text-center",children:"暂无获客记录"}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"grid grid-cols-[60px_1fr_100px_100px_80px_120px] gap-2 px-3 py-1.5 text-xs text-gray-500 border-b border-gray-700/50",children:[s.jsx("span",{children:"#"}),s.jsx("span",{children:"昵称/姓名"}),s.jsx("span",{children:"手机"}),s.jsx("span",{children:"微信"}),s.jsx("span",{children:"来源"}),s.jsx("span",{children:"时间"})]}),ta.map((T,G)=>s.jsxs("div",{className:"grid grid-cols-[60px_1fr_100px_100px_80px_120px] gap-2 px-3 py-2 bg-[#0a1628] rounded text-sm",children:[s.jsx("span",{className:"text-gray-500 text-xs",children:(ss-1)*20+G+1}),s.jsx("span",{className:"text-white truncate",children:T.nickname||T.name||T.userId||"-"}),s.jsx("span",{className:"text-gray-300 text-xs",children:T.phone||"-"}),s.jsx("span",{className:"text-gray-300 text-xs truncate",children:T.wechatId||"-"}),s.jsx("span",{className:"text-gray-500 text-xs",children:T.source==="article_mention"?"文章@":T.source==="index_lead"?"首页":T.source||"-"}),s.jsx("span",{className:"text-gray-500 text-xs",children:T.createdAt?new Date(T.createdAt).toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}):"-"})]},T.id))]})}),cr>20&&s.jsxs("div",{className:"flex items-center justify-center gap-2 pt-2",children:[s.jsx(ne,{size:"sm",variant:"outline",disabled:ss<=1,onClick:()=>Fa(ea,Ar,ss-1),className:"border-gray-600 text-gray-300 bg-transparent h-7 px-3",children:"上一页"}),s.jsxs("span",{className:"text-gray-400 text-xs",children:[ss," / ",Math.ceil(cr/20)]}),s.jsx(ne,{size:"sm",variant:"outline",disabled:ss>=Math.ceil(cr/20),onClick:()=>Fa(ea,Ar,ss+1),className:"border-gray-600 text-gray-300 bg-transparent h-7 px-3",children:"下一页"})]})]})})]})}const Na={name:"卡若",avatar:"K",avatarImg:"",title:"Soul派对房主理人 · 私域运营专家",bio:'每天早上6点到9点,在Soul派对房分享真实的创业故事。专注私域运营与项目变现,用"云阿米巴"模式帮助创业者构建可持续的商业体系。',stats:[{label:"商业案例",value:"62"},{label:"连续直播",value:"365天"},{label:"派对分享",value:"1000+"}],highlights:["5年私域运营经验","帮助100+品牌从0到1增长","连续创业者,擅长商业模式设计"]};function Nw(t){return Array.isArray(t)?t.map(e=>e&&typeof e=="object"&&"label"in e&&"value"in e?{label:String(e.label),value:String(e.value)}:{label:"",value:""}).filter(e=>e.label||e.value):Na.stats}function ww(t){return Array.isArray(t)?t.map(e=>typeof e=="string"?e:String(e??"")).filter(Boolean):Na.highlights}function mV(){const[t,e]=b.useState(Na),[n,r]=b.useState(!0),[a,i]=b.useState(!1),[o,c]=b.useState(!1),u=b.useRef(null);b.useEffect(()=>{De("/api/admin/author-settings").then(k=>{const C=k==null?void 0:k.data;C&&typeof C=="object"&&e({name:String(C.name??Na.name),avatar:String(C.avatar??Na.avatar),avatarImg:String(C.avatarImg??""),title:String(C.title??Na.title),bio:String(C.bio??Na.bio),stats:Nw(C.stats).length?Nw(C.stats):Na.stats,highlights:ww(C.highlights).length?ww(C.highlights):Na.highlights})}).catch(console.error).finally(()=>r(!1))},[]);const h=async()=>{i(!0);try{const k={name:t.name,avatar:t.avatar||"K",avatarImg:t.avatarImg,title:t.title,bio:t.bio,stats:t.stats.filter(A=>A.label||A.value),highlights:t.highlights.filter(Boolean)},C=await Nt("/api/admin/author-settings",k);if(!C||C.success===!1){oe.error("保存失败: "+(C&&typeof C=="object"&&"error"in C?C.error:""));return}i(!1);const E=document.createElement("div");E.className="fixed top-4 right-4 z-50 px-4 py-2 rounded-lg bg-[#38bdac] text-white text-sm shadow-lg",E.textContent="作者设置已保存",document.body.appendChild(E),setTimeout(()=>E.remove(),2e3)}catch(k){console.error(k),oe.error("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{i(!1)}},f=async k=>{var E;const C=(E=k.target.files)==null?void 0:E[0];if(C){c(!0);try{const A=new FormData;A.append("file",C),A.append("folder","avatars");const D=Kx(),H={};D&&(H.Authorization=`Bearer ${D}`);const P=await(await fetch(ja("/api/upload"),{method:"POST",body:A,credentials:"include",headers:H})).json();P!=null&&P.success&&(P!=null&&P.url)?e(L=>({...L,avatarImg:P.url})):oe.error("上传失败: "+((P==null?void 0:P.error)||"未知错误"))}catch(A){console.error(A),oe.error("上传失败")}finally{c(!1),u.current&&(u.current.value="")}}},m=()=>e(k=>({...k,stats:[...k.stats,{label:"",value:""}]})),g=k=>e(C=>({...C,stats:C.stats.filter((E,A)=>A!==k)})),y=(k,C,E)=>e(A=>({...A,stats:A.stats.map((D,H)=>H===k?{...D,[C]:E}:D)})),v=()=>e(k=>({...k,highlights:[...k.highlights,""]})),w=k=>e(C=>({...C,highlights:C.highlights.filter((E,A)=>A!==k)})),N=(k,C)=>e(E=>({...E,highlights:E.highlights.map((A,D)=>D===k?C:A)}));return n?s.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(No,{className:"w-5 h-5 text-[#38bdac]"}),"作者详情"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"配置小程序「关于作者」页展示的作者信息,包括头像、简介、统计数据与亮点标签。"})]}),s.jsxs(ne,{onClick:h,disabled:a||n,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),a?"保存中...":"保存"]})]}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"flex items-center gap-2 text-white",children:[s.jsx(No,{className:"w-4 h-4 text-[#38bdac]"}),"基本信息"]}),s.jsx(Ht,{className:"text-gray-400",children:"作者姓名、头像、头衔与个人简介,将展示在「关于作者」页顶部。"})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"姓名"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.name,onChange:k=>e(C=>({...C,name:k.target.value})),placeholder:"卡若"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"首字母占位(无头像时显示)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white w-20",value:t.avatar,onChange:k=>e(C=>({...C,avatar:k.target.value.slice(0,1)||"K"})),placeholder:"K"})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx(Xw,{className:"w-3 h-3 text-[#38bdac]"}),"头像图片"]}),s.jsxs("div",{className:"flex gap-3 items-center",children:[s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:t.avatarImg,onChange:k=>e(C=>({...C,avatarImg:k.target.value})),placeholder:"上传或粘贴 URL,如 /uploads/avatars/xxx.png"}),s.jsx("input",{ref:u,type:"file",accept:"image/*",className:"hidden",onChange:f}),s.jsxs(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:o,onClick:()=>{var k;return(k=u.current)==null?void 0:k.click()},children:[s.jsx(mh,{className:"w-4 h-4 mr-2"}),o?"上传中...":"上传"]})]}),t.avatarImg&&s.jsx("div",{className:"mt-2",children:s.jsx("img",{src:ts(t.avatarImg.startsWith("http")?t.avatarImg:ja(t.avatarImg)),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"头衔"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.title,onChange:k=>e(C=>({...C,title:k.target.value})),placeholder:"Soul派对房主理人 · 私域运营专家"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"个人简介"}),s.jsx(Yl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[120px]",value:t.bio,onChange:k=>e(C=>({...C,bio:k.target.value})),placeholder:"每天早上6点到9点..."})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsx(Ge,{className:"text-white",children:"统计数据"}),s.jsx(Ht,{className:"text-gray-400",children:"展示在作者卡片中的数字指标,如「商业案例 62」「连续直播 365天」。第一个「商业案例」的值可由书籍统计自动更新。"})]}),s.jsxs(Ce,{className:"space-y-3",children:[t.stats.map((k,C)=>s.jsxs("div",{className:"flex gap-3 items-center",children:[s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.label,onChange:E=>y(C,"label",E.target.value),placeholder:"标签"}),s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.value,onChange:E=>y(C,"value",E.target.value),placeholder:"数值"}),s.jsx(ne,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>g(C),children:s.jsx(nr,{className:"w-4 h-4"})})]},C)),s.jsxs(ne,{variant:"outline",size:"sm",onClick:m,className:"border-gray-600 text-gray-400",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"添加统计项"]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsx(Ge,{className:"text-white",children:"亮点标签"}),s.jsx(Ht,{className:"text-gray-400",children:"作者优势或成就的简短描述,以标签形式展示。"})]}),s.jsxs(Ce,{className:"space-y-3",children:[t.highlights.map((k,C)=>s.jsxs("div",{className:"flex gap-3 items-center",children:[s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k,onChange:E=>N(C,E.target.value),placeholder:"5年私域运营经验"}),s.jsx(ne,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>w(C),children:s.jsx(nr,{className:"w-4 h-4"})})]},C)),s.jsxs(ne,{variant:"outline",size:"sm",onClick:v,className:"border-gray-600 text-gray-400",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"添加亮点"]})]})]})]})]})}function gV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o]=b.useState(10),[c,u]=b.useState(0),[h,f]=b.useState(""),m=o0(h,300),[g,y]=b.useState(!0),[v,w]=b.useState(null),[N,k]=b.useState(!1),[C,E]=b.useState(null),[A,D]=b.useState(""),[H,_]=b.useState(""),[P,L]=b.useState(""),[$,ee]=b.useState("admin"),[K,ue]=b.useState("active"),[me,R]=b.useState(!1);async function O(){var U;y(!0),w(null);try{const q=new URLSearchParams({page:String(a),pageSize:String(o)});m.trim()&&q.set("search",m.trim());const B=await De(`/api/admin/users?${q}`);B!=null&&B.success?(e(B.records||[]),r(B.total??0),u(B.totalPages??0)):w(B.error||"加载失败")}catch(q){const B=q;w(B.status===403?"无权限访问":((U=B==null?void 0:B.data)==null?void 0:U.error)||"加载失败"),e([])}finally{y(!1)}}b.useEffect(()=>{O()},[a,o,m]);const F=()=>{E(null),D(""),_(""),L(""),ee("admin"),ue("active"),k(!0)},I=U=>{E(U),D(U.username),_(""),L(U.name||""),ee(U.role==="super_admin"?"super_admin":"admin"),ue(U.status==="disabled"?"disabled":"active"),k(!0)},se=async()=>{var U;if(!A.trim()){w("用户名不能为空");return}if(!C&&!H){w("新建时密码必填,至少 6 位");return}if(H&&H.length<6){w("密码至少 6 位");return}w(null),R(!0);try{if(C){const q=await Tt("/api/admin/users",{id:C.id,password:H||void 0,name:P.trim(),role:$,status:K});q!=null&&q.success?(k(!1),O()):w((q==null?void 0:q.error)||"保存失败")}else{const q=await Nt("/api/admin/users",{username:A.trim(),password:H,name:P.trim(),role:$});q!=null&&q.success?(k(!1),O()):w((q==null?void 0:q.error)||"保存失败")}}catch(q){const B=q;w(((U=B==null?void 0:B.data)==null?void 0:U.error)||"保存失败")}finally{R(!1)}},J=async U=>{var q;if(confirm("确定删除该管理员?"))try{const B=await wa(`/api/admin/users?id=${U}`);B!=null&&B.success?O():w((B==null?void 0:B.error)||"删除失败")}catch(B){const ce=B;w(((q=ce==null?void 0:ce.data)==null?void 0:q.error)||"删除失败")}},z=U=>{if(!U)return"-";try{const q=new Date(U);return isNaN(q.getTime())?U:q.toLocaleString("zh-CN")}catch{return U}};return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-6",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Wx,{className:"w-5 h-5 text-[#38bdac]"}),"管理员用户"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"后台登录账号管理,仅超级管理员可操作"})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(le,{placeholder:"搜索用户名/昵称",value:h,onChange:U=>f(U.target.value),className:"w-48 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500"}),s.jsx(ne,{variant:"outline",size:"sm",onClick:O,disabled:g,className:"border-gray-600 text-gray-300",children:s.jsx(Ue,{className:`w-4 h-4 ${g?"animate-spin":""}`})}),s.jsxs(ne,{onClick:F,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"新增管理员"]})]})]}),v&&s.jsxs("div",{className:"mb-4 p-3 rounded-lg bg-red-500/10 border border-red-500/20 text-red-400 text-sm flex justify-between items-center",children:[s.jsx("span",{children:v}),s.jsx("button",{type:"button",onClick:()=>w(null),className:"text-red-400 hover:text-red-300",children:"×"})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-0",children:g?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"ID"}),s.jsx(Ee,{className:"text-gray-400",children:"用户名"}),s.jsx(Ee,{className:"text-gray-400",children:"昵称"}),s.jsx(Ee,{className:"text-gray-400",children:"角色"}),s.jsx(Ee,{className:"text-gray-400",children:"状态"}),s.jsx(Ee,{className:"text-gray-400",children:"创建时间"}),s.jsx(Ee,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsxs(gr,{children:[t.map(U=>s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:U.id}),s.jsx(be,{className:"text-white font-medium",children:U.username}),s.jsx(be,{className:"text-gray-400",children:U.name||"-"}),s.jsx(be,{children:s.jsx(Ke,{variant:"outline",className:U.role==="super_admin"?"border-amber-500/50 text-amber-400":"border-gray-600 text-gray-400",children:U.role==="super_admin"?"超级管理员":"管理员"})}),s.jsx(be,{children:s.jsx(Ke,{variant:"outline",className:U.status==="active"?"border-[#38bdac]/50 text-[#38bdac]":"border-gray-500 text-gray-500",children:U.status==="active"?"正常":"已禁用"})}),s.jsx(be,{className:"text-gray-500 text-sm",children:z(U.createdAt)}),s.jsxs(be,{className:"text-right",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>I(U),className:"text-gray-400 hover:text-[#38bdac]",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>J(U.id),className:"text-gray-400 hover:text-red-400",children:s.jsx(er,{className:"w-4 h-4"})})]})]},U.id)),t.length===0&&!g&&s.jsx(lt,{children:s.jsx(be,{colSpan:7,className:"text-center py-12 text-gray-500",children:v==="无权限访问"?"仅超级管理员可查看":"暂无管理员"})})]})]}),c>1&&s.jsx("div",{className:"p-4 border-t border-gray-700/50",children:s.jsx(ws,{page:a,pageSize:o,total:n,totalPages:c,onPageChange:i})})]})})}),s.jsx(Ft,{open:N,onOpenChange:k,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:C?"编辑管理员":"新增管理员"})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"用户名"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"登录用户名",value:A,onChange:U=>D(U.target.value),disabled:!!C}),C&&s.jsx("p",{className:"text-xs text-gray-500",children:"用户名不可修改"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:C?"新密码(留空不改)":"密码"}),s.jsx(le,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:C?"留空表示不修改":"至少 6 位",value:H,onChange:U=>_(U.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"昵称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"显示名称",value:P,onChange:U=>L(U.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"角色"}),s.jsxs("select",{value:$,onChange:U=>ee(U.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[s.jsx("option",{value:"admin",children:"管理员"}),s.jsx("option",{value:"super_admin",children:"超级管理员"})]})]}),C&&s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"状态"}),s.jsxs("select",{value:K,onChange:U=>ue(U.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[s.jsx("option",{value:"active",children:"正常"}),s.jsx("option",{value:"disabled",children:"禁用"})]})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>k(!1),className:"border-gray-600 text-gray-300",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:se,disabled:me,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),me?"保存中...":"保存"]})]})]})})]})}function bn({method:t,url:e,desc:n,headers:r,body:a,response:i}){const o=t==="GET"?"text-emerald-400":t==="POST"?"text-amber-400":t==="PUT"?"text-blue-400":t==="DELETE"?"text-rose-400":"text-gray-400";return s.jsxs("div",{className:"rounded-lg bg-[#0a1628]/60 border border-gray-700/50 p-4 space-y-3",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[s.jsx("span",{className:`font-mono font-semibold ${o}`,children:t}),s.jsx("code",{className:"text-sm text-[#38bdac] break-all",children:e})]}),n&&s.jsx("p",{className:"text-gray-400 text-sm",children:n}),r&&r.length>0&&s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"Headers"}),s.jsx("pre",{className:"text-xs text-gray-300 font-mono overflow-x-auto p-2 rounded bg-black/30",children:r.join(` -`)})]}),a&&s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"Request Body (JSON)"}),s.jsx("pre",{className:"text-xs text-green-400/90 font-mono overflow-x-auto p-2 rounded bg-black/30 whitespace-pre-wrap",children:a})]}),i&&s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"Response Example"}),s.jsx("pre",{className:"text-xs text-amber-200/80 font-mono overflow-x-auto p-2 rounded bg-black/30 whitespace-pre-wrap",children:i})]})]})}function F4(){const t=["Authorization: Bearer {token}","Content-Type: application/json"];return s.jsxs("div",{className:"p-8 w-full bg-[#0a1628] text-white",children:[s.jsxs("div",{className:"mb-8",children:[s.jsx("h1",{className:"text-2xl font-bold text-white",children:"API 接口文档"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"内容管理相关接口 · RESTful · 基础路径 /api · 管理端需 Bearer Token"})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Zw,{className:"w-5 h-5 text-[#38bdac]"}),"1. Authentication"]})}),s.jsx(Ce,{className:"space-y-4",children:s.jsx(bn,{method:"POST",url:"/api/admin",desc:"登录,返回 JWT token",headers:["Content-Type: application/json"],body:`{ +
    `).join(""),n.querySelectorAll(".mention-item").forEach(u=>{u.addEventListener("click",()=>{const h=parseInt(u.getAttribute("data-index")||"0");o(h)})}))};return{onStart:u=>{if(n=document.createElement("div"),n.className="mention-popup",document.body.appendChild(n),a=u.items,i=u.command,r=0,c(),u.clientRect){const h=u.clientRect();h&&(n.style.top=`${h.bottom+4}px`,n.style.left=`${h.left}px`)}},onUpdate:u=>{if(a=u.items,i=u.command,r=0,c(),u.clientRect&&n){const h=u.clientRect();h&&(n.style.top=`${h.bottom+4}px`,n.style.left=`${h.left}px`)}},onKeyDown:u=>u.event.key==="ArrowUp"?(r=Math.max(0,r-1),c(),!0):u.event.key==="ArrowDown"?(r=Math.min(a.length-1,r+1),c(),!0):u.event.key==="Enter"?(o(r),!0):u.event.key==="Escape"?(n==null||n.remove(),n=null,!0):!1,onExit:()=>{n==null||n.remove(),n=null}}}}),Px=b.forwardRef(({content:t,onChange:e,onImageUpload:n,onVideoUpload:r,persons:a=[],linkTags:i=[],onPersonCreate:o,placeholder:c="开始编辑内容...",className:u},h)=>{const f=b.useRef(null),m=b.useRef(null),[g,y]=b.useState(!1),[v,w]=b.useState(""),[N,k]=b.useState(!1),[C,E]=b.useState(!1),[A,D]=b.useState(0),H=b.useRef(kg(cw(t),a,i)),_=b.useRef(e);_.current=e;const P=b.useRef(a);P.current=a;const L=b.useRef(i);L.current=i;const $=b.useRef(o);$.current=o;const ee=b.useRef(),K=Y_({extensions:[_z,Fz.configure({inline:!0,allowBase64:!0}),K7.configure({openOnClick:!1,HTMLAttributes:{class:"rich-link"}}),Kz.configure({HTMLAttributes:{class:"mention-tag"},suggestion:{...sF(P,$),allowedPrefixes:null}}),rF,qz.configure({placeholder:c}),VC.configure({resizable:!0}),BC,$C,FC],content:H.current,onUpdate:({editor:I})=>{ee.current&&clearTimeout(ee.current),ee.current=setTimeout(()=>{const se=I.getHTML(),J=kg(se,P.current||[],L.current||[]);if(J!==se){I.commands.setContent(J,{emitUpdate:!1}),_.current(J);return}_.current(se)},300)},editorProps:{attributes:{class:"rich-editor-content"}}});b.useImperativeHandle(h,()=>({getHTML:()=>(K==null?void 0:K.getHTML())||"",getMarkdown:()=>nF((K==null?void 0:K.getHTML())||"")})),b.useEffect(()=>{if(!K)return;const I=kg(cw(t),P.current||[],L.current||[]);I!==K.getHTML()&&K.commands.setContent(I,{emitUpdate:!1})},[t,K,a,i]);const ue=b.useCallback(async I=>{var J;const se=(J=I.target.files)==null?void 0:J[0];if(!(!se||!K)){if(n){E(!0),D(10);const z=setInterval(()=>{D(U=>Math.min(U+15,90))},300);try{const U=await n(se);clearInterval(z),D(100),U&&K.chain().focus().setImage({src:U}).run()}finally{clearInterval(z),setTimeout(()=>{E(!1),D(0)},500)}}else{const z=new FileReader;z.onload=()=>{typeof z.result=="string"&&K.chain().focus().setImage({src:z.result}).run()},z.readAsDataURL(se)}I.target.value=""}},[K,n]),me=b.useCallback(async I=>{var J;const se=(J=I.target.files)==null?void 0:J[0];if(!(!se||!K)){if(r){y(!0),D(5);const z=setInterval(()=>{D(U=>Math.min(U+8,90))},500);try{const U=await r(se);clearInterval(z),D(100),U&&K.chain().focus().insertContent(`

    `).run()}finally{clearInterval(z),setTimeout(()=>{y(!1),D(0)},500)}}I.target.value=""}},[K,r]),R=b.useCallback(()=>{K&&K.chain().focus().insertContent("@").run()},[K]),O=b.useCallback(I=>{K&&K.chain().focus().insertContent({type:"linkTag",attrs:{label:I.label,url:I.url||"",tagType:I.type||"url",tagId:I.id||"",pagePath:I.pagePath||"",appId:I.appId||"",mpKey:I.type==="miniprogram"&&I.appId||""}}).run()},[K]),F=b.useCallback(()=>{!K||!v||(K.chain().focus().setLink({href:v}).run(),w(""),k(!1))},[K,v]);return K?s.jsxs("div",{className:`rich-editor-wrapper ${u||""}`,children:[s.jsxs("div",{className:"rich-editor-toolbar",children:[s.jsxs("div",{className:"toolbar-group",children:[s.jsx("button",{onClick:()=>K.chain().focus().toggleBold().run(),className:K.isActive("bold")?"is-active":"",type:"button",children:s.jsx(WT,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleItalic().run(),className:K.isActive("italic")?"is-active":"",type:"button",children:s.jsx(UM,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleStrike().run(),className:K.isActive("strike")?"is-active":"",type:"button",children:s.jsx(VA,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleCode().run(),className:K.isActive("code")?"is-active":"",type:"button",children:s.jsx(uM,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"toolbar-divider"}),s.jsxs("div",{className:"toolbar-group",children:[s.jsx("button",{onClick:()=>K.chain().focus().toggleHeading({level:1}).run(),className:K.isActive("heading",{level:1})?"is-active":"",type:"button",children:s.jsx(DM,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleHeading({level:2}).run(),className:K.isActive("heading",{level:2})?"is-active":"",type:"button",children:s.jsx(_M,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleHeading({level:3}).run(),className:K.isActive("heading",{level:3})?"is-active":"",type:"button",children:s.jsx($M,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"toolbar-divider"}),s.jsxs("div",{className:"toolbar-group",children:[s.jsx("button",{onClick:()=>K.chain().focus().toggleBulletList().run(),className:K.isActive("bulletList")?"is-active":"",type:"button",children:s.jsx(eA,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleOrderedList().run(),className:K.isActive("orderedList")?"is-active":"",type:"button",children:s.jsx(XM,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().toggleBlockquote().run(),className:K.isActive("blockquote")?"is-active":"",type:"button",children:s.jsx(EA,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().setHorizontalRule().run(),type:"button",children:s.jsx(uA,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"toolbar-divider"}),s.jsxs("div",{className:"toolbar-group",children:[s.jsx("input",{ref:f,type:"file",accept:"image/*",onChange:ue,className:"hidden"}),s.jsx("button",{onClick:()=>{var I;return(I=f.current)==null?void 0:I.click()},type:"button",title:"插入图片",children:s.jsx(ej,{className:"w-4 h-4"})}),s.jsx("input",{ref:m,type:"file",accept:"video/mp4,video/quicktime,video/webm,.mp4,.mov,.webm",onChange:me,className:"hidden"}),s.jsx("button",{onClick:()=>{var I;return(I=m.current)==null?void 0:I.click()},disabled:g||!r,type:"button",title:"插入视频",className:g?"opacity-50":"",children:s.jsx(r5,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>k(!N),className:K.isActive("link")?"is-active":"",type:"button",title:"插入链接",children:s.jsx($g,{className:"w-4 h-4"})}),s.jsx("button",{onClick:R,type:"button",title:"@ 指定人物",className:"mention-trigger-btn",children:s.jsx(BT,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),type:"button",children:s.jsx(WA,{className:"w-4 h-4"})})]}),s.jsx("div",{className:"toolbar-divider"}),s.jsxs("div",{className:"toolbar-group",children:[s.jsx("button",{onClick:()=>K.chain().focus().undo().run(),disabled:!K.can().undo(),type:"button",children:s.jsx(QA,{className:"w-4 h-4"})}),s.jsx("button",{onClick:()=>K.chain().focus().redo().run(),disabled:!K.can().redo(),type:"button",children:s.jsx(MA,{className:"w-4 h-4"})})]}),i.length>0&&s.jsxs(s.Fragment,{children:[s.jsx("div",{className:"toolbar-divider"}),s.jsx("div",{className:"toolbar-group",children:s.jsxs("select",{className:"link-tag-select",onChange:I=>{const se=i.find(J=>J.id===I.target.value);se&&O(se),I.target.value=""},defaultValue:"",children:[s.jsx("option",{value:"",disabled:!0,children:"# 插入链接标签"}),i.map(I=>s.jsx("option",{value:I.id,children:I.label},I.id))]})})]})]}),N&&s.jsxs("div",{className:"link-input-bar",children:[s.jsx("input",{type:"url",placeholder:"输入链接地址...",value:v,onChange:I=>w(I.target.value),onKeyDown:I=>I.key==="Enter"&&F(),className:"link-input"}),s.jsx("button",{onClick:F,className:"link-confirm",type:"button",children:"确定"}),s.jsx("button",{onClick:()=>{K.chain().focus().unsetLink().run(),k(!1)},className:"link-remove",type:"button",children:"移除"})]}),(C||g)&&s.jsxs("div",{className:"upload-progress-bar",children:[s.jsx("div",{className:"upload-progress-track",children:s.jsx("div",{className:"upload-progress-fill",style:{width:`${A}%`}})}),s.jsxs("span",{className:"upload-progress-text",children:[g?"视频":"图片","上传中 ",A,"%"]})]}),s.jsx(X2,{editor:K})]}):null});Px.displayName="RichEditor";const aF=["top","right","bottom","left"],Ii=Math.min,Lr=Math.max,ff=Math.round,rh=Math.floor,Us=t=>({x:t,y:t}),iF={left:"right",right:"left",bottom:"top",top:"bottom"},oF={start:"end",end:"start"};function Ox(t,e,n){return Lr(t,Ii(e,n))}function Ma(t,e){return typeof t=="function"?t(e):t}function Aa(t){return t.split("-")[0]}function Zl(t){return t.split("-")[1]}function ey(t){return t==="x"?"y":"x"}function ty(t){return t==="y"?"height":"width"}const lF=new Set(["top","bottom"]);function Ws(t){return lF.has(Aa(t))?"y":"x"}function ny(t){return ey(Ws(t))}function cF(t,e,n){n===void 0&&(n=!1);const r=Zl(t),a=ny(t),i=ty(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(o=pf(o)),[o,pf(o)]}function dF(t){const e=pf(t);return[Dx(t),e,Dx(e)]}function Dx(t){return t.replace(/start|end/g,e=>oF[e])}const dw=["left","right"],uw=["right","left"],uF=["top","bottom"],hF=["bottom","top"];function fF(t,e,n){switch(t){case"top":case"bottom":return n?e?uw:dw:e?dw:uw;case"left":case"right":return e?uF:hF;default:return[]}}function pF(t,e,n,r){const a=Zl(t);let i=fF(Aa(t),n==="start",r);return a&&(i=i.map(o=>o+"-"+a),e&&(i=i.concat(i.map(Dx)))),i}function pf(t){return t.replace(/left|right|bottom|top/g,e=>iF[e])}function mF(t){return{top:0,right:0,bottom:0,left:0,...t}}function HC(t){return typeof t!="number"?mF(t):{top:t,right:t,bottom:t,left:t}}function mf(t){const{x:e,y:n,width:r,height:a}=t;return{width:r,height:a,top:n,left:e,right:e+r,bottom:n+a,x:e,y:n}}function hw(t,e,n){let{reference:r,floating:a}=t;const i=Ws(e),o=ny(e),c=ty(o),u=Aa(e),h=i==="y",f=r.x+r.width/2-a.width/2,m=r.y+r.height/2-a.height/2,g=r[c]/2-a[c]/2;let y;switch(u){case"top":y={x:f,y:r.y-a.height};break;case"bottom":y={x:f,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:m};break;case"left":y={x:r.x-a.width,y:m};break;default:y={x:r.x,y:r.y}}switch(Zl(e)){case"start":y[o]-=g*(n&&h?-1:1);break;case"end":y[o]+=g*(n&&h?-1:1);break}return y}async function gF(t,e){var n;e===void 0&&(e={});const{x:r,y:a,platform:i,rects:o,elements:c,strategy:u}=t,{boundary:h="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:g=!1,padding:y=0}=Ma(e,t),v=HC(y),N=c[g?m==="floating"?"reference":"floating":m],k=mf(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(N)))==null||n?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:f,strategy:u})),C=m==="floating"?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),A=await(i.isElement==null?void 0:i.isElement(E))?await(i.getScale==null?void 0:i.getScale(E))||{x:1,y:1}:{x:1,y:1},D=mf(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:C,offsetParent:E,strategy:u}):C);return{top:(k.top-D.top+v.top)/A.y,bottom:(D.bottom-k.bottom+v.bottom)/A.y,left:(k.left-D.left+v.left)/A.x,right:(D.right-k.right+v.right)/A.x}}const xF=async(t,e,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,c=i.filter(Boolean),u=await(o.isRTL==null?void 0:o.isRTL(e));let h=await o.getElementRects({reference:t,floating:e,strategy:a}),{x:f,y:m}=hw(h,r,u),g=r,y={},v=0;for(let N=0;N({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:a,rects:i,platform:o,elements:c,middlewareData:u}=e,{element:h,padding:f=0}=Ma(t,e)||{};if(h==null)return{};const m=HC(f),g={x:n,y:r},y=ny(a),v=ty(y),w=await o.getDimensions(h),N=y==="y",k=N?"top":"left",C=N?"bottom":"right",E=N?"clientHeight":"clientWidth",A=i.reference[v]+i.reference[y]-g[y]-i.floating[v],D=g[y]-i.reference[y],H=await(o.getOffsetParent==null?void 0:o.getOffsetParent(h));let _=H?H[E]:0;(!_||!await(o.isElement==null?void 0:o.isElement(H)))&&(_=c.floating[E]||i.floating[v]);const P=A/2-D/2,L=_/2-w[v]/2-1,$=Ii(m[k],L),ee=Ii(m[C],L),K=$,ue=_-w[v]-ee,me=_/2-w[v]/2+P,R=Ox(K,me,ue),O=!u.arrow&&Zl(a)!=null&&me!==R&&i.reference[v]/2-(meme<=0)){var ee,K;const me=(((ee=i.flip)==null?void 0:ee.index)||0)+1,R=_[me];if(R&&(!(m==="alignment"?C!==Ws(R):!1)||$.every(I=>Ws(I.placement)===C?I.overflows[0]>0:!0)))return{data:{index:me,overflows:$},reset:{placement:R}};let O=(K=$.filter(F=>F.overflows[0]<=0).sort((F,I)=>F.overflows[1]-I.overflows[1])[0])==null?void 0:K.placement;if(!O)switch(y){case"bestFit":{var ue;const F=(ue=$.filter(I=>{if(H){const se=Ws(I.placement);return se===C||se==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(se=>se>0).reduce((se,J)=>se+J,0)]).sort((I,se)=>I[1]-se[1])[0])==null?void 0:ue[0];F&&(O=F);break}case"initialPlacement":O=c;break}if(a!==O)return{reset:{placement:O}}}return{}}}};function fw(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function pw(t){return aF.some(e=>t[e]>=0)}const vF=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:a="referenceHidden",...i}=Ma(t,e);switch(a){case"referenceHidden":{const o=await r.detectOverflow(e,{...i,elementContext:"reference"}),c=fw(o,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:pw(c)}}}case"escaped":{const o=await r.detectOverflow(e,{...i,altBoundary:!0}),c=fw(o,n.floating);return{data:{escapedOffsets:c,escaped:pw(c)}}}default:return{}}}}},WC=new Set(["left","top"]);async function NF(t,e){const{placement:n,platform:r,elements:a}=t,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),o=Aa(n),c=Zl(n),u=Ws(n)==="y",h=WC.has(o)?-1:1,f=i&&u?-1:1,m=Ma(e,t);let{mainAxis:g,crossAxis:y,alignmentAxis:v}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return c&&typeof v=="number"&&(y=c==="end"?v*-1:v),u?{x:y*f,y:g*h}:{x:g*h,y:y*f}}const wF=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:a,y:i,placement:o,middlewareData:c}=e,u=await NF(e,t);return o===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:o}}}}},jF=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:a,platform:i}=e,{mainAxis:o=!0,crossAxis:c=!1,limiter:u={fn:k=>{let{x:C,y:E}=k;return{x:C,y:E}}},...h}=Ma(t,e),f={x:n,y:r},m=await i.detectOverflow(e,h),g=Ws(Aa(a)),y=ey(g);let v=f[y],w=f[g];if(o){const k=y==="y"?"top":"left",C=y==="y"?"bottom":"right",E=v+m[k],A=v-m[C];v=Ox(E,v,A)}if(c){const k=g==="y"?"top":"left",C=g==="y"?"bottom":"right",E=w+m[k],A=w-m[C];w=Ox(E,w,A)}const N=u.fn({...e,[y]:v,[g]:w});return{...N,data:{x:N.x-n,y:N.y-r,enabled:{[y]:o,[g]:c}}}}}},kF=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:a,rects:i,middlewareData:o}=e,{offset:c=0,mainAxis:u=!0,crossAxis:h=!0}=Ma(t,e),f={x:n,y:r},m=Ws(a),g=ey(m);let y=f[g],v=f[m];const w=Ma(c,e),N=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(u){const E=g==="y"?"height":"width",A=i.reference[g]-i.floating[E]+N.mainAxis,D=i.reference[g]+i.reference[E]-N.mainAxis;yD&&(y=D)}if(h){var k,C;const E=g==="y"?"width":"height",A=WC.has(Aa(a)),D=i.reference[m]-i.floating[E]+(A&&((k=o.offset)==null?void 0:k[m])||0)+(A?0:N.crossAxis),H=i.reference[m]+i.reference[E]+(A?0:((C=o.offset)==null?void 0:C[m])||0)-(A?N.crossAxis:0);vH&&(v=H)}return{[g]:y,[m]:v}}}},SF=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:a,rects:i,platform:o,elements:c}=e,{apply:u=()=>{},...h}=Ma(t,e),f=await o.detectOverflow(e,h),m=Aa(a),g=Zl(a),y=Ws(a)==="y",{width:v,height:w}=i.floating;let N,k;m==="top"||m==="bottom"?(N=m,k=g===(await(o.isRTL==null?void 0:o.isRTL(c.floating))?"start":"end")?"left":"right"):(k=m,N=g==="end"?"top":"bottom");const C=w-f.top-f.bottom,E=v-f.left-f.right,A=Ii(w-f[N],C),D=Ii(v-f[k],E),H=!e.middlewareData.shift;let _=A,P=D;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(P=E),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(_=C),H&&!g){const $=Lr(f.left,0),ee=Lr(f.right,0),K=Lr(f.top,0),ue=Lr(f.bottom,0);y?P=v-2*($!==0||ee!==0?$+ee:Lr(f.left,f.right)):_=w-2*(K!==0||ue!==0?K+ue:Lr(f.top,f.bottom))}await u({...e,availableWidth:P,availableHeight:_});const L=await o.getDimensions(c.floating);return v!==L.width||w!==L.height?{reset:{rects:!0}}:{}}}};function Wf(){return typeof window<"u"}function ec(t){return UC(t)?(t.nodeName||"").toLowerCase():"#document"}function Br(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Qs(t){var e;return(e=(UC(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function UC(t){return Wf()?t instanceof Node||t instanceof Br(t).Node:!1}function js(t){return Wf()?t instanceof Element||t instanceof Br(t).Element:!1}function Js(t){return Wf()?t instanceof HTMLElement||t instanceof Br(t).HTMLElement:!1}function mw(t){return!Wf()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Br(t).ShadowRoot}const CF=new Set(["inline","contents"]);function Rd(t){const{overflow:e,overflowX:n,overflowY:r,display:a}=ks(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!CF.has(a)}const EF=new Set(["table","td","th"]);function TF(t){return EF.has(ec(t))}const MF=[":popover-open",":modal"];function Uf(t){return MF.some(e=>{try{return t.matches(e)}catch{return!1}})}const AF=["transform","translate","scale","rotate","perspective"],IF=["transform","translate","scale","rotate","perspective","filter"],RF=["paint","layout","strict","content"];function ry(t){const e=sy(),n=js(t)?ks(t):t;return AF.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||IF.some(r=>(n.willChange||"").includes(r))||RF.some(r=>(n.contain||"").includes(r))}function PF(t){let e=Ri(t);for(;Js(e)&&!Wl(e);){if(ry(e))return e;if(Uf(e))return null;e=Ri(e)}return null}function sy(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const OF=new Set(["html","body","#document"]);function Wl(t){return OF.has(ec(t))}function ks(t){return Br(t).getComputedStyle(t)}function Kf(t){return js(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Ri(t){if(ec(t)==="html")return t;const e=t.assignedSlot||t.parentNode||mw(t)&&t.host||Qs(t);return mw(e)?e.host:e}function KC(t){const e=Ri(t);return Wl(e)?t.ownerDocument?t.ownerDocument.body:t.body:Js(e)&&Rd(e)?e:KC(e)}function Nd(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=KC(t),i=a===((r=t.ownerDocument)==null?void 0:r.body),o=Br(a);if(i){const c=Lx(o);return e.concat(o,o.visualViewport||[],Rd(a)?a:[],c&&n?Nd(c):[])}return e.concat(a,Nd(a,[],n))}function Lx(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function qC(t){const e=ks(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const a=Js(t),i=a?t.offsetWidth:n,o=a?t.offsetHeight:r,c=ff(n)!==i||ff(r)!==o;return c&&(n=i,r=o),{width:n,height:r,$:c}}function ay(t){return js(t)?t:t.contextElement}function Ol(t){const e=ay(t);if(!Js(e))return Us(1);const n=e.getBoundingClientRect(),{width:r,height:a,$:i}=qC(e);let o=(i?ff(n.width):n.width)/r,c=(i?ff(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!c||!Number.isFinite(c))&&(c=1),{x:o,y:c}}const DF=Us(0);function GC(t){const e=Br(t);return!sy()||!e.visualViewport?DF:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function LF(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Br(t)?!1:e}function Lo(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=ay(t);let o=Us(1);e&&(r?js(r)&&(o=Ol(r)):o=Ol(t));const c=LF(i,n,r)?GC(i):Us(0);let u=(a.left+c.x)/o.x,h=(a.top+c.y)/o.y,f=a.width/o.x,m=a.height/o.y;if(i){const g=Br(i),y=r&&js(r)?Br(r):r;let v=g,w=Lx(v);for(;w&&r&&y!==v;){const N=Ol(w),k=w.getBoundingClientRect(),C=ks(w),E=k.left+(w.clientLeft+parseFloat(C.paddingLeft))*N.x,A=k.top+(w.clientTop+parseFloat(C.paddingTop))*N.y;u*=N.x,h*=N.y,f*=N.x,m*=N.y,u+=E,h+=A,v=Br(w),w=Lx(v)}}return mf({width:f,height:m,x:u,y:h})}function qf(t,e){const n=Kf(t).scrollLeft;return e?e.left+n:Lo(Qs(t)).left+n}function JC(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-qf(t,n),a=n.top+e.scrollTop;return{x:r,y:a}}function _F(t){let{elements:e,rect:n,offsetParent:r,strategy:a}=t;const i=a==="fixed",o=Qs(r),c=e?Uf(e.floating):!1;if(r===o||c&&i)return n;let u={scrollLeft:0,scrollTop:0},h=Us(1);const f=Us(0),m=Js(r);if((m||!m&&!i)&&((ec(r)!=="body"||Rd(o))&&(u=Kf(r)),Js(r))){const y=Lo(r);h=Ol(r),f.x=y.x+r.clientLeft,f.y=y.y+r.clientTop}const g=o&&!m&&!i?JC(o,u):Us(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-u.scrollLeft*h.x+f.x+g.x,y:n.y*h.y-u.scrollTop*h.y+f.y+g.y}}function zF(t){return Array.from(t.getClientRects())}function $F(t){const e=Qs(t),n=Kf(t),r=t.ownerDocument.body,a=Lr(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Lr(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+qf(t);const c=-n.scrollTop;return ks(r).direction==="rtl"&&(o+=Lr(e.clientWidth,r.clientWidth)-a),{width:a,height:i,x:o,y:c}}const gw=25;function FF(t,e){const n=Br(t),r=Qs(t),a=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,c=0,u=0;if(a){i=a.width,o=a.height;const f=sy();(!f||f&&e==="fixed")&&(c=a.offsetLeft,u=a.offsetTop)}const h=qf(r);if(h<=0){const f=r.ownerDocument,m=f.body,g=getComputedStyle(m),y=f.compatMode==="CSS1Compat"&&parseFloat(g.marginLeft)+parseFloat(g.marginRight)||0,v=Math.abs(r.clientWidth-m.clientWidth-y);v<=gw&&(i-=v)}else h<=gw&&(i+=h);return{width:i,height:o,x:c,y:u}}const BF=new Set(["absolute","fixed"]);function VF(t,e){const n=Lo(t,!0,e==="fixed"),r=n.top+t.clientTop,a=n.left+t.clientLeft,i=Js(t)?Ol(t):Us(1),o=t.clientWidth*i.x,c=t.clientHeight*i.y,u=a*i.x,h=r*i.y;return{width:o,height:c,x:u,y:h}}function xw(t,e,n){let r;if(e==="viewport")r=FF(t,n);else if(e==="document")r=$F(Qs(t));else if(js(e))r=VF(e,n);else{const a=GC(t);r={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return mf(r)}function YC(t,e){const n=Ri(t);return n===e||!js(n)||Wl(n)?!1:ks(n).position==="fixed"||YC(n,e)}function HF(t,e){const n=e.get(t);if(n)return n;let r=Nd(t,[],!1).filter(c=>js(c)&&ec(c)!=="body"),a=null;const i=ks(t).position==="fixed";let o=i?Ri(t):t;for(;js(o)&&!Wl(o);){const c=ks(o),u=ry(o);!u&&c.position==="fixed"&&(a=null),(i?!u&&!a:!u&&c.position==="static"&&!!a&&BF.has(a.position)||Rd(o)&&!u&&YC(t,o))?r=r.filter(f=>f!==o):a=c,o=Ri(o)}return e.set(t,r),r}function WF(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const o=[...n==="clippingAncestors"?Uf(e)?[]:HF(e,this._c):[].concat(n),r],c=o[0],u=o.reduce((h,f)=>{const m=xw(e,f,a);return h.top=Lr(m.top,h.top),h.right=Ii(m.right,h.right),h.bottom=Ii(m.bottom,h.bottom),h.left=Lr(m.left,h.left),h},xw(e,c,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function UF(t){const{width:e,height:n}=qC(t);return{width:e,height:n}}function KF(t,e,n){const r=Js(e),a=Qs(e),i=n==="fixed",o=Lo(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const u=Us(0);function h(){u.x=qf(a)}if(r||!r&&!i)if((ec(e)!=="body"||Rd(a))&&(c=Kf(e)),r){const y=Lo(e,!0,i,e);u.x=y.x+e.clientLeft,u.y=y.y+e.clientTop}else a&&h();i&&!r&&a&&h();const f=a&&!r&&!i?JC(a,c):Us(0),m=o.left+c.scrollLeft-u.x-f.x,g=o.top+c.scrollTop-u.y-f.y;return{x:m,y:g,width:o.width,height:o.height}}function Sg(t){return ks(t).position==="static"}function yw(t,e){if(!Js(t)||ks(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Qs(t)===n&&(n=n.ownerDocument.body),n}function QC(t,e){const n=Br(t);if(Uf(t))return n;if(!Js(t)){let a=Ri(t);for(;a&&!Wl(a);){if(js(a)&&!Sg(a))return a;a=Ri(a)}return n}let r=yw(t,e);for(;r&&TF(r)&&Sg(r);)r=yw(r,e);return r&&Wl(r)&&Sg(r)&&!ry(r)?n:r||PF(t)||n}const qF=async function(t){const e=this.getOffsetParent||QC,n=this.getDimensions,r=await n(t.floating);return{reference:KF(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function GF(t){return ks(t).direction==="rtl"}const JF={convertOffsetParentRelativeRectToViewportRelativeRect:_F,getDocumentElement:Qs,getClippingRect:WF,getOffsetParent:QC,getElementRects:qF,getClientRects:zF,getDimensions:UF,getScale:Ol,isElement:js,isRTL:GF};function XC(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function YF(t,e){let n=null,r;const a=Qs(t);function i(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function o(c,u){c===void 0&&(c=!1),u===void 0&&(u=1),i();const h=t.getBoundingClientRect(),{left:f,top:m,width:g,height:y}=h;if(c||e(),!g||!y)return;const v=rh(m),w=rh(a.clientWidth-(f+g)),N=rh(a.clientHeight-(m+y)),k=rh(f),E={rootMargin:-v+"px "+-w+"px "+-N+"px "+-k+"px",threshold:Lr(0,Ii(1,u))||1};let A=!0;function D(H){const _=H[0].intersectionRatio;if(_!==u){if(!A)return o();_?o(!1,_):r=setTimeout(()=>{o(!1,1e-7)},1e3)}_===1&&!XC(h,t.getBoundingClientRect())&&o(),A=!1}try{n=new IntersectionObserver(D,{...E,root:a.ownerDocument})}catch{n=new IntersectionObserver(D,E)}n.observe(t)}return o(!0),i}function QF(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,h=ay(t),f=a||i?[...h?Nd(h):[],...Nd(e)]:[];f.forEach(k=>{a&&k.addEventListener("scroll",n,{passive:!0}),i&&k.addEventListener("resize",n)});const m=h&&c?YF(h,n):null;let g=-1,y=null;o&&(y=new ResizeObserver(k=>{let[C]=k;C&&C.target===h&&y&&(y.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var E;(E=y)==null||E.observe(e)})),n()}),h&&!u&&y.observe(h),y.observe(e));let v,w=u?Lo(t):null;u&&N();function N(){const k=Lo(t);w&&!XC(w,k)&&n(),w=k,v=requestAnimationFrame(N)}return n(),()=>{var k;f.forEach(C=>{a&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),m==null||m(),(k=y)==null||k.disconnect(),y=null,u&&cancelAnimationFrame(v)}}const XF=wF,ZF=jF,eB=bF,tB=SF,nB=vF,bw=yF,rB=kF,sB=(t,e,n)=>{const r=new Map,a={platform:JF,...n},i={...a.platform,_c:r};return xF(t,e,{...a,platform:i})};var aB=typeof document<"u",iB=function(){},fh=aB?b.useLayoutEffect:iB;function gf(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,a;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!gf(t[r],e[r]))return!1;return!0}if(a=Object.keys(t),n=a.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,a[r]))return!1;for(r=n;r--!==0;){const i=a[r];if(!(i==="_owner"&&t.$$typeof)&&!gf(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function ZC(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function vw(t,e){const n=ZC(t);return Math.round(e*n)/n}function Cg(t){const e=b.useRef(t);return fh(()=>{e.current=t}),e}function oB(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:i,floating:o}={},transform:c=!0,whileElementsMounted:u,open:h}=t,[f,m]=b.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[g,y]=b.useState(r);gf(g,r)||y(r);const[v,w]=b.useState(null),[N,k]=b.useState(null),C=b.useCallback(I=>{I!==H.current&&(H.current=I,w(I))},[]),E=b.useCallback(I=>{I!==_.current&&(_.current=I,k(I))},[]),A=i||v,D=o||N,H=b.useRef(null),_=b.useRef(null),P=b.useRef(f),L=u!=null,$=Cg(u),ee=Cg(a),K=Cg(h),ue=b.useCallback(()=>{if(!H.current||!_.current)return;const I={placement:e,strategy:n,middleware:g};ee.current&&(I.platform=ee.current),sB(H.current,_.current,I).then(se=>{const J={...se,isPositioned:K.current!==!1};me.current&&!gf(P.current,J)&&(P.current=J,jd.flushSync(()=>{m(J)}))})},[g,e,n,ee,K]);fh(()=>{h===!1&&P.current.isPositioned&&(P.current.isPositioned=!1,m(I=>({...I,isPositioned:!1})))},[h]);const me=b.useRef(!1);fh(()=>(me.current=!0,()=>{me.current=!1}),[]),fh(()=>{if(A&&(H.current=A),D&&(_.current=D),A&&D){if($.current)return $.current(A,D,ue);ue()}},[A,D,ue,$,L]);const R=b.useMemo(()=>({reference:H,floating:_,setReference:C,setFloating:E}),[C,E]),O=b.useMemo(()=>({reference:A,floating:D}),[A,D]),F=b.useMemo(()=>{const I={position:n,left:0,top:0};if(!O.floating)return I;const se=vw(O.floating,f.x),J=vw(O.floating,f.y);return c?{...I,transform:"translate("+se+"px, "+J+"px)",...ZC(O.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:se,top:J}},[n,c,O.floating,f.x,f.y]);return b.useMemo(()=>({...f,update:ue,refs:R,elements:O,floatingStyles:F}),[f,ue,R,O,F])}const lB=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:a}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?bw({element:r.current,padding:a}).fn(n):{}:r?bw({element:r,padding:a}).fn(n):{}}}},cB=(t,e)=>({...XF(t),options:[t,e]}),dB=(t,e)=>({...ZF(t),options:[t,e]}),uB=(t,e)=>({...rB(t),options:[t,e]}),hB=(t,e)=>({...eB(t),options:[t,e]}),fB=(t,e)=>({...tB(t),options:[t,e]}),pB=(t,e)=>({...nB(t),options:[t,e]}),mB=(t,e)=>({...lB(t),options:[t,e]});var gB="Arrow",e4=b.forwardRef((t,e)=>{const{children:n,width:r=10,height:a=5,...i}=t;return s.jsx(ut.svg,{...i,ref:e,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:s.jsx("polygon",{points:"0,0 30,0 15,10"})})});e4.displayName=gB;var xB=e4,iy="Popper",[t4,n4]=Li(iy),[yB,r4]=t4(iy),s4=t=>{const{__scopePopper:e,children:n}=t,[r,a]=b.useState(null);return s.jsx(yB,{scope:e,anchor:r,onAnchorChange:a,children:n})};s4.displayName=iy;var a4="PopperAnchor",i4=b.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...a}=t,i=r4(a4,n),o=b.useRef(null),c=St(e,o),u=b.useRef(null);return b.useEffect(()=>{const h=u.current;u.current=(r==null?void 0:r.current)||o.current,h!==u.current&&i.onAnchorChange(u.current)}),r?null:s.jsx(ut.div,{...a,ref:c})});i4.displayName=a4;var oy="PopperContent",[bB,vB]=t4(oy),o4=b.forwardRef((t,e)=>{var X,ae,ye,je,_e,He;const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:i="center",alignOffset:o=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:h=[],collisionPadding:f=0,sticky:m="partial",hideWhenDetached:g=!1,updatePositionStrategy:y="optimized",onPlaced:v,...w}=t,N=r4(oy,n),[k,C]=b.useState(null),E=St(e,gt=>C(gt)),[A,D]=b.useState(null),H=o0(A),_=(H==null?void 0:H.width)??0,P=(H==null?void 0:H.height)??0,L=r+(i!=="center"?"-"+i:""),$=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},ee=Array.isArray(h)?h:[h],K=ee.length>0,ue={padding:$,boundary:ee.filter(wB),altBoundary:K},{refs:me,floatingStyles:R,placement:O,isPositioned:F,middlewareData:I}=oB({strategy:"fixed",placement:L,whileElementsMounted:(...gt)=>QF(...gt,{animationFrame:y==="always"}),elements:{reference:N.anchor},middleware:[cB({mainAxis:a+P,alignmentAxis:o}),u&&dB({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?uB():void 0,...ue}),u&&hB({...ue}),fB({...ue,apply:({elements:gt,rects:Dt,availableWidth:jn,availableHeight:it})=>{const{width:Mt,height:re}=Dt.reference,Pe=gt.floating.style;Pe.setProperty("--radix-popper-available-width",`${jn}px`),Pe.setProperty("--radix-popper-available-height",`${it}px`),Pe.setProperty("--radix-popper-anchor-width",`${Mt}px`),Pe.setProperty("--radix-popper-anchor-height",`${re}px`)}}),A&&mB({element:A,padding:c}),jB({arrowWidth:_,arrowHeight:P}),g&&pB({strategy:"referenceHidden",...ue})]}),[se,J]=d4(O),z=Ti(v);rr(()=>{F&&(z==null||z())},[F,z]);const U=(X=I.arrow)==null?void 0:X.x,q=(ae=I.arrow)==null?void 0:ae.y,V=((ye=I.arrow)==null?void 0:ye.centerOffset)!==0,[ce,Y]=b.useState();return rr(()=>{k&&Y(window.getComputedStyle(k).zIndex)},[k]),s.jsx("div",{ref:me.setFloating,"data-radix-popper-content-wrapper":"",style:{...R,transform:F?R.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ce,"--radix-popper-transform-origin":[(je=I.transformOrigin)==null?void 0:je.x,(_e=I.transformOrigin)==null?void 0:_e.y].join(" "),...((He=I.hide)==null?void 0:He.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:s.jsx(bB,{scope:n,placedSide:se,onArrowChange:D,arrowX:U,arrowY:q,shouldHideArrow:V,children:s.jsx(ut.div,{"data-side":se,"data-align":J,...w,ref:E,style:{...w.style,animation:F?void 0:"none"}})})})});o4.displayName=oy;var l4="PopperArrow",NB={top:"bottom",right:"left",bottom:"top",left:"right"},c4=b.forwardRef(function(e,n){const{__scopePopper:r,...a}=e,i=vB(l4,r),o=NB[i.placedSide];return s.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:s.jsx(xB,{...a,ref:n,style:{...a.style,display:"block"}})})});c4.displayName=l4;function wB(t){return t!==null}var jB=t=>({name:"transformOrigin",options:t,fn(e){var N,k,C;const{placement:n,rects:r,middlewareData:a}=e,o=((N=a.arrow)==null?void 0:N.centerOffset)!==0,c=o?0:t.arrowWidth,u=o?0:t.arrowHeight,[h,f]=d4(n),m={start:"0%",center:"50%",end:"100%"}[f],g=(((k=a.arrow)==null?void 0:k.x)??0)+c/2,y=(((C=a.arrow)==null?void 0:C.y)??0)+u/2;let v="",w="";return h==="bottom"?(v=o?m:`${g}px`,w=`${-u}px`):h==="top"?(v=o?m:`${g}px`,w=`${r.floating.height+u}px`):h==="right"?(v=`${-u}px`,w=o?m:`${y}px`):h==="left"&&(v=`${r.floating.width+u}px`,w=o?m:`${y}px`),{data:{x:v,y:w}}}});function d4(t){const[e,n="center"]=t.split("-");return[e,n]}var kB=s4,SB=i4,CB=o4,EB=c4,u4=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),TB="VisuallyHidden",MB=b.forwardRef((t,e)=>s.jsx(ut.span,{...t,ref:e,style:{...u4,...t.style}}));MB.displayName=TB;var AB=[" ","Enter","ArrowUp","ArrowDown"],IB=[" ","Enter"],_o="Select",[Gf,Jf,RB]=s0(_o),[tc]=Li(_o,[RB,n4]),Yf=n4(),[PB,Fi]=tc(_o),[OB,DB]=tc(_o),h4=t=>{const{__scopeSelect:e,children:n,open:r,defaultOpen:a,onOpenChange:i,value:o,defaultValue:c,onValueChange:u,dir:h,name:f,autoComplete:m,disabled:g,required:y,form:v}=t,w=Yf(e),[N,k]=b.useState(null),[C,E]=b.useState(null),[A,D]=b.useState(!1),H=kf(h),[_,P]=Eo({prop:r,defaultProp:a??!1,onChange:i,caller:_o}),[L,$]=Eo({prop:o,defaultProp:c,onChange:u,caller:_o}),ee=b.useRef(null),K=N?v||!!N.closest("form"):!0,[ue,me]=b.useState(new Set),R=Array.from(ue).map(O=>O.props.value).join(";");return s.jsx(kB,{...w,children:s.jsxs(PB,{required:y,scope:e,trigger:N,onTriggerChange:k,valueNode:C,onValueNodeChange:E,valueNodeHasChildren:A,onValueNodeHasChildrenChange:D,contentId:ji(),value:L,onValueChange:$,open:_,onOpenChange:P,dir:H,triggerPointerDownPosRef:ee,disabled:g,children:[s.jsx(Gf.Provider,{scope:e,children:s.jsx(OB,{scope:t.__scopeSelect,onNativeOptionAdd:b.useCallback(O=>{me(F=>new Set(F).add(O))},[]),onNativeOptionRemove:b.useCallback(O=>{me(F=>{const I=new Set(F);return I.delete(O),I})},[]),children:n})}),K?s.jsxs(O4,{"aria-hidden":!0,required:y,tabIndex:-1,name:f,autoComplete:m,value:L,onChange:O=>$(O.target.value),disabled:g,form:v,children:[L===void 0?s.jsx("option",{value:""}):null,Array.from(ue)]},R):null]})})};h4.displayName=_o;var f4="SelectTrigger",p4=b.forwardRef((t,e)=>{const{__scopeSelect:n,disabled:r=!1,...a}=t,i=Yf(n),o=Fi(f4,n),c=o.disabled||r,u=St(e,o.onTriggerChange),h=Jf(n),f=b.useRef("touch"),[m,g,y]=L4(w=>{const N=h().filter(E=>!E.disabled),k=N.find(E=>E.value===o.value),C=_4(N,w,k);C!==void 0&&o.onValueChange(C.value)}),v=w=>{c||(o.onOpenChange(!0),y()),w&&(o.triggerPointerDownPosRef.current={x:Math.round(w.pageX),y:Math.round(w.pageY)})};return s.jsx(SB,{asChild:!0,...i,children:s.jsx(ut.button,{type:"button",role:"combobox","aria-controls":o.contentId,"aria-expanded":o.open,"aria-required":o.required,"aria-autocomplete":"none",dir:o.dir,"data-state":o.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":D4(o.value)?"":void 0,...a,ref:u,onClick:at(a.onClick,w=>{w.currentTarget.focus(),f.current!=="mouse"&&v(w)}),onPointerDown:at(a.onPointerDown,w=>{f.current=w.pointerType;const N=w.target;N.hasPointerCapture(w.pointerId)&&N.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&w.pointerType==="mouse"&&(v(w),w.preventDefault())}),onKeyDown:at(a.onKeyDown,w=>{const N=m.current!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&g(w.key),!(N&&w.key===" ")&&AB.includes(w.key)&&(v(),w.preventDefault())})})})});p4.displayName=f4;var m4="SelectValue",g4=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:a,children:i,placeholder:o="",...c}=t,u=Fi(m4,n),{onValueNodeHasChildrenChange:h}=u,f=i!==void 0,m=St(e,u.onValueNodeChange);return rr(()=>{h(f)},[h,f]),s.jsx(ut.span,{...c,ref:m,style:{pointerEvents:"none"},children:D4(u.value)?s.jsx(s.Fragment,{children:o}):i})});g4.displayName=m4;var LB="SelectIcon",x4=b.forwardRef((t,e)=>{const{__scopeSelect:n,children:r,...a}=t;return s.jsx(ut.span,{"aria-hidden":!0,...a,ref:e,children:r||"▼"})});x4.displayName=LB;var _B="SelectPortal",y4=t=>s.jsx(Zx,{asChild:!0,...t});y4.displayName=_B;var zo="SelectContent",b4=b.forwardRef((t,e)=>{const n=Fi(zo,t.__scopeSelect),[r,a]=b.useState();if(rr(()=>{a(new DocumentFragment)},[]),!n.open){const i=r;return i?jd.createPortal(s.jsx(v4,{scope:t.__scopeSelect,children:s.jsx(Gf.Slot,{scope:t.__scopeSelect,children:s.jsx("div",{children:t.children})})}),i):null}return s.jsx(N4,{...t,ref:e})});b4.displayName=zo;var ys=10,[v4,Bi]=tc(zo),zB="SelectContentImpl",$B=ld("SelectContent.RemoveScroll"),N4=b.forwardRef((t,e)=>{const{__scopeSelect:n,position:r="item-aligned",onCloseAutoFocus:a,onEscapeKeyDown:i,onPointerDownOutside:o,side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:w,avoidCollisions:N,...k}=t,C=Fi(zo,n),[E,A]=b.useState(null),[D,H]=b.useState(null),_=St(e,X=>A(X)),[P,L]=b.useState(null),[$,ee]=b.useState(null),K=Jf(n),[ue,me]=b.useState(!1),R=b.useRef(!1);b.useEffect(()=>{if(E)return Oj(E)},[E]),Sj();const O=b.useCallback(X=>{const[ae,...ye]=K().map(He=>He.ref.current),[je]=ye.slice(-1),_e=document.activeElement;for(const He of X)if(He===_e||(He==null||He.scrollIntoView({block:"nearest"}),He===ae&&D&&(D.scrollTop=0),He===je&&D&&(D.scrollTop=D.scrollHeight),He==null||He.focus(),document.activeElement!==_e))return},[K,D]),F=b.useCallback(()=>O([P,E]),[O,P,E]);b.useEffect(()=>{ue&&F()},[ue,F]);const{onOpenChange:I,triggerPointerDownPosRef:se}=C;b.useEffect(()=>{if(E){let X={x:0,y:0};const ae=je=>{var _e,He;X={x:Math.abs(Math.round(je.pageX)-(((_e=se.current)==null?void 0:_e.x)??0)),y:Math.abs(Math.round(je.pageY)-(((He=se.current)==null?void 0:He.y)??0))}},ye=je=>{X.x<=10&&X.y<=10?je.preventDefault():E.contains(je.target)||I(!1),document.removeEventListener("pointermove",ae),se.current=null};return se.current!==null&&(document.addEventListener("pointermove",ae),document.addEventListener("pointerup",ye,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",ae),document.removeEventListener("pointerup",ye,{capture:!0})}}},[E,I,se]),b.useEffect(()=>{const X=()=>I(!1);return window.addEventListener("blur",X),window.addEventListener("resize",X),()=>{window.removeEventListener("blur",X),window.removeEventListener("resize",X)}},[I]);const[J,z]=L4(X=>{const ae=K().filter(_e=>!_e.disabled),ye=ae.find(_e=>_e.ref.current===document.activeElement),je=_4(ae,X,ye);je&&setTimeout(()=>je.ref.current.focus())}),U=b.useCallback((X,ae,ye)=>{const je=!R.current&&!ye;(C.value!==void 0&&C.value===ae||je)&&(L(X),je&&(R.current=!0))},[C.value]),q=b.useCallback(()=>E==null?void 0:E.focus(),[E]),V=b.useCallback((X,ae,ye)=>{const je=!R.current&&!ye;(C.value!==void 0&&C.value===ae||je)&&ee(X)},[C.value]),ce=r==="popper"?_x:w4,Y=ce===_x?{side:c,sideOffset:u,align:h,alignOffset:f,arrowPadding:m,collisionBoundary:g,collisionPadding:y,sticky:v,hideWhenDetached:w,avoidCollisions:N}:{};return s.jsx(v4,{scope:n,content:E,viewport:D,onViewportChange:H,itemRefCallback:U,selectedItem:P,onItemLeave:q,itemTextRefCallback:V,focusSelectedItem:F,selectedItemText:$,position:r,isPositioned:ue,searchRef:J,children:s.jsx(e0,{as:$B,allowPinchZoom:!0,children:s.jsx(Xx,{asChild:!0,trapped:C.open,onMountAutoFocus:X=>{X.preventDefault()},onUnmountAutoFocus:at(a,X=>{var ae;(ae=C.trigger)==null||ae.focus({preventScroll:!0}),X.preventDefault()}),children:s.jsx(Qx,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:X=>X.preventDefault(),onDismiss:()=>C.onOpenChange(!1),children:s.jsx(ce,{role:"listbox",id:C.contentId,"data-state":C.open?"open":"closed",dir:C.dir,onContextMenu:X=>X.preventDefault(),...k,...Y,onPlaced:()=>me(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...k.style},onKeyDown:at(k.onKeyDown,X=>{const ae=X.ctrlKey||X.altKey||X.metaKey;if(X.key==="Tab"&&X.preventDefault(),!ae&&X.key.length===1&&z(X.key),["ArrowUp","ArrowDown","Home","End"].includes(X.key)){let je=K().filter(_e=>!_e.disabled).map(_e=>_e.ref.current);if(["ArrowUp","End"].includes(X.key)&&(je=je.slice().reverse()),["ArrowUp","ArrowDown"].includes(X.key)){const _e=X.target,He=je.indexOf(_e);je=je.slice(He+1)}setTimeout(()=>O(je)),X.preventDefault()}})})})})})})});N4.displayName=zB;var FB="SelectItemAlignedPosition",w4=b.forwardRef((t,e)=>{const{__scopeSelect:n,onPlaced:r,...a}=t,i=Fi(zo,n),o=Bi(zo,n),[c,u]=b.useState(null),[h,f]=b.useState(null),m=St(e,_=>f(_)),g=Jf(n),y=b.useRef(!1),v=b.useRef(!0),{viewport:w,selectedItem:N,selectedItemText:k,focusSelectedItem:C}=o,E=b.useCallback(()=>{if(i.trigger&&i.valueNode&&c&&h&&w&&N&&k){const _=i.trigger.getBoundingClientRect(),P=h.getBoundingClientRect(),L=i.valueNode.getBoundingClientRect(),$=k.getBoundingClientRect();if(i.dir!=="rtl"){const _e=$.left-P.left,He=L.left-_e,gt=_.left-He,Dt=_.width+gt,jn=Math.max(Dt,P.width),it=window.innerWidth-ys,Mt=Nh(He,[ys,Math.max(ys,it-jn)]);c.style.minWidth=Dt+"px",c.style.left=Mt+"px"}else{const _e=P.right-$.right,He=window.innerWidth-L.right-_e,gt=window.innerWidth-_.right-He,Dt=_.width+gt,jn=Math.max(Dt,P.width),it=window.innerWidth-ys,Mt=Nh(He,[ys,Math.max(ys,it-jn)]);c.style.minWidth=Dt+"px",c.style.right=Mt+"px"}const ee=g(),K=window.innerHeight-ys*2,ue=w.scrollHeight,me=window.getComputedStyle(h),R=parseInt(me.borderTopWidth,10),O=parseInt(me.paddingTop,10),F=parseInt(me.borderBottomWidth,10),I=parseInt(me.paddingBottom,10),se=R+O+ue+I+F,J=Math.min(N.offsetHeight*5,se),z=window.getComputedStyle(w),U=parseInt(z.paddingTop,10),q=parseInt(z.paddingBottom,10),V=_.top+_.height/2-ys,ce=K-V,Y=N.offsetHeight/2,X=N.offsetTop+Y,ae=R+O+X,ye=se-ae;if(ae<=V){const _e=ee.length>0&&N===ee[ee.length-1].ref.current;c.style.bottom="0px";const He=h.clientHeight-w.offsetTop-w.offsetHeight,gt=Math.max(ce,Y+(_e?q:0)+He+F),Dt=ae+gt;c.style.height=Dt+"px"}else{const _e=ee.length>0&&N===ee[0].ref.current;c.style.top="0px";const gt=Math.max(V,R+w.offsetTop+(_e?U:0)+Y)+ye;c.style.height=gt+"px",w.scrollTop=ae-V+w.offsetTop}c.style.margin=`${ys}px 0`,c.style.minHeight=J+"px",c.style.maxHeight=K+"px",r==null||r(),requestAnimationFrame(()=>y.current=!0)}},[g,i.trigger,i.valueNode,c,h,w,N,k,i.dir,r]);rr(()=>E(),[E]);const[A,D]=b.useState();rr(()=>{h&&D(window.getComputedStyle(h).zIndex)},[h]);const H=b.useCallback(_=>{_&&v.current===!0&&(E(),C==null||C(),v.current=!1)},[E,C]);return s.jsx(VB,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:y,onScrollButtonChange:H,children:s.jsx("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:A},children:s.jsx(ut.div,{...a,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});w4.displayName=FB;var BB="SelectPopperPosition",_x=b.forwardRef((t,e)=>{const{__scopeSelect:n,align:r="start",collisionPadding:a=ys,...i}=t,o=Yf(n);return s.jsx(CB,{...o,...i,ref:e,align:r,collisionPadding:a,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});_x.displayName=BB;var[VB,ly]=tc(zo,{}),zx="SelectViewport",j4=b.forwardRef((t,e)=>{const{__scopeSelect:n,nonce:r,...a}=t,i=Bi(zx,n),o=ly(zx,n),c=St(e,i.onViewportChange),u=b.useRef(0);return s.jsxs(s.Fragment,{children:[s.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:r}),s.jsx(Gf.Slot,{scope:n,children:s.jsx(ut.div,{"data-radix-select-viewport":"",role:"presentation",...a,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...a.style},onScroll:at(a.onScroll,h=>{const f=h.currentTarget,{contentWrapper:m,shouldExpandOnScrollRef:g}=o;if(g!=null&&g.current&&m){const y=Math.abs(u.current-f.scrollTop);if(y>0){const v=window.innerHeight-ys*2,w=parseFloat(m.style.minHeight),N=parseFloat(m.style.height),k=Math.max(w,N);if(k0?A:0,m.style.justifyContent="flex-end")}}}u.current=f.scrollTop})})})]})});j4.displayName=zx;var k4="SelectGroup",[HB,WB]=tc(k4),UB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,a=ji();return s.jsx(HB,{scope:n,id:a,children:s.jsx(ut.div,{role:"group","aria-labelledby":a,...r,ref:e})})});UB.displayName=k4;var S4="SelectLabel",KB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,a=WB(S4,n);return s.jsx(ut.div,{id:a.id,...r,ref:e})});KB.displayName=S4;var xf="SelectItem",[qB,C4]=tc(xf),E4=b.forwardRef((t,e)=>{const{__scopeSelect:n,value:r,disabled:a=!1,textValue:i,...o}=t,c=Fi(xf,n),u=Bi(xf,n),h=c.value===r,[f,m]=b.useState(i??""),[g,y]=b.useState(!1),v=St(e,C=>{var E;return(E=u.itemRefCallback)==null?void 0:E.call(u,C,r,a)}),w=ji(),N=b.useRef("touch"),k=()=>{a||(c.onValueChange(r),c.onOpenChange(!1))};if(r==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return s.jsx(qB,{scope:n,value:r,disabled:a,textId:w,isSelected:h,onItemTextChange:b.useCallback(C=>{m(E=>E||((C==null?void 0:C.textContent)??"").trim())},[]),children:s.jsx(Gf.ItemSlot,{scope:n,value:r,disabled:a,textValue:f,children:s.jsx(ut.div,{role:"option","aria-labelledby":w,"data-highlighted":g?"":void 0,"aria-selected":h&&g,"data-state":h?"checked":"unchecked","aria-disabled":a||void 0,"data-disabled":a?"":void 0,tabIndex:a?void 0:-1,...o,ref:v,onFocus:at(o.onFocus,()=>y(!0)),onBlur:at(o.onBlur,()=>y(!1)),onClick:at(o.onClick,()=>{N.current!=="mouse"&&k()}),onPointerUp:at(o.onPointerUp,()=>{N.current==="mouse"&&k()}),onPointerDown:at(o.onPointerDown,C=>{N.current=C.pointerType}),onPointerMove:at(o.onPointerMove,C=>{var E;N.current=C.pointerType,a?(E=u.onItemLeave)==null||E.call(u):N.current==="mouse"&&C.currentTarget.focus({preventScroll:!0})}),onPointerLeave:at(o.onPointerLeave,C=>{var E;C.currentTarget===document.activeElement&&((E=u.onItemLeave)==null||E.call(u))}),onKeyDown:at(o.onKeyDown,C=>{var A;((A=u.searchRef)==null?void 0:A.current)!==""&&C.key===" "||(IB.includes(C.key)&&k(),C.key===" "&&C.preventDefault())})})})})});E4.displayName=xf;var Uc="SelectItemText",T4=b.forwardRef((t,e)=>{const{__scopeSelect:n,className:r,style:a,...i}=t,o=Fi(Uc,n),c=Bi(Uc,n),u=C4(Uc,n),h=DB(Uc,n),[f,m]=b.useState(null),g=St(e,k=>m(k),u.onItemTextChange,k=>{var C;return(C=c.itemTextRefCallback)==null?void 0:C.call(c,k,u.value,u.disabled)}),y=f==null?void 0:f.textContent,v=b.useMemo(()=>s.jsx("option",{value:u.value,disabled:u.disabled,children:y},u.value),[u.disabled,u.value,y]),{onNativeOptionAdd:w,onNativeOptionRemove:N}=h;return rr(()=>(w(v),()=>N(v)),[w,N,v]),s.jsxs(s.Fragment,{children:[s.jsx(ut.span,{id:u.textId,...i,ref:g}),u.isSelected&&o.valueNode&&!o.valueNodeHasChildren?jd.createPortal(i.children,o.valueNode):null]})});T4.displayName=Uc;var M4="SelectItemIndicator",A4=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return C4(M4,n).isSelected?s.jsx(ut.span,{"aria-hidden":!0,...r,ref:e}):null});A4.displayName=M4;var $x="SelectScrollUpButton",I4=b.forwardRef((t,e)=>{const n=Bi($x,t.__scopeSelect),r=ly($x,t.__scopeSelect),[a,i]=b.useState(!1),o=St(e,r.onScrollButtonChange);return rr(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollTop>0;i(h)};const u=n.viewport;return c(),u.addEventListener("scroll",c),()=>u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),a?s.jsx(P4,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop-u.offsetHeight)}}):null});I4.displayName=$x;var Fx="SelectScrollDownButton",R4=b.forwardRef((t,e)=>{const n=Bi(Fx,t.__scopeSelect),r=ly(Fx,t.__scopeSelect),[a,i]=b.useState(!1),o=St(e,r.onScrollButtonChange);return rr(()=>{if(n.viewport&&n.isPositioned){let c=function(){const h=u.scrollHeight-u.clientHeight,f=Math.ceil(u.scrollTop)u.removeEventListener("scroll",c)}},[n.viewport,n.isPositioned]),a?s.jsx(P4,{...t,ref:o,onAutoScroll:()=>{const{viewport:c,selectedItem:u}=n;c&&u&&(c.scrollTop=c.scrollTop+u.offsetHeight)}}):null});R4.displayName=Fx;var P4=b.forwardRef((t,e)=>{const{__scopeSelect:n,onAutoScroll:r,...a}=t,i=Bi("SelectScrollButton",n),o=b.useRef(null),c=Jf(n),u=b.useCallback(()=>{o.current!==null&&(window.clearInterval(o.current),o.current=null)},[]);return b.useEffect(()=>()=>u(),[u]),rr(()=>{var f;const h=c().find(m=>m.ref.current===document.activeElement);(f=h==null?void 0:h.ref.current)==null||f.scrollIntoView({block:"nearest"})},[c]),s.jsx(ut.div,{"aria-hidden":!0,...a,ref:e,style:{flexShrink:0,...a.style},onPointerDown:at(a.onPointerDown,()=>{o.current===null&&(o.current=window.setInterval(r,50))}),onPointerMove:at(a.onPointerMove,()=>{var h;(h=i.onItemLeave)==null||h.call(i),o.current===null&&(o.current=window.setInterval(r,50))}),onPointerLeave:at(a.onPointerLeave,()=>{u()})})}),GB="SelectSeparator",JB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t;return s.jsx(ut.div,{"aria-hidden":!0,...r,ref:e})});JB.displayName=GB;var Bx="SelectArrow",YB=b.forwardRef((t,e)=>{const{__scopeSelect:n,...r}=t,a=Yf(n),i=Fi(Bx,n),o=Bi(Bx,n);return i.open&&o.position==="popper"?s.jsx(EB,{...a,...r,ref:e}):null});YB.displayName=Bx;var QB="SelectBubbleInput",O4=b.forwardRef(({__scopeSelect:t,value:e,...n},r)=>{const a=b.useRef(null),i=St(r,a),o=i0(e);return b.useEffect(()=>{const c=a.current;if(!c)return;const u=window.HTMLSelectElement.prototype,f=Object.getOwnPropertyDescriptor(u,"value").set;if(o!==e&&f){const m=new Event("change",{bubbles:!0});f.call(c,e),c.dispatchEvent(m)}},[o,e]),s.jsx(ut.select,{...n,style:{...u4,...n.style},ref:i,defaultValue:e})});O4.displayName=QB;function D4(t){return t===""||t===void 0}function L4(t){const e=Ti(t),n=b.useRef(""),r=b.useRef(0),a=b.useCallback(o=>{const c=n.current+o;e(c),(function u(h){n.current=h,window.clearTimeout(r.current),h!==""&&(r.current=window.setTimeout(()=>u(""),1e3))})(c)},[e]),i=b.useCallback(()=>{n.current="",window.clearTimeout(r.current)},[]);return b.useEffect(()=>()=>window.clearTimeout(r.current),[]),[n,a,i]}function _4(t,e,n){const a=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=n?t.indexOf(n):-1;let o=XB(t,Math.max(i,0));a.length===1&&(o=o.filter(h=>h!==n));const u=o.find(h=>h.textValue.toLowerCase().startsWith(a.toLowerCase()));return u!==n?u:void 0}function XB(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var ZB=h4,z4=p4,eV=g4,tV=x4,nV=y4,$4=b4,rV=j4,F4=E4,sV=T4,aV=A4,iV=I4,oV=R4;const Sl=ZB,Cl=eV,fo=b.forwardRef(({className:t,children:e,...n},r)=>s.jsxs(z4,{ref:r,className:Ct("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t),...n,children:[e,s.jsx(tV,{asChild:!0,children:s.jsx(od,{className:"h-4 w-4 opacity-50"})})]}));fo.displayName=z4.displayName;const po=b.forwardRef(({className:t,children:e,position:n="popper",...r},a)=>s.jsx(nV,{children:s.jsxs($4,{ref:a,className:Ct("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md",n==="popper"&&"data-[side=bottom]:translate-y-1",t),position:n,...r,children:[s.jsx(iV,{className:"flex cursor-default items-center justify-center py-1",children:s.jsx(Jw,{className:"h-4 w-4"})}),s.jsx(rV,{className:"p-1",children:e}),s.jsx(oV,{className:"flex cursor-default items-center justify-center py-1",children:s.jsx(od,{className:"h-4 w-4"})})]})}));po.displayName=$4.displayName;const Dr=b.forwardRef(({className:t,children:e,...n},r)=>s.jsxs(F4,{ref:r,className:Ct("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[s.jsx("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:s.jsx(aV,{children:s.jsx(vf,{className:"h-4 w-4"})})}),s.jsx(sV,{children:e})]}));Dr.displayName=F4.displayName;const lV=["一","二","三","四","五","六","七","八","九","十"];function Eg(t){return t.startsWith("part:")?{type:"part",id:t.slice(5)}:t.startsWith("chapter:")?{type:"chapter",id:t.slice(8)}:t.startsWith("section:")?{type:"section",id:t.slice(8)}:null}function cV({parts:t,expandedParts:e,onTogglePart:n,onReorder:r,onReadSection:a,onDeleteSection:i,onAddSectionInPart:o,onAddChapterInPart:c,onDeleteChapter:u,onEditPart:h,onDeletePart:f,onEditChapter:m,selectedSectionIds:g=[],onToggleSectionSelect:y,onShowSectionOrders:v,pinnedSectionIds:w=[]}){const[N,k]=b.useState(null),[C,E]=b.useState(null),A=($,ee)=>(N==null?void 0:N.type)===$&&(N==null?void 0:N.id)===ee,D=($,ee)=>(C==null?void 0:C.type)===$&&(C==null?void 0:C.id)===ee,H=b.useCallback(()=>{const $=[];for(const ee of t)for(const K of ee.chapters)for(const ue of K.sections)$.push({id:ue.id,partId:ee.id,partTitle:ee.title,chapterId:K.id,chapterTitle:K.title});return $},[t]),_=b.useCallback(async($,ee,K,ue)=>{var I;$.preventDefault(),$.stopPropagation();const me=$.dataTransfer.getData("text/plain"),R=Eg(me);if(!R||R.type===ee&&R.id===K)return;const O=H(),F=new Map(O.map(se=>[se.id,se]));if(R.type==="part"&&ee==="part"){const se=t.map(V=>V.id),J=se.indexOf(R.id),z=se.indexOf(K);if(J===-1||z===-1)return;const U=[...se];U.splice(J,1),U.splice(JY.id===V);if(ce)for(const Y of ce.chapters)for(const X of Y.sections){const ae=F.get(X.id);ae&&q.push(ae)}}await r(q);return}if(R.type==="chapter"&&(ee==="chapter"||ee==="section"||ee==="part")){const se=t.find(ae=>ae.chapters.some(ye=>ye.id===R.id)),J=se==null?void 0:se.chapters.find(ae=>ae.id===R.id);if(!se||!J)return;let z,U,q=null;if(ee==="section"){const ae=F.get(K);if(!ae)return;z=ae.partId,U=ae.partTitle,q=K}else if(ee==="chapter"){const ae=t.find(_e=>_e.chapters.some(He=>He.id===K)),ye=ae==null?void 0:ae.chapters.find(_e=>_e.id===K);if(!ae||!ye)return;z=ae.id,U=ae.title;const je=O.filter(_e=>_e.chapterId===K).pop();q=(je==null?void 0:je.id)??null}else{const ae=t.find(je=>je.id===K);if(!ae||!ae.chapters[0])return;z=ae.id,U=ae.title;const ye=O.filter(je=>je.partId===ae.id&&je.chapterId===ae.chapters[0].id);q=((I=ye[ye.length-1])==null?void 0:I.id)??null}const V=J.sections.map(ae=>ae.id),ce=O.filter(ae=>!V.includes(ae.id));let Y=ce.length;if(q){const ae=ce.findIndex(ye=>ye.id===q);ae>=0&&(Y=ae+1)}const X=V.map(ae=>({...F.get(ae),partId:z,partTitle:U,chapterId:J.id,chapterTitle:J.title}));await r([...ce.slice(0,Y),...X,...ce.slice(Y)]);return}if(R.type==="section"&&(ee==="section"||ee==="chapter"||ee==="part")){if(!ue)return;const{partId:se,partTitle:J,chapterId:z,chapterTitle:U}=ue;let q;if(ee==="section")q=O.findIndex(ye=>ye.id===K);else if(ee==="chapter"){const ye=O.filter(je=>je.chapterId===K).pop();q=ye?O.findIndex(je=>je.id===ye.id)+1:O.length}else{const ye=t.find(He=>He.id===K);if(!(ye!=null&&ye.chapters[0]))return;const je=O.filter(He=>He.partId===ye.id&&He.chapterId===ye.chapters[0].id),_e=je[je.length-1];q=_e?O.findIndex(He=>He.id===_e.id)+1:0}const V=O.findIndex(ye=>ye.id===R.id);if(V===-1)return;const ce=O.filter(ye=>ye.id!==R.id),Y=V({onDragEnter:ue=>{ue.preventDefault(),ue.stopPropagation(),ue.dataTransfer.dropEffect="move",E({type:$,id:ee})},onDragOver:ue=>{ue.preventDefault(),ue.stopPropagation(),ue.dataTransfer.dropEffect="move",E({type:$,id:ee})},onDragLeave:()=>E(null),onDrop:ue=>{E(null);const me=Eg(ue.dataTransfer.getData("text/plain"));if(me&&!($==="section"&&me.type==="section"&&me.id===ee))if($==="part")if(me.type==="part")_(ue,"part",ee);else{const R=t.find(F=>F.id===ee);(R==null?void 0:R.chapters[0])&&K&&_(ue,"part",ee,K)}else $==="chapter"&&K?(me.type==="section"||me.type==="chapter")&&_(ue,"chapter",ee,K):$==="section"&&K&&_(ue,"section",ee,K)}}),L=$=>lV[$]??String($+1);return s.jsx("div",{className:"space-y-3",children:t.map(($,ee)=>{var J,z,U,q;const K=$.title==="序言"||$.title.includes("序言"),ue=$.title==="尾声"||$.title.includes("尾声"),me=$.title==="附录"||$.title.includes("附录"),R=D("part",$.id),O=e.includes($.id),F=$.chapters.length,I=$.chapters.reduce((V,ce)=>V+ce.sections.length,0);if(K&&$.chapters.length===1&&$.chapters[0].sections.length===1){const V=$.chapters[0].sections[0],ce=D("section",V.id),Y={partId:$.id,partTitle:$.title,chapterId:$.chapters[0].id,chapterTitle:$.chapters[0].title};return s.jsxs("div",{draggable:!0,onDragStart:X=>{X.stopPropagation(),X.dataTransfer.setData("text/plain","section:"+V.id),X.dataTransfer.effectAllowed="move",k({type:"section",id:V.id})},onDragEnd:()=>{k(null),E(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${ce?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${A("section",V.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",V.id,Y),children:[s.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[s.jsx(fa,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:X=>X.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(V.id),onChange:()=>y(V.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:s.jsx($r,{className:"w-4 h-4 text-gray-400"})}),s.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[$.chapters[0].title," | ",V.title]}),w.includes(V.id)&&s.jsx("span",{title:"已置顶",children:s.jsx(xi,{className:"w-3.5 h-3.5 text-amber-400 fill-amber-400 shrink-0"})})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:X=>X.stopPropagation(),onClick:X=>X.stopPropagation(),children:[V.price===0||V.isFree?s.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):s.jsxs("span",{className:"text-xs text-gray-500",children:["¥",V.price]}),s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",V.clickCount??0," · 付款 ",V.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(V.hotScore??0).toFixed(1)," · 第",V.hotRank&&V.hotRank>0?V.hotRank:"-","名"]}),v&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(V),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsxs("div",{className:"flex gap-1",children:[s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(V),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(V),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]})]},$.id)}if($.title==="2026每日派对干货"||$.title.includes("2026每日派对干货")){const V=D("part",$.id);return s.jsxs("div",{className:`rounded-xl border overflow-hidden transition-all duration-200 ${V?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50 bg-[#1C1C1E]"}`,...P("part",$.id,{partId:$.id,partTitle:$.title,chapterId:((J=$.chapters[0])==null?void 0:J.id)??"",chapterTitle:((z=$.chapters[0])==null?void 0:z.title)??""}),children:[s.jsxs("div",{draggable:!0,onDragStart:ce=>{ce.stopPropagation(),ce.dataTransfer.setData("text/plain","part:"+$.id),ce.dataTransfer.effectAllowed="move",k({type:"part",id:$.id})},onDragEnd:()=>{k(null),E(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${A("part",$.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/50"}`,onClick:()=>n($.id),children:[s.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[s.jsx(fa,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),s.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac]/80 flex items-center justify-center text-white font-bold shrink-0",children:"派"}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-white text-base",children:$.title}),s.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",I," 节"]})]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:ce=>ce.stopPropagation(),onClick:ce=>ce.stopPropagation(),children:[o&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:s.jsx(pn,{className:"w-3.5 h-3.5"})}),h&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),f&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f($),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:s.jsx(er,{className:"w-3.5 h-3.5"})}),s.jsxs("span",{className:"text-xs text-gray-500",children:[F,"章"]}),O?s.jsx(od,{className:"w-5 h-5 text-gray-500"}):s.jsx(El,{className:"w-5 h-5 text-gray-500"})]})]}),O&&$.chapters.length>0&&s.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:$.chapters.map(ce=>s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[s.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:ce.title}),s.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Y=>Y.stopPropagation(),children:[m&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>m($,ce),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),c&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>c($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:s.jsx(pn,{className:"w-3.5 h-3.5"})}),u&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>u($,ce),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]}),s.jsx("div",{className:"space-y-1 pl-2",children:ce.sections.map(Y=>{const X=D("section",Y.id);return s.jsxs("div",{draggable:!0,onDragStart:ae=>{ae.stopPropagation(),ae.dataTransfer.setData("text/plain","section:"+Y.id),ae.dataTransfer.effectAllowed="move",k({type:"section",id:Y.id})},onDragEnd:()=>{k(null),E(null)},onClick:()=>a(Y),className:`flex items-center justify-between py-2 px-3 rounded-lg min-h-[40px] cursor-pointer select-none transition-all duration-200 ${X?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${A("section",Y.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",Y.id,{partId:$.id,partTitle:$.title,chapterId:ce.id,chapterTitle:ce.title}),children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:ae=>ae.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(Y.id),onChange:()=>y(Y.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Y.id," ",Y.title]}),w.includes(Y.id)&&s.jsx("span",{title:"已置顶",children:s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onClick:ae=>ae.stopPropagation(),children:[s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Y.clickCount??0," · 付款 ",Y.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Y.hotScore??0).toFixed(1)," · 第",Y.hotRank&&Y.hotRank>0?Y.hotRank:"-","名"]}),v&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Y),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Y),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(Y),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]},Y.id)})})]},ce.id))})]},$.id)}if(me)return s.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[s.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"附录"}),s.jsx("div",{className:"space-y-3",children:$.chapters.map((V,ce)=>V.sections.length>0?V.sections.map(Y=>{const X=D("section",Y.id);return s.jsxs("div",{draggable:!0,onDragStart:ae=>{ae.stopPropagation(),ae.dataTransfer.setData("text/plain","section:"+Y.id),ae.dataTransfer.effectAllowed="move",k({type:"section",id:Y.id})},onDragEnd:()=>{k(null),E(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 group cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${X?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${A("section",Y.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",Y.id,{partId:$.id,partTitle:$.title,chapterId:V.id,chapterTitle:V.title}),children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:ae=>ae.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(Y.id),onChange:()=>y(Y.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsxs("span",{className:"text-sm text-gray-300 truncate",children:["附录",ce+1," | ",V.title," | ",Y.title]}),w.includes(Y.id)&&s.jsx("span",{title:"已置顶",children:s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",Y.clickCount??0," · 付款 ",Y.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Y.hotScore??0).toFixed(1)," · 第",Y.hotRank&&Y.hotRank>0?Y.hotRank:"-","名"]}),v&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Y),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsxs("div",{className:"flex gap-1 opacity-0 group-hover:opacity-100 transition-opacity",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>a(Y),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>i(Y),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]}),s.jsx(El,{className:"w-4 h-4 text-gray-500 shrink-0"})]},Y.id)}):s.jsxs("div",{className:"flex justify-between items-center py-2 select-none hover:bg-[#162840]/50 rounded px-2 -mx-2",children:[s.jsxs("span",{className:"text-sm text-gray-500",children:["附录",ce+1," | ",V.title,"(空)"]}),s.jsx(El,{className:"w-4 h-4 text-gray-500 shrink-0"})]},V.id))})]},$.id);if(ue&&$.chapters.length===1&&$.chapters[0].sections.length===1){const V=$.chapters[0].sections[0],ce=D("section",V.id),Y={partId:$.id,partTitle:$.title,chapterId:$.chapters[0].id,chapterTitle:$.chapters[0].title};return s.jsxs("div",{draggable:!0,onDragStart:X=>{X.stopPropagation(),X.dataTransfer.setData("text/plain","section:"+V.id),X.dataTransfer.effectAllowed="move",k({type:"section",id:V.id})},onDragEnd:()=>{k(null),E(null)},className:`rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between hover:border-[#38bdac]/30 transition-colors cursor-grab active:cursor-grabbing select-none min-h-[40px] ${ce?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${A("section",V.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",V.id,Y),children:[s.jsxs("div",{className:"flex items-center gap-3 flex-1 min-w-0 select-none",children:[s.jsx(fa,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:X=>X.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(V.id),onChange:()=>y(V.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsx("div",{className:"w-8 h-8 rounded-lg bg-gray-600/50 flex items-center justify-center shrink-0",children:s.jsx($r,{className:"w-4 h-4 text-gray-400"})}),s.jsxs("span",{className:"font-medium text-gray-200 truncate",children:[$.chapters[0].title," | ",V.title]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:X=>X.stopPropagation(),onClick:X=>X.stopPropagation(),children:[V.price===0||V.isFree?s.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):s.jsxs("span",{className:"text-xs text-gray-500",children:["¥",V.price]}),s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",V.clickCount??0," · 付款 ",V.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(V.hotScore??0).toFixed(1)," · 第",V.hotRank&&V.hotRank>0?V.hotRank:"-","名"]}),v&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(V),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsxs("div",{className:"flex gap-1",children:[s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(V),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(V),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]})]},$.id)}return ue?s.jsxs("div",{className:"rounded-xl border border-gray-700/50 bg-[#1C1C1E] p-5",children:[s.jsx("h3",{className:"text-sm font-medium text-gray-400 mb-4",children:"尾声"}),s.jsx("div",{className:"space-y-3",children:$.chapters.map(V=>V.sections.map(ce=>{const Y=D("section",ce.id);return s.jsxs("div",{draggable:!0,onDragStart:X=>{X.stopPropagation(),X.dataTransfer.setData("text/plain","section:"+ce.id),X.dataTransfer.effectAllowed="move",k({type:"section",id:ce.id})},onDragEnd:()=>{k(null),E(null)},className:`flex justify-between items-center py-2 select-none rounded px-2 -mx-2 cursor-grab active:cursor-grabbing min-h-[40px] transition-all duration-200 ${Y?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":"hover:bg-[#162840]/50"} ${A("section",ce.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":""}`,...P("section",ce.id,{partId:$.id,partTitle:$.title,chapterId:V.id,chapterTitle:V.title}),children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:X=>X.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(ce.id),onChange:()=>y(ce.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsxs("span",{className:"text-sm text-gray-300",children:[V.title," | ",ce.title]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[s.jsxs("span",{className:"text-[10px] text-gray-500",children:["点击 ",ce.clickCount??0," · 付款 ",ce.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(ce.hotScore??0).toFixed(1)," · 第",ce.hotRank&&ce.hotRank>0?ce.hotRank:"-","名"]}),v&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>v(ce),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5",children:"付款记录"}),s.jsxs("div",{className:"flex gap-1",children:[s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(ce),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(ce),className:"text-gray-500 hover:text-red-400 h-7 px-2",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]})]},ce.id)}))})]},$.id):s.jsxs("div",{className:`rounded-xl border bg-[#1C1C1E] overflow-hidden transition-all duration-200 ${R?"border-[#38bdac] ring-2 ring-[#38bdac]/40 bg-[#38bdac]/5":"border-gray-700/50"}`,...P("part",$.id,{partId:$.id,partTitle:$.title,chapterId:((U=$.chapters[0])==null?void 0:U.id)??"",chapterTitle:((q=$.chapters[0])==null?void 0:q.title)??""}),children:[s.jsxs("div",{draggable:!0,onDragStart:V=>{V.stopPropagation(),V.dataTransfer.setData("text/plain","part:"+$.id),V.dataTransfer.effectAllowed="move",k({type:"part",id:$.id})},onDragEnd:()=>{k(null),E(null)},className:`flex items-center justify-between p-4 cursor-grab active:cursor-grabbing select-none transition-all duration-200 ${A("part",$.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] rounded-xl shadow-xl shadow-[#38bdac]/20":"hover:bg-[#162840]/50"}`,onClick:()=>n($.id),children:[s.jsxs("div",{className:"flex items-center gap-3 min-w-0",children:[s.jsx(fa,{className:"w-5 h-5 text-gray-500 shrink-0 opacity-60"}),s.jsx("div",{className:"w-10 h-10 rounded-xl bg-[#38bdac] flex items-center justify-center text-white font-bold shadow-lg shadow-[#38bdac]/30 shrink-0",children:L(ee)}),s.jsxs("div",{children:[s.jsx("h3",{className:"font-bold text-white text-base",children:$.title}),s.jsxs("p",{className:"text-xs text-gray-500 mt-0.5",children:["共 ",I," 节"]})]})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:V=>V.stopPropagation(),onClick:V=>V.stopPropagation(),children:[o&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>o($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"在本篇下新增章节",children:s.jsx(pn,{className:"w-3.5 h-3.5"})}),h&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>h($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-2",title:"编辑篇名",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),f&&s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>f($),className:"text-gray-500 hover:text-red-400 h-7 px-2",title:"删除本篇",children:s.jsx(er,{className:"w-3.5 h-3.5"})}),s.jsxs("span",{className:"text-xs text-gray-500",children:[F,"章"]}),O?s.jsx(od,{className:"w-5 h-5 text-gray-500"}):s.jsx(El,{className:"w-5 h-5 text-gray-500"})]})]}),O&&s.jsx("div",{className:"border-t border-gray-700/50 pl-4 pr-4 pb-4 pt-3 space-y-4",children:$.chapters.map(V=>{const ce=D("chapter",V.id);return s.jsxs("div",{className:"space-y-2",children:[s.jsxs("div",{className:"flex items-center gap-2 w-full",children:[s.jsxs("div",{draggable:!0,onDragStart:Y=>{Y.stopPropagation(),Y.dataTransfer.setData("text/plain","chapter:"+V.id),Y.dataTransfer.effectAllowed="move",k({type:"chapter",id:V.id})},onDragEnd:()=>{k(null),E(null)},onDragEnter:Y=>{Y.preventDefault(),Y.stopPropagation(),Y.dataTransfer.dropEffect="move",E({type:"chapter",id:V.id})},onDragOver:Y=>{Y.preventDefault(),Y.stopPropagation(),Y.dataTransfer.dropEffect="move",E({type:"chapter",id:V.id})},onDragLeave:()=>E(null),onDrop:Y=>{E(null);const X=Eg(Y.dataTransfer.getData("text/plain"));if(!X)return;const ae={partId:$.id,partTitle:$.title,chapterId:V.id,chapterTitle:V.title};(X.type==="section"||X.type==="chapter")&&_(Y,"chapter",V.id,ae)},className:`flex-1 min-w-0 py-2 px-2 rounded cursor-grab active:cursor-grabbing select-none -mx-2 transition-all duration-200 flex items-center gap-2 ${ce?"bg-[#38bdac]/15 ring-1 ring-[#38bdac]/50":""} ${A("chapter",V.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac]":"hover:bg-[#162840]/30"}`,children:[s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),s.jsx("p",{className:"text-xs text-gray-500 pb-1 flex-1",children:V.title})]}),s.jsxs("div",{className:"flex gap-0.5 shrink-0",onClick:Y=>Y.stopPropagation(),children:[m&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>m($,V),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑章节名称",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),c&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>c($),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"新增第X章",children:s.jsx(pn,{className:"w-3.5 h-3.5"})}),u&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>u($,V),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",title:"删除本章",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]}),s.jsx("div",{className:"space-y-1 pl-2",children:V.sections.map(Y=>{const X=D("section",Y.id);return s.jsxs("div",{draggable:!0,onDragStart:ae=>{ae.stopPropagation(),ae.dataTransfer.setData("text/plain","section:"+Y.id),ae.dataTransfer.effectAllowed="move",k({type:"section",id:Y.id})},onDragEnd:()=>{k(null),E(null)},className:`flex items-center justify-between py-2 px-3 rounded-lg group cursor-grab active:cursor-grabbing select-none min-h-[40px] transition-all duration-200 ${X?"bg-[#38bdac]/15 ring-2 ring-[#38bdac]/50":""} ${A("section",Y.id)?"opacity-60 scale-[0.98] ring-2 ring-[#38bdac] shadow-lg":"hover:bg-[#162840]/50"}`,...P("section",Y.id,{partId:$.id,partTitle:$.title,chapterId:V.id,chapterTitle:V.title}),children:[s.jsxs("div",{className:"flex items-center gap-3 min-w-0 flex-1",children:[y&&s.jsx("label",{className:"shrink-0 flex items-center",onClick:ae=>ae.stopPropagation(),children:s.jsx("input",{type:"checkbox",checked:g.includes(Y.id),onChange:()=>y(Y.id),className:"w-4 h-4 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"})}),s.jsx(fa,{className:"w-4 h-4 text-gray-500 shrink-0 opacity-50"}),s.jsx("div",{className:`w-2 h-2 rounded-full shrink-0 ${Y.price===0||Y.isFree?"border-2 border-[#38bdac] bg-transparent":"bg-gray-500"}`}),s.jsxs("span",{className:"text-sm text-gray-200 truncate",children:[Y.id," ",Y.title]}),w.includes(Y.id)&&s.jsx("span",{title:"已置顶",children:s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})})]}),s.jsxs("div",{className:"flex items-center gap-2 shrink-0",onMouseDown:ae=>ae.stopPropagation(),onClick:ae=>ae.stopPropagation(),children:[Y.isNew&&s.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"NEW"}),Y.price===0||Y.isFree?s.jsx("span",{className:"px-2 py-1 bg-[#38bdac]/20 text-[#38bdac] text-[10px] font-medium rounded",children:"免费"}):s.jsxs("span",{className:"text-xs text-gray-500",children:["¥",Y.price]}),s.jsxs("span",{className:"text-[10px] text-gray-500",title:"点击次数 · 付款笔数",children:["点击 ",Y.clickCount??0," · 付款 ",Y.payCount??0]}),s.jsxs("span",{className:"text-[10px] text-amber-400/90",title:"热度积分与排名",children:["热度 ",(Y.hotScore??0).toFixed(1)," · 第",Y.hotRank&&Y.hotRank>0?Y.hotRank:"-","名"]}),v&&s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(Y),className:"text-[10px] text-gray-500 hover:text-[#38bdac] h-7 px-1.5 shrink-0",children:"付款记录"}),s.jsxs("div",{className:"flex gap-0.5 opacity-0 group-hover:opacity-100 transition-opacity",children:[s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>a(Y),className:"text-gray-500 hover:text-[#38bdac] h-7 px-1.5",title:"编辑",children:s.jsx($t,{className:"w-3.5 h-3.5"})}),s.jsx(ne,{draggable:!1,variant:"ghost",size:"sm",onClick:()=>i(Y),className:"text-gray-500 hover:text-red-400 h-7 px-1.5",children:s.jsx(er,{className:"w-3.5 h-3.5"})})]})]})]},Y.id)})})]},V.id)})})]},$.id)})})}function dV(t){var a;const e=new URLSearchParams;e.set("page",String(t.page)),e.set("limit",String(t.limit)),(a=t==null?void 0:t.keyword)!=null&&a.trim()&&e.set("keyword",t.keyword.trim());const n=e.toString(),r=n?`/api/admin/ckb/devices?${n}`:"/api/admin/ckb/devices";return De(r)}function uV(t){return De(`/api/db/person?personId=${encodeURIComponent(t)}`)}function hV(t){var r;const e=new URLSearchParams;e.set("page",String(t.page)),e.set("limit",String(t.limit)),(r=t==null?void 0:t.keyword)!=null&&r.trim()&&e.set("keyword",t.keyword.trim());const n=e.toString();return De(n?`/api/admin/ckb/plans?${n}`:"/api/admin/ckb/plans")}const B4=11,Nw={personId:"",name:"",aliases:"",label:"",sceneId:B4,ckbApiKey:"",greeting:"你好,请通过",tips:"请注意消息,稍后加你微信",remarkType:"phone",remarkFormat:"",addFriendInterval:1,startTime:"09:00",endTime:"18:00",deviceGroups:""};function fV({open:t,onOpenChange:e,editingPerson:n,onSubmit:r}){var O;const a=!!n,[i,o]=b.useState(Nw),[c,u]=b.useState(!1),[h,f]=b.useState(!1),[m,g]=b.useState([]),[y,v]=b.useState(!1),[w,N]=b.useState(""),[k,C]=b.useState([]),[E,A]=b.useState(!1),[D,H]=b.useState(""),[_,P]=b.useState(!1),[L,$]=b.useState({});b.useEffect(()=>{t&&(N(""),o(n?{personId:n.personId??n.name??"",name:n.name??"",aliases:n.aliases??"",label:n.label??"",sceneId:B4,ckbApiKey:n.ckbApiKey??"",greeting:"你好,请通过",tips:"请注意消息,稍后加你微信",remarkType:n.remarkType??"phone",remarkFormat:n.remarkFormat??"",addFriendInterval:n.addFriendInterval??1,startTime:n.startTime??"09:00",endTime:n.endTime??"18:00",deviceGroups:n.deviceGroups??""}:{...Nw}),$({}),m.length===0&&ee(""),k.length===0&&K(""))},[t,n]);const ee=async F=>{v(!0);try{const I=await dV({page:1,limit:50,keyword:F});I!=null&&I.success&&Array.isArray(I.devices)?g(I.devices):I!=null&&I.error&&oe.error(I.error)}catch(I){oe.error(I instanceof Error?I.message:"加载设备列表失败")}finally{v(!1)}},K=async F=>{A(!0);try{const I=await hV({page:1,limit:100,keyword:F});I!=null&&I.success&&Array.isArray(I.plans)?C(I.plans):I!=null&&I.error&&oe.error(I.error)}catch{oe.error("加载计划列表失败")}finally{A(!1)}},ue=F=>{const I=Array.isArray(F.deviceGroups)?F.deviceGroups.map(String).join(","):"";o(se=>({...se,ckbApiKey:F.apiKey||"",greeting:F.greeting||se.greeting,tips:F.tips||se.tips,remarkType:F.remarkType||se.remarkType,remarkFormat:F.remarkFormat||se.remarkFormat,addFriendInterval:F.addInterval||se.addFriendInterval,startTime:F.startTime||se.startTime,endTime:F.endTime||se.endTime,deviceGroups:I||se.deviceGroups})),P(!1),oe.success(`已选择计划「${F.name}」,参数已覆盖`)},me=D.trim()?k.filter(F=>(F.name||"").includes(D.trim())||String(F.id).includes(D.trim())):k,R=async()=>{var J;const F={};(!i.name||!String(i.name).trim())&&(F.name="请填写名称");const I=i.addFriendInterval;if((typeof I!="number"||I<1)&&(F.addFriendInterval="添加间隔至少为 1 分钟"),(((J=i.deviceGroups)==null?void 0:J.split(",").map(z=>z.trim()).filter(Boolean))??[]).length===0&&(F.deviceGroups="请至少选择 1 台设备"),$(F),Object.keys(F).length>0){oe.error(F.name||F.addFriendInterval||F.deviceGroups||"请完善必填项");return}u(!0);try{await r(i),e(!1)}catch(z){oe.error(z instanceof Error?z.message:"保存失败")}finally{u(!1)}};return s.jsx(Ft,{open:t,onOpenChange:e,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] overflow-y-auto",children:[s.jsxs(Bt,{children:[s.jsx(Vt,{className:"text-[#38bdac]",children:a?"编辑人物":"添加人物 — 存客宝 API 获客"}),s.jsx(Qj,{className:"text-gray-400 text-sm",children:a?"修改后同步到存客宝计划":"添加时自动生成 token,并同步创建存客宝场景获客计划"})]}),s.jsxs("div",{className:"space-y-6 py-2",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-xs font-medium text-gray-400 uppercase tracking-wider mb-3",children:"基础信息"}),s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"space-y-1.5",children:[s.jsxs(te,{className:"text-gray-400 text-xs",children:["名称 ",s.jsx("span",{className:"text-red-400",children:"*"})]}),s.jsx(le,{className:`bg-[#0a1628] text-white ${L.name?"border-red-500 focus-visible:ring-red-500":"border-gray-700"}`,placeholder:"如 卡若",value:i.name,onChange:F=>{o(I=>({...I,name:F.target.value})),L.name&&$(I=>({...I,name:void 0}))}}),L.name&&s.jsx("p",{className:"text-xs text-red-400",children:L.name})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"人物ID(可选)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"自动生成",value:i.personId,onChange:F=>o(I=>({...I,personId:F.target.value})),disabled:a})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"标签(身份/角色)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如 超级个体",value:i.label,onChange:F=>o(I=>({...I,label:F.target.value}))})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"别名(逗号分隔,@ 可匹配)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如 卡卡, 若若",value:i.aliases,onChange:F=>o(I=>({...I,aliases:F.target.value}))})]})]})]}),s.jsxs("div",{className:"border-t border-gray-700/50 pt-5",children:[s.jsx("p",{className:"text-xs font-medium text-gray-400 uppercase tracking-wider mb-4",children:"存客宝 API 获客配置"}),s.jsxs("div",{className:"grid grid-cols-2 gap-x-8 gap-y-4",children:[s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-1.5 relative",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"选择存客宝获客计划"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx("div",{className:"flex-1 flex items-center bg-[#0a1628] border border-gray-700 rounded-md px-3 py-2 cursor-pointer hover:border-[#38bdac]/60 text-sm",onClick:()=>P(!_),children:i.ckbApiKey?s.jsx("span",{className:"text-white truncate",children:((O=k.find(F=>F.apiKey===i.ckbApiKey))==null?void 0:O.name)||`密钥: ${i.ckbApiKey.slice(0,20)}...`}):s.jsx("span",{className:"text-gray-500",children:"点击选择已有计划 / 新建时自动创建"})}),s.jsx(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-200 shrink-0",onClick:()=>{K(D),P(!0)},disabled:E,children:E?"加载...":"刷新"})]}),_&&s.jsxs("div",{className:"absolute z-50 top-full left-0 right-0 mt-1 bg-[#0b1828] border border-gray-700 rounded-lg shadow-xl max-h-64 flex flex-col",children:[s.jsx("div",{className:"p-2 border-b border-gray-700/60",children:s.jsx(le,{className:"bg-[#050c18] border-gray-700 text-white h-8 text-xs",placeholder:"搜索计划名称...",value:D,onChange:F=>H(F.target.value),onKeyDown:F=>{F.key==="Enter"&&K(D)},autoFocus:!0})}),s.jsx("div",{className:"flex-1 overflow-y-auto",children:me.length===0?s.jsx("div",{className:"text-center py-4 text-gray-500 text-xs",children:E?"加载中...":"暂无计划"}):me.map(F=>s.jsxs("div",{className:`px-3 py-2 cursor-pointer hover:bg-[#38bdac]/10 text-sm flex items-center justify-between ${i.ckbApiKey===F.apiKey?"bg-[#38bdac]/20 text-[#38bdac]":"text-white"}`,onClick:()=>ue(F),children:[s.jsxs("div",{className:"truncate",children:[s.jsx("span",{className:"font-medium",children:F.name}),s.jsxs("span",{className:"text-xs text-gray-500 ml-2",children:["ID:",String(F.id)]})]}),F.enabled?s.jsx("span",{className:"text-[10px] text-green-400 bg-green-400/10 px-1.5 rounded shrink-0 ml-2",children:"启用"}):s.jsx("span",{className:"text-[10px] text-gray-500 bg-gray-500/10 px-1.5 rounded shrink-0 ml-2",children:"停用"})]},String(F.id)))}),s.jsx("div",{className:"p-2 border-t border-gray-700/60 flex justify-end",children:s.jsx(ne,{type:"button",size:"sm",variant:"ghost",className:"text-gray-400 h-7 text-xs",onClick:()=>P(!1),children:"关闭"})})]}),s.jsx("p",{className:"text-xs text-gray-500",children:"选择计划后自动覆盖下方参数。新建人物时若不选择则自动创建新计划。"})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsxs(te,{className:"text-gray-400 text-xs",children:["选择设备 ",s.jsx("span",{className:"text-red-400",children:"*"})]}),s.jsxs("div",{className:`flex gap-2 rounded-md border ${L.deviceGroups?"border-red-500":"border-gray-700"}`,children:[s.jsx(le,{className:"bg-[#0a1628] border-0 text-white focus-visible:ring-0 focus-visible:ring-offset-0",placeholder:"未选择设备",readOnly:!0,value:i.deviceGroups?`已选择 ${i.deviceGroups.split(",").filter(Boolean).length} 个设备`:"",onClick:()=>f(!0)}),s.jsx(ne,{type:"button",variant:"outline",className:"border-0 border-l border-inherit rounded-r-md text-gray-200",onClick:()=>f(!0),children:"选择"})]}),L.deviceGroups?s.jsx("p",{className:"text-xs text-red-400",children:L.deviceGroups}):s.jsx("p",{className:"text-xs text-gray-500",children:"从存客宝设备列表中选择,至少选择 1 台设备参与获客计划。"})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"好友备注"}),s.jsxs(Sl,{value:i.remarkType,onValueChange:F=>o(I=>({...I,remarkType:F})),children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{placeholder:"选择备注类型"})}),s.jsxs(po,{children:[s.jsx(Dr,{value:"phone",children:"手机号"}),s.jsx(Dr,{value:"nickname",children:"昵称"}),s.jsx(Dr,{value:"source",children:"来源"})]})]})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"备注格式"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如 手机号+SOUL链接人与事-{名称},留空用默认",value:i.remarkFormat,onChange:F=>o(I=>({...I,remarkFormat:F.target.value}))})]})]}),s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"打招呼语"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"你好,请通过",value:i.greeting,onChange:F=>o(I=>({...I,greeting:F.target.value}))})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"添加间隔(分钟)"}),s.jsx(le,{type:"number",min:1,className:`bg-[#0a1628] text-white ${L.addFriendInterval?"border-red-500 focus-visible:ring-red-500":"border-gray-700"}`,value:i.addFriendInterval,onChange:F=>{o(I=>({...I,addFriendInterval:Number(F.target.value)||1})),L.addFriendInterval&&$(I=>({...I,addFriendInterval:void 0}))}}),L.addFriendInterval&&s.jsx("p",{className:"text-xs text-red-400",children:L.addFriendInterval})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"允许加人时间段"}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(le,{type:"time",className:"bg-[#0a1628] border-gray-700 text-white w-24",value:i.startTime,onChange:F=>o(I=>({...I,startTime:F.target.value}))}),s.jsx("span",{className:"text-gray-500 text-sm shrink-0",children:"至"}),s.jsx(le,{type:"time",className:"bg-[#0a1628] border-gray-700 text-white w-24",value:i.endTime,onChange:F=>o(I=>({...I,endTime:F.target.value}))})]})]})]}),s.jsxs("div",{className:"space-y-1.5",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"获客成功提示"}),s.jsx(Yl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[72px] resize-none",placeholder:"请注意消息,稍后加你微信",value:i.tips,onChange:F=>o(I=>({...I,tips:F.target.value}))})]})]})]})]})]}),s.jsxs(ln,{className:"gap-3 pt-2",children:[s.jsx(ne,{variant:"outline",onClick:()=>e(!1),className:"border-gray-600 text-gray-300",children:"取消"}),s.jsx(ne,{onClick:R,disabled:c,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:c?"保存中...":a?"保存":"添加"})]}),h&&s.jsx("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60",children:s.jsxs("div",{className:"w-full max-w-3xl max-h-[80vh] bg-[#0b1828] border border-gray-700 rounded-xl shadow-xl flex flex-col",children:[s.jsxs("div",{className:"flex items-center justify-between px-5 py-3 border-b border-gray-700/60",children:[s.jsxs("div",{children:[s.jsx("h3",{className:"text-sm font-medium text-white",children:"选择设备"}),s.jsx("p",{className:"text-xs text-gray-400 mt-0.5",children:"勾选需要参与本计划的设备,可多选"})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(le,{className:"bg-[#050c18] border-gray-700 text-white h-8 w-52",placeholder:"搜索备注/微信号/IMEI",value:w,onChange:F=>N(F.target.value),onKeyDown:F=>{F.key==="Enter"&&ee(w)}}),s.jsx(ne,{type:"button",size:"sm",variant:"outline",className:"border-gray-600 text-gray-200 h-8",onClick:()=>ee(w),disabled:y,children:"刷新"}),s.jsx(ne,{type:"button",size:"icon",variant:"outline",className:"border-gray-600 text-gray-300 h-8 w-8",onClick:()=>f(!1),children:"✕"})]})]}),s.jsx("div",{className:"flex-1 overflow-y-auto",children:y?s.jsx("div",{className:"flex h-full items-center justify-center text-gray-400 text-sm",children:"正在加载设备列表…"}):m.length===0?s.jsx("div",{className:"flex h-full items-center justify-center text-gray-500 text-sm",children:"暂无设备数据,请检查存客宝账号与开放 API 配置"}):s.jsx("div",{className:"p-4 space-y-2",children:m.map(F=>{const I=String(F.id??""),se=i.deviceGroups?i.deviceGroups.split(",").map(U=>U.trim()).filter(Boolean):[],J=se.includes(I),z=()=>{let U;J?U=se.filter(q=>q!==I):U=[...se,I],o(q=>({...q,deviceGroups:U.join(",")})),U.length>0&&$(q=>({...q,deviceGroups:void 0}))};return s.jsxs("label",{className:"flex items-center gap-3 rounded-lg border border-gray-700/60 bg-[#050c18] px-3 py-2 cursor-pointer hover:border-[#38bdac]/70",children:[s.jsx("input",{type:"checkbox",className:"h-4 w-4 accent-[#38bdac]",checked:J,onChange:z}),s.jsxs("div",{className:"flex flex-col min-w-0",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"text-sm text-white truncate max-w-xs",children:F.memo||F.wechatId||`设备 ${I}`}),F.status==="online"&&s.jsx("span",{className:"rounded-full bg-emerald-500/20 text-emerald-400 text-[11px] px-2 py-0.5",children:"在线"}),F.status==="offline"&&s.jsx("span",{className:"rounded-full bg-gray-600/20 text-gray-400 text-[11px] px-2 py-0.5",children:"离线"})]}),s.jsxs("div",{className:"text-[11px] text-gray-400 mt-0.5",children:[s.jsxs("span",{className:"mr-3",children:["ID: ",I]}),F.wechatId&&s.jsxs("span",{className:"mr-3",children:["微信号: ",F.wechatId]}),typeof F.totalFriend=="number"&&s.jsxs("span",{children:["好友数: ",F.totalFriend]})]})]})]},I)})})}),s.jsxs("div",{className:"flex justify-between items-center px-5 py-3 border-t border-gray-700/60",children:[s.jsxs("span",{className:"text-xs text-gray-400",children:["已选择"," ",i.deviceGroups?i.deviceGroups.split(",").filter(Boolean).length:0," ","台设备"]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(ne,{type:"button",variant:"outline",className:"border-gray-600 text-gray-200 h-8 px-4",onClick:()=>f(!1),children:"取消"}),s.jsx(ne,{type:"button",className:"bg-[#38bdac] hover:bg-[#2da396] text-white h-8 px-4",onClick:()=>f(!1),children:"确定"})]})]})]})})]})})}function ww(t,e,n){if(!t||!t.includes("@")&&!t.includes("@")&&!t.includes("#")||typeof document>"u")return t;const r=document.createElement("div");r.innerHTML=t;const a=h=>h.trim().toLowerCase(),i=new Map;for(const h of e){const f=[h.name,...h.aliases?h.aliases.split(","):[]].map(m=>a(m)).filter(Boolean);for(const m of f)i.has(m)||i.set(m,h)}const o=new Map;for(const h of n){const f=[h.label,...h.aliases?h.aliases.split(","):[]].map(m=>a(m)).filter(Boolean);for(const m of f)o.has(m)||o.set(m,h)}const c=h=>{const f=h.textContent||"";if(!f||!f.includes("@")&&!f.includes("@")&&!f.includes("#"))return;const m=h.parentNode;if(!m)return;const g=document.createDocumentFragment(),y=/([@@][^\s@#@#]+|#[^\s@#@#]+)/g;let v=0,w;for(;w=y.exec(f);){const[N]=w,k=w.index;if(k>v&&g.appendChild(document.createTextNode(f.slice(v,k))),N.startsWith("@")||N.startsWith("@")){const C=i.get(a(N.slice(1)));if(C){const E=document.createElement("span");E.setAttribute("data-type","mention"),E.setAttribute("data-id",C.id),E.setAttribute("data-label",C.name),E.className="mention-tag",E.textContent=`@${C.name}`,g.appendChild(E)}else g.appendChild(document.createTextNode(N))}else if(N.startsWith("#")){const C=o.get(a(N.slice(1)));if(C){const E=document.createElement("span");E.setAttribute("data-type","linkTag"),E.setAttribute("data-url",C.url||""),E.setAttribute("data-tag-type",C.type||"url"),E.setAttribute("data-tag-id",C.id||""),E.setAttribute("data-page-path",C.pagePath||""),E.setAttribute("data-app-id",C.appId||""),C.type==="miniprogram"&&C.appId&&E.setAttribute("data-mp-key",C.appId),E.className="link-tag-node",E.textContent=`#${C.label}`,g.appendChild(E)}else g.appendChild(document.createTextNode(N))}else g.appendChild(document.createTextNode(N));v=k+N.length}v{if(h.nodeType===Node.ELEMENT_NODE){const m=h.getAttribute("data-type");if(m==="mention"||m==="linkTag")return;h.childNodes.forEach(g=>u(g));return}h.nodeType===Node.TEXT_NODE&&c(h)};return r.childNodes.forEach(h=>u(h)),r.innerHTML}function pV(t){const e=new Map;for(const c of t){const u=c.partId||"part-1",h=c.partTitle||"未分类",f=c.chapterId||"chapter-1",m=c.chapterTitle||"未分类";e.has(u)||e.set(u,{id:u,title:h,chapters:new Map});const g=e.get(u);g.chapters.has(f)||g.chapters.set(f,{id:f,title:m,sections:[]}),g.chapters.get(f).sections.push({id:c.id,title:c.title,price:c.price??1,filePath:c.filePath,isFree:c.isFree,isNew:c.isNew,clickCount:c.clickCount??0,payCount:c.payCount??0,hotScore:c.hotScore??0,hotRank:c.hotRank??0})}const n="part-2026-daily",r="2026每日派对干货";Array.from(e.values()).some(c=>c.title===r||c.title.includes(r))||e.set(n,{id:n,title:r,chapters:new Map([["chapter-2026-daily",{id:"chapter-2026-daily",title:r,sections:[]}]])});const i=Array.from(e.values()).map(c=>({...c,chapters:Array.from(c.chapters.values())})),o=c=>c.includes("序言")?0:c.includes(r)?1.5:c.includes("附录")?2:c.includes("尾声")?3:1;return i.sort((c,u)=>{const h=o(c.title),f=o(u.title);return h!==f?h-f:0})}function mV(){var cs,ds,us;const[t,e]=b.useState([]),[n,r]=b.useState(!0),[a,i]=b.useState([]),[o,c]=b.useState(null),[u,h]=b.useState(!1),[f,m]=b.useState(!1),[g,y]=b.useState(!1),[v,w]=b.useState(""),[N,k]=b.useState([]),[C,E]=b.useState(!1),[A,D]=b.useState({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),[H,_]=b.useState(null),[P,L]=b.useState(!1),[$,ee]=b.useState(!1),[K,ue]=b.useState(null),[me,R]=b.useState(!1),[O,F]=b.useState([]),[I,se]=b.useState(!1),[J,z]=b.useState(""),[U,q]=b.useState(""),[V,ce]=b.useState(!1),[Y,X]=b.useState(""),[ae,ye]=b.useState(!1),[je,_e]=b.useState(null),[He,gt]=b.useState(!1),[Dt,jn]=b.useState(!1),[it,Mt]=b.useState({readWeight:50,recencyWeight:30,payWeight:20}),[re,Pe]=b.useState(!1),[et,xt]=b.useState(!1),[ft,pt]=b.useState(1),[wt,Qt]=b.useState([]),[Lt,An]=b.useState(!1),[At,Kn]=b.useState([]),[ns,or]=b.useState(!1),[ge,Ne]=b.useState(20),[qn,Es]=b.useState(!1),[Ts,Pa]=b.useState(!1),[br,Vi]=b.useState([]),[vr,lr]=b.useState([]),[Ms,Oa]=b.useState(!1),[Hi,Xs]=b.useState(null),[vt,Gn]=b.useState({tagId:"",label:"",aliases:"",url:"",type:"url",appId:"",pagePath:""}),[Da,As]=b.useState(null),Nr=b.useRef(null),[Wi,Zs]=b.useState({}),[nc,Jn]=b.useState(!1),[ea,rs]=b.useState(""),[Ar,La]=b.useState(""),[ta,Ui]=b.useState([]),[cr,Ki]=b.useState(0),[ss,rc]=b.useState(1),[Vo,qi]=b.useState(!1),un=pV(t),as=t.length,Is=10,_a=Math.max(1,Math.ceil(wt.length/Is)),It=wt.slice((ft-1)*Is,ft*Is),zn=async()=>{r(!0);try{const T=await De("/api/db/book?action=list",{cache:"no-store"});e(Array.isArray(T==null?void 0:T.sections)?T.sections:[])}catch(T){console.error(T),e([])}finally{r(!1)}},Vr=async()=>{An(!0);try{const T=await De("/api/db/book?action=ranking",{cache:"no-store"}),G=Array.isArray(T==null?void 0:T.sections)?T.sections:[];Qt(G);const he=G.filter(fe=>fe.isPinned).map(fe=>fe.id);Kn(he)}catch(T){console.error(T),Qt([])}finally{An(!1)}};b.useEffect(()=>{zn(),Vr()},[]);const Ho=T=>{i(G=>G.includes(T)?G.filter(he=>he!==T):[...G,T])},za=b.useCallback(T=>{const G=t,he=T.flatMap(fe=>{const nt=G.find(yt=>yt.id===fe.id);return nt?[{...nt,partId:fe.partId,partTitle:fe.partTitle,chapterId:fe.chapterId,chapterTitle:fe.chapterTitle}]:[]});return e(he),Tt("/api/db/book",{action:"reorder",items:T}).then(fe=>{fe&&fe.success===!1&&(e(G),oe.error("排序失败: "+(fe&&typeof fe=="object"&&"error"in fe?fe.error:"未知错误")))}).catch(fe=>{e(G),console.error("排序失败:",fe),oe.error("排序失败: "+(fe instanceof Error?fe.message:"网络或服务异常"))}),Promise.resolve()},[t]),sc=async T=>{if(confirm(`确定要删除章节「${T.title}」吗?此操作不可恢复。`))try{const G=await wa(`/api/db/book?id=${encodeURIComponent(T.id)}`);G&&G.success!==!1?(oe.success("已删除"),zn(),Vr()):oe.error("删除失败: "+(G&&typeof G=="object"&&"error"in G?G.error:"未知错误"))}catch(G){console.error(G),oe.error("删除失败")}},Gi=b.useCallback(async()=>{Pe(!0);try{const T=await De("/api/db/config/full?key=article_ranking_weights",{cache:"no-store"}),G=T&&T.data;G&&typeof G.readWeight=="number"&&typeof G.recencyWeight=="number"&&typeof G.payWeight=="number"&&Mt({readWeight:Math.round(G.readWeight*100),recencyWeight:Math.round(G.recencyWeight*100),payWeight:Math.round(G.payWeight*100)})}catch{}finally{Pe(!1)}},[]);b.useEffect(()=>{Dt&&Gi()},[Dt,Gi]);const $a=async()=>{const{readWeight:T,recencyWeight:G,payWeight:he}=it,fe=T+G+he;if(Math.abs(fe-100)>1){oe.error("三个权重之和必须等于 100%");return}xt(!0);try{const nt=await Nt("/api/db/config",{key:"article_ranking_weights",value:{readWeight:T/100,recencyWeight:G/100,payWeight:he/100},description:"文章排名算法权重"});nt&&nt.success!==!1?(oe.success("排名权重已保存,排行榜已刷新"),zn(),Vr()):oe.error("保存失败: "+(nt&&typeof nt=="object"&&"error"in nt?nt.error:""))}catch(nt){console.error(nt),oe.error("保存失败")}finally{xt(!1)}},dr=b.useCallback(async()=>{or(!0);try{const T=await De("/api/db/config/full?key=pinned_section_ids",{cache:"no-store"}),G=T&&T.data;Array.isArray(G)&&Kn(G)}catch{}finally{or(!1)}},[]),is=b.useCallback(async()=>{try{const T=await De("/api/db/persons");T!=null&&T.success&&T.persons&&Vi(T.persons.map(G=>{const he=G.deviceGroups,fe=Array.isArray(he)?he.join(","):he??"";return{id:G.token??G.personId??"",personId:G.personId,name:G.name,aliases:G.aliases??"",label:G.label??"",ckbApiKey:G.ckbApiKey??"",ckbPlanId:G.ckbPlanId,remarkType:G.remarkType,remarkFormat:G.remarkFormat,addFriendInterval:G.addFriendInterval,startTime:G.startTime,endTime:G.endTime,deviceGroups:fe}}))}catch{}},[]),$n=b.useCallback(async T=>{const G=T==null?void 0:T.trim();if(!G)return null;try{const he=await Nt("/api/db/persons",{name:G});if(!(he!=null&&he.success)||!he.person)return null;const fe=he.person;return is(),{id:fe.token??fe.personId??"",personId:fe.personId,name:fe.name??G,label:fe.label??""}}catch{return oe.error("创建人物失败"),null}},[is]),Wo=b.useCallback(async()=>{try{const T=await De("/api/db/ckb-person-leads");if(T!=null&&T.success&&T.byPerson){const G={};for(const he of T.byPerson)G[he.token]=he.total;Zs(G)}}catch{}},[]),Fa=b.useCallback(async(T,G,he=1)=>{rs(T),La(G),Jn(!0),rc(he),qi(!0);try{const fe=await De(`/api/db/ckb-person-leads?token=${encodeURIComponent(T)}&page=${he}&pageSize=20`);fe!=null&&fe.success&&(Ui(fe.records||[]),Ki(fe.total||0),fe.personName&&La(fe.personName))}catch{}finally{qi(!1)}},[]),na=b.useCallback(async()=>{try{const T=await De("/api/db/link-tags");T!=null&&T.success&&T.linkTags&&lr(T.linkTags.map(G=>({id:G.tagId,label:G.label,aliases:G.aliases??"",url:G.url,type:G.type||"url",appId:G.appId||"",pagePath:G.pagePath||""})))}catch{}},[]),Rs=async T=>{const G=At.includes(T)?At.filter(he=>he!==T):[...At,T];Kn(G);try{await Nt("/api/db/config",{key:"pinned_section_ids",value:G,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"}),Vr()}catch{Kn(At)}},Ps=b.useCallback(async()=>{Es(!0);try{const T=await De("/api/db/config/full?key=unpaid_preview_percent",{cache:"no-store"}),G=T&&T.data;typeof G=="number"&&G>0&&G<=100&&Ne(G)}catch{}finally{Es(!1)}},[]),Os=async()=>{if(ge<1||ge>100){oe.error("预览比例需在 1~100 之间");return}Pa(!0);try{const T=await Nt("/api/db/config",{key:"unpaid_preview_percent",value:ge,description:"小程序未付费内容默认预览比例(%)"});T&&T.success!==!1?oe.success("预览比例已保存"):oe.error("保存失败: "+(T.error||""))}catch{oe.error("保存失败")}finally{Pa(!1)}};b.useEffect(()=>{dr(),Ps(),is(),na(),Wo()},[dr,Ps,is,na,Wo]);const Ds=async T=>{_e({section:T,orders:[]}),gt(!0);try{const G=await De(`/api/db/book?action=section-orders&id=${encodeURIComponent(T.id)}`),he=G!=null&&G.success&&Array.isArray(G.orders)?G.orders:[];_e(fe=>fe?{...fe,orders:he}:null)}catch(G){console.error(G),_e(he=>he?{...he,orders:[]}:null)}finally{gt(!1)}},B=async T=>{m(!0);try{const G=await De(`/api/db/book?action=read&id=${encodeURIComponent(T.id)}`);if(G!=null&&G.success&&G.section){const he=G.section,fe=he.editionPremium===!0;c({id:T.id,originalId:T.id,title:G.section.title??T.title,price:G.section.price??T.price,content:G.section.content??"",filePath:T.filePath,isFree:T.isFree||T.price===0,isNew:he.isNew??T.isNew,isPinned:At.includes(T.id),hotScore:T.hotScore??0,editionStandard:fe?!1:he.editionStandard??!0,editionPremium:fe,previewPercent:he.previewPercent??null})}else c({id:T.id,originalId:T.id,title:T.title,price:T.price,content:"",filePath:T.filePath,isFree:T.isFree,isNew:T.isNew,isPinned:At.includes(T.id),hotScore:T.hotScore??0,editionStandard:!0,editionPremium:!1,previewPercent:null}),G&&!G.success&&oe.error("无法读取文件内容: "+(G.error||"未知错误"))}catch(G){console.error(G),c({id:T.id,title:T.title,price:T.price,content:"",filePath:T.filePath,isFree:T.isFree})}finally{m(!1)}},Ae=async()=>{var T;if(o){y(!0);try{let G=o.content||"";G=ww(G,br,vr);const he=[new RegExp(`^#+\\s*${o.id.replace(".","\\.")}\\s+.*$`,"gm"),new RegExp(`^#+\\s*${o.id.replace(".","\\.")}[::].*$`,"gm"),new RegExp(`^#\\s+.*${(T=o.title)==null?void 0:T.slice(0,10).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}.*$`,"gm")];for(const Ls of he)G=G.replace(Ls,"");G=G.replace(/^\s*\n+/,"").trim();const fe=o.originalId||o.id,nt=o.id!==fe,yt=o.previewPercent,In=yt!=null&&yt!==0&&Number(yt)>=1&&Number(yt)<=100,hn=await Tt("/api/db/book",{id:fe,...nt?{newId:o.id}:{},title:o.title,price:o.isFree?0:o.price,content:G,isFree:o.isFree||o.price===0,isNew:o.isNew,hotScore:o.hotScore,editionStandard:o.editionPremium?!1:o.editionStandard??!0,editionPremium:o.editionPremium??!1,...In?{previewPercent:Number(yt)}:{clearPreviewPercent:!0},saveToFile:!0}),sa=nt?o.id:fe;o.isPinned!==At.includes(sa)&&await Rs(sa),hn&&hn.success!==!1?(oe.success(`已保存:${o.title}`),c(null),zn()):oe.error("保存失败: "+(hn&&typeof hn=="object"&&"error"in hn?hn.error:"未知错误"))}catch(G){console.error(G),oe.error("保存失败")}finally{y(!1)}}},Ye=async()=>{if(!A.id||!A.title){oe.error("请填写章节ID和标题");return}y(!0);try{const T=un.find(fe=>fe.id===A.partId),G=T==null?void 0:T.chapters.find(fe=>fe.id===A.chapterId),he=await Tt("/api/db/book",{id:A.id,title:A.title,price:A.isFree?0:A.price,content:ww(A.content||"",br,vr),partId:A.partId,partTitle:(T==null?void 0:T.title)??"",chapterId:A.chapterId,chapterTitle:(G==null?void 0:G.title)??"",isFree:A.isFree,isNew:A.isNew,editionStandard:A.editionPremium?!1:A.editionStandard??!0,editionPremium:A.editionPremium??!1,hotScore:A.hotScore??0,saveToFile:!1});if(he&&he.success!==!1){if(A.isPinned){const fe=[...At,A.id];Kn(fe);try{await Nt("/api/db/config",{key:"pinned_section_ids",value:fe,description:"强制置顶章节ID列表(精选推荐/首页最新更新)"})}catch{}}oe.success(`章节创建成功:${A.title}`),h(!1),D({id:"",title:"",price:1,partId:"part-1",chapterId:"chapter-1",content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),zn()}else oe.error("创建失败: "+(he&&typeof he=="object"&&"error"in he?he.error:"未知错误"))}catch(T){console.error(T),oe.error("创建失败")}finally{y(!1)}},ct=T=>{D(G=>{var he;return{...G,partId:T.id,chapterId:((he=T.chapters[0])==null?void 0:he.id)??"chapter-1"}}),h(!0)},xn=T=>{_({id:T.id,title:T.title})},kn=async()=>{var T;if((T=H==null?void 0:H.title)!=null&&T.trim()){L(!0);try{const G=t.map(fe=>({id:fe.id,partId:fe.partId||"part-1",partTitle:fe.partId===H.id?H.title.trim():fe.partTitle||"",chapterId:fe.chapterId||"chapter-1",chapterTitle:fe.chapterTitle||""})),he=await Tt("/api/db/book",{action:"reorder",items:G});if(he&&he.success!==!1){const fe=H.title.trim();e(nt=>nt.map(yt=>yt.partId===H.id?{...yt,partTitle:fe}:yt)),_(null),zn()}else oe.error("更新篇名失败: "+(he&&typeof he=="object"&&"error"in he?he.error:"未知错误"))}catch(G){console.error(G),oe.error("更新篇名失败")}finally{L(!1)}}},Uo=T=>{const G=T.chapters.length+1,he=`chapter-${T.id}-${G}-${Date.now()}`;D({id:`${G}.1`,title:"新章节",price:1,partId:T.id,chapterId:he,content:"",editionStandard:!0,editionPremium:!1,isFree:!1,isNew:!1,isPinned:!1,hotScore:0}),h(!0)},Xt=(T,G)=>{ue({part:T,chapter:G,title:G.title})},st=async()=>{var T;if((T=K==null?void 0:K.title)!=null&&T.trim()){R(!0);try{const G=t.map(fe=>({id:fe.id,partId:fe.partId||K.part.id,partTitle:fe.partId===K.part.id?K.part.title:fe.partTitle||"",chapterId:fe.chapterId||K.chapter.id,chapterTitle:fe.partId===K.part.id&&fe.chapterId===K.chapter.id?K.title.trim():fe.chapterTitle||""})),he=await Tt("/api/db/book",{action:"reorder",items:G});if(he&&he.success!==!1){const fe=K.title.trim(),nt=K.part.id,yt=K.chapter.id;e(In=>In.map(hn=>hn.partId===nt&&hn.chapterId===yt?{...hn,chapterTitle:fe}:hn)),ue(null),zn()}else oe.error("保存失败: "+(he&&typeof he=="object"&&"error"in he?he.error:"未知错误"))}catch(G){console.error(G),oe.error("保存失败")}finally{R(!1)}}},Ba=async(T,G)=>{const he=G.sections.map(fe=>fe.id);if(he.length===0){oe.info("该章下无小节,无需删除");return}if(confirm(`确定要删除「第${T.chapters.indexOf(G)+1}章 | ${G.title}」吗?将删除共 ${he.length} 节,此操作不可恢复。`))try{for(const fe of he)await wa(`/api/db/book?id=${encodeURIComponent(fe)}`);zn()}catch(fe){console.error(fe),oe.error("删除失败")}},Va=async()=>{if(!Y.trim()){oe.error("请输入篇名");return}ye(!0);try{const T=`part-new-${Date.now()}`,G="chapter-1",he=`part-placeholder-${Date.now()}`,fe=await Tt("/api/db/book",{id:he,title:"占位节(可编辑)",price:0,content:"",partId:T,partTitle:Y.trim(),chapterId:G,chapterTitle:"第1章 | 待编辑",saveToFile:!1});fe&&fe.success!==!1?(oe.success(`篇「${Y}」创建成功`),ee(!1),X(""),zn()):oe.error("创建失败: "+(fe&&typeof fe=="object"&&"error"in fe?fe.error:"未知错误"))}catch(T){console.error(T),oe.error("创建失败")}finally{ye(!1)}},ls=async()=>{if(O.length===0){oe.error("请先勾选要移动的章节");return}const T=un.find(he=>he.id===J),G=T==null?void 0:T.chapters.find(he=>he.id===U);if(!T||!G||!J||!U){oe.error("请选择目标篇和章");return}ce(!0);try{const he=()=>{const In=new Set(O),hn=t.map(rn=>({id:rn.id,partId:rn.partId||"",partTitle:rn.partTitle||"",chapterId:rn.chapterId||"",chapterTitle:rn.chapterTitle||""})),sa=hn.filter(rn=>In.has(rn.id)).map(rn=>({...rn,partId:J,partTitle:T.title||J,chapterId:U,chapterTitle:G.title||U})),Ls=hn.filter(rn=>!In.has(rn.id));let ac=Ls.length;for(let rn=Ls.length-1;rn>=0;rn-=1){const Ha=Ls[rn];if(Ha.partId===J&&Ha.chapterId===U){ac=rn+1;break}}return[...Ls.slice(0,ac),...sa,...Ls.slice(ac)]},fe=async()=>{const In=he(),hn=await Tt("/api/db/book",{action:"reorder",items:In});return hn&&hn.success!==!1?(oe.success(`已移动 ${O.length} 节到「${T.title}」-「${G.title}」`),se(!1),F([]),await zn(),!0):!1},nt={action:"move-sections",sectionIds:O,targetPartId:J,targetChapterId:U,targetPartTitle:T.title||J,targetChapterTitle:G.title||U},yt=await Tt("/api/db/book",nt);if(yt&&yt.success!==!1)oe.success(`已移动 ${yt.count??O.length} 节到「${T.title}」-「${G.title}」`),se(!1),F([]),await zn();else{const In=yt&&typeof yt=="object"&&"error"in yt?yt.error||"":"未知错误";if((In.includes("缺少 id")||In.includes("无效的 action"))&&await fe())return;oe.error("移动失败: "+In)}}catch(he){console.error(he),oe.error("移动失败: "+(he instanceof Error?he.message:"网络或服务异常"))}finally{ce(!1)}},Ko=T=>{F(G=>G.includes(T)?G.filter(he=>he!==T):[...G,T])},qo=async T=>{const G=t.filter(he=>he.partId===T.id).map(he=>he.id);if(G.length===0){oe.info("该篇下暂无小节可删除");return}if(confirm(`确定要删除「${T.title}」整篇吗?将删除共 ${G.length} 节内容,此操作不可恢复。`))try{for(const he of G)await wa(`/api/db/book?id=${encodeURIComponent(he)}`);zn()}catch(he){console.error(he),oe.error("删除失败")}},ra=async()=>{var T;if(v.trim()){E(!0);try{const G=await De(`/api/search?q=${encodeURIComponent(v)}`);G!=null&&G.success&&((T=G.data)!=null&&T.results)?k(G.data.results):(k([]),G&&!G.success&&oe.error("搜索失败: "+G.error))}catch(G){console.error(G),k([]),oe.error("搜索失败")}finally{E(!1)}}},Ji=un.find(T=>T.id===A.partId),Yi=(Ji==null?void 0:Ji.chapters)??[];return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"内容管理"}),s.jsxs("p",{className:"text-gray-400 mt-1",children:["共 ",un.length," 篇 · ",as," 节内容"]})]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsxs(ne,{onClick:()=>jn(!0),variant:"outline",className:"border-amber-500/50 text-amber-400 hover:bg-amber-500/10 bg-transparent",children:[s.jsx(Ru,{className:"w-4 h-4 mr-2"}),"排名算法"]}),s.jsxs(ne,{onClick:()=>{const T=typeof window<"u"?`${window.location.origin}/api-doc`:"";T&&window.open(T,"_blank","noopener,noreferrer")},variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ns,{className:"w-4 h-4 mr-2"}),"API 接口"]})]})]}),s.jsx(Ft,{open:u,onOpenChange:h,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[s.jsx(Bt,{className:"shrink-0 px-6 pt-6 pb-2",children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(pn,{className:"w-5 h-5 text-[#38bdac]"}),"新建章节"]})}),s.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节ID *"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 9.15",value:A.id,onChange:T=>D({...A,id:T.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:A.isFree?0:A.price,onChange:T=>D({...A,price:Number(T.target.value),isFree:Number(T.target.value)===0}),disabled:A.isFree})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"免费"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:A.isFree,onChange:T=>D({...A,isFree:T.target.checked,price:T.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"最新新增"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:A.isNew,onChange:T=>D({...A,isNew:T.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"小程序直推"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:A.isPinned,onChange:T=>D({...A,isPinned:T.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"文章类型"}),s.jsxs("div",{className:"flex items-center gap-4 h-10",children:[s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"radio",name:"new-edition-type",checked:A.editionPremium!==!0,onChange:()=>D({...A,editionStandard:!0,editionPremium:!1}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"普通版"})]}),s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"radio",name:"new-edition-type",checked:A.editionPremium===!0,onChange:()=>D({...A,editionStandard:!1,editionPremium:!0}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"增值版"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"热度分"}),s.jsx(le,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:A.hotScore??0,onChange:T=>D({...A,hotScore:Math.max(0,parseFloat(T.target.value)||0)})})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节标题 *"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"输入章节标题",value:A.title,onChange:T=>D({...A,title:T.target.value})})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"所属篇"}),s.jsxs(Sl,{value:A.partId,onValueChange:T=>{var he;const G=un.find(fe=>fe.id===T);D({...A,partId:T,chapterId:((he=G==null?void 0:G.chapters[0])==null?void 0:he.id)??"chapter-1"})},children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{})}),s.jsxs(po,{className:"bg-[#0f2137] border-gray-700",children:[un.map(T=>s.jsx(Dr,{value:T.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:T.title},T.id)),un.length===0&&s.jsx(Dr,{value:"part-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认篇"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"所属章"}),s.jsxs(Sl,{value:A.chapterId,onValueChange:T=>D({...A,chapterId:T}),children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{})}),s.jsxs(po,{className:"bg-[#0f2137] border-gray-700",children:[Yi.map(T=>s.jsx(Dr,{value:T.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:T.title},T.id)),Yi.length===0&&s.jsx(Dr,{value:"chapter-1",className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:"默认章"})]})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @链接AI人物 和 #链接标签)"}),s.jsx(Px,{content:A.content||"",onChange:T=>D({...A,content:T}),onImageUpload:async T=>{var nt;const G=new FormData;G.append("file",T),G.append("folder","book-images");const fe=await(await fetch(ja("/api/upload"),{method:"POST",body:G,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((nt=fe==null?void 0:fe.data)==null?void 0:nt.url)||(fe==null?void 0:fe.url)||""},onVideoUpload:async T=>{var nt;const G=new FormData;G.append("file",T),G.append("folder","book-videos");const fe=await(await fetch(ja("/api/upload/video"),{method:"POST",body:G,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((nt=fe==null?void 0:fe.data)==null?void 0:nt.url)||(fe==null?void 0:fe.url)||""},persons:br,linkTags:vr,onPersonCreate:$n,placeholder:"开始编辑内容... 输入 @ 可链接AI人物,工具栏可插入 #链接标签"})]})]}),s.jsxs(ln,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[s.jsx(ne,{variant:"outline",onClick:()=>h(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:Ye,disabled:g||!A.id||!A.title,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"创建章节"]})})]})]})}),s.jsx(Ft,{open:!!H,onOpenChange:T=>!T&&_(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}),"编辑篇名"]})}),H&&s.jsx("div",{className:"space-y-4 py-4",children:s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"篇名"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:H.title,onChange:T=>_({...H,title:T.target.value}),placeholder:"输入篇名"})]})}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>_(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:kn,disabled:P||!((cs=H==null?void 0:H.title)!=null&&cs.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:P?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),s.jsx(Ft,{open:!!K,onOpenChange:T=>!T&&ue(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节名称"]})}),K&&s.jsx("div",{className:"space-y-4 py-4",children:s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节名称(如:第8章|底层结构)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:K.title,onChange:T=>ue({...K,title:T.target.value}),placeholder:"输入章节名称"})]})}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>ue(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:st,disabled:me||!((ds=K==null?void 0:K.title)!=null&&ds.trim()),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:me?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存"]})})]})]})}),s.jsx(Ft,{open:I,onOpenChange:T=>{var G;if(se(T),T&&un.length>0){const he=un[0];z(he.id),q(((G=he.chapters[0])==null?void 0:G.id)??"")}},children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:"批量移动至指定目录"})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("p",{className:"text-gray-400 text-sm",children:["已选 ",s.jsx("span",{className:"text-[#38bdac] font-medium",children:O.length})," 节,请选择目标篇与章。"]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"目标篇"}),s.jsxs(Sl,{value:J,onValueChange:T=>{var he;z(T);const G=un.find(fe=>fe.id===T);q(((he=G==null?void 0:G.chapters[0])==null?void 0:he.id)??"")},children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{placeholder:"选择篇"})}),s.jsx(po,{className:"bg-[#0f2137] border-gray-700",children:un.map(T=>s.jsx(Dr,{value:T.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:T.title},T.id))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"目标章"}),s.jsxs(Sl,{value:U,onValueChange:q,children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white",children:s.jsx(Cl,{placeholder:"选择章"})}),s.jsx(po,{className:"bg-[#0f2137] border-gray-700",children:(((us=un.find(T=>T.id===J))==null?void 0:us.chapters)??[]).map(T=>s.jsx(Dr,{value:T.id,className:"text-white hover:bg-[#38bdac]/20 focus:bg-[#38bdac]/20",children:T.title},T.id))})]})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>se(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:ls,disabled:V||O.length===0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:V?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"移动中..."]}):"确认移动"})]})]})}),s.jsx(Ft,{open:!!je,onOpenChange:T=>!T&&_e(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-3xl max-h-[85vh] overflow-hidden flex flex-col",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white",children:["付款记录 — ",(je==null?void 0:je.section.title)??""]})}),s.jsx("div",{className:"flex-1 overflow-y-auto py-2",children:He?s.jsxs("div",{className:"flex items-center justify-center py-8",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):je&&je.orders.length===0?s.jsx("p",{className:"text-gray-500 text-center py-6",children:"暂无付款记录"}):je?s.jsxs("table",{className:"w-full text-sm border-collapse",children:[s.jsx("thead",{children:s.jsxs("tr",{className:"border-b border-gray-700 text-left text-gray-400",children:[s.jsx("th",{className:"py-2 pr-2",children:"订单号"}),s.jsx("th",{className:"py-2 pr-2",children:"用户ID"}),s.jsx("th",{className:"py-2 pr-2",children:"金额"}),s.jsx("th",{className:"py-2 pr-2",children:"状态"}),s.jsx("th",{className:"py-2 pr-2",children:"支付时间"})]})}),s.jsx("tbody",{children:je.orders.map(T=>s.jsxs("tr",{className:"border-b border-gray-700/50",children:[s.jsx("td",{className:"py-2 pr-2",children:s.jsx("button",{className:"text-blue-400 hover:text-blue-300 hover:underline text-left truncate max-w-[180px] block",title:`查看订单 ${T.orderSn}`,onClick:()=>window.open(`/orders?search=${T.orderSn??T.id??""}`,"_blank"),children:T.orderSn?T.orderSn.length>16?T.orderSn.slice(0,8)+"..."+T.orderSn.slice(-6):T.orderSn:"-"})}),s.jsx("td",{className:"py-2 pr-2",children:s.jsx("button",{className:"text-[#38bdac] hover:text-[#2da396] hover:underline text-left truncate max-w-[140px] block",title:`查看用户 ${T.userId??T.openId??""}`,onClick:()=>window.open(`/users?search=${T.userId??T.openId??""}`,"_blank"),children:(()=>{const G=T.userId??T.openId??"-";return G.length>12?G.slice(0,6)+"..."+G.slice(-4):G})()})}),s.jsxs("td",{className:"py-2 pr-2 text-gray-300",children:["¥",T.amount??0]}),s.jsx("td",{className:"py-2 pr-2 text-gray-300",children:T.status??"-"}),s.jsx("td",{className:"py-2 pr-2 text-gray-500",children:T.payTime??T.createdAt??"-"})]},T.id??T.orderSn??""))})]}):null})]})}),s.jsx(Ft,{open:Dt,onOpenChange:jn,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Ru,{className:"w-5 h-5 text-amber-400"}),"文章排名算法"]})}),s.jsxs("div",{className:"space-y-4 py-2",children:[s.jsx("p",{className:"text-sm text-gray-400",children:"排名积分制:三个维度各取前20名(第1名=20分,第20名=1分),乘以权重后求和(三权重之和须为 100%)"}),re?s.jsx("p",{className:"text-gray-500",children:"加载中..."}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"阅读权重 (%)"}),s.jsx(le,{type:"number",step:"5",min:"0",max:"100",className:"bg-[#0a1628] border-gray-700 text-white",value:it.readWeight,onChange:T=>Mt(G=>({...G,readWeight:Math.max(0,Math.min(100,parseInt(T.target.value)||0))}))})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"新度权重 (%)"}),s.jsx(le,{type:"number",step:"5",min:"0",max:"100",className:"bg-[#0a1628] border-gray-700 text-white",value:it.recencyWeight,onChange:T=>Mt(G=>({...G,recencyWeight:Math.max(0,Math.min(100,parseInt(T.target.value)||0))}))})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"付款权重 (%)"}),s.jsx(le,{type:"number",step:"5",min:"0",max:"100",className:"bg-[#0a1628] border-gray-700 text-white",value:it.payWeight,onChange:T=>Mt(G=>({...G,payWeight:Math.max(0,Math.min(100,parseInt(T.target.value)||0))}))})]})]}),s.jsxs("p",{className:`text-xs ${Math.abs(it.readWeight+it.recencyWeight+it.payWeight-100)>1?"text-red-400":"text-green-400"}`,children:["当前之和: ",it.readWeight+it.recencyWeight+it.payWeight,"%",Math.abs(it.readWeight+it.recencyWeight+it.payWeight-100)>1?"(须为 100%)":" ✓"]}),s.jsxs("ul",{className:"list-disc list-inside space-y-1 text-xs text-gray-400",children:[s.jsx("li",{children:"阅读量排名前20:第1名=20分 → 第20名=1分,其余0分"}),s.jsx("li",{children:"新度排名前20(按最近更新):同理20→1分"}),s.jsx("li",{children:"付款量排名前20:同理20→1分"}),s.jsx("li",{children:"热度 = 阅读排名分 × 阅读权重% + 新度排名分 × 新度权重% + 付款排名分 × 付款权重%"})]}),s.jsx(ne,{onClick:$a,disabled:et||Math.abs(it.readWeight+it.recencyWeight+it.payWeight-100)>1,className:"w-full bg-amber-500 hover:bg-amber-600 text-white",children:et?"保存中...":"保存权重"})]})]})]})}),s.jsx(Ft,{open:$,onOpenChange:ee,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-md",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(pn,{className:"w-5 h-5 text-amber-400"}),"新建篇"]})}),s.jsx("div",{className:"space-y-4 py-4",children:s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"篇名(如:第六篇|真实的社会)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:Y,onChange:T=>X(T.target.value),placeholder:"输入篇名"})]})}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>{ee(!1),X("")},className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsx(ne,{onClick:Va,disabled:ae||!Y.trim(),className:"bg-amber-500 hover:bg-amber-600 text-white",children:ae?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"创建中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"创建篇"]})})]})]})}),s.jsx(Ft,{open:!!o,onOpenChange:()=>c(null),children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-4xl max-h-[90vh] flex flex-col p-0 gap-0",showCloseButton:!0,children:[s.jsx(Bt,{className:"shrink-0 px-6 pt-6 pb-2",children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}),"编辑章节"]})}),o&&s.jsxs("div",{className:"flex-1 overflow-y-auto min-h-0 px-6 space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节ID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.id,onChange:T=>c({...o,id:T.target.value}),placeholder:"如: 9.15"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"价格 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:o.isFree?0:o.price,onChange:T=>c({...o,price:Number(T.target.value),isFree:Number(T.target.value)===0}),disabled:o.isFree})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"免费"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:o.isFree||o.price===0,onChange:T=>c({...o,isFree:T.target.checked,price:T.target.checked?0:1}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"设为免费"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"最新新增"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:o.isNew??!1,onChange:T=>c({...o,isNew:T.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"标记 NEW"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"小程序直推"}),s.jsx("div",{className:"flex items-center h-10",children:s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"checkbox",checked:o.isPinned??!1,onChange:T=>c({...o,isPinned:T.target.checked}),className:"w-5 h-5 rounded border-gray-600 bg-[#0a1628] text-amber-400 focus:ring-amber-400"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"强制置顶到小程序首页"})]})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"文章类型"}),s.jsxs("div",{className:"flex items-center gap-4 h-10",children:[s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"radio",name:"edition-type",checked:o.editionPremium!==!0,onChange:()=>c({...o,editionStandard:!0,editionPremium:!1}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"普通版"})]}),s.jsxs("label",{className:"flex items-center cursor-pointer",children:[s.jsx("input",{type:"radio",name:"edition-type",checked:o.editionPremium===!0,onChange:()=>c({...o,editionStandard:!1,editionPremium:!0}),className:"w-4 h-4 border-gray-600 bg-[#0a1628] text-[#38bdac] focus:ring-[#38bdac]"}),s.jsx("span",{className:"ml-2 text-gray-400 text-sm",children:"增值版"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"热度分"}),s.jsx(le,{type:"number",step:"0.1",min:"0",className:"bg-[#0a1628] border-gray-700 text-white",value:o.hotScore??0,onChange:T=>c({...o,hotScore:Math.max(0,parseFloat(T.target.value)||0)})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"预览比例 (%)"}),s.jsx(le,{type:"number",min:"1",max:"100",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"默认使用全局设置",value:o.previewPercent!=null&&o.previewPercent>=1&&o.previewPercent<=100?String(o.previewPercent):"",onChange:T=>{const G=T.target.value.trim(),he=G===""?null:parseInt(G,10);c({...o,previewPercent:G!==""&&he!==null&&!isNaN(he)&&he>=1&&he<=100?he:null})}}),s.jsx("span",{className:"text-xs text-gray-500",children:"未付费用户可见前 N% 内容,留空使用全局设置"})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"章节标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:o.title,onChange:T=>c({...o,title:T.target.value})})]}),o.filePath&&s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"文件路径"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-gray-400 text-sm",value:o.filePath,disabled:!0})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"内容(富文本编辑器,支持 @链接AI人物 和 #链接标签)"}),f?s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700 rounded-md min-h-[400px] flex items-center justify-center",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsx(Px,{ref:Nr,content:o.content||"",onChange:T=>c({...o,content:T}),onImageUpload:async T=>{var nt;const G=new FormData;G.append("file",T),G.append("folder","book-images");const fe=await(await fetch(ja("/api/upload"),{method:"POST",body:G,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((nt=fe==null?void 0:fe.data)==null?void 0:nt.url)||(fe==null?void 0:fe.url)||""},onVideoUpload:async T=>{var nt;const G=new FormData;G.append("file",T),G.append("folder","book-videos");const fe=await(await fetch(ja("/api/upload/video"),{method:"POST",body:G,headers:{Authorization:`Bearer ${localStorage.getItem("admin_token")||""}`}})).json();return((nt=fe==null?void 0:fe.data)==null?void 0:nt.url)||(fe==null?void 0:fe.url)||""},persons:br,linkTags:vr,onPersonCreate:$n,placeholder:"开始编辑内容... 输入 @ 可链接AI人物,工具栏可插入 #链接标签"})]})]}),s.jsxs(ln,{className:"shrink-0 px-6 py-4 border-t border-gray-700/50",children:[o&&s.jsxs(ne,{variant:"outline",onClick:()=>Ds({id:o.id,title:o.title,price:o.price}),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent mr-auto",children:[s.jsx($r,{className:"w-4 h-4 mr-2"}),"付款记录"]}),s.jsxs(ne,{variant:"outline",onClick:()=>c(null),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsx(ne,{onClick:Ae,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:g?s.jsxs(s.Fragment,{children:[s.jsx(Ue,{className:"w-4 h-4 mr-2 animate-spin"}),"保存中..."]}):s.jsxs(s.Fragment,{children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存修改"]})})]})]})}),s.jsxs(Ed,{defaultValue:"chapters",className:"space-y-6",children:[s.jsxs(Jl,{className:"bg-[#0f2137] border border-gray-700/50 p-1",children:[s.jsxs(tn,{value:"chapters",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[s.jsx($r,{className:"w-4 h-4 mr-2"}),"章节管理"]}),s.jsxs(tn,{value:"ranking",className:"data-[state=active]:bg-amber-500/20 data-[state=active]:text-amber-400 text-gray-400",children:[s.jsx(Bg,{className:"w-4 h-4 mr-2"}),"内容排行榜"]}),s.jsxs(tn,{value:"search",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400",children:[s.jsx(Sa,{className:"w-4 h-4 mr-2"}),"内容搜索"]}),s.jsxs(tn,{value:"link-person",className:"data-[state=active]:bg-purple-500/20 data-[state=active]:text-purple-400 text-gray-400",children:[s.jsx(Ns,{className:"w-4 h-4 mr-2"}),"链接人与事"]}),s.jsxs(tn,{value:"link-tag",className:"data-[state=active]:bg-amber-500/20 data-[state=active]:text-amber-400 text-gray-400",children:[s.jsx(Uv,{className:"w-4 h-4 mr-2"}),"链接标签"]})]}),s.jsxs(nn,{value:"chapters",className:"space-y-4",children:[s.jsxs("div",{className:"rounded-2xl border border-gray-700/50 bg-[#1C1C1E] p-4 flex items-center justify-between shadow-sm",children:[s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("div",{className:"w-12 h-12 rounded-xl bg-[#38bdac] flex items-center justify-center text-white shadow-lg shadow-[#38bdac]/20 shrink-0",children:s.jsx($r,{className:"w-6 h-6"})}),s.jsxs("div",{children:[s.jsx("h2",{className:"font-bold text-base text-white leading-tight mb-1",children:"一场SOUL的创业实验场"}),s.jsx("p",{className:"text-xs text-gray-500",children:"来自Soul派对房的真实商业故事"})]})]}),s.jsxs("div",{className:"text-center shrink-0",children:[s.jsx("span",{className:"block text-2xl font-bold text-[#38bdac]",children:as}),s.jsx("span",{className:"text-xs text-gray-500",children:"章节"})]})]}),s.jsxs("div",{className:"flex flex-wrap gap-2",children:[s.jsxs(ne,{onClick:()=>h(!0),className:"flex-1 min-w-[120px] bg-[#38bdac]/10 hover:bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/30",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"新建章节"]}),s.jsxs(ne,{onClick:()=>ee(!0),className:"flex-1 min-w-[120px] bg-amber-500/10 hover:bg-amber-500/20 text-amber-400 border border-amber-500/30",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"新建篇"]}),s.jsxs(ne,{variant:"outline",onClick:()=>se(!0),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:["批量移动(已选 ",O.length," 节)"]})]}),n?s.jsxs("div",{className:"flex items-center justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsx(cV,{parts:un,expandedParts:a,onTogglePart:Ho,onReorder:za,onReadSection:B,onDeleteSection:sc,onAddSectionInPart:ct,onAddChapterInPart:Uo,onDeleteChapter:Ba,onEditPart:xn,onDeletePart:qo,onEditChapter:Xt,selectedSectionIds:O,onToggleSectionSelect:Ko,onShowSectionOrders:Ds,pinnedSectionIds:At})]}),s.jsx(nn,{value:"search",className:"space-y-4",children:s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"内容搜索"})}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-2",children:[s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",placeholder:"搜索标题或内容...",value:v,onChange:T=>w(T.target.value),onKeyDown:T=>T.key==="Enter"&&ra()}),s.jsx(ne,{onClick:ra,disabled:C||!v.trim(),className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:C?s.jsx(Ue,{className:"w-4 h-4 animate-spin"}):s.jsx(Sa,{className:"w-4 h-4"})})]}),N.length>0&&s.jsxs("div",{className:"space-y-2 mt-4",children:[s.jsxs("p",{className:"text-gray-400 text-sm",children:["找到 ",N.length," 个结果"]}),N.filter(T=>T.matchType==="title").length>0&&s.jsxs("div",{children:[s.jsx("p",{className:"text-amber-400 text-sm font-medium mb-2",children:"标题匹配"}),N.filter(T=>T.matchType==="title").slice(0,3).map(T=>s.jsxs("div",{className:"p-3 rounded-lg bg-[#162840] hover:bg-[#1a3050] cursor-pointer transition-colors mb-2",onClick:()=>B({id:T.id,title:T.title,price:T.price??1,filePath:""}),children:[s.jsx("div",{className:"flex items-center justify-between",children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"text-[#38bdac] font-mono text-xs",children:T.id}),s.jsx("span",{className:"text-white",children:T.title}),At.includes(T.id)&&s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})]})}),(T.partTitle||T.chapterTitle)&&s.jsxs("p",{className:"text-gray-600 text-xs mt-1",children:[T.partTitle," · ",T.chapterTitle]})]},T.id))]}),N.filter(T=>T.matchType==="content").length>0&&s.jsxs("div",{className:"mt-4",children:[s.jsx("p",{className:"text-gray-400 text-sm font-medium mb-2",children:"内容匹配"}),N.filter(T=>T.matchType==="content").map(T=>s.jsxs("div",{className:"p-3 rounded-lg bg-[#162840] hover:bg-[#1a3050] cursor-pointer transition-colors mb-2",onClick:()=>B({id:T.id,title:T.title,price:T.price??1,filePath:""}),children:[s.jsx("div",{className:"flex items-center justify-between",children:s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"text-[#38bdac] font-mono text-xs",children:T.id}),s.jsx("span",{className:"text-white",children:T.title}),At.includes(T.id)&&s.jsx(xi,{className:"w-3 h-3 text-amber-400 fill-amber-400 shrink-0"})]})}),T.snippet&&s.jsx("p",{className:"text-gray-500 text-xs mt-2 line-clamp-2",children:T.snippet}),(T.partTitle||T.chapterTitle)&&s.jsxs("p",{className:"text-gray-600 text-xs mt-1",children:[T.partTitle," · ",T.chapterTitle]})]},T.id))]})]})]})]})}),s.jsxs(nn,{value:"ranking",className:"space-y-4",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx(Ru,{className:"w-4 h-4 text-[#38bdac]"}),"内容显示规则"]})}),s.jsx(Ee,{children:s.jsxs("div",{className:"flex items-center gap-4 flex-wrap",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(te,{className:"text-gray-400 text-sm whitespace-nowrap",children:"未付费预览比例"}),s.jsx(le,{type:"number",min:"1",max:"100",className:"bg-[#0a1628] border-gray-700 text-white w-20",value:ge,onChange:T=>Ne(Math.max(1,Math.min(100,Number(T.target.value)||20))),disabled:qn}),s.jsx("span",{className:"text-gray-500 text-sm",children:"%"})]}),s.jsx(ne,{size:"sm",onClick:Os,disabled:Ts,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:Ts?"保存中...":"保存"}),s.jsxs("span",{className:"text-xs text-gray-500",children:["小程序未付费用户默认显示文章前 ",ge,"% 内容"]})]})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx(Bg,{className:"w-4 h-4 text-amber-400"}),"内容排行榜",s.jsxs("span",{className:"text-xs text-gray-500 font-normal ml-2",children:["按热度排行 · 共 ",wt.length," 节"]})]}),s.jsxs("div",{className:"flex items-center gap-1 text-sm",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>Vr(),disabled:Lt,className:"text-gray-400 hover:text-white h-7 w-7 p-0",title:"刷新排行榜",children:s.jsx(Ue,{className:`w-4 h-4 ${Lt?"animate-spin":""}`})}),s.jsx(ne,{variant:"ghost",size:"sm",disabled:ft<=1||Lt,onClick:()=>pt(T=>Math.max(1,T-1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:s.jsx(QT,{className:"w-4 h-4"})}),s.jsxs("span",{className:"text-gray-400 min-w-[60px] text-center",children:[ft," / ",_a]}),s.jsx(ne,{variant:"ghost",size:"sm",disabled:ft>=_a||Lt,onClick:()=>pt(T=>Math.min(_a,T+1)),className:"text-gray-400 hover:text-white h-7 w-7 p-0",children:s.jsx(El,{className:"w-4 h-4"})})]})]})}),s.jsx(Ee,{children:s.jsxs("div",{className:"space-y-0",children:[s.jsxs("div",{className:"grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2 text-xs text-gray-500 border-b border-gray-700/50",children:[s.jsx("span",{children:"排名"}),s.jsx("span",{children:"置顶"}),s.jsx("span",{children:"标题"}),s.jsx("span",{className:"text-right",children:"点击量"}),s.jsx("span",{className:"text-right",children:"付款数"}),s.jsx("span",{className:"text-right",children:"热度"}),s.jsx("span",{className:"text-right",children:"编辑"})]}),It.map((T,G)=>{const he=(ft-1)*Is+G+1,fe=T.isPinned??At.includes(T.id);return s.jsxs("div",{className:`grid grid-cols-[40px_40px_1fr_80px_80px_80px_60px] gap-2 px-3 py-2.5 items-center border-b border-gray-700/30 hover:bg-[#162840] transition-colors ${fe?"bg-amber-500/5":""}`,children:[s.jsx("span",{className:`text-sm font-bold ${he<=3?"text-amber-400":"text-gray-500"}`,children:he<=3?["🥇","🥈","🥉"][he-1]:`#${he}`}),s.jsx(ne,{variant:"ghost",size:"sm",className:`h-6 w-6 p-0 ${fe?"text-amber-400":"text-gray-600 hover:text-amber-400"}`,onClick:()=>Rs(T.id),disabled:ns,title:fe?"取消置顶":"强制置顶(精选推荐/首页最新更新)",children:fe?s.jsx(xi,{className:"w-3.5 h-3.5 fill-current"}):s.jsx(jA,{className:"w-3.5 h-3.5"})}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"text-white text-sm truncate block",children:T.title}),s.jsxs("span",{className:"text-gray-600 text-xs",children:[T.partTitle," · ",T.chapterTitle]})]}),s.jsx("span",{className:"text-right text-sm text-blue-400 font-mono",children:T.clickCount??0}),s.jsx("span",{className:"text-right text-sm text-green-400 font-mono",children:T.payCount??0}),s.jsx("span",{className:"text-right text-sm text-amber-400 font-mono",children:(T.hotScore??0).toFixed(1)}),s.jsx("div",{className:"text-right",children:s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-500 hover:text-[#38bdac] h-6 px-1",onClick:()=>B({id:T.id,title:T.title,price:T.price,filePath:""}),title:"编辑文章",children:s.jsx($t,{className:"w-3 h-3"})})})]},T.id)}),It.length===0&&s.jsx("div",{className:"py-8 text-center text-gray-500",children:"暂无数据"})]})})]})]}),s.jsxs(nn,{value:"link-person",className:"space-y-4",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"pb-3",children:[s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx("span",{className:"text-[#38bdac] text-lg font-bold",children:"@"}),"AI列表 — 链接人与事(编辑器内输入 @ 可链接)"]}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"添加时自动生成 32 位 token,文章 @ 时存 token;小程序点击 @ 时用 token 兑换真实密钥后加好友"})]}),s.jsxs(Ee,{className:"space-y-3",children:[s.jsxs("div",{className:"flex justify-between items-center",children:[s.jsx("p",{className:"text-xs text-gray-500",children:"添加人物时同步创建存客宝场景获客计划,配置与存客宝 API 获客一致"}),s.jsxs(ne,{size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",onClick:()=>{Xs(null),Oa(!0)},children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"添加"]})]}),s.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[br.length>0&&s.jsxs("div",{className:"flex items-center gap-4 px-3 py-1.5 text-xs text-gray-500 border-b border-gray-700/50",children:[s.jsx("span",{className:"w-[200px] shrink-0",children:"token"}),s.jsx("span",{className:"w-24 shrink-0",children:"@的人"}),s.jsx("span",{className:"w-28 shrink-0",children:"别名"}),s.jsx("span",{className:"w-16 shrink-0 text-center",children:"获客数"}),s.jsx("span",{children:"获客计划活动名"})]}),br.map(T=>{const G=Wi[T.id]||0;return s.jsxs("div",{className:"bg-[#0a1628] rounded px-3 py-2 flex items-center justify-between gap-3",children:[s.jsxs("div",{className:"flex items-center gap-4 text-sm min-w-0",children:[s.jsx("span",{className:"text-gray-400 text-xs font-mono shrink-0 w-[200px] truncate",title:T.id,children:T.id}),s.jsx("span",{className:"text-amber-400 shrink-0 w-24 truncate",title:"@的人",children:T.name}),s.jsx("span",{className:"text-gray-500 shrink-0 w-28 truncate text-xs",title:"别名",children:T.aliases||"-"}),s.jsx("span",{className:`shrink-0 w-16 text-center text-xs font-bold ${G>0?"text-green-400":"text-gray-600"}`,title:"获客数",children:G}),s.jsxs("span",{className:"text-white truncate",title:"获客计划活动名",children:["SOUL链接人与事-",T.name]})]}),s.jsxs("div",{className:"flex items-center gap-1",children:[s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 hover:text-[#38bdac] h-6 px-2",title:"编辑",onClick:async()=>{try{const he=await uV(T.personId||"");if(he!=null&&he.success&&he.person){const fe=he.person;Xs({id:fe.token??fe.personId,personId:fe.personId,name:fe.name,aliases:fe.aliases??"",label:fe.label??"",ckbApiKey:fe.ckbApiKey??"",remarkType:fe.remarkType,remarkFormat:fe.remarkFormat,addFriendInterval:fe.addFriendInterval,startTime:fe.startTime,endTime:fe.endTime,deviceGroups:fe.deviceGroups})}else Xs(T),he!=null&&he.error&&oe.error(he.error)}catch(he){console.error(he),Xs(T),oe.error(he instanceof Error?he.message:"加载人物详情失败")}Oa(!0)},children:s.jsx(xA,{className:"w-3 h-3"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 hover:text-green-400 h-6 px-2",title:"查看获客详情",onClick:()=>Fa(T.id,T.name),children:s.jsx(Mn,{className:"w-3 h-3"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-400 hover:text-amber-400 h-6 px-2",title:"编辑计划(跳转存客宝)",onClick:()=>{const he=T.ckbPlanId;he?window.open(`https://h5.ckb.quwanzhi.com/#/scenarios/edit/${he}`,"_blank"):oe.info("该人物尚未同步存客宝计划,请先保存后等待同步完成")},children:s.jsx(Ks,{className:"w-3 h-3"})}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",title:"删除(同时删除存客宝对应获客计划)",onClick:async()=>{confirm(`确定删除「SOUL链接人与事-${T.name}」?将同时删除存客宝对应获客计划。`)&&(await wa(`/api/db/persons?personId=${T.personId}`),is())},children:s.jsx(nr,{className:"w-3 h-3"})})]})]},T.id)}),br.length===0&&s.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无AI人物,添加后可在编辑器中 @链接"})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"pb-3",children:[s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx(Ru,{className:"w-4 h-4 text-green-400"}),"存客宝绑定"]}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"配置存客宝 API 后,文章中 @人物 或 #标签 点击可自动进入存客宝流量池"})]}),s.jsxs(Ee,{className:"space-y-3",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"存客宝 API 地址"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8",placeholder:"https://ckbapi.quwanzhi.com",defaultValue:"https://ckbapi.quwanzhi.com",readOnly:!0})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"绑定计划"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8",placeholder:"创业实验-内容引流",defaultValue:"创业实验-内容引流",readOnly:!0})]})]}),s.jsxs("p",{className:"text-xs text-gray-500",children:["具体存客宝场景配置与接口测试请前往"," ",s.jsx("button",{className:"text-[#38bdac] hover:underline",onClick:()=>window.open("/match","_blank"),children:"找伙伴 → 存客宝工作台"})]})]})]})]}),s.jsx(nn,{value:"link-tag",className:"space-y-4",children:s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"pb-3",children:[s.jsxs(Ge,{className:"text-white text-base flex items-center gap-2",children:[s.jsx(Uv,{className:"w-4 h-4 text-amber-400"}),"链接标签 — 链接事与物(编辑器内 #标签 可跳转链接/小程序/存客宝)"]}),s.jsx("p",{className:"text-xs text-gray-500 mt-1",children:"小程序端点击 #标签 可直接跳转对应链接,进入流量池"})]}),s.jsxs(Ee,{className:"space-y-3",children:[s.jsxs("div",{className:"flex gap-2 items-end flex-wrap",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"标签ID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",placeholder:"如 team01",value:vt.tagId,onChange:T=>Gn({...vt,tagId:T.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"显示文字"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"如 神仙团队",value:vt.label,onChange:T=>Gn({...vt,label:T.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"别名"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-28",placeholder:"逗号分隔",value:vt.aliases,onChange:T=>Gn({...vt,aliases:T.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"类型"}),s.jsxs(Sl,{value:vt.type,onValueChange:T=>Gn({...vt,type:T}),children:[s.jsx(fo,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-24",children:s.jsx(Cl,{})}),s.jsxs(po,{children:[s.jsx(Dr,{value:"url",children:"网页链接"}),s.jsx(Dr,{value:"miniprogram",children:"小程序"}),s.jsx(Dr,{value:"ckb",children:"存客宝"})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:vt.type==="url"?"URL地址":vt.type==="ckb"?"存客宝计划URL":"AppID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-44",placeholder:vt.type==="url"?"https://...":vt.type==="ckb"?"https://ckbapi.quwanzhi.com/...":"wx...",value:vt.type==="url"||vt.type==="ckb"?vt.url:vt.appId,onChange:T=>{vt.type==="url"||vt.type==="ckb"?Gn({...vt,url:T.target.value}):Gn({...vt,appId:T.target.value})}})]}),vt.type==="miniprogram"&&s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-400 text-xs",children:"页面路径"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 w-36",placeholder:"pages/index/index",value:vt.pagePath,onChange:T=>Gn({...vt,pagePath:T.target.value})})]}),s.jsxs(ne,{size:"sm",className:"bg-amber-500 hover:bg-amber-600 text-white h-8",onClick:async()=>{if(!vt.tagId||!vt.label){oe.error("标签ID和显示文字必填");return}const T={...vt};T.type==="miniprogram"&&(T.url=""),await Nt("/api/db/link-tags",T),Gn({tagId:"",label:"",aliases:"",url:"",type:"url",appId:"",pagePath:""}),As(null),na()},children:[s.jsx(pn,{className:"w-3 h-3 mr-1"}),Da?"保存":"添加"]})]}),s.jsxs("div",{className:"space-y-1 max-h-[400px] overflow-y-auto",children:[vr.map(T=>s.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded px-3 py-2",children:[s.jsxs("div",{className:"flex items-center gap-3 text-sm",children:[s.jsxs("button",{type:"button",className:"text-amber-400 font-bold text-base hover:underline",onClick:()=>{Gn({tagId:T.id,label:T.label,aliases:T.aliases??"",url:T.url,type:T.type,appId:T.appId??"",pagePath:T.pagePath??""}),As(T.id)},children:["#",T.label]}),s.jsx(Ke,{variant:"secondary",className:`text-[10px] ${T.type==="ckb"?"bg-green-500/20 text-green-300 border-green-500/30":"bg-gray-700 text-gray-300"}`,children:T.type==="url"?"网页":T.type==="ckb"?"存客宝":"小程序"}),T.type==="miniprogram"?s.jsxs("span",{className:"text-gray-400 text-xs font-mono",children:[T.appId," ",T.pagePath?`· ${T.pagePath}`:""]}):T.url?s.jsxs("a",{href:T.url,target:"_blank",rel:"noreferrer",className:"text-blue-400 text-xs truncate max-w-[250px] hover:underline flex items-center gap-1",children:[T.url," ",s.jsx(Ks,{className:"w-3 h-3 shrink-0"})]}):null]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(ne,{variant:"ghost",size:"sm",className:"text-gray-300 hover:text-white h-6 px-2",onClick:()=>{Gn({tagId:T.id,label:T.label,aliases:T.aliases??"",url:T.url,type:T.type,appId:T.appId??"",pagePath:T.pagePath??""}),As(T.id)},children:"编辑"}),s.jsx(ne,{variant:"ghost",size:"sm",className:"text-red-400 hover:text-red-300 h-6 px-2",onClick:async()=>{await wa(`/api/db/link-tags?tagId=${T.id}`),Da===T.id&&(As(null),Gn({tagId:"",label:"",aliases:"",url:"",type:"url",appId:"",pagePath:""})),na()},children:s.jsx(nr,{className:"w-3 h-3"})})]})]},T.id)),vr.length===0&&s.jsx("div",{className:"text-gray-500 text-sm py-4 text-center",children:"暂无链接标签,添加后可在编辑器中使用 #标签 跳转"})]})]})]})})]}),s.jsx(fV,{open:Ms,onOpenChange:Oa,editingPerson:Hi,onSubmit:async T=>{var fe;const G={personId:T.personId||T.name.toLowerCase().replace(/\s+/g,"_")+"_"+Date.now().toString(36),name:T.name,aliases:T.aliases||void 0,label:T.label,ckbApiKey:T.ckbApiKey||void 0,greeting:T.greeting||void 0,tips:T.tips||void 0,remarkType:T.remarkType||void 0,remarkFormat:T.remarkFormat||void 0,addFriendInterval:T.addFriendInterval,startTime:T.startTime||void 0,endTime:T.endTime||void 0,deviceGroups:(fe=T.deviceGroups)!=null&&fe.trim()?T.deviceGroups.split(",").map(nt=>parseInt(nt.trim(),10)).filter(nt=>!Number.isNaN(nt)):void 0},he=await Nt("/api/db/persons",G);if(he&&he.success===!1){const nt=he;nt.ckbResponse&&console.log("存客宝返回",nt.ckbResponse);const yt=nt.error||"操作失败";throw new Error(yt)}if(is(),oe.success(Hi?"已保存":"已添加"),he!=null&&he.ckbCreateResult&&Object.keys(he.ckbCreateResult).length>0){const nt=he.ckbCreateResult;console.log("存客宝创建结果",nt);const yt=nt.planId??nt.id,In=yt!=null?[`planId: ${yt}`]:[];nt.apiKey!=null&&In.push("apiKey: ***"),oe.info(In.length?`存客宝创建结果:${In.join(",")}`:"存客宝创建结果见控制台")}}}),s.jsx(Ft,{open:nc,onOpenChange:Jn,children:s.jsxs(Rt,{className:"max-w-2xl bg-[#0f2137] border-gray-700",children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-green-400"}),Ar," — 获客详情(共 ",cr," 条)"]})}),s.jsx("div",{className:"max-h-[450px] overflow-y-auto space-y-2",children:Vo?s.jsxs("div",{className:"flex items-center justify-center py-8",children:[s.jsx(Ue,{className:"w-5 h-5 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):ta.length===0?s.jsx("div",{className:"text-gray-500 text-sm py-8 text-center",children:"暂无获客记录"}):s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"grid grid-cols-[60px_1fr_100px_100px_80px_120px] gap-2 px-3 py-1.5 text-xs text-gray-500 border-b border-gray-700/50",children:[s.jsx("span",{children:"#"}),s.jsx("span",{children:"昵称/姓名"}),s.jsx("span",{children:"手机"}),s.jsx("span",{children:"微信"}),s.jsx("span",{children:"来源"}),s.jsx("span",{children:"时间"})]}),ta.map((T,G)=>s.jsxs("div",{className:"grid grid-cols-[60px_1fr_100px_100px_80px_120px] gap-2 px-3 py-2 bg-[#0a1628] rounded text-sm",children:[s.jsx("span",{className:"text-gray-500 text-xs",children:(ss-1)*20+G+1}),s.jsx("span",{className:"text-white truncate",children:T.nickname||T.name||T.userId||"-"}),s.jsx("span",{className:"text-gray-300 text-xs",children:T.phone||"-"}),s.jsx("span",{className:"text-gray-300 text-xs truncate",children:T.wechatId||"-"}),s.jsx("span",{className:"text-gray-500 text-xs",children:T.source==="article_mention"?"文章@":T.source==="index_lead"?"首页":T.source||"-"}),s.jsx("span",{className:"text-gray-500 text-xs",children:T.createdAt?new Date(T.createdAt).toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}):"-"})]},T.id))]})}),cr>20&&s.jsxs("div",{className:"flex items-center justify-center gap-2 pt-2",children:[s.jsx(ne,{size:"sm",variant:"outline",disabled:ss<=1,onClick:()=>Fa(ea,Ar,ss-1),className:"border-gray-600 text-gray-300 bg-transparent h-7 px-3",children:"上一页"}),s.jsxs("span",{className:"text-gray-400 text-xs",children:[ss," / ",Math.ceil(cr/20)]}),s.jsx(ne,{size:"sm",variant:"outline",disabled:ss>=Math.ceil(cr/20),onClick:()=>Fa(ea,Ar,ss+1),className:"border-gray-600 text-gray-300 bg-transparent h-7 px-3",children:"下一页"})]})]})})]})}const Na={name:"卡若",avatar:"K",avatarImg:"",title:"Soul派对房主理人 · 私域运营专家",bio:'每天早上6点到9点,在Soul派对房分享真实的创业故事。专注私域运营与项目变现,用"云阿米巴"模式帮助创业者构建可持续的商业体系。',stats:[{label:"商业案例",value:"62"},{label:"连续直播",value:"365天"},{label:"派对分享",value:"1000+"}],highlights:["5年私域运营经验","帮助100+品牌从0到1增长","连续创业者,擅长商业模式设计"]};function jw(t){return Array.isArray(t)?t.map(e=>e&&typeof e=="object"&&"label"in e&&"value"in e?{label:String(e.label),value:String(e.value)}:{label:"",value:""}).filter(e=>e.label||e.value):Na.stats}function kw(t){return Array.isArray(t)?t.map(e=>typeof e=="string"?e:String(e??"")).filter(Boolean):Na.highlights}function gV(){const[t,e]=b.useState(Na),[n,r]=b.useState(!0),[a,i]=b.useState(!1),[o,c]=b.useState(!1),u=b.useRef(null);b.useEffect(()=>{De("/api/admin/author-settings").then(k=>{const C=k==null?void 0:k.data;C&&typeof C=="object"&&e({name:String(C.name??Na.name),avatar:String(C.avatar??Na.avatar),avatarImg:String(C.avatarImg??""),title:String(C.title??Na.title),bio:String(C.bio??Na.bio),stats:jw(C.stats).length?jw(C.stats):Na.stats,highlights:kw(C.highlights).length?kw(C.highlights):Na.highlights})}).catch(console.error).finally(()=>r(!1))},[]);const h=async()=>{i(!0);try{const k={name:t.name,avatar:t.avatar||"K",avatarImg:t.avatarImg,title:t.title,bio:t.bio,stats:t.stats.filter(A=>A.label||A.value),highlights:t.highlights.filter(Boolean)},C=await Nt("/api/admin/author-settings",k);if(!C||C.success===!1){oe.error("保存失败: "+(C&&typeof C=="object"&&"error"in C?C.error:""));return}i(!1);const E=document.createElement("div");E.className="fixed top-4 right-4 z-50 px-4 py-2 rounded-lg bg-[#38bdac] text-white text-sm shadow-lg",E.textContent="作者设置已保存",document.body.appendChild(E),setTimeout(()=>E.remove(),2e3)}catch(k){console.error(k),oe.error("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{i(!1)}},f=async k=>{var E;const C=(E=k.target.files)==null?void 0:E[0];if(C){c(!0);try{const A=new FormData;A.append("file",C),A.append("folder","avatars");const D=kd(),H={};D&&(H.Authorization=`Bearer ${D}`);const P=await(await fetch(ja("/api/upload"),{method:"POST",body:A,credentials:"include",headers:H})).json();P!=null&&P.success&&(P!=null&&P.url)?e(L=>({...L,avatarImg:P.url})):oe.error("上传失败: "+((P==null?void 0:P.error)||"未知错误"))}catch(A){console.error(A),oe.error("上传失败")}finally{c(!1),u.current&&(u.current.value="")}}},m=()=>e(k=>({...k,stats:[...k.stats,{label:"",value:""}]})),g=k=>e(C=>({...C,stats:C.stats.filter((E,A)=>A!==k)})),y=(k,C,E)=>e(A=>({...A,stats:A.stats.map((D,H)=>H===k?{...D,[C]:E}:D)})),v=()=>e(k=>({...k,highlights:[...k.highlights,""]})),w=k=>e(C=>({...C,highlights:C.highlights.filter((E,A)=>A!==k)})),N=(k,C)=>e(E=>({...E,highlights:E.highlights.map((A,D)=>D===k?C:A)}));return n?s.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(No,{className:"w-5 h-5 text-[#38bdac]"}),"作者详情"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"配置小程序「关于作者」页展示的作者信息,包括头像、简介、统计数据与亮点标签。"})]}),s.jsxs(ne,{onClick:h,disabled:a||n,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),a?"保存中...":"保存"]})]}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"flex items-center gap-2 text-white",children:[s.jsx(No,{className:"w-4 h-4 text-[#38bdac]"}),"基本信息"]}),s.jsx(Ht,{className:"text-gray-400",children:"作者姓名、头像、头衔与个人简介,将展示在「关于作者」页顶部。"})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"姓名"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.name,onChange:k=>e(C=>({...C,name:k.target.value})),placeholder:"卡若"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"首字母占位(无头像时显示)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white w-20",value:t.avatar,onChange:k=>e(C=>({...C,avatar:k.target.value.slice(0,1)||"K"})),placeholder:"K"})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx(ej,{className:"w-3 h-3 text-[#38bdac]"}),"头像图片"]}),s.jsxs("div",{className:"flex gap-3 items-center",children:[s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:t.avatarImg,onChange:k=>e(C=>({...C,avatarImg:k.target.value})),placeholder:"上传或粘贴 URL,如 /uploads/avatars/xxx.png"}),s.jsx("input",{ref:u,type:"file",accept:"image/*",className:"hidden",onChange:f}),s.jsxs(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:o,onClick:()=>{var k;return(k=u.current)==null?void 0:k.click()},children:[s.jsx(xh,{className:"w-4 h-4 mr-2"}),o?"上传中...":"上传"]})]}),t.avatarImg&&s.jsx("div",{className:"mt-2",children:s.jsx("img",{src:ts(t.avatarImg.startsWith("http")?t.avatarImg:ja(t.avatarImg)),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"头衔"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:t.title,onChange:k=>e(C=>({...C,title:k.target.value})),placeholder:"Soul派对房主理人 · 私域运营专家"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"个人简介"}),s.jsx(Yl,{className:"bg-[#0a1628] border-gray-700 text-white min-h-[120px]",value:t.bio,onChange:k=>e(C=>({...C,bio:k.target.value})),placeholder:"每天早上6点到9点..."})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsx(Ge,{className:"text-white",children:"统计数据"}),s.jsx(Ht,{className:"text-gray-400",children:"展示在作者卡片中的数字指标,如「商业案例 62」「连续直播 365天」。第一个「商业案例」的值可由书籍统计自动更新。"})]}),s.jsxs(Ee,{className:"space-y-3",children:[t.stats.map((k,C)=>s.jsxs("div",{className:"flex gap-3 items-center",children:[s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.label,onChange:E=>y(C,"label",E.target.value),placeholder:"标签"}),s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k.value,onChange:E=>y(C,"value",E.target.value),placeholder:"数值"}),s.jsx(ne,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>g(C),children:s.jsx(nr,{className:"w-4 h-4"})})]},C)),s.jsxs(ne,{variant:"outline",size:"sm",onClick:m,className:"border-gray-600 text-gray-400",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"添加统计项"]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsx(Ge,{className:"text-white",children:"亮点标签"}),s.jsx(Ht,{className:"text-gray-400",children:"作者优势或成就的简短描述,以标签形式展示。"})]}),s.jsxs(Ee,{className:"space-y-3",children:[t.highlights.map((k,C)=>s.jsxs("div",{className:"flex gap-3 items-center",children:[s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:k,onChange:E=>N(C,E.target.value),placeholder:"5年私域运营经验"}),s.jsx(ne,{variant:"ghost",size:"icon",className:"text-gray-400 hover:text-red-400",onClick:()=>w(C),children:s.jsx(nr,{className:"w-4 h-4"})})]},C)),s.jsxs(ne,{variant:"outline",size:"sm",onClick:v,className:"border-gray-600 text-gray-400",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"添加亮点"]})]})]})]})]})}function xV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o]=b.useState(10),[c,u]=b.useState(0),[h,f]=b.useState(""),m=c0(h,300),[g,y]=b.useState(!0),[v,w]=b.useState(null),[N,k]=b.useState(!1),[C,E]=b.useState(null),[A,D]=b.useState(""),[H,_]=b.useState(""),[P,L]=b.useState(""),[$,ee]=b.useState("admin"),[K,ue]=b.useState("active"),[me,R]=b.useState(!1);async function O(){var U;y(!0),w(null);try{const q=new URLSearchParams({page:String(a),pageSize:String(o)});m.trim()&&q.set("search",m.trim());const V=await De(`/api/admin/admin-users?${q}`);V!=null&&V.success?(e(V.records||[]),r(V.total??0),u(V.totalPages??0)):w(V.error||"加载失败")}catch(q){const V=q;w(V.status===403?"无权限访问":((U=V==null?void 0:V.data)==null?void 0:U.error)||"加载失败"),e([])}finally{y(!1)}}b.useEffect(()=>{O()},[a,o,m]);const F=()=>{E(null),D(""),_(""),L(""),ee("admin"),ue("active"),k(!0)},I=U=>{E(U),D(U.username),_(""),L(U.name||""),ee(U.role==="super_admin"?"super_admin":"admin"),ue(U.status==="disabled"?"disabled":"active"),k(!0)},se=async()=>{var U;if(!A.trim()){w("用户名不能为空");return}if(!C&&!H){w("新建时密码必填,至少 6 位");return}if(H&&H.length<6){w("密码至少 6 位");return}w(null),R(!0);try{if(C){const q=await Tt("/api/admin/admin-users",{id:C.id,password:H||void 0,name:P.trim(),role:$,status:K});q!=null&&q.success?(k(!1),O()):w((q==null?void 0:q.error)||"保存失败")}else{const q=await Nt("/api/admin/admin-users",{username:A.trim(),password:H,name:P.trim(),role:$});q!=null&&q.success?(k(!1),O()):w((q==null?void 0:q.error)||"保存失败")}}catch(q){const V=q;w(((U=V==null?void 0:V.data)==null?void 0:U.error)||"保存失败")}finally{R(!1)}},J=async U=>{var q;if(confirm("确定删除该管理员?"))try{const V=await wa(`/api/admin/admin-users?id=${U}`);V!=null&&V.success?O():w((V==null?void 0:V.error)||"删除失败")}catch(V){const ce=V;w(((q=ce==null?void 0:ce.data)==null?void 0:q.error)||"删除失败")}},z=U=>{if(!U)return"-";try{const q=new Date(U);return isNaN(q.getTime())?U:q.toLocaleString("zh-CN")}catch{return U}};return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-6",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(qx,{className:"w-5 h-5 text-[#38bdac]"}),"管理员用户"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"后台登录账号管理,仅超级管理员可操作"})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(le,{placeholder:"搜索用户名/昵称",value:h,onChange:U=>f(U.target.value),className:"w-48 bg-[#0f2137] border-gray-700 text-white placeholder:text-gray-500"}),s.jsx(ne,{variant:"outline",size:"sm",onClick:O,disabled:g,className:"border-gray-600 text-gray-300",children:s.jsx(Ue,{className:`w-4 h-4 ${g?"animate-spin":""}`})}),s.jsxs(ne,{onClick:F,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"新增管理员"]})]})]}),v&&s.jsxs("div",{className:"mb-4 p-3 rounded-lg bg-red-500/10 border border-red-500/20 text-red-400 text-sm flex justify-between items-center",children:[s.jsx("span",{children:v}),s.jsx("button",{type:"button",onClick:()=>w(null),className:"text-red-400 hover:text-red-300",children:"×"})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-0",children:g?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"ID"}),s.jsx(Te,{className:"text-gray-400",children:"用户名"}),s.jsx(Te,{className:"text-gray-400",children:"昵称"}),s.jsx(Te,{className:"text-gray-400",children:"角色"}),s.jsx(Te,{className:"text-gray-400",children:"状态"}),s.jsx(Te,{className:"text-gray-400",children:"创建时间"}),s.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsxs(gr,{children:[t.map(U=>s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:U.id}),s.jsx(be,{className:"text-white font-medium",children:U.username}),s.jsx(be,{className:"text-gray-400",children:U.name||"-"}),s.jsx(be,{children:s.jsx(Ke,{variant:"outline",className:U.role==="super_admin"?"border-amber-500/50 text-amber-400":"border-gray-600 text-gray-400",children:U.role==="super_admin"?"超级管理员":"管理员"})}),s.jsx(be,{children:s.jsx(Ke,{variant:"outline",className:U.status==="active"?"border-[#38bdac]/50 text-[#38bdac]":"border-gray-500 text-gray-500",children:U.status==="active"?"正常":"已禁用"})}),s.jsx(be,{className:"text-gray-500 text-sm",children:z(U.createdAt)}),s.jsxs(be,{className:"text-right",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>I(U),className:"text-gray-400 hover:text-[#38bdac]",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>J(U.id),className:"text-gray-400 hover:text-red-400",children:s.jsx(er,{className:"w-4 h-4"})})]})]},U.id)),t.length===0&&!g&&s.jsx(lt,{children:s.jsx(be,{colSpan:7,className:"text-center py-12 text-gray-500",children:v==="无权限访问"?"仅超级管理员可查看":"暂无管理员"})})]})]}),c>1&&s.jsx("div",{className:"p-4 border-t border-gray-700/50",children:s.jsx(ws,{page:a,pageSize:o,total:n,totalPages:c,onPageChange:i})})]})})}),s.jsx(Ft,{open:N,onOpenChange:k,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-sm",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:C?"编辑管理员":"新增管理员"})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"用户名"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"登录用户名",value:A,onChange:U=>D(U.target.value),disabled:!!C}),C&&s.jsx("p",{className:"text-xs text-gray-500",children:"用户名不可修改"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:C?"新密码(留空不改)":"密码"}),s.jsx(le,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:C?"留空表示不修改":"至少 6 位",value:H,onChange:U=>_(U.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"昵称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"显示名称",value:P,onChange:U=>L(U.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"角色"}),s.jsxs("select",{value:$,onChange:U=>ee(U.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[s.jsx("option",{value:"admin",children:"管理员"}),s.jsx("option",{value:"super_admin",children:"超级管理员"})]})]}),C&&s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"状态"}),s.jsxs("select",{value:K,onChange:U=>ue(U.target.value),className:"w-full h-10 px-3 rounded-md bg-[#0a1628] border border-gray-700 text-white",children:[s.jsx("option",{value:"active",children:"正常"}),s.jsx("option",{value:"disabled",children:"禁用"})]})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>k(!1),className:"border-gray-600 text-gray-300",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:se,disabled:me,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),me?"保存中...":"保存"]})]})]})})]})}function bn({method:t,url:e,desc:n,headers:r,body:a,response:i}){const o=t==="GET"?"text-emerald-400":t==="POST"?"text-amber-400":t==="PUT"?"text-blue-400":t==="DELETE"?"text-rose-400":"text-gray-400";return s.jsxs("div",{className:"rounded-lg bg-[#0a1628]/60 border border-gray-700/50 p-4 space-y-3",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-wrap",children:[s.jsx("span",{className:`font-mono font-semibold ${o}`,children:t}),s.jsx("code",{className:"text-sm text-[#38bdac] break-all",children:e})]}),n&&s.jsx("p",{className:"text-gray-400 text-sm",children:n}),r&&r.length>0&&s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"Headers"}),s.jsx("pre",{className:"text-xs text-gray-300 font-mono overflow-x-auto p-2 rounded bg-black/30",children:r.join(` +`)})]}),a&&s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"Request Body (JSON)"}),s.jsx("pre",{className:"text-xs text-green-400/90 font-mono overflow-x-auto p-2 rounded bg-black/30 whitespace-pre-wrap",children:a})]}),i&&s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"Response Example"}),s.jsx("pre",{className:"text-xs text-amber-200/80 font-mono overflow-x-auto p-2 rounded bg-black/30 whitespace-pre-wrap",children:i})]})]})}function V4(){const t=["Authorization: Bearer {token}","Content-Type: application/json"];return s.jsxs("div",{className:"p-8 w-full bg-[#0a1628] text-white",children:[s.jsxs("div",{className:"mb-8",children:[s.jsx("h1",{className:"text-2xl font-bold text-white",children:"API 接口文档"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"内容管理相关接口 · RESTful · 基础路径 /api · 管理端需 Bearer Token"})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(tj,{className:"w-5 h-5 text-[#38bdac]"}),"1. Authentication"]})}),s.jsx(Ee,{className:"space-y-4",children:s.jsx(bn,{method:"POST",url:"/api/admin",desc:"登录,返回 JWT token",headers:["Content-Type: application/json"],body:`{ "username": "admin", "password": "your_password" }`,response:`{ "success": true, "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "expires_at": "2026-03-16T12:00:00Z" -}`})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx($r,{className:"w-5 h-5 text-[#38bdac]"}),"2. 章节管理 (Chapters)"]})}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsx(bn,{method:"GET",url:"/api/db/book?action=chapters",desc:"获取章节树",headers:t,response:`{ +}`})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx($r,{className:"w-5 h-5 text-[#38bdac]"}),"2. 章节管理 (Chapters)"]})}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsx(bn,{method:"GET",url:"/api/db/book?action=chapters",desc:"获取章节树",headers:t,response:`{ "success": true, "data": [ { "id": "part-1", "title": "第一篇", "children": [...] }, @@ -840,7 +840,7 @@ ${y.slice(h+2)}`,m+=1;else break}e.push({indent:h,number:parseInt(c,10),content: "success": true, "url": "/uploads/images/xxx.jpg", "data": { "url", "fileName", "size", "type" } -}`})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(No,{className:"w-5 h-5 text-[#38bdac]"}),"3. 人物管理 (@Mentions)"]})}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsx(bn,{method:"GET",url:"/api/db/persons",desc:"人物列表",headers:t,response:`{ +}`})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(No,{className:"w-5 h-5 text-[#38bdac]"}),"3. 人物管理 (@Mentions)"]})}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsx(bn,{method:"GET",url:"/api/db/persons",desc:"人物列表",headers:t,response:`{ "success": true, "data": [ { "personId": "p1", "label": "张三", "aliases": ["老张"], ... } @@ -864,7 +864,7 @@ ${y.slice(h+2)}`,m+=1;else break}e.push({indent:h,number:parseInt(c,10),content: }`}),s.jsx(bn,{method:"DELETE",url:"/api/db/persons?personId={id}",desc:"删除人物",headers:t,response:`{ "success": true, "message": "已删除" -}`})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(qc,{className:"w-5 h-5 text-[#38bdac]"}),"4. 链接标签 (#LinkTags)"]})}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsx(bn,{method:"GET",url:"/api/db/link-tags",desc:"标签列表",headers:t,response:`{ +}`})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(qc,{className:"w-5 h-5 text-[#38bdac]"}),"4. 链接标签 (#LinkTags)"]})}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsx(bn,{method:"GET",url:"/api/db/link-tags",desc:"标签列表",headers:t,response:`{ "success": true, "data": [ { "tagId": "t1", "label": "官网", "aliases": [], "type": "url", "url": "https://..." } @@ -883,18 +883,18 @@ ${y.slice(h+2)}`,m+=1;else break}e.push({indent:h,number:parseInt(c,10),content: }`}),s.jsx(bn,{method:"DELETE",url:"/api/db/link-tags?tagId={id}",desc:"删除标签",headers:t,response:`{ "success": true, "message": "已删除" -}`})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Sa,{className:"w-5 h-5 text-[#38bdac]"}),"5. 内容搜索"]})}),s.jsx(Ce,{className:"space-y-4",children:s.jsx(bn,{method:"GET",url:"/api/search?q={keyword}",desc:"搜索(标题优先 3 条 + 内容匹配)",headers:t,response:`{ +}`})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Sa,{className:"w-5 h-5 text-[#38bdac]"}),"5. 内容搜索"]})}),s.jsx(Ee,{className:"space-y-4",children:s.jsx(bn,{method:"GET",url:"/api/search?q={keyword}",desc:"搜索(标题优先 3 条 + 内容匹配)",headers:t,response:`{ "success": true, "data": { "titleMatches": [{ "id": "s1", "title": "...", "snippet": "..." }], "contentMatches": [{ "id": "s2", "title": "...", "snippet": "..." }] } -}`})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(zg,{className:"w-5 h-5 text-[#38bdac]"}),"6. 内容排行"]})}),s.jsx(Ce,{className:"space-y-4",children:s.jsx(bn,{method:"GET",url:"/api/db/book?action=ranking",desc:"排行榜数据",headers:t,response:`{ +}`})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Bg,{className:"w-5 h-5 text-[#38bdac]"}),"6. 内容排行"]})}),s.jsx(Ee,{className:"space-y-4",children:s.jsx(bn,{method:"GET",url:"/api/db/book?action=ranking",desc:"排行榜数据",headers:t,response:`{ "success": true, "data": [ { "id": "s1", "title": "...", "clickCount": 100, "payCount": 50, "hotScore": 120, "hotRank": 1 } ] -}`})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Dl,{className:"w-5 h-5 text-[#38bdac]"}),"7. 小程序接口"]})}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsx(bn,{method:"GET",url:"/api/miniprogram/book/all-chapters",desc:"全部章节(小程序用)",headers:["Content-Type: application/json"],response:`{ +}`})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{className:"pb-3",children:s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Dl,{className:"w-5 h-5 text-[#38bdac]"}),"7. 小程序接口"]})}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsx(bn,{method:"GET",url:"/api/miniprogram/book/all-chapters",desc:"全部章节(小程序用)",headers:["Content-Type: application/json"],response:`{ "success": true, "data": [ { "id": "s1", "title": "...", "price": 1.0, "isFree": false }, ... ] }`}),s.jsx(bn,{method:"GET",url:"/api/miniprogram/balance?userId={id}",desc:"查余额",headers:["Content-Type: application/json"],response:`{ @@ -912,16 +912,16 @@ ${y.slice(h+2)}`,m+=1;else break}e.push({indent:h,number:parseInt(c,10),content: }`,response:`{ "success": true, "data": { "amount": 10.00, "balance": 120.50 } -}`})]})]}),s.jsx("p",{className:"text-gray-500 text-xs mt-6",children:"管理端仅使用 /api/admin/*、/api/db/*;小程序使用 /api/miniprogram/*。完整实现见 soul-api 源码。"})]})}const xV={appId:"wxb8bbb2b10dec74aa",withdrawSubscribeTmplId:"u3MbZGPRkrZIk-I7QdpwzFxnO_CeQPaCWF2FkiIablE",mchId:"1318592501",minWithdraw:10},yV={name:"卡若",startDate:"2025年10月15日",bio:"连续创业者,私域运营专家,每天早上6-9点在Soul派对房分享真实商业故事",liveTime:"06:00-09:00",platform:"Soul派对房",description:"连续创业者,私域运营专家"},bV={sectionPrice:1,baseBookPrice:9.9,distributorShare:90,authorInfo:{...yV},ckbLeadApiKey:""},vV={endpoint:"",accessKeyId:"",accessKeySecret:"",bucket:"",region:""},NV={matchEnabled:!0,referralEnabled:!0,searchEnabled:!0,aboutEnabled:!0},wV=["system","author","admin","api-docs"];function jV(){const[t,e]=Uw(),n=t.get("tab")??"system",r=wV.includes(n)?n:"system",[a,i]=b.useState(bV),[o,c]=b.useState(NV),[u,h]=b.useState(xV),[f,m]=b.useState(vV),[g,y]=b.useState(!1),[v,w]=b.useState(!0),[N,k]=b.useState(!1),[C,E]=b.useState(""),[A,D]=b.useState(""),[H,_]=b.useState(!1),[P,L]=b.useState(!1),$=(R,O,F=!1)=>{E(R),D(O),_(F),k(!0)};b.useEffect(()=>{(async()=>{try{const O=await De("/api/admin/settings");if(!O||O.success===!1)return;if(O.featureConfig&&Object.keys(O.featureConfig).length&&c(F=>({...F,...O.featureConfig})),O.mpConfig&&typeof O.mpConfig=="object"&&h(F=>({...F,...O.mpConfig})),O.ossConfig&&typeof O.ossConfig=="object"&&m(F=>({...F,...O.ossConfig})),O.siteSettings&&typeof O.siteSettings=="object"){const F=O.siteSettings;i(I=>({...I,...typeof F.sectionPrice=="number"&&{sectionPrice:F.sectionPrice},...typeof F.baseBookPrice=="number"&&{baseBookPrice:F.baseBookPrice},...typeof F.distributorShare=="number"&&{distributorShare:F.distributorShare},...F.authorInfo&&typeof F.authorInfo=="object"&&{authorInfo:{...I.authorInfo,...F.authorInfo}},...typeof F.ckbLeadApiKey=="string"&&{ckbLeadApiKey:F.ckbLeadApiKey}}))}}catch(O){console.error("Load settings error:",O)}finally{w(!1)}})()},[]);const ee=async(R,O)=>{L(!0);try{const F=await Nt("/api/admin/settings",{featureConfig:R});if(!F||F.success===!1){O(),$("保存失败",(F==null?void 0:F.error)??"未知错误",!0);return}$("已保存","功能开关已更新,相关入口将随之显示或隐藏。")}catch(F){console.error("Save feature config error:",F),O(),$("保存失败",F instanceof Error?F.message:String(F),!0)}finally{L(!1)}},K=(R,O)=>{const F=o,I={...F,[R]:O};c(I),ee(I,()=>c(F))},ue=async()=>{y(!0);try{const R=await Nt("/api/admin/settings",{featureConfig:o,siteSettings:{sectionPrice:a.sectionPrice,baseBookPrice:a.baseBookPrice,distributorShare:a.distributorShare,authorInfo:a.authorInfo,ckbLeadApiKey:a.ckbLeadApiKey||void 0},mpConfig:{...u,appId:u.appId||"",withdrawSubscribeTmplId:u.withdrawSubscribeTmplId||"",mchId:u.mchId||"",minWithdraw:typeof u.minWithdraw=="number"?u.minWithdraw:10},ossConfig:{endpoint:f.endpoint||"",accessKeyId:f.accessKeyId||"",accessKeySecret:f.accessKeySecret||"",bucket:f.bucket||"",region:f.region||""}});if(!R||R.success===!1){$("保存失败",(R==null?void 0:R.error)??"未知错误",!0);return}$("已保存","设置已保存成功。")}catch(R){console.error("Save settings error:",R),$("保存失败",R instanceof Error?R.message:String(R),!0)}finally{y(!1)}},me=R=>{e(R==="system"?{}:{tab:R})};return v?s.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-6",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"系统设置"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"配置全站基础参数与开关"})]}),r==="system"&&s.jsxs(ne,{onClick:ue,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),g?"保存中...":"保存设置"]})]}),s.jsxs(Cd,{value:r,onValueChange:me,className:"w-full",children:[s.jsxs(Jl,{className:"mb-6 bg-[#0f2137] border border-gray-700/50 p-1",children:[s.jsxs(tn,{value:"system",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[s.jsx(bo,{className:"w-4 h-4 mr-2"}),"系统设置"]}),s.jsxs(tn,{value:"author",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[s.jsx(Im,{className:"w-4 h-4 mr-2"}),"作者详情"]}),s.jsxs(tn,{value:"admin",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[s.jsx(Wx,{className:"w-4 h-4 mr-2"}),"管理员"]}),s.jsxs(tn,{value:"api-docs",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[s.jsx($r,{className:"w-4 h-4 mr-2"}),"API 文档"]})]}),s.jsx(nn,{value:"system",className:"mt-0",children:s.jsxs("div",{className:"space-y-6",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Im,{className:"w-5 h-5 text-[#38bdac]"}),"关于作者"]}),s.jsx(Ht,{className:"text-gray-400",children:'配置作者信息,将在"关于作者"页面显示'})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"author-name",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(Im,{className:"w-3 h-3"}),"主理人名称"]}),s.jsx(le,{id:"author-name",className:"bg-[#0a1628] border-gray-700 text-white",value:a.authorInfo.name??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,name:R.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"start-date",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(fh,{className:"w-3 h-3"}),"开播日期"]}),s.jsx(le,{id:"start-date",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 2025年10月15日",value:a.authorInfo.startDate??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,startDate:R.target.value}}))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"live-time",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(fh,{className:"w-3 h-3"}),"直播时间"]}),s.jsx(le,{id:"live-time",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 06:00-09:00",value:a.authorInfo.liveTime??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,liveTime:R.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"platform",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(ej,{className:"w-3 h-3"}),"直播平台"]}),s.jsx(le,{id:"platform",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: Soul派对房",value:a.authorInfo.platform??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,platform:R.target.value}}))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"description",className:"text-gray-300 flex items-center gap-1",children:[s.jsx($r,{className:"w-3 h-3"}),"简介描述"]}),s.jsx(le,{id:"description",className:"bg-[#0a1628] border-gray-700 text-white",value:a.authorInfo.description??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,description:R.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"bio",className:"text-gray-300",children:"详细介绍"}),s.jsx(Yl,{id:"bio",className:"bg-[#0a1628] border-gray-700 text-white min-h-[100px]",placeholder:"输入作者详细介绍...",value:a.authorInfo.bio??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,bio:R.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"ckb-lead-api-key",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(Ns,{className:"w-3 h-3"}),"链接卡若存客宝密钥"]}),s.jsx(le,{id:"ckb-lead-api-key",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如 xxxxx-xxxxx-xxxxx-xxxxx(留空则用 .env 默认)",value:a.ckbLeadApiKey??"",onChange:R=>i(O=>({...O,ckbLeadApiKey:R.target.value}))}),s.jsx("p",{className:"text-xs text-gray-500",children:"小程序首页「链接卡若」留资接口使用的存客宝 API Key,优先于 .env 配置"})]}),s.jsxs("div",{className:"mt-4 p-4 rounded-xl bg-[#0a1628] border border-[#38bdac]/30",children:[s.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"预览效果"}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-[#00CED1] to-[#20B2AA] flex items-center justify-center text-xl font-bold text-white",children:(a.authorInfo.name??"K").charAt(0)}),s.jsxs("div",{children:[s.jsx("p",{className:"text-white font-semibold",children:a.authorInfo.name}),s.jsx("p",{className:"text-gray-400 text-xs",children:a.authorInfo.description}),s.jsxs("p",{className:"text-[#38bdac] text-xs mt-1",children:["每日 ",a.authorInfo.liveTime," · ",a.authorInfo.platform]})]})]})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(ph,{className:"w-5 h-5 text-[#38bdac]"}),"价格设置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置书籍和章节的定价"})]}),s.jsx(Ce,{className:"space-y-4",children:s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"单节价格 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:a.sectionPrice,onChange:R=>i(O=>({...O,sectionPrice:Number.parseFloat(R.target.value)||1}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"整本价格 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:a.baseBookPrice,onChange:R=>i(O=>({...O,baseBookPrice:Number.parseFloat(R.target.value)||9.9}))})]})]})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Dl,{className:"w-5 h-5 text-[#38bdac]"}),"小程序配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"订阅消息模板、支付商户号等,小程序从 /api/miniprogram/config 读取(API 地址由 app.js baseUrl 控制)"})]}),s.jsx(Ce,{className:"space-y-4",children:s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"小程序 AppID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"wxb8bbb2b10dec74aa",value:u.appId??"",onChange:R=>h(O=>({...O,appId:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"提现订阅模板 ID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"用户申请提现时需授权",value:u.withdrawSubscribeTmplId??"",onChange:R=>h(O=>({...O,withdrawSubscribeTmplId:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"微信支付商户号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"1318592501",value:u.mchId??"",onChange:R=>h(O=>({...O,mchId:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"最低提现金额 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:u.minWithdraw??10,onChange:R=>h(O=>({...O,minWithdraw:Number.parseFloat(R.target.value)||10}))})]})]})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(oM,{className:"w-5 h-5 text-[#38bdac]"}),"阿里云 OSS 配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置阿里云对象存储,用于图片和视频的云端存储(配置后将替代本地存储)"})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"Endpoint"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"oss-cn-hangzhou.aliyuncs.com",value:f.endpoint??"",onChange:R=>m(O=>({...O,endpoint:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"Region"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"oss-cn-hangzhou",value:f.region??"",onChange:R=>m(O=>({...O,region:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"AccessKey ID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"LTAI5t...",value:f.accessKeyId??"",onChange:R=>m(O=>({...O,accessKeyId:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"AccessKey Secret"}),s.jsx(le,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"********",value:f.accessKeySecret??"",onChange:R=>m(O=>({...O,accessKeySecret:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2 col-span-2",children:[s.jsx(te,{className:"text-gray-300",children:"Bucket 名称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"my-soul-bucket",value:f.bucket??"",onChange:R=>m(O=>({...O,bucket:R.target.value}))})]})]}),s.jsx("div",{className:`p-3 rounded-lg ${f.endpoint&&f.bucket&&f.accessKeyId?"bg-green-500/10 border border-green-500/30":"bg-amber-500/10 border border-amber-500/30"}`,children:s.jsx("p",{className:`text-xs ${f.endpoint&&f.bucket&&f.accessKeyId?"text-green-300":"text-amber-300"}`,children:f.endpoint&&f.bucket&&f.accessKeyId?`✅ OSS 已配置(${f.bucket}.${f.endpoint}),上传将自动使用云端存储`:"⚠ 未配置 OSS,当前上传存储在本地服务器。填写以上信息并保存后自动启用云端存储"})})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(bo,{className:"w-5 h-5 text-[#38bdac]"}),"功能开关"]}),s.jsx(Ht,{className:"text-gray-400",children:"控制各个功能模块的显示/隐藏"})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Mn,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx(te,{htmlFor:"match-enabled",className:"text-white font-medium cursor-pointer",children:"找伙伴功能"})]}),s.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制小程序和Web端的找伙伴功能显示"})]}),s.jsx(Et,{id:"match-enabled",checked:o.matchEnabled,disabled:P,onCheckedChange:R=>K("matchEnabled",R)})]}),s.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(wM,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx(te,{htmlFor:"referral-enabled",className:"text-white font-medium cursor-pointer",children:"推广功能"})]}),s.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制推广中心的显示(我的页面入口)"})]}),s.jsx(Et,{id:"referral-enabled",checked:o.referralEnabled,disabled:P,onCheckedChange:R=>K("referralEnabled",R)})]}),s.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx($r,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx(te,{htmlFor:"search-enabled",className:"text-white font-medium cursor-pointer",children:"搜索功能"})]}),s.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制首页搜索栏的显示"})]}),s.jsx(Et,{id:"search-enabled",checked:o.searchEnabled,disabled:P,onCheckedChange:R=>K("searchEnabled",R)})]}),s.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(bo,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx(te,{htmlFor:"about-enabled",className:"text-white font-medium cursor-pointer",children:"关于页面"})]}),s.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制关于页面的访问"})]}),s.jsx(Et,{id:"about-enabled",checked:o.aboutEnabled,disabled:P,onCheckedChange:R=>K("aboutEnabled",R)})]})]}),s.jsx("div",{className:"p-3 rounded-lg bg-blue-500/10 border border-blue-500/30",children:s.jsx("p",{className:"text-xs text-blue-300",children:"💡 关闭功能后,相关入口会自动隐藏。建议在功能开发完成后再开启。"})})]})]})]})}),s.jsx(nn,{value:"author",className:"mt-0",children:s.jsx(mV,{})}),s.jsx(nn,{value:"admin",className:"mt-0",children:s.jsx(gV,{})}),s.jsx(nn,{value:"api-docs",className:"mt-0",children:s.jsx(F4,{})})]}),s.jsx(Ft,{open:N,onOpenChange:k,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white",showCloseButton:!0,children:[s.jsxs(Bt,{children:[s.jsx(Vt,{className:H?"text-red-400":"text-[#38bdac]",children:C}),s.jsx(Jj,{className:"text-gray-400 whitespace-pre-wrap pt-2",children:A})]}),s.jsx(ln,{className:"mt-4",children:s.jsx(ne,{onClick:()=>k(!1),className:H?"bg-gray-600 hover:bg-gray-500":"bg-[#38bdac] hover:bg-[#2da396]",children:"确定"})})]})})]})}const jw={wechat:{enabled:!0,qrCode:"/images/wechat-pay.png",account:"卡若",websiteAppId:"",merchantId:"",groupQrCode:"/images/party-group-qr.png"},alipay:{enabled:!0,qrCode:"/images/alipay.png",account:"卡若",partnerId:"",securityKey:""},usdt:{enabled:!1,network:"TRC20",address:"",exchangeRate:7.2},paypal:{enabled:!1,email:"",exchangeRate:7.2}};function kV(){const[t,e]=b.useState(!1),[n,r]=b.useState(jw),[a,i]=b.useState(""),o=async()=>{e(!0);try{const k=await De("/api/config");k!=null&&k.paymentMethods&&r({...jw,...k.paymentMethods})}catch(k){console.error(k)}finally{e(!1)}};b.useEffect(()=>{o()},[]);const c=async()=>{e(!0);try{await Nt("/api/db/config",{key:"payment_methods",value:n,description:"支付方式配置"}),oe.success("配置已保存!")}catch(k){console.error("保存失败:",k),oe.error("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{e(!1)}},u=(k,C)=>{navigator.clipboard.writeText(k),i(C),setTimeout(()=>i(""),2e3)},h=(k,C)=>{r(E=>({...E,wechat:{...E.wechat,[k]:C}}))},f=(k,C)=>{r(E=>({...E,alipay:{...E.alipay,[k]:C}}))},m=(k,C)=>{r(E=>({...E,usdt:{...E.usdt,[k]:C}}))},g=(k,C)=>{r(E=>({...E,paypal:{...E.paypal,[k]:C}}))},y=n.wechat,v=n.alipay,w=n.usdt,N=n.paypal;return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold mb-2 text-white",children:"支付配置"}),s.jsx("p",{className:"text-gray-400",children:"配置微信、支付宝、USDT、PayPal等支付参数"})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsxs(ne,{variant:"outline",onClick:o,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${t?"animate-spin":""}`}),"同步配置"]}),s.jsxs(ne,{onClick:c,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存配置"]})]})]}),s.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(Gw,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),s.jsxs("div",{className:"text-sm",children:[s.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"如何获取微信群跳转链接?"}),s.jsxs("ol",{className:"text-[#07C160]/80 space-y-1 list-decimal list-inside",children:[s.jsx("li",{children:"打开微信,进入目标微信群"}),s.jsx("li",{children:'点击右上角"..." → "群二维码"'}),s.jsx("li",{children:'点击右上角"..." → "发送到电脑"'}),s.jsx("li",{children:"在电脑上保存二维码图片,上传到图床获取URL"}),s.jsx("li",{children:"或使用草料二维码等工具解析二维码获取链接"})]}),s.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"提示:微信群二维码7天后失效,建议使用活码工具"})]})]})}),s.jsxs(Cd,{defaultValue:"wechat",className:"space-y-6",children:[s.jsxs(Jl,{className:"bg-[#0f2137] border border-gray-700/50 p-1 grid grid-cols-4 w-full",children:[s.jsxs(tn,{value:"wechat",className:"data-[state=active]:bg-[#07C160]/20 data-[state=active]:text-[#07C160] text-gray-400",children:[s.jsx(Dl,{className:"w-4 h-4 mr-2"}),"微信"]}),s.jsxs(tn,{value:"alipay",className:"data-[state=active]:bg-[#1677FF]/20 data-[state=active]:text-[#1677FF] text-gray-400",children:[s.jsx(Vv,{className:"w-4 h-4 mr-2"}),"支付宝"]}),s.jsxs(tn,{value:"usdt",className:"data-[state=active]:bg-[#26A17B]/20 data-[state=active]:text-[#26A17B] text-gray-400",children:[s.jsx(Fv,{className:"w-4 h-4 mr-2"}),"USDT"]}),s.jsxs(tn,{value:"paypal",className:"data-[state=active]:bg-[#003087]/20 data-[state=active]:text-[#169BD7] text-gray-400",children:[s.jsx(Dg,{className:"w-4 h-4 mr-2"}),"PayPal"]})]}),s.jsx(nn,{value:"wechat",className:"space-y-4",children:s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs(Ge,{className:"text-[#07C160] flex items-center gap-2",children:[s.jsx(Dl,{className:"w-5 h-5"}),"微信支付配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置微信支付参数和跳转链接"})]}),s.jsx(Et,{checked:!!y.enabled,onCheckedChange:k=>h("enabled",k)})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"网站AppID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.websiteAppId??""),onChange:k=>h("websiteAppId",k.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"商户号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.merchantId??""),onChange:k=>h("merchantId",k.target.value)})]})]}),s.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[s.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[s.jsx(Ks,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置(核心功能)"]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"微信收款码/支付链接"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://收款码图片URL 或 weixin://支付链接",value:String(y.qrCode??""),onChange:k=>h("qrCode",k.target.value)}),s.jsx("p",{className:"text-xs text-gray-500",children:"用户点击微信支付后显示的二维码图片URL"})]}),s.jsxs("div",{className:"space-y-2 bg-[#07C160]/5 p-4 rounded-xl border border-[#07C160]/20",children:[s.jsx(te,{className:"text-[#07C160] font-medium",children:"微信群跳转链接(支付成功后跳转)"}),s.jsx(le,{className:"bg-[#0a1628] border-[#07C160]/30 text-white placeholder:text-gray-500",placeholder:"https://weixin.qq.com/g/... 或微信群二维码图片URL",value:String(y.groupQrCode??""),onChange:k=>h("groupQrCode",k.target.value)}),s.jsx("p",{className:"text-xs text-[#07C160]/70",children:"用户支付成功后将自动跳转到此链接,进入指定微信群"})]})]})]})]})}),s.jsx(nn,{value:"alipay",className:"space-y-4",children:s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs(Ge,{className:"text-[#1677FF] flex items-center gap-2",children:[s.jsx(Vv,{className:"w-5 h-5"}),"支付宝配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"已加载真实支付宝参数"})]}),s.jsx(Et,{checked:!!v.enabled,onCheckedChange:k=>f("enabled",k)})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"合作者身份 (PID)"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.partnerId??""),onChange:k=>f("partnerId",k.target.value)}),s.jsx(ne,{size:"icon",variant:"outline",className:"border-gray-700 bg-transparent",onClick:()=>u(String(v.partnerId??""),"pid"),children:a==="pid"?s.jsx(yf,{className:"w-4 h-4 text-green-500"}):s.jsx(Yw,{className:"w-4 h-4 text-gray-400"})})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"安全校验码 (Key)"}),s.jsx(le,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.securityKey??""),onChange:k=>f("securityKey",k.target.value)})]})]}),s.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[s.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[s.jsx(Ks,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置"]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"支付宝收款码/跳转链接"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://qr.alipay.com/... 或收款码图片URL",value:String(v.qrCode??""),onChange:k=>f("qrCode",k.target.value)}),s.jsx("p",{className:"text-xs text-gray-500",children:"用户点击支付宝支付后显示的二维码"})]})]})]})]})}),s.jsx(nn,{value:"usdt",className:"space-y-4",children:s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs(Ge,{className:"text-[#26A17B] flex items-center gap-2",children:[s.jsx(Fv,{className:"w-5 h-5"}),"USDT配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置加密货币收款地址"})]}),s.jsx(Et,{checked:!!w.enabled,onCheckedChange:k=>m("enabled",k)})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"网络类型"}),s.jsxs("select",{className:"w-full bg-[#0a1628] border border-gray-700 text-white rounded-md p-2",value:String(w.network??"TRC20"),onChange:k=>m("network",k.target.value),children:[s.jsx("option",{value:"TRC20",children:"TRC20 (波场)"}),s.jsx("option",{value:"ERC20",children:"ERC20 (以太坊)"}),s.jsx("option",{value:"BEP20",children:"BEP20 (币安链)"})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"收款地址"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",placeholder:"T... (TRC20地址)",value:String(w.address??""),onChange:k=>m("address",k.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(w.exchangeRate)??7.2,onChange:k=>m("exchangeRate",Number.parseFloat(k.target.value)||7.2)})]})]})]})}),s.jsx(nn,{value:"paypal",className:"space-y-4",children:s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs(Ge,{className:"text-[#169BD7] flex items-center gap-2",children:[s.jsx(Dg,{className:"w-5 h-5"}),"PayPal配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置PayPal收款账户"})]}),s.jsx(Et,{checked:!!N.enabled,onCheckedChange:k=>g("enabled",k)})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"PayPal邮箱"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"your@email.com",value:String(N.email??""),onChange:k=>g("email",k.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(N.exchangeRate)??7.2,onChange:k=>g("exchangeRate",Number(k.target.value)||7.2)})]})]})]})})]})]})}const SV={siteName:"卡若日记",siteTitle:"一场SOUL的创业实验场",siteDescription:"来自Soul派对房的真实商业故事",logo:"/logo.png",favicon:"/favicon.ico",primaryColor:"#00CED1"},CV={home:{enabled:!0,label:"首页"},chapters:{enabled:!0,label:"目录"},match:{enabled:!0,label:"匹配"},my:{enabled:!0,label:"我的"}},EV={homeTitle:"一场SOUL的创业实验场",homeSubtitle:"来自Soul派对房的真实商业故事",chaptersTitle:"我要看",matchTitle:"语音匹配",myTitle:"我的",aboutTitle:"关于作者"};function TV(){const[t,e]=b.useState({siteConfig:{...SV},menuConfig:{...CV},pageConfig:{...EV}}),[n,r]=b.useState(!1),[a,i]=b.useState(!1);b.useEffect(()=>{De("/api/config").then(f=>{f!=null&&f.siteConfig&&e(m=>({...m,siteConfig:{...m.siteConfig,...f.siteConfig}})),f!=null&&f.menuConfig&&e(m=>({...m,menuConfig:{...m.menuConfig,...f.menuConfig}})),f!=null&&f.pageConfig&&e(m=>({...m,pageConfig:{...m.pageConfig,...f.pageConfig}}))}).catch(console.error)},[]);const o=async()=>{i(!0);try{await Nt("/api/db/config",{key:"site_config",value:t.siteConfig,description:"网站基础配置"}),await Nt("/api/db/config",{key:"menu_config",value:t.menuConfig,description:"底部菜单配置"}),await Nt("/api/db/config",{key:"page_config",value:t.pageConfig,description:"页面标题配置"}),r(!0),setTimeout(()=>r(!1),2e3),oe.success("配置已保存")}catch(f){console.error(f),oe.error("保存失败: "+(f instanceof Error?f.message:String(f)))}finally{i(!1)}},c=t.siteConfig,u=t.menuConfig,h=t.pageConfig;return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"网站配置"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"配置网站名称、图标、菜单和页面标题"})]}),s.jsxs(ne,{onClick:o,disabled:a,className:`${n?"bg-green-500":"bg-[#00CED1]"} hover:bg-[#20B2AA] text-white transition-colors`,children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),a?"保存中...":n?"已保存":"保存设置"]})]}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Dg,{className:"w-5 h-5 text-[#00CED1]"}),"网站基础信息"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置网站名称、标题和描述"})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"site-name",className:"text-gray-300",children:"网站名称"}),s.jsx(le,{id:"site-name",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteName??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteName:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"site-title",className:"text-gray-300",children:"网站标题"}),s.jsx(le,{id:"site-title",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteTitle??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteTitle:f.target.value}}))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"site-desc",className:"text-gray-300",children:"网站描述"}),s.jsx(le,{id:"site-desc",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteDescription??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteDescription:f.target.value}}))})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"logo",className:"text-gray-300",children:"Logo地址"}),s.jsx(le,{id:"logo",className:"bg-[#0a1628] border-gray-700 text-white",value:c.logo??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,logo:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"favicon",className:"text-gray-300",children:"Favicon地址"}),s.jsx(le,{id:"favicon",className:"bg-[#0a1628] border-gray-700 text-white",value:c.favicon??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,favicon:f.target.value}}))})]})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(hA,{className:"w-5 h-5 text-[#00CED1]"}),"主题颜色"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置网站主题色"})]}),s.jsx(Ce,{children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsxs("div",{className:"space-y-2 flex-1",children:[s.jsx(te,{htmlFor:"primary-color",className:"text-gray-300",children:"主色调"}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(le,{id:"primary-color",type:"color",className:"w-16 h-10 bg-[#0a1628] border-gray-700 cursor-pointer p-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white flex-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))})]})]}),s.jsx("div",{className:"w-24 h-24 rounded-xl flex items-center justify-center text-white font-bold",style:{backgroundColor:c.primaryColor??"#00CED1"},children:"预览"})]})})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(aA,{className:"w-5 h-5 text-[#00CED1]"}),"底部菜单配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"控制底部导航栏菜单的显示和名称"})]}),s.jsx(Ce,{className:"space-y-4",children:Object.entries(u).map(([f,m])=>s.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center gap-4 flex-1",children:[s.jsx(Et,{checked:(m==null?void 0:m.enabled)??!0,onCheckedChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,enabled:g}}}))}),s.jsx("span",{className:"text-gray-300 w-16 capitalize",children:f}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white max-w-[200px]",value:(m==null?void 0:m.label)??"",onChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,label:g.target.value}}}))})]}),s.jsx("span",{className:`text-sm ${m!=null&&m.enabled?"text-green-400":"text-gray-500"}`,children:m!=null&&m.enabled?"显示":"隐藏"})]},f))})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(bM,{className:"w-5 h-5 text-[#00CED1]"}),"页面标题配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置各个页面的标题和副标题"})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"首页标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeTitle:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"首页副标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeSubtitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeSubtitle:f.target.value}}))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"目录页标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.chaptersTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,chaptersTitle:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"匹配页标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.matchTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,matchTitle:f.target.value}}))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"我的页标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.myTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,myTitle:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"关于作者标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.aboutTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,aboutTitle:f.target.value}}))})]})]})]})]})]})]})}function MV(){const[t,e]=b.useState(""),[n,r]=b.useState(""),[a,i]=b.useState(""),[o,c]=b.useState({}),u=async()=>{var y,v,w,N;try{const k=await De("/api/config"),C=(v=(y=k==null?void 0:k.liveQRCodes)==null?void 0:y[0])==null?void 0:v.urls;Array.isArray(C)&&e(C.join(` +}`})]})]}),s.jsx("p",{className:"text-gray-500 text-xs mt-6",children:"管理端仅使用 /api/admin/*、/api/db/*;小程序使用 /api/miniprogram/*。完整实现见 soul-api 源码。"})]})}const yV={appId:"wxb8bbb2b10dec74aa",withdrawSubscribeTmplId:"u3MbZGPRkrZIk-I7QdpwzFxnO_CeQPaCWF2FkiIablE",mchId:"1318592501",minWithdraw:10},bV={name:"卡若",startDate:"2025年10月15日",bio:"连续创业者,私域运营专家,每天早上6-9点在Soul派对房分享真实商业故事",liveTime:"06:00-09:00",platform:"Soul派对房",description:"连续创业者,私域运营专家"},vV={sectionPrice:1,baseBookPrice:9.9,distributorShare:90,authorInfo:{...bV},ckbLeadApiKey:""},NV={endpoint:"",accessKeyId:"",accessKeySecret:"",bucket:"",region:""},wV={matchEnabled:!0,referralEnabled:!0,searchEnabled:!0,aboutEnabled:!0},jV=["system","author","admin","api-docs"];function kV(){const[t,e]=qw(),n=t.get("tab")??"system",r=jV.includes(n)?n:"system",[a,i]=b.useState(vV),[o,c]=b.useState(wV),[u,h]=b.useState(yV),[f,m]=b.useState(NV),[g,y]=b.useState(!1),[v,w]=b.useState(!0),[N,k]=b.useState(!1),[C,E]=b.useState(""),[A,D]=b.useState(""),[H,_]=b.useState(!1),[P,L]=b.useState(!1),$=(R,O,F=!1)=>{E(R),D(O),_(F),k(!0)};b.useEffect(()=>{(async()=>{try{const O=await De("/api/admin/settings");if(!O||O.success===!1)return;if(O.featureConfig&&Object.keys(O.featureConfig).length&&c(F=>({...F,...O.featureConfig})),O.mpConfig&&typeof O.mpConfig=="object"&&h(F=>({...F,...O.mpConfig})),O.ossConfig&&typeof O.ossConfig=="object"&&m(F=>({...F,...O.ossConfig})),O.siteSettings&&typeof O.siteSettings=="object"){const F=O.siteSettings;i(I=>({...I,...typeof F.sectionPrice=="number"&&{sectionPrice:F.sectionPrice},...typeof F.baseBookPrice=="number"&&{baseBookPrice:F.baseBookPrice},...typeof F.distributorShare=="number"&&{distributorShare:F.distributorShare},...F.authorInfo&&typeof F.authorInfo=="object"&&{authorInfo:{...I.authorInfo,...F.authorInfo}},...typeof F.ckbLeadApiKey=="string"&&{ckbLeadApiKey:F.ckbLeadApiKey}}))}}catch(O){console.error("Load settings error:",O)}finally{w(!1)}})()},[]);const ee=async(R,O)=>{L(!0);try{const F=await Nt("/api/admin/settings",{featureConfig:R});if(!F||F.success===!1){O(),$("保存失败",(F==null?void 0:F.error)??"未知错误",!0);return}$("已保存","功能开关已更新,相关入口将随之显示或隐藏。")}catch(F){console.error("Save feature config error:",F),O(),$("保存失败",F instanceof Error?F.message:String(F),!0)}finally{L(!1)}},K=(R,O)=>{const F=o,I={...F,[R]:O};c(I),ee(I,()=>c(F))},ue=async()=>{y(!0);try{const R=await Nt("/api/admin/settings",{featureConfig:o,siteSettings:{sectionPrice:a.sectionPrice,baseBookPrice:a.baseBookPrice,distributorShare:a.distributorShare,authorInfo:a.authorInfo,ckbLeadApiKey:a.ckbLeadApiKey||void 0},mpConfig:{...u,appId:u.appId||"",withdrawSubscribeTmplId:u.withdrawSubscribeTmplId||"",mchId:u.mchId||"",minWithdraw:typeof u.minWithdraw=="number"?u.minWithdraw:10},ossConfig:{endpoint:f.endpoint||"",accessKeyId:f.accessKeyId||"",accessKeySecret:f.accessKeySecret||"",bucket:f.bucket||"",region:f.region||""}});if(!R||R.success===!1){$("保存失败",(R==null?void 0:R.error)??"未知错误",!0);return}$("已保存","设置已保存成功。")}catch(R){console.error("Save settings error:",R),$("保存失败",R instanceof Error?R.message:String(R),!0)}finally{y(!1)}},me=R=>{e(R==="system"?{}:{tab:R})};return v?s.jsx("div",{className:"p-8 text-gray-500",children:"加载中..."}):s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-6",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"系统设置"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"配置全站基础参数与开关"})]}),r==="system"&&s.jsxs(ne,{onClick:ue,disabled:g,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),g?"保存中...":"保存设置"]})]}),s.jsxs(Ed,{value:r,onValueChange:me,className:"w-full",children:[s.jsxs(Jl,{className:"mb-6 bg-[#0f2137] border border-gray-700/50 p-1",children:[s.jsxs(tn,{value:"system",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[s.jsx(bo,{className:"w-4 h-4 mr-2"}),"系统设置"]}),s.jsxs(tn,{value:"author",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[s.jsx(Pm,{className:"w-4 h-4 mr-2"}),"作者详情"]}),s.jsxs(tn,{value:"admin",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[s.jsx(qx,{className:"w-4 h-4 mr-2"}),"管理员"]}),s.jsxs(tn,{value:"api-docs",className:"data-[state=active]:bg-[#38bdac]/20 data-[state=active]:text-[#38bdac] text-gray-400 data-[state=active]:font-medium",children:[s.jsx($r,{className:"w-4 h-4 mr-2"}),"API 文档"]})]}),s.jsx(nn,{value:"system",className:"mt-0",children:s.jsxs("div",{className:"space-y-6",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Pm,{className:"w-5 h-5 text-[#38bdac]"}),"关于作者"]}),s.jsx(Ht,{className:"text-gray-400",children:'配置作者信息,将在"关于作者"页面显示'})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"author-name",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(Pm,{className:"w-3 h-3"}),"主理人名称"]}),s.jsx(le,{id:"author-name",className:"bg-[#0a1628] border-gray-700 text-white",value:a.authorInfo.name??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,name:R.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"start-date",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(mh,{className:"w-3 h-3"}),"开播日期"]}),s.jsx(le,{id:"start-date",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 2025年10月15日",value:a.authorInfo.startDate??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,startDate:R.target.value}}))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"live-time",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(mh,{className:"w-3 h-3"}),"直播时间"]}),s.jsx(le,{id:"live-time",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: 06:00-09:00",value:a.authorInfo.liveTime??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,liveTime:R.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"platform",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(nj,{className:"w-3 h-3"}),"直播平台"]}),s.jsx(le,{id:"platform",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"例如: Soul派对房",value:a.authorInfo.platform??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,platform:R.target.value}}))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"description",className:"text-gray-300 flex items-center gap-1",children:[s.jsx($r,{className:"w-3 h-3"}),"简介描述"]}),s.jsx(le,{id:"description",className:"bg-[#0a1628] border-gray-700 text-white",value:a.authorInfo.description??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,description:R.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"bio",className:"text-gray-300",children:"详细介绍"}),s.jsx(Yl,{id:"bio",className:"bg-[#0a1628] border-gray-700 text-white min-h-[100px]",placeholder:"输入作者详细介绍...",value:a.authorInfo.bio??"",onChange:R=>i(O=>({...O,authorInfo:{...O.authorInfo,bio:R.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{htmlFor:"ckb-lead-api-key",className:"text-gray-300 flex items-center gap-1",children:[s.jsx(Ns,{className:"w-3 h-3"}),"链接卡若存客宝密钥"]}),s.jsx(le,{id:"ckb-lead-api-key",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如 xxxxx-xxxxx-xxxxx-xxxxx(留空则用 .env 默认)",value:a.ckbLeadApiKey??"",onChange:R=>i(O=>({...O,ckbLeadApiKey:R.target.value}))}),s.jsx("p",{className:"text-xs text-gray-500",children:"小程序首页「链接卡若」留资接口使用的存客宝 API Key,优先于 .env 配置"})]}),s.jsxs("div",{className:"mt-4 p-4 rounded-xl bg-[#0a1628] border border-[#38bdac]/30",children:[s.jsx("p",{className:"text-xs text-gray-500 mb-2",children:"预览效果"}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-[#00CED1] to-[#20B2AA] flex items-center justify-center text-xl font-bold text-white",children:(a.authorInfo.name??"K").charAt(0)}),s.jsxs("div",{children:[s.jsx("p",{className:"text-white font-semibold",children:a.authorInfo.name}),s.jsx("p",{className:"text-gray-400 text-xs",children:a.authorInfo.description}),s.jsxs("p",{className:"text-[#38bdac] text-xs mt-1",children:["每日 ",a.authorInfo.liveTime," · ",a.authorInfo.platform]})]})]})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(gh,{className:"w-5 h-5 text-[#38bdac]"}),"价格设置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置书籍和章节的定价"})]}),s.jsx(Ee,{className:"space-y-4",children:s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"单节价格 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:a.sectionPrice,onChange:R=>i(O=>({...O,sectionPrice:Number.parseFloat(R.target.value)||1}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"整本价格 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:a.baseBookPrice,onChange:R=>i(O=>({...O,baseBookPrice:Number.parseFloat(R.target.value)||9.9}))})]})]})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Dl,{className:"w-5 h-5 text-[#38bdac]"}),"小程序配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"订阅消息模板、支付商户号等,小程序从 /api/miniprogram/config 读取(API 地址由 app.js baseUrl 控制)"})]}),s.jsx(Ee,{className:"space-y-4",children:s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"小程序 AppID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"wxb8bbb2b10dec74aa",value:u.appId??"",onChange:R=>h(O=>({...O,appId:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"提现订阅模板 ID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"用户申请提现时需授权",value:u.withdrawSubscribeTmplId??"",onChange:R=>h(O=>({...O,withdrawSubscribeTmplId:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"微信支付商户号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"1318592501",value:u.mchId??"",onChange:R=>h(O=>({...O,mchId:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"最低提现金额 (元)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:u.minWithdraw??10,onChange:R=>h(O=>({...O,minWithdraw:Number.parseFloat(R.target.value)||10}))})]})]})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(cM,{className:"w-5 h-5 text-[#38bdac]"}),"阿里云 OSS 配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置阿里云对象存储,用于图片和视频的云端存储(配置后将替代本地存储)"})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"Endpoint"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"oss-cn-hangzhou.aliyuncs.com",value:f.endpoint??"",onChange:R=>m(O=>({...O,endpoint:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"Region"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"oss-cn-hangzhou",value:f.region??"",onChange:R=>m(O=>({...O,region:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"AccessKey ID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"LTAI5t...",value:f.accessKeyId??"",onChange:R=>m(O=>({...O,accessKeyId:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"AccessKey Secret"}),s.jsx(le,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"********",value:f.accessKeySecret??"",onChange:R=>m(O=>({...O,accessKeySecret:R.target.value}))})]}),s.jsxs("div",{className:"space-y-2 col-span-2",children:[s.jsx(te,{className:"text-gray-300",children:"Bucket 名称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"my-soul-bucket",value:f.bucket??"",onChange:R=>m(O=>({...O,bucket:R.target.value}))})]})]}),s.jsx("div",{className:`p-3 rounded-lg ${f.endpoint&&f.bucket&&f.accessKeyId?"bg-green-500/10 border border-green-500/30":"bg-amber-500/10 border border-amber-500/30"}`,children:s.jsx("p",{className:`text-xs ${f.endpoint&&f.bucket&&f.accessKeyId?"text-green-300":"text-amber-300"}`,children:f.endpoint&&f.bucket&&f.accessKeyId?`✅ OSS 已配置(${f.bucket}.${f.endpoint}),上传将自动使用云端存储`:"⚠ 未配置 OSS,当前上传存储在本地服务器。填写以上信息并保存后自动启用云端存储"})})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(bo,{className:"w-5 h-5 text-[#38bdac]"}),"功能开关"]}),s.jsx(Ht,{className:"text-gray-400",children:"控制各个功能模块的显示/隐藏"})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(Mn,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx(te,{htmlFor:"match-enabled",className:"text-white font-medium cursor-pointer",children:"找伙伴功能"})]}),s.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制小程序和Web端的找伙伴功能显示"})]}),s.jsx(Et,{id:"match-enabled",checked:o.matchEnabled,disabled:P,onCheckedChange:R=>K("matchEnabled",R)})]}),s.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(kM,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx(te,{htmlFor:"referral-enabled",className:"text-white font-medium cursor-pointer",children:"推广功能"})]}),s.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制推广中心的显示(我的页面入口)"})]}),s.jsx(Et,{id:"referral-enabled",checked:o.referralEnabled,disabled:P,onCheckedChange:R=>K("referralEnabled",R)})]}),s.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx($r,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx(te,{htmlFor:"search-enabled",className:"text-white font-medium cursor-pointer",children:"搜索功能"})]}),s.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制首页搜索栏的显示"})]}),s.jsx(Et,{id:"search-enabled",checked:o.searchEnabled,disabled:P,onCheckedChange:R=>K("searchEnabled",R)})]}),s.jsxs("div",{className:"flex items-center justify-between p-4 rounded-lg bg-[#0a1628] border border-gray-700/50",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(bo,{className:"w-4 h-4 text-[#38bdac]"}),s.jsx(te,{htmlFor:"about-enabled",className:"text-white font-medium cursor-pointer",children:"关于页面"})]}),s.jsx("p",{className:"text-xs text-gray-400 ml-6",children:"控制关于页面的访问"})]}),s.jsx(Et,{id:"about-enabled",checked:o.aboutEnabled,disabled:P,onCheckedChange:R=>K("aboutEnabled",R)})]})]}),s.jsx("div",{className:"p-3 rounded-lg bg-blue-500/10 border border-blue-500/30",children:s.jsx("p",{className:"text-xs text-blue-300",children:"💡 关闭功能后,相关入口会自动隐藏。建议在功能开发完成后再开启。"})})]})]})]})}),s.jsx(nn,{value:"author",className:"mt-0",children:s.jsx(gV,{})}),s.jsx(nn,{value:"admin",className:"mt-0",children:s.jsx(xV,{})}),s.jsx(nn,{value:"api-docs",className:"mt-0",children:s.jsx(V4,{})})]}),s.jsx(Ft,{open:N,onOpenChange:k,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white",showCloseButton:!0,children:[s.jsxs(Bt,{children:[s.jsx(Vt,{className:H?"text-red-400":"text-[#38bdac]",children:C}),s.jsx(Qj,{className:"text-gray-400 whitespace-pre-wrap pt-2",children:A})]}),s.jsx(ln,{className:"mt-4",children:s.jsx(ne,{onClick:()=>k(!1),className:H?"bg-gray-600 hover:bg-gray-500":"bg-[#38bdac] hover:bg-[#2da396]",children:"确定"})})]})})]})}const Sw={wechat:{enabled:!0,qrCode:"/images/wechat-pay.png",account:"卡若",websiteAppId:"",merchantId:"",groupQrCode:"/images/party-group-qr.png"},alipay:{enabled:!0,qrCode:"/images/alipay.png",account:"卡若",partnerId:"",securityKey:""},usdt:{enabled:!1,network:"TRC20",address:"",exchangeRate:7.2},paypal:{enabled:!1,email:"",exchangeRate:7.2}};function SV(){const[t,e]=b.useState(!1),[n,r]=b.useState(Sw),[a,i]=b.useState(""),o=async()=>{e(!0);try{const k=await De("/api/config");k!=null&&k.paymentMethods&&r({...Sw,...k.paymentMethods})}catch(k){console.error(k)}finally{e(!1)}};b.useEffect(()=>{o()},[]);const c=async()=>{e(!0);try{await Nt("/api/db/config",{key:"payment_methods",value:n,description:"支付方式配置"}),oe.success("配置已保存!")}catch(k){console.error("保存失败:",k),oe.error("保存失败: "+(k instanceof Error?k.message:String(k)))}finally{e(!1)}},u=(k,C)=>{navigator.clipboard.writeText(k),i(C),setTimeout(()=>i(""),2e3)},h=(k,C)=>{r(E=>({...E,wechat:{...E.wechat,[k]:C}}))},f=(k,C)=>{r(E=>({...E,alipay:{...E.alipay,[k]:C}}))},m=(k,C)=>{r(E=>({...E,usdt:{...E.usdt,[k]:C}}))},g=(k,C)=>{r(E=>({...E,paypal:{...E.paypal,[k]:C}}))},y=n.wechat,v=n.alipay,w=n.usdt,N=n.paypal;return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h1",{className:"text-2xl font-bold mb-2 text-white",children:"支付配置"}),s.jsx("p",{className:"text-gray-400",children:"配置微信、支付宝、USDT、PayPal等支付参数"})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsxs(ne,{variant:"outline",onClick:o,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${t?"animate-spin":""}`}),"同步配置"]}),s.jsxs(ne,{onClick:c,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存配置"]})]})]}),s.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(Yw,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),s.jsxs("div",{className:"text-sm",children:[s.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"如何获取微信群跳转链接?"}),s.jsxs("ol",{className:"text-[#07C160]/80 space-y-1 list-decimal list-inside",children:[s.jsx("li",{children:"打开微信,进入目标微信群"}),s.jsx("li",{children:'点击右上角"..." → "群二维码"'}),s.jsx("li",{children:'点击右上角"..." → "发送到电脑"'}),s.jsx("li",{children:"在电脑上保存二维码图片,上传到图床获取URL"}),s.jsx("li",{children:"或使用草料二维码等工具解析二维码获取链接"})]}),s.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"提示:微信群二维码7天后失效,建议使用活码工具"})]})]})}),s.jsxs(Ed,{defaultValue:"wechat",className:"space-y-6",children:[s.jsxs(Jl,{className:"bg-[#0f2137] border border-gray-700/50 p-1 grid grid-cols-4 w-full",children:[s.jsxs(tn,{value:"wechat",className:"data-[state=active]:bg-[#07C160]/20 data-[state=active]:text-[#07C160] text-gray-400",children:[s.jsx(Dl,{className:"w-4 h-4 mr-2"}),"微信"]}),s.jsxs(tn,{value:"alipay",className:"data-[state=active]:bg-[#1677FF]/20 data-[state=active]:text-[#1677FF] text-gray-400",children:[s.jsx(Wv,{className:"w-4 h-4 mr-2"}),"支付宝"]}),s.jsxs(tn,{value:"usdt",className:"data-[state=active]:bg-[#26A17B]/20 data-[state=active]:text-[#26A17B] text-gray-400",children:[s.jsx(Vv,{className:"w-4 h-4 mr-2"}),"USDT"]}),s.jsxs(tn,{value:"paypal",className:"data-[state=active]:bg-[#003087]/20 data-[state=active]:text-[#169BD7] text-gray-400",children:[s.jsx(zg,{className:"w-4 h-4 mr-2"}),"PayPal"]})]}),s.jsx(nn,{value:"wechat",className:"space-y-4",children:s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs(Ge,{className:"text-[#07C160] flex items-center gap-2",children:[s.jsx(Dl,{className:"w-5 h-5"}),"微信支付配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置微信支付参数和跳转链接"})]}),s.jsx(Et,{checked:!!y.enabled,onCheckedChange:k=>h("enabled",k)})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"网站AppID"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.websiteAppId??""),onChange:k=>h("websiteAppId",k.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"商户号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(y.merchantId??""),onChange:k=>h("merchantId",k.target.value)})]})]}),s.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[s.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[s.jsx(Ks,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置(核心功能)"]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"微信收款码/支付链接"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://收款码图片URL 或 weixin://支付链接",value:String(y.qrCode??""),onChange:k=>h("qrCode",k.target.value)}),s.jsx("p",{className:"text-xs text-gray-500",children:"用户点击微信支付后显示的二维码图片URL"})]}),s.jsxs("div",{className:"space-y-2 bg-[#07C160]/5 p-4 rounded-xl border border-[#07C160]/20",children:[s.jsx(te,{className:"text-[#07C160] font-medium",children:"微信群跳转链接(支付成功后跳转)"}),s.jsx(le,{className:"bg-[#0a1628] border-[#07C160]/30 text-white placeholder:text-gray-500",placeholder:"https://weixin.qq.com/g/... 或微信群二维码图片URL",value:String(y.groupQrCode??""),onChange:k=>h("groupQrCode",k.target.value)}),s.jsx("p",{className:"text-xs text-[#07C160]/70",children:"用户支付成功后将自动跳转到此链接,进入指定微信群"})]})]})]})]})}),s.jsx(nn,{value:"alipay",className:"space-y-4",children:s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs(Ge,{className:"text-[#1677FF] flex items-center gap-2",children:[s.jsx(Wv,{className:"w-5 h-5"}),"支付宝配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"已加载真实支付宝参数"})]}),s.jsx(Et,{checked:!!v.enabled,onCheckedChange:k=>f("enabled",k)})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"合作者身份 (PID)"}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.partnerId??""),onChange:k=>f("partnerId",k.target.value)}),s.jsx(ne,{size:"icon",variant:"outline",className:"border-gray-700 bg-transparent",onClick:()=>u(String(v.partnerId??""),"pid"),children:a==="pid"?s.jsx(vf,{className:"w-4 h-4 text-green-500"}):s.jsx(Xw,{className:"w-4 h-4 text-gray-400"})})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"安全校验码 (Key)"}),s.jsx(le,{type:"password",className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",value:String(v.securityKey??""),onChange:k=>f("securityKey",k.target.value)})]})]}),s.jsxs("div",{className:"border-t border-gray-700/50 pt-4 space-y-4",children:[s.jsxs("h4",{className:"text-white font-medium flex items-center gap-2",children:[s.jsx(Ks,{className:"w-4 h-4 text-[#38bdac]"}),"跳转链接配置"]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"支付宝收款码/跳转链接"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500",placeholder:"https://qr.alipay.com/... 或收款码图片URL",value:String(v.qrCode??""),onChange:k=>f("qrCode",k.target.value)}),s.jsx("p",{className:"text-xs text-gray-500",children:"用户点击支付宝支付后显示的二维码"})]})]})]})]})}),s.jsx(nn,{value:"usdt",className:"space-y-4",children:s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs(Ge,{className:"text-[#26A17B] flex items-center gap-2",children:[s.jsx(Vv,{className:"w-5 h-5"}),"USDT配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置加密货币收款地址"})]}),s.jsx(Et,{checked:!!w.enabled,onCheckedChange:k=>m("enabled",k)})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"网络类型"}),s.jsxs("select",{className:"w-full bg-[#0a1628] border border-gray-700 text-white rounded-md p-2",value:String(w.network??"TRC20"),onChange:k=>m("network",k.target.value),children:[s.jsx("option",{value:"TRC20",children:"TRC20 (波场)"}),s.jsx("option",{value:"ERC20",children:"ERC20 (以太坊)"}),s.jsx("option",{value:"BEP20",children:"BEP20 (币安链)"})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"收款地址"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white font-mono text-sm",placeholder:"T... (TRC20地址)",value:String(w.address??""),onChange:k=>m("address",k.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(w.exchangeRate)??7.2,onChange:k=>m("exchangeRate",Number.parseFloat(k.target.value)||7.2)})]})]})]})}),s.jsx(nn,{value:"paypal",className:"space-y-4",children:s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between pb-2",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsxs(Ge,{className:"text-[#169BD7] flex items-center gap-2",children:[s.jsx(zg,{className:"w-5 h-5"}),"PayPal配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置PayPal收款账户"})]}),s.jsx(Et,{checked:!!N.enabled,onCheckedChange:k=>g("enabled",k)})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"PayPal邮箱"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"your@email.com",value:String(N.email??""),onChange:k=>g("email",k.target.value)})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"汇率 (1 USD = ? CNY)"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:Number(N.exchangeRate)??7.2,onChange:k=>g("exchangeRate",Number(k.target.value)||7.2)})]})]})]})})]})]})}const CV={siteName:"卡若日记",siteTitle:"一场SOUL的创业实验场",siteDescription:"来自Soul派对房的真实商业故事",logo:"/logo.png",favicon:"/favicon.ico",primaryColor:"#00CED1"},EV={home:{enabled:!0,label:"首页"},chapters:{enabled:!0,label:"目录"},match:{enabled:!0,label:"匹配"},my:{enabled:!0,label:"我的"}},TV={homeTitle:"一场SOUL的创业实验场",homeSubtitle:"来自Soul派对房的真实商业故事",chaptersTitle:"我要看",matchTitle:"语音匹配",myTitle:"我的",aboutTitle:"关于作者"};function MV(){const[t,e]=b.useState({siteConfig:{...CV},menuConfig:{...EV},pageConfig:{...TV}}),[n,r]=b.useState(!1),[a,i]=b.useState(!1);b.useEffect(()=>{De("/api/config").then(f=>{f!=null&&f.siteConfig&&e(m=>({...m,siteConfig:{...m.siteConfig,...f.siteConfig}})),f!=null&&f.menuConfig&&e(m=>({...m,menuConfig:{...m.menuConfig,...f.menuConfig}})),f!=null&&f.pageConfig&&e(m=>({...m,pageConfig:{...m.pageConfig,...f.pageConfig}}))}).catch(console.error)},[]);const o=async()=>{i(!0);try{await Nt("/api/db/config",{key:"site_config",value:t.siteConfig,description:"网站基础配置"}),await Nt("/api/db/config",{key:"menu_config",value:t.menuConfig,description:"底部菜单配置"}),await Nt("/api/db/config",{key:"page_config",value:t.pageConfig,description:"页面标题配置"}),r(!0),setTimeout(()=>r(!1),2e3),oe.success("配置已保存")}catch(f){console.error(f),oe.error("保存失败: "+(f instanceof Error?f.message:String(f)))}finally{i(!1)}},c=t.siteConfig,u=t.menuConfig,h=t.pageConfig;return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"网站配置"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"配置网站名称、图标、菜单和页面标题"})]}),s.jsxs(ne,{onClick:o,disabled:a,className:`${n?"bg-green-500":"bg-[#00CED1]"} hover:bg-[#20B2AA] text-white transition-colors`,children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),a?"保存中...":n?"已保存":"保存设置"]})]}),s.jsxs("div",{className:"space-y-6",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(zg,{className:"w-5 h-5 text-[#00CED1]"}),"网站基础信息"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置网站名称、标题和描述"})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"site-name",className:"text-gray-300",children:"网站名称"}),s.jsx(le,{id:"site-name",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteName??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteName:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"site-title",className:"text-gray-300",children:"网站标题"}),s.jsx(le,{id:"site-title",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteTitle??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteTitle:f.target.value}}))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"site-desc",className:"text-gray-300",children:"网站描述"}),s.jsx(le,{id:"site-desc",className:"bg-[#0a1628] border-gray-700 text-white",value:c.siteDescription??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,siteDescription:f.target.value}}))})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"logo",className:"text-gray-300",children:"Logo地址"}),s.jsx(le,{id:"logo",className:"bg-[#0a1628] border-gray-700 text-white",value:c.logo??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,logo:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{htmlFor:"favicon",className:"text-gray-300",children:"Favicon地址"}),s.jsx(le,{id:"favicon",className:"bg-[#0a1628] border-gray-700 text-white",value:c.favicon??"",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,favicon:f.target.value}}))})]})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(pA,{className:"w-5 h-5 text-[#00CED1]"}),"主题颜色"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置网站主题色"})]}),s.jsx(Ee,{children:s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsxs("div",{className:"space-y-2 flex-1",children:[s.jsx(te,{htmlFor:"primary-color",className:"text-gray-300",children:"主色调"}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(le,{id:"primary-color",type:"color",className:"w-16 h-10 bg-[#0a1628] border-gray-700 cursor-pointer p-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white flex-1",value:c.primaryColor??"#00CED1",onChange:f=>e(m=>({...m,siteConfig:{...m.siteConfig,primaryColor:f.target.value}}))})]})]}),s.jsx("div",{className:"w-24 h-24 rounded-xl flex items-center justify-center text-white font-bold",style:{backgroundColor:c.primaryColor??"#00CED1"},children:"预览"})]})})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(oA,{className:"w-5 h-5 text-[#00CED1]"}),"底部菜单配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"控制底部导航栏菜单的显示和名称"})]}),s.jsx(Ee,{className:"space-y-4",children:Object.entries(u).map(([f,m])=>s.jsxs("div",{className:"flex items-center justify-between p-4 bg-[#0a1628] rounded-lg",children:[s.jsxs("div",{className:"flex items-center gap-4 flex-1",children:[s.jsx(Et,{checked:(m==null?void 0:m.enabled)??!0,onCheckedChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,enabled:g}}}))}),s.jsx("span",{className:"text-gray-300 w-16 capitalize",children:f}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white max-w-[200px]",value:(m==null?void 0:m.label)??"",onChange:g=>e(y=>({...y,menuConfig:{...y.menuConfig,[f]:{...m,label:g.target.value}}}))})]}),s.jsx("span",{className:`text-sm ${m!=null&&m.enabled?"text-green-400":"text-gray-500"}`,children:m!=null&&m.enabled?"显示":"隐藏"})]},f))})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(NM,{className:"w-5 h-5 text-[#00CED1]"}),"页面标题配置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置各个页面的标题和副标题"})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"首页标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeTitle:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"首页副标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.homeSubtitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,homeSubtitle:f.target.value}}))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"目录页标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.chaptersTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,chaptersTitle:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"匹配页标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.matchTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,matchTitle:f.target.value}}))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"我的页标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.myTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,myTitle:f.target.value}}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"关于作者标题"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",value:h.aboutTitle??"",onChange:f=>e(m=>({...m,pageConfig:{...m.pageConfig,aboutTitle:f.target.value}}))})]})]})]})]})]})]})}function AV(){const[t,e]=b.useState(""),[n,r]=b.useState(""),[a,i]=b.useState(""),[o,c]=b.useState({}),u=async()=>{var y,v,w,N;try{const k=await De("/api/config"),C=(v=(y=k==null?void 0:k.liveQRCodes)==null?void 0:y[0])==null?void 0:v.urls;Array.isArray(C)&&e(C.join(` `));const E=(N=(w=k==null?void 0:k.paymentMethods)==null?void 0:w.wechat)==null?void 0:N.groupQrCode;E&&r(E),c({paymentMethods:k==null?void 0:k.paymentMethods,liveQRCodes:k==null?void 0:k.liveQRCodes})}catch(k){console.error(k)}};b.useEffect(()=>{u()},[]);const h=(y,v)=>{navigator.clipboard.writeText(y),i(v),setTimeout(()=>i(""),2e3)},f=async()=>{try{const y=t.split(` -`).map(w=>w.trim()).filter(Boolean),v=[...o.liveQRCodes||[]];v[0]?v[0].urls=y:v.push({id:"live-1",name:"微信群活码",urls:y,clickCount:0}),await Nt("/api/db/config",{key:"live_qr_codes",value:v,description:"群活码配置"}),oe.success("群活码配置已保存!"),await u()}catch(y){console.error(y),oe.error("保存失败: "+(y instanceof Error?y.message:String(y)))}},m=async()=>{var y;try{await Nt("/api/db/config",{key:"payment_methods",value:{...o.paymentMethods||{},wechat:{...((y=o.paymentMethods)==null?void 0:y.wechat)||{},groupQrCode:n}},description:"支付方式配置"}),oe.success("微信群链接已保存!用户支付成功后将自动跳转"),await u()}catch(v){console.error(v),oe.error("保存失败: "+(v instanceof Error?v.message:String(v)))}},g=()=>{n?window.open(n,"_blank"):oe.error("请先配置微信群链接")};return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"mb-8",children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"微信群活码管理"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"配置微信群跳转链接,用户支付后自动跳转加群"})]}),s.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(Gw,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),s.jsxs("div",{className:"text-sm",children:[s.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"微信群活码配置指南"}),s.jsxs("div",{className:"text-[#07C160]/80 space-y-2",children:[s.jsx("p",{className:"font-medium",children:"方法一:使用草料活码(推荐)"}),s.jsxs("ol",{className:"list-decimal list-inside space-y-1 pl-2",children:[s.jsx("li",{children:"访问草料二维码创建活码"}),s.jsx("li",{children:"上传微信群二维码图片,生成永久链接"}),s.jsx("li",{children:"复制生成的短链接填入下方配置"}),s.jsx("li",{children:"群满后可直接在草料后台更换新群码,链接不变"})]}),s.jsx("p",{className:"font-medium mt-3",children:"方法二:直接使用微信群链接"}),s.jsxs("ol",{className:"list-decimal list-inside space-y-1 pl-2",children:[s.jsx("li",{children:'微信打开目标群 → 右上角"..." → 群二维码'}),s.jsx("li",{children:"长按二维码 → 识别二维码 → 复制链接"})]}),s.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"注意:微信原生群二维码7天后失效,建议使用草料活码"})]})]})]})}),s.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl md:col-span-2",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-[#07C160] flex items-center gap-2",children:[s.jsx(Wv,{className:"w-5 h-5"}),"支付成功跳转链接(核心配置)"]}),s.jsx(Ht,{className:"text-gray-400",children:"用户支付完成后自动跳转到此链接,进入指定微信群"})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx(Lg,{className:"w-4 h-4"}),"微信群链接 / 活码链接"]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(le,{placeholder:"https://cli.im/xxxxx 或 https://weixin.qq.com/g/...",className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",value:n,onChange:y=>r(y.target.value)}),s.jsx(ne,{variant:"outline",size:"icon",className:"border-gray-700 bg-transparent hover:bg-gray-700/50",onClick:()=>h(n,"group"),children:a==="group"?s.jsx(yf,{className:"w-4 h-4 text-green-500"}):s.jsx(Yw,{className:"w-4 h-4 text-gray-400"})})]}),s.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"}),"支持格式:草料短链、微信群链接(https://weixin.qq.com/g/...)、企业微信链接等"]})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsxs(ne,{onClick:m,className:"flex-1 bg-[#07C160] hover:bg-[#06AD51] text-white",children:[s.jsx(mh,{className:"w-4 h-4 mr-2"}),"保存配置"]}),s.jsxs(ne,{onClick:g,variant:"outline",className:"border-[#07C160] text-[#07C160] hover:bg-[#07C160]/10 bg-transparent",children:[s.jsx(Ks,{className:"w-4 h-4 mr-2"}),"测试跳转"]})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl md:col-span-2",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Wv,{className:"w-5 h-5 text-[#38bdac]"}),"多群轮换(高级配置)"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置多个群链接,系统自动轮换分配,避免单群满员"})]}),s.jsxs(Ce,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx(Lg,{className:"w-4 h-4"}),"多个群链接(每行一个)"]}),s.jsx(Yl,{placeholder:"https://cli.im/group1\\nhttps://cli.im/group2",className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 min-h-[120px] font-mono text-sm",value:t,onChange:y=>e(y.target.value)}),s.jsx("p",{className:"text-xs text-gray-500",children:"每行填写一个群链接,系统将按顺序或随机分配"})]}),s.jsxs("div",{className:"flex items-center justify-between p-3 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[s.jsx("span",{className:"text-sm text-gray-400",children:"已配置群数量"}),s.jsxs("span",{className:"font-bold text-[#38bdac]",children:[t.split(` -`).filter(Boolean).length," 个"]})]}),s.jsxs(ne,{onClick:f,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mh,{className:"w-4 h-4 mr-2"}),"保存多群配置"]})]})]})]}),s.jsxs("div",{className:"mt-6 bg-[#0f2137] rounded-xl p-4 border border-gray-700/50",children:[s.jsx("h4",{className:"text-white font-medium mb-3",children:"常见问题"}),s.jsxs("div",{className:"space-y-3 text-sm",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-[#38bdac]",children:"Q: 为什么推荐使用草料活码?"}),s.jsx("p",{className:"text-gray-400",children:"A: 草料活码是永久链接,群满后可直接在后台更换新群码,无需修改网站配置。微信原生群码7天失效。"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-[#38bdac]",children:"Q: 支付后没有跳转怎么办?"}),s.jsx("p",{className:"text-gray-400",children:"A: 1) 检查链接是否正确填写 2) 部分浏览器可能拦截弹窗,用户需手动允许 3) 建议使用https开头的链接"})]})]})]})]})}const kw={matchTypes:[{id:"partner",label:"创业合伙",matchLabel:"创业伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10}},AV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function IV(){const[t,e]=b.useState(kw),[n,r]=b.useState(!0),[a,i]=b.useState(!1),[o,c]=b.useState(!1),[u,h]=b.useState(null),[f,m]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),g=async()=>{r(!0);try{const E=await De("/api/db/config/full?key=match_config"),A=(E==null?void 0:E.data)??(E==null?void 0:E.config);A&&e({...kw,...A})}catch(E){console.error("加载匹配配置失败:",E)}finally{r(!1)}};b.useEffect(()=>{g()},[]);const y=async()=>{i(!0);try{const E=await Nt("/api/db/config",{key:"match_config",value:t,description:"匹配功能配置"});E&&E.success!==!1?oe.success("配置保存成功!"):oe.error("保存失败: "+(E&&typeof E=="object"&&"error"in E?E.error:"未知错误"))}catch(E){console.error("保存配置失败:",E),oe.error("保存失败")}finally{i(!1)}},v=E=>{h(E),m({id:E.id,label:E.label,matchLabel:E.matchLabel,icon:E.icon,matchFromDB:E.matchFromDB,showJoinAfterMatch:E.showJoinAfterMatch,price:E.price,enabled:E.enabled}),c(!0)},w=()=>{h(null),m({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),c(!0)},N=()=>{if(!f.id||!f.label){oe.error("请填写类型ID和名称");return}const E=[...t.matchTypes];if(u){const A=E.findIndex(D=>D.id===u.id);A!==-1&&(E[A]={...f})}else{if(E.some(A=>A.id===f.id)){oe.error("类型ID已存在");return}E.push({...f})}e({...t,matchTypes:E}),c(!1)},k=E=>{confirm("确定要删除这个匹配类型吗?")&&e({...t,matchTypes:t.matchTypes.filter(A=>A.id!==E)})},C=E=>{e({...t,matchTypes:t.matchTypes.map(A=>A.id===E?{...A,enabled:!A.enabled}:A)})};return s.jsxs("div",{className:"p-8 w-full space-y-6",children:[s.jsxs("div",{className:"flex justify-between items-center",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(bo,{className:"w-6 h-6 text-[#38bdac]"}),"匹配功能配置"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"管理找伙伴功能的匹配类型和价格"})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsxs(ne,{variant:"outline",onClick:g,disabled:n,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]}),s.jsxs(ne,{onClick:y,disabled:a,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),a?"保存中...":"保存配置"]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(yi,{className:"w-5 h-5 text-yellow-400"}),"基础设置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),s.jsxs(Ce,{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.freeMatchLimit,onChange:E=>e({...t,freeMatchLimit:parseInt(E.target.value,10)||0})}),s.jsx("p",{className:"text-xs text-gray-500",children:"用户每天可免费匹配的次数"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),s.jsx(le,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:t.matchPrice,onChange:E=>e({...t,matchPrice:parseFloat(E.target.value)||1})}),s.jsx("p",{className:"text-xs text-gray-500",children:"免费次数用完后的单次匹配价格"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),s.jsx(le,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.settings.maxMatchesPerDay,onChange:E=>e({...t,settings:{...t.settings,maxMatchesPerDay:parseInt(E.target.value,10)||10}})}),s.jsx("p",{className:"text-xs text-gray-500",children:"包含免费和付费的总次数"})]})]}),s.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:t.settings.enableFreeMatches,onCheckedChange:E=>e({...t,settings:{...t.settings,enableFreeMatches:E}})}),s.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:t.settings.enablePaidMatches,onCheckedChange:E=>e({...t,settings:{...t.settings,enablePaidMatches:E}})}),s.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between",children:[s.jsxs("div",{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"}),"匹配类型管理"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),s.jsxs(ne,{onClick:w,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-1"}),"添加类型"]})]}),s.jsx(Ce,{children:s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"图标"}),s.jsx(Ee,{className:"text-gray-400",children:"类型ID"}),s.jsx(Ee,{className:"text-gray-400",children:"显示名称"}),s.jsx(Ee,{className:"text-gray-400",children:"匹配标签"}),s.jsx(Ee,{className:"text-gray-400",children:"价格"}),s.jsx(Ee,{className:"text-gray-400",children:"数据库匹配"}),s.jsx(Ee,{className:"text-gray-400",children:"状态"}),s.jsx(Ee,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsx(gr,{children:t.matchTypes.map(E=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsx("span",{className:"text-2xl",children:E.icon})}),s.jsx(be,{className:"font-mono text-gray-300",children:E.id}),s.jsx(be,{className:"text-white font-medium",children:E.label}),s.jsx(be,{className:"text-gray-300",children:E.matchLabel}),s.jsx(be,{children:s.jsxs(Ke,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",E.price]})}),s.jsx(be,{children:E.matchFromDB?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):s.jsx(Ke,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),s.jsx(be,{children:s.jsx(Et,{checked:E.enabled,onCheckedChange:()=>C(E.id)})}),s.jsx(be,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-1",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(E),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>k(E.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:s.jsx(er,{className:"w-4 h-4"})})]})})]},E.id))})]})})]}),s.jsx(Ft,{open:o,onOpenChange:c,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[u?s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}):s.jsx(pn,{className:"w-5 h-5 text-[#38bdac]"}),u?"编辑匹配类型":"添加匹配类型"]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:f.id,onChange:E=>m({...f,id:E.target.value}),disabled:!!u})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"图标"}),s.jsx("div",{className:"flex gap-1 flex-wrap",children:AV.map(E=>s.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${f.icon===E?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>m({...f,icon:E}),children:E},E))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"显示名称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业合伙",value:f.label,onChange:E=>m({...f,label:E.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"匹配标签"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业伙伴",value:f.matchLabel,onChange:E=>m({...f,matchLabel:E.target.value})})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),s.jsx(le,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:f.price,onChange:E=>m({...f,price:parseFloat(E.target.value)||1})})]}),s.jsxs("div",{className:"flex gap-6 pt-2",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:f.matchFromDB,onCheckedChange:E=>m({...f,matchFromDB:E})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:f.showJoinAfterMatch,onCheckedChange:E=>m({...f,showJoinAfterMatch:E})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:f.enabled,onCheckedChange:E=>m({...f,enabled:E})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>c(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsxs(ne,{onClick:N,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存"]})]})]})})]})}const Sw={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function RV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null);async function v(){m(!0),y(null);try{const N=new URLSearchParams({page:String(a),pageSize:String(o)});u&&N.set("matchType",u);const k=await De(`/api/db/match-records?${N}`);k!=null&&k.success?(e(k.records||[]),r(k.total??0)):y("加载匹配记录失败")}catch(N){console.error("加载匹配记录失败",N),y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{v()},[a,u]);const w=Math.ceil(n/o)||1;return s.jsxs("div",{className:"p-8 w-full",children:[g&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:g}),s.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"匹配记录"}),s.jsxs("p",{className:"text-gray-400 mt-1",children:["找伙伴匹配统计,共 ",n," 条记录"]})]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsxs("select",{value:u,onChange:N=>{h(N.target.value),i(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[s.jsx("option",{value:"",children:"全部类型"}),Object.entries(Sw).map(([N,k])=>s.jsx("option",{value:N,children:k},N))]}),s.jsxs("button",{type:"button",onClick:v,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[s.jsx(Ue,{className:`w-4 h-4 ${f?"animate-spin":""}`}),"刷新"]})]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ce,{className:"p-0",children:f?s.jsxs("div",{className:"flex justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"发起人"}),s.jsx(Ee,{className:"text-gray-400",children:"匹配到"}),s.jsx(Ee,{className:"text-gray-400",children:"类型"}),s.jsx(Ee,{className:"text-gray-400",children:"联系方式"}),s.jsx(Ee,{className:"text-gray-400",children:"匹配时间"})]})}),s.jsxs(gr,{children:[t.map(N=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[N.userAvatar?s.jsx("img",{src:ts(N.userAvatar),alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const C=k.currentTarget.nextElementSibling;C&&C.classList.remove("hidden")}}):null,s.jsx("span",{className:N.userAvatar?"hidden":"",children:(N.userNickname||N.userId||"?").charAt(0)})]}),s.jsxs("div",{children:[s.jsx("div",{className:"text-white",children:N.userNickname||N.userId}),s.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[N.userId.slice(0,16),"..."]})]})]})}),s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[N.matchedUserAvatar?s.jsx("img",{src:ts(N.matchedUserAvatar),alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const C=k.currentTarget.nextElementSibling;C&&C.classList.remove("hidden")}}):null,s.jsx("span",{className:N.matchedUserAvatar?"hidden":"",children:(N.matchedNickname||N.matchedUserId||"?").charAt(0)})]}),s.jsxs("div",{children:[s.jsx("div",{className:"text-white",children:N.matchedNickname||N.matchedUserId}),s.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[N.matchedUserId.slice(0,16),"..."]})]})]})}),s.jsx(be,{children:s.jsx(Ke,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:Sw[N.matchType]||N.matchType})}),s.jsxs(be,{className:"text-gray-400 text-sm",children:[N.phone&&s.jsxs("div",{children:["📱 ",N.phone]}),N.wechatId&&s.jsxs("div",{children:["💬 ",N.wechatId]}),!N.phone&&!N.wechatId&&"-"]}),s.jsx(be,{className:"text-gray-400",children:N.createdAt?new Date(N.createdAt).toLocaleString():"-"})]},N.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),s.jsx(ws,{page:a,totalPages:w,total:n,pageSize:o,onPageChange:i,onPageSizeChange:N=>{c(N),i(1)}})]})})})]})}function PV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0);async function a(){r(!0);try{const i=await De("/api/db/vip-members?limit=100");if(i!=null&&i.success&&i.data){const o=[...i.data].map((c,u)=>({...c,vipSort:typeof c.vipSort=="number"?c.vipSort:u+1}));o.sort((c,u)=>(c.vipSort??999999)-(u.vipSort??999999)),e(o)}}catch(i){console.error("Load VIP members error:",i),oe.error("加载 VIP 成员失败")}finally{r(!1)}}return b.useEffect(()=>{a()},[]),s.jsxs("div",{className:"p-8 w-full",children:[s.jsx("div",{className:"flex justify-between items-center mb-8",children:s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Al,{className:"w-5 h-5 text-amber-400"}),"用户管理 / 超级个体列表"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"这里展示所有有效超级个体用户,仅用于查看其基本信息与排序值。"})]})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-0",children:n?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400 w-20",children:"序号"}),s.jsx(Ee,{className:"text-gray-400",children:"成员"}),s.jsx(Ee,{className:"text-gray-400 w-40",children:"超级个体"}),s.jsx(Ee,{className:"text-gray-400 w-28",children:"排序值"})]})}),s.jsxs(gr,{children:[t.map((i,o)=>{var c;return s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:o+1}),s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[i.avatar?s.jsx("img",{src:ts(i.avatar),className:"w-8 h-8 rounded-full object-cover border border-amber-400/60"}):s.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-500/20 border border-amber-400/60 flex items-center justify-center text-amber-300 text-sm",children:((c=i.name)==null?void 0:c[0])||"创"}),s.jsx("div",{className:"min-w-0",children:s.jsx("div",{className:"text-white text-sm truncate",children:i.name})})]})}),s.jsx(be,{className:"text-gray-300",children:i.vipRole||s.jsx("span",{className:"text-gray-500",children:"(未设置超级个体)"})}),s.jsx(be,{className:"text-gray-300",children:i.vipSort??o+1})]},i.id)}),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:5,className:"text-center py-12 text-gray-500",children:"当前没有有效的超级个体用户。"})})]})]})})})]})}function B4(t){const[e,n]=b.useState([]),[r,a]=b.useState(!0),[i,o]=b.useState(!1),[c,u]=b.useState(null),[h,f]=b.useState({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:0,enabled:!0}),[m,g]=b.useState(!1),[y,v]=b.useState(!1),w=b.useRef(null),N=async P=>{var $;const L=($=P.target.files)==null?void 0:$[0];if(L){v(!0);try{const ee=new FormData;ee.append("file",L),ee.append("folder","mentors");const K=Kx(),ue={};K&&(ue.Authorization=`Bearer ${K}`);const R=await(await fetch(ja("/api/upload"),{method:"POST",body:ee,credentials:"include",headers:ue})).json();R!=null&&R.success&&(R!=null&&R.url)?f(O=>({...O,avatar:R.url})):oe.error("上传失败: "+((R==null?void 0:R.error)||"未知错误"))}catch(ee){console.error(ee),oe.error("上传失败")}finally{v(!1),w.current&&(w.current.value="")}}};async function k(){a(!0);try{const P=await De("/api/db/mentors");P!=null&&P.success&&P.data&&n(P.data)}catch(P){console.error("Load mentors error:",P)}finally{a(!1)}}b.useEffect(()=>{k()},[]);const C=()=>{f({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:e.length>0?Math.max(...e.map(P=>P.sort))+1:0,enabled:!0})},E=()=>{u(null),C(),o(!0)},A=P=>{u(P),f({name:P.name,avatar:P.avatar||"",intro:P.intro||"",tags:P.tags||"",priceSingle:P.priceSingle!=null?String(P.priceSingle):"",priceHalfYear:P.priceHalfYear!=null?String(P.priceHalfYear):"",priceYear:P.priceYear!=null?String(P.priceYear):"",quote:P.quote||"",whyFind:P.whyFind||"",offering:P.offering||"",judgmentStyle:P.judgmentStyle||"",sort:P.sort,enabled:P.enabled??!0}),o(!0)},D=async()=>{if(!h.name.trim()){oe.error("导师姓名不能为空");return}g(!0);try{const P=$=>$===""?void 0:parseFloat($),L={name:h.name.trim(),avatar:h.avatar.trim()||void 0,intro:h.intro.trim()||void 0,tags:h.tags.trim()||void 0,priceSingle:P(h.priceSingle),priceHalfYear:P(h.priceHalfYear),priceYear:P(h.priceYear),quote:h.quote.trim()||void 0,whyFind:h.whyFind.trim()||void 0,offering:h.offering.trim()||void 0,judgmentStyle:h.judgmentStyle.trim()||void 0,sort:h.sort,enabled:h.enabled};if(c){const $=await Tt("/api/db/mentors",{id:c.id,...L});$!=null&&$.success?(o(!1),k()):oe.error("更新失败: "+($==null?void 0:$.error))}else{const $=await Nt("/api/db/mentors",L);$!=null&&$.success?(o(!1),k()):oe.error("新增失败: "+($==null?void 0:$.error))}}catch(P){console.error("Save error:",P),oe.error("保存失败")}finally{g(!1)}},H=async P=>{if(confirm("确定删除该导师?"))try{const L=await wa(`/api/db/mentors?id=${P}`);L!=null&&L.success?k():oe.error("删除失败: "+(L==null?void 0:L.error))}catch(L){console.error("Delete error:",L),oe.error("删除失败")}},_=P=>P!=null?`¥${P}`:"-";return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"}),"导师管理"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师列表,支持每个导师独立配置单次/半年/年度价格"})]}),s.jsxs(ne,{onClick:E,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"新增导师"]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-0",children:r?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"ID"}),s.jsx(Ee,{className:"text-gray-400",children:"姓名"}),s.jsx(Ee,{className:"text-gray-400",children:"简介"}),s.jsx(Ee,{className:"text-gray-400",children:"单次"}),s.jsx(Ee,{className:"text-gray-400",children:"半年"}),s.jsx(Ee,{className:"text-gray-400",children:"年度"}),s.jsx(Ee,{className:"text-gray-400",children:"排序"}),s.jsx(Ee,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsxs(gr,{children:[e.map(P=>s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:P.id}),s.jsx(be,{className:"text-white",children:P.name}),s.jsx(be,{className:"text-gray-400 max-w-[200px] truncate",children:P.intro||"-"}),s.jsx(be,{className:"text-gray-400",children:_(P.priceSingle)}),s.jsx(be,{className:"text-gray-400",children:_(P.priceHalfYear)}),s.jsx(be,{className:"text-gray-400",children:_(P.priceYear)}),s.jsx(be,{className:"text-gray-400",children:P.sort}),s.jsxs(be,{className:"text-right",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>A(P),className:"text-gray-400 hover:text-[#38bdac]",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>H(P.id),className:"text-gray-400 hover:text-red-400",children:s.jsx(er,{className:"w-4 h-4"})})]})]},P.id)),e.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:8,className:"text-center py-12 text-gray-500",children:"暂无导师,点击「新增导师」添加"})})]})]})})}),s.jsx(Ft,{open:i,onOpenChange:o,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg max-h-[90vh] overflow-y-auto",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:c?"编辑导师":"新增导师"})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"姓名 *"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:卡若",value:h.name,onChange:P=>f(L=>({...L,name:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"排序"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:h.sort,onChange:P=>f(L=>({...L,sort:parseInt(P.target.value,10)||0}))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"头像"}),s.jsxs("div",{className:"flex gap-3 items-center",children:[s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:h.avatar,onChange:P=>f(L=>({...L,avatar:P.target.value})),placeholder:"点击上传或粘贴图片地址"}),s.jsx("input",{ref:w,type:"file",accept:"image/*",className:"hidden",onChange:N}),s.jsxs(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:y,onClick:()=>{var P;return(P=w.current)==null?void 0:P.click()},children:[s.jsx(mh,{className:"w-4 h-4 mr-2"}),y?"上传中...":"上传"]})]}),h.avatar&&s.jsx("div",{className:"mt-2",children:s.jsx("img",{src:ts(h.avatar.startsWith("http")?h.avatar:ja(h.avatar)),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"简介"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:结构判断型咨询 · Decision > Execution",value:h.intro,onChange:P=>f(L=>({...L,intro:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"技能标签(逗号分隔)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:项目结构判断、风险止损、人×项目匹配",value:h.tags,onChange:P=>f(L=>({...L,tags:P.target.value}))})]}),s.jsxs("div",{className:"border-t border-gray-700 pt-4",children:[s.jsx(te,{className:"text-gray-300 block mb-2",children:"价格配置(每个导师独立)"}),s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"单次咨询 ¥"}),s.jsx(le,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"980",value:h.priceSingle,onChange:P=>f(L=>({...L,priceSingle:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"半年咨询 ¥"}),s.jsx(le,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"19800",value:h.priceHalfYear,onChange:P=>f(L=>({...L,priceHalfYear:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"年度咨询 ¥"}),s.jsx(le,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"29800",value:h.priceYear,onChange:P=>f(L=>({...L,priceYear:P.target.value}))})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"引言"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:大多数人失败,不是因为不努力...",value:h.quote,onChange:P=>f(L=>({...L,quote:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"为什么找(文本)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.whyFind,onChange:P=>f(L=>({...L,whyFind:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"提供什么(文本)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.offering,onChange:P=>f(L=>({...L,offering:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"判断风格(逗号分隔)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:冷静、克制、偏风险视角",value:h.judgmentStyle,onChange:P=>f(L=>({...L,judgmentStyle:P.target.value}))})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("input",{type:"checkbox",id:"enabled",checked:h.enabled,onChange:P=>f(L=>({...L,enabled:P.target.checked})),className:"rounded border-gray-600 bg-[#0a1628]"}),s.jsx(te,{htmlFor:"enabled",className:"text-gray-300 cursor-pointer",children:"上架(小程序可见)"})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>o(!1),className:"border-gray-600 text-gray-300",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:D,disabled:m,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),m?"保存中...":"保存"]})]})]})})]})}function OV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[a,i]=b.useState("");async function o(){r(!0);try{const h=a?`/api/db/mentor-consultations?status=${a}`:"/api/db/mentor-consultations",f=await De(h);f!=null&&f.success&&f.data&&e(f.data)}catch(h){console.error("Load consultations error:",h)}finally{r(!1)}}b.useEffect(()=>{o()},[a]);const c={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},u={single:"单次",half_year:"半年",year:"年度"};return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(fh,{className:"w-5 h-5 text-[#38bdac]"}),"导师预约列表"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师咨询预约记录"})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("select",{value:a,onChange:h=>i(h.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[s.jsx("option",{value:"",children:"全部状态"}),Object.entries(c).map(([h,f])=>s.jsx("option",{value:h,children:f},h))]}),s.jsxs(ne,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]})]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-0",children:n?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"ID"}),s.jsx(Ee,{className:"text-gray-400",children:"用户ID"}),s.jsx(Ee,{className:"text-gray-400",children:"导师ID"}),s.jsx(Ee,{className:"text-gray-400",children:"类型"}),s.jsx(Ee,{className:"text-gray-400",children:"金额"}),s.jsx(Ee,{className:"text-gray-400",children:"状态"}),s.jsx(Ee,{className:"text-gray-400",children:"创建时间"})]})}),s.jsxs(gr,{children:[t.map(h=>s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:h.id}),s.jsx(be,{className:"text-gray-400",children:h.userId}),s.jsx(be,{className:"text-gray-400",children:h.mentorId}),s.jsx(be,{className:"text-gray-400",children:u[h.consultationType]||h.consultationType}),s.jsxs(be,{className:"text-white",children:["¥",h.amount]}),s.jsx(be,{className:"text-gray-400",children:c[h.status]||h.status}),s.jsx(be,{className:"text-gray-500 text-sm",children:h.createdAt})]},h.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}const Kc={poolSource:["vip"],requirePhone:!0,requireNickname:!0,requireAvatar:!1,requireBusiness:!1},Cw={matchTypes:[{id:"partner",label:"找伙伴",matchLabel:"找伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10},poolSettings:Kc},DV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function LV(){const t=Di(),[e,n]=b.useState(Cw),[r,a]=b.useState(!0),[i,o]=b.useState(!1),[c,u]=b.useState(!1),[h,f]=b.useState(null),[m,g]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),[y,v]=b.useState(null),[w,N]=b.useState(!1),k=async()=>{N(!0);try{const L=await De("/api/db/match-pool-counts");L!=null&&L.success&&L.data&&v(L.data)}catch(L){console.error("加载池子人数失败:",L)}finally{N(!1)}},C=async()=>{a(!0);try{const L=await De("/api/db/config/full?key=match_config"),$=(L==null?void 0:L.data)??(L==null?void 0:L.config);if($){let ee=$.poolSettings??Kc;ee.poolSource&&!Array.isArray(ee.poolSource)&&(ee={...ee,poolSource:[ee.poolSource]}),n({...Cw,...$,poolSettings:ee})}}catch(L){console.error("加载匹配配置失败:",L)}finally{a(!1)}};b.useEffect(()=>{C(),k()},[]);const E=async()=>{o(!0);try{const L=await Nt("/api/db/config",{key:"match_config",value:e,description:"匹配功能配置"});oe.error((L==null?void 0:L.success)!==!1?"配置保存成功!":"保存失败: "+((L==null?void 0:L.error)||"未知错误"))}catch(L){console.error(L),oe.error("保存失败")}finally{o(!1)}},A=L=>{f(L),g({...L}),u(!0)},D=()=>{f(null),g({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),u(!0)},H=()=>{if(!m.id||!m.label){oe.error("请填写类型ID和名称");return}const L=[...e.matchTypes];if(h){const $=L.findIndex(ee=>ee.id===h.id);$!==-1&&(L[$]={...m})}else{if(L.some($=>$.id===m.id)){oe.error("类型ID已存在");return}L.push({...m})}n({...e,matchTypes:L}),u(!1)},_=L=>{confirm("确定要删除这个匹配类型吗?")&&n({...e,matchTypes:e.matchTypes.filter($=>$.id!==L)})},P=L=>{n({...e,matchTypes:e.matchTypes.map($=>$.id===L?{...$,enabled:!$.enabled}:$)})};return s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"flex justify-end gap-3",children:[s.jsxs(ne,{variant:"outline",onClick:C,disabled:r,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${r?"animate-spin":""}`})," 刷新"]}),s.jsxs(ne,{onClick:E,disabled:i,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"})," ",i?"保存中...":"保存配置"]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Qw,{className:"w-5 h-5 text-blue-400"})," 匹配池选择"]}),s.jsx(Ht,{className:"text-gray-400",children:"选择匹配的用户池和完善程度要求,只有满足条件的用户才可被匹配到"})]}),s.jsxs(Ce,{className:"space-y-6",children:[s.jsxs("div",{className:"space-y-3",children:[s.jsx(te,{className:"text-gray-300",children:"匹配来源池"}),s.jsx("p",{className:"text-gray-500 text-xs",children:"可同时勾选多个池子(取并集匹配)"}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:[{value:"vip",label:"超级个体(VIP会员)",desc:"付费 ¥1980 的VIP会员",icon:"👑",countKey:"vip"},{value:"complete",label:"完善资料用户",desc:"符合下方完善度要求的用户",icon:"✅",countKey:"complete"},{value:"all",label:"全部用户",desc:"所有已注册用户",icon:"👥",countKey:"all"}].map(L=>{const $=e.poolSettings??Kc,K=(Array.isArray($.poolSource)?$.poolSource:[$.poolSource]).includes(L.value),ue=y==null?void 0:y[L.countKey],me=()=>{const R=Array.isArray($.poolSource)?[...$.poolSource]:[$.poolSource],O=K?R.filter(F=>F!==L.value):[...R,L.value];O.length===0&&O.push(L.value),n({...e,poolSettings:{...$,poolSource:O}})};return s.jsxs("button",{type:"button",onClick:me,className:`p-4 rounded-lg border text-left transition-all ${K?"border-[#38bdac] bg-[#38bdac]/10":"border-gray-700 bg-[#0a1628] hover:border-gray-600"}`,children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:`w-5 h-5 rounded border-2 flex items-center justify-center text-xs ${K?"border-[#38bdac] bg-[#38bdac] text-white":"border-gray-600"}`,children:K&&"✓"}),s.jsx("span",{className:"text-xl",children:L.icon}),s.jsx("span",{className:`text-sm font-medium ${K?"text-[#38bdac]":"text-gray-300"}`,children:L.label})]}),s.jsxs("span",{className:"text-lg font-bold text-white",children:[w?"...":ue??"-",s.jsx("span",{className:"text-xs text-gray-500 font-normal ml-1",children:"人"})]})]}),s.jsx("p",{className:"text-gray-500 text-xs mt-2",children:L.desc}),s.jsx("span",{role:"link",tabIndex:0,onClick:R=>{R.stopPropagation(),t(`/users?pool=${L.value}`)},onKeyDown:R=>{R.key==="Enter"&&(R.stopPropagation(),t(`/users?pool=${L.value}`))},className:"text-[#38bdac] text-xs mt-2 inline-block hover:underline cursor-pointer",children:"查看用户列表 →"})]},L.value)})})]}),s.jsxs("div",{className:"space-y-3 pt-4 border-t border-gray-700/50",children:[s.jsx(te,{className:"text-gray-300",children:"用户资料完善要求(被匹配用户必须满足以下条件)"}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{key:"requirePhone",label:"有手机号",icon:"📱"},{key:"requireNickname",label:"有昵称",icon:"👤"},{key:"requireAvatar",label:"有头像",icon:"🖼️"},{key:"requireBusiness",label:"有业务需求",icon:"💼"}].map(L=>{const ee=(e.poolSettings??Kc)[L.key];return s.jsxs("div",{className:"flex items-center gap-3 bg-[#0a1628] rounded-lg p-3",children:[s.jsx(Et,{checked:ee,onCheckedChange:K=>n({...e,poolSettings:{...e.poolSettings??Kc,[L.key]:K}})}),s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx("span",{children:L.icon}),s.jsx(te,{className:"text-gray-300 text-sm",children:L.label})]})]},L.key)})})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(yi,{className:"w-5 h-5 text-yellow-400"})," 基础设置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),s.jsxs(Ce,{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.freeMatchLimit,onChange:L=>n({...e,freeMatchLimit:parseInt(L.target.value,10)||0})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),s.jsx(le,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:e.matchPrice,onChange:L=>n({...e,matchPrice:parseFloat(L.target.value)||1})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),s.jsx(le,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.settings.maxMatchesPerDay,onChange:L=>n({...e,settings:{...e.settings,maxMatchesPerDay:parseInt(L.target.value,10)||10}})})]})]}),s.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:e.settings.enableFreeMatches,onCheckedChange:L=>n({...e,settings:{...e.settings,enableFreeMatches:L}})}),s.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:e.settings.enablePaidMatches,onCheckedChange:L=>n({...e,settings:{...e.settings,enablePaidMatches:L}})}),s.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between",children:[s.jsxs("div",{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"})," 匹配类型管理"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),s.jsxs(ne,{onClick:D,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-1"})," 添加类型"]})]}),s.jsx(Ce,{children:s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"图标"}),s.jsx(Ee,{className:"text-gray-400",children:"类型ID"}),s.jsx(Ee,{className:"text-gray-400",children:"显示名称"}),s.jsx(Ee,{className:"text-gray-400",children:"匹配标签"}),s.jsx(Ee,{className:"text-gray-400",children:"价格"}),s.jsx(Ee,{className:"text-gray-400",children:"数据库匹配"}),s.jsx(Ee,{className:"text-gray-400",children:"状态"}),s.jsx(Ee,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsx(gr,{children:e.matchTypes.map(L=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsx("span",{className:"text-2xl",children:L.icon})}),s.jsx(be,{className:"font-mono text-gray-300",children:L.id}),s.jsx(be,{className:"text-white font-medium",children:L.label}),s.jsx(be,{className:"text-gray-300",children:L.matchLabel}),s.jsx(be,{children:s.jsxs(Ke,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",L.price]})}),s.jsx(be,{children:L.matchFromDB?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):s.jsx(Ke,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),s.jsx(be,{children:s.jsx(Et,{checked:L.enabled,onCheckedChange:()=>P(L.id)})}),s.jsx(be,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-1",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>A(L),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>_(L.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:s.jsx(er,{className:"w-4 h-4"})})]})})]},L.id))})]})})]}),s.jsx(Ft,{open:c,onOpenChange:u,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[h?s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}):s.jsx(pn,{className:"w-5 h-5 text-[#38bdac]"}),h?"编辑匹配类型":"添加匹配类型"]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:m.id,onChange:L=>g({...m,id:L.target.value}),disabled:!!h})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"图标"}),s.jsx("div",{className:"flex gap-1 flex-wrap",children:DV.map(L=>s.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${m.icon===L?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>g({...m,icon:L}),children:L},L))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"显示名称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.label,onChange:L=>g({...m,label:L.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"匹配标签"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.matchLabel,onChange:L=>g({...m,matchLabel:L.target.value})})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),s.jsx(le,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:m.price,onChange:L=>g({...m,price:parseFloat(L.target.value)||1})})]}),s.jsxs("div",{className:"flex gap-6 pt-2",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:m.matchFromDB,onCheckedChange:L=>g({...m,matchFromDB:L})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:m.showJoinAfterMatch,onCheckedChange:L=>g({...m,showJoinAfterMatch:L})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:m.enabled,onCheckedChange:L=>g({...m,enabled:L})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>u(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsxs(ne,{onClick:H,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"})," 保存"]})]})]})})]})}const Ew={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function _V(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null),[v,w]=b.useState(null);async function N(){m(!0),y(null);try{const E=new URLSearchParams({page:String(a),pageSize:String(o)});u&&E.set("matchType",u);const A=await De(`/api/db/match-records?${E}`);A!=null&&A.success?(e(A.records||[]),r(A.total??0)):y("加载匹配记录失败")}catch{y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{N()},[a,u]);const k=Math.ceil(n/o)||1,C=({userId:E,nickname:A,avatar:D})=>s.jsxs("div",{className:"flex items-center gap-3 cursor-pointer group",onClick:()=>w(E),children:[s.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[D?s.jsx("img",{src:ts(D),alt:"",className:"w-full h-full object-cover",onError:H=>{H.currentTarget.style.display="none"}}):null,s.jsx("span",{className:D?"hidden":"",children:(A||E||"?").charAt(0)})]}),s.jsxs("div",{children:[s.jsx("div",{className:"text-white group-hover:text-[#38bdac] transition-colors",children:A||E}),s.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[E==null?void 0:E.slice(0,16),(E==null?void 0:E.length)>16?"...":""]})]})]});return s.jsxs("div",{children:[g&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:g}),s.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex justify-between items-center mb-4",children:[s.jsxs("p",{className:"text-gray-400",children:["共 ",n," 条匹配记录 · 点击用户名查看详情"]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsxs("select",{value:u,onChange:E=>{h(E.target.value),i(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[s.jsx("option",{value:"",children:"全部类型"}),Object.entries(Ew).map(([E,A])=>s.jsx("option",{value:E,children:A},E))]}),s.jsxs("button",{type:"button",onClick:N,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[s.jsx(Ue,{className:`w-4 h-4 ${f?"animate-spin":""}`})," 刷新"]})]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ce,{className:"p-0",children:f?s.jsxs("div",{className:"flex justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"发起人"}),s.jsx(Ee,{className:"text-gray-400",children:"匹配到"}),s.jsx(Ee,{className:"text-gray-400",children:"类型"}),s.jsx(Ee,{className:"text-gray-400",children:"联系方式"}),s.jsx(Ee,{className:"text-gray-400",children:"匹配时间"})]})}),s.jsxs(gr,{children:[t.map(E=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsx(C,{userId:E.userId,nickname:E.userNickname,avatar:E.userAvatar})}),s.jsx(be,{children:E.matchedUserId?s.jsx(C,{userId:E.matchedUserId,nickname:E.matchedNickname,avatar:E.matchedUserAvatar}):s.jsx("span",{className:"text-gray-500",children:"—"})}),s.jsx(be,{children:s.jsx(Ke,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:Ew[E.matchType]||E.matchType})}),s.jsxs(be,{className:"text-sm",children:[E.phone&&s.jsxs("div",{className:"text-green-400",children:["📱 ",E.phone]}),E.wechatId&&s.jsxs("div",{className:"text-blue-400",children:["💬 ",E.wechatId]}),!E.phone&&!E.wechatId&&s.jsx("span",{className:"text-gray-600",children:"-"})]}),s.jsx(be,{className:"text-gray-400",children:E.createdAt?new Date(E.createdAt).toLocaleString():"-"})]},E.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),s.jsx(ws,{page:a,totalPages:k,total:n,pageSize:o,onPageChange:i,onPageSizeChange:E=>{c(E),i(1)}})]})})}),s.jsx(i0,{open:!!v,onClose:()=>w(null),userId:v,onUserUpdated:N})]})}function zV(){const[t,e]=b.useState("records");return s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{type:"button",onClick:()=>e("records"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="records"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配记录"}),s.jsx("button",{type:"button",onClick:()=>e("pool"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="pool"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配池设置"})]}),t==="records"&&s.jsx(_V,{}),t==="pool"&&s.jsx(LV,{})]})}const Tw={investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function $V(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0),[f,m]=b.useState("investor"),[g,y]=b.useState(null);async function v(){h(!0);try{const C=new URLSearchParams({page:String(a),pageSize:String(o),matchType:f}),E=await De(`/api/db/match-records?${C}`);E!=null&&E.success&&(e(E.records||[]),r(E.total??0))}catch(C){console.error(C)}finally{h(!1)}}b.useEffect(()=>{v()},[a,f]);const w=async C=>{if(!C.phone&&!C.wechatId){oe.info("该记录无联系方式,无法推送到存客宝");return}y(C.id);try{const E=await Nt("/api/ckb/join",{type:C.matchType||"investor",phone:C.phone||"",wechat:C.wechatId||"",userId:C.userId,name:C.userNickname||""});oe.error((E==null?void 0:E.message)||(E!=null&&E.success?"推送成功":"推送失败"))}catch(E){oe.error("推送失败: "+(E instanceof Error?E.message:"网络错误"))}finally{y(null)}},N=Math.ceil(n/o)||1,k=C=>!!(C.phone||C.wechatId);return s.jsxs("div",{children:[s.jsxs("div",{className:"flex justify-between items-center mb-4",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400",children:"点击获客:有人填写手机号/微信号的直接显示,可一键推送到存客宝"}),s.jsxs("p",{className:"text-gray-500 text-xs mt-1",children:["共 ",n," 条记录 — 有联系方式的可触发存客宝添加好友"]})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("select",{value:f,onChange:C=>{m(C.target.value),i(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:Object.entries(Tw).map(([C,E])=>s.jsx("option",{value:C,children:E},C))}),s.jsxs(ne,{onClick:v,disabled:u,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${u?"animate-spin":""}`})," 刷新"]})]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ce,{className:"p-0",children:u?s.jsxs("div",{className:"flex justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"发起人"}),s.jsx(Ee,{className:"text-gray-400",children:"匹配到"}),s.jsx(Ee,{className:"text-gray-400",children:"类型"}),s.jsx(Ee,{className:"text-gray-400",children:"联系方式"}),s.jsx(Ee,{className:"text-gray-400",children:"时间"}),s.jsx(Ee,{className:"text-gray-400 text-right",children:"操作"})]})}),s.jsxs(gr,{children:[t.map(C=>{var E,A;return s.jsxs(lt,{className:`border-gray-700/50 ${k(C)?"hover:bg-[#0a1628]":"opacity-60"}`,children:[s.jsx(be,{className:"text-white",children:C.userNickname||((E=C.userId)==null?void 0:E.slice(0,12))}),s.jsx(be,{className:"text-white",children:C.matchedNickname||((A=C.matchedUserId)==null?void 0:A.slice(0,12))}),s.jsx(be,{children:s.jsx(Ke,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:Tw[C.matchType]||C.matchType})}),s.jsxs(be,{className:"text-sm",children:[C.phone&&s.jsxs("div",{className:"text-green-400",children:["📱 ",C.phone]}),C.wechatId&&s.jsxs("div",{className:"text-blue-400",children:["💬 ",C.wechatId]}),!C.phone&&!C.wechatId&&s.jsx("span",{className:"text-gray-600",children:"无联系方式"})]}),s.jsx(be,{className:"text-gray-400 text-sm",children:C.createdAt?new Date(C.createdAt).toLocaleString():"-"}),s.jsx(be,{className:"text-right",children:k(C)?s.jsxs(ne,{size:"sm",onClick:()=>w(C),disabled:g===C.id,className:"bg-[#38bdac] hover:bg-[#2da396] text-white text-xs h-7 px-3",children:[s.jsx(RA,{className:"w-3 h-3 mr-1"}),g===C.id?"推送中...":"推送CKB"]}):s.jsx("span",{className:"text-gray-600 text-xs",children:"—"})})]},C.id)}),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:6,className:"text-center py-12 text-gray-500",children:"暂无记录"})})]})]}),s.jsx(ws,{page:a,totalPages:N,total:n,pageSize:o,onPageChange:i,onPageSizeChange:C=>{c(C),i(1)}})]})})})]})}const Mw={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},FV={single:"单次",half_year:"半年",year:"年度"};function BV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[a,i]=b.useState("");async function o(){r(!0);try{const c=a?`/api/db/mentor-consultations?status=${a}`:"/api/db/mentor-consultations",u=await De(c);u!=null&&u.success&&u.data&&e(u.data)}catch(c){console.error(c)}finally{r(!1)}}return b.useEffect(()=>{o()},[a]),s.jsxs("div",{children:[s.jsxs("div",{className:"flex justify-between items-center mb-4",children:[s.jsx("p",{className:"text-gray-400",children:"导师咨询预约记录"}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("select",{value:a,onChange:c=>i(c.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[s.jsx("option",{value:"",children:"全部状态"}),Object.entries(Mw).map(([c,u])=>s.jsx("option",{value:c,children:u},c))]}),s.jsxs(ne,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`})," 刷新"]})]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ce,{className:"p-0",children:n?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"ID"}),s.jsx(Ee,{className:"text-gray-400",children:"用户ID"}),s.jsx(Ee,{className:"text-gray-400",children:"导师ID"}),s.jsx(Ee,{className:"text-gray-400",children:"类型"}),s.jsx(Ee,{className:"text-gray-400",children:"金额"}),s.jsx(Ee,{className:"text-gray-400",children:"状态"}),s.jsx(Ee,{className:"text-gray-400",children:"创建时间"})]})}),s.jsxs(gr,{children:[t.map(c=>s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:c.id}),s.jsx(be,{className:"text-gray-400",children:c.userId}),s.jsx(be,{className:"text-gray-400",children:c.mentorId}),s.jsx(be,{className:"text-gray-400",children:FV[c.consultationType]||c.consultationType}),s.jsxs(be,{className:"text-white",children:["¥",c.amount]}),s.jsx(be,{className:"text-gray-400",children:Mw[c.status]||c.status}),s.jsx(be,{className:"text-gray-500 text-sm",children:c.createdAt?new Date(c.createdAt).toLocaleString():"-"})]},c.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}function VV(){const[t,e]=b.useState("booking");return s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{type:"button",onClick:()=>e("booking"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="booking"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"预约记录"}),s.jsx("button",{type:"button",onClick:()=>e("manage"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="manage"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"导师管理"})]}),t==="booking"&&s.jsx(BV,{}),t==="manage"&&s.jsx("div",{className:"-mx-8",children:s.jsx(B4,{embedded:!0})})]})}function HV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0);async function f(){h(!0);try{const g=new URLSearchParams({page:String(a),pageSize:String(o),matchType:"team"}),y=await De(`/api/db/match-records?${g}`);y!=null&&y.success&&(e(y.records||[]),r(y.total??0))}catch(g){console.error(g)}finally{h(!1)}}b.useEffect(()=>{f()},[a]);const m=Math.ceil(n/o)||1;return s.jsxs("div",{children:[s.jsxs("div",{className:"flex justify-between items-center mb-4",children:[s.jsxs("div",{children:[s.jsxs("p",{className:"text-gray-400",children:["团队招募匹配记录,共 ",n," 条"]}),s.jsx("p",{className:"text-gray-500 text-xs mt-1",children:"用户通过「团队招募」提交联系方式到存客宝"})]}),s.jsxs("button",{type:"button",onClick:f,disabled:u,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[s.jsx(Ue,{className:`w-4 h-4 ${u?"animate-spin":""}`})," 刷新"]})]}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ce,{className:"p-0",children:u?s.jsxs("div",{className:"flex justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Ee,{className:"text-gray-400",children:"发起人"}),s.jsx(Ee,{className:"text-gray-400",children:"匹配到"}),s.jsx(Ee,{className:"text-gray-400",children:"联系方式"}),s.jsx(Ee,{className:"text-gray-400",children:"时间"})]})}),s.jsxs(gr,{children:[t.map(g=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{className:"text-white",children:g.userNickname||g.userId}),s.jsx(be,{className:"text-white",children:g.matchedNickname||g.matchedUserId}),s.jsxs(be,{className:"text-gray-400 text-sm",children:[g.phone&&s.jsxs("div",{children:["📱 ",g.phone]}),g.wechatId&&s.jsxs("div",{children:["💬 ",g.wechatId]}),!g.phone&&!g.wechatId&&"-"]}),s.jsx(be,{className:"text-gray-400",children:g.createdAt?new Date(g.createdAt).toLocaleString():"-"})]},g.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:4,className:"text-center py-12 text-gray-500",children:"暂无团队招募记录"})})]})]}),s.jsx(ws,{page:a,totalPages:m,total:n,pageSize:o,onPageChange:i,onPageSizeChange:g=>{c(g),i(1)}})]})})})]})}const Aw={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"},Iw={partner:"⭐",investor:"👥",mentor:"❤️",team:"🎮"};function WV({onSwitchTab:t,onOpenCKB:e}={}){const n=Di(),[r,a]=b.useState(null),[i,o]=b.useState(null),[c,u]=b.useState(!0),h=b.useCallback(async()=>{var m,g;u(!0);try{const[y,v]=await Promise.allSettled([De("/api/db/match-records?stats=true"),De("/api/db/ckb-plan-stats")]);if(y.status==="fulfilled"&&((m=y.value)!=null&&m.success)&&y.value.data){let w=y.value.data;if(w.totalMatches>0&&(!w.uniqueUsers||w.uniqueUsers===0))try{const N=await De("/api/db/match-records?page=1&pageSize=200");if(N!=null&&N.success&&N.records){const k=new Set(N.records.map(C=>C.userId).filter(Boolean));w={...w,uniqueUsers:k.size}}}catch{}a(w)}v.status==="fulfilled"&&((g=v.value)!=null&&g.success)&&v.value.data&&o(v.value.data)}catch(y){console.error("加载统计失败:",y)}finally{u(!1)}},[]);b.useEffect(()=>{h()},[h]);const f=m=>c?"—":String(m??0);return s.jsxs("div",{className:"space-y-8",children:[s.jsxs("div",{children:[s.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"})," 找伙伴数据"]}),s.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5",children:[s.jsx(Se,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-[#38bdac]/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:s.jsxs(Ce,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"总匹配次数"}),s.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.totalMatches)}),s.jsxs("p",{className:"text-[#38bdac] text-xs mt-3 flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"})," 查看匹配记录"]})]})}),s.jsx(Se,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-yellow-500/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:s.jsxs(Ce,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"今日匹配"}),s.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.todayMatches)}),s.jsxs("p",{className:"text-yellow-400/60 text-xs mt-3 flex items-center gap-1",children:[s.jsx(yi,{className:"w-3 h-3"})," 今日实时"]})]})}),s.jsx(Se,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-blue-500/60 transition-all",onClick:()=>n("/users"),children:s.jsxs(Ce,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"匹配用户数"}),s.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.uniqueUsers)}),s.jsxs("p",{className:"text-blue-400/60 text-xs mt-3 flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"})," 查看用户管理"]})]})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/40",children:s.jsxs(Ce,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"人均匹配"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":r!=null&&r.uniqueUsers?(r.totalMatches/r.uniqueUsers).toFixed(1):"0"})]})}),s.jsx(Se,{className:"bg-[#0f2137] border-gray-700/40",children:s.jsxs(Ce,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"付费匹配次数"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:f(r==null?void 0:r.paidMatchCount)})]})})]})]}),(r==null?void 0:r.byType)&&r.byType.length>0&&s.jsxs("div",{children:[s.jsx("h3",{className:"text-lg font-semibold text-white mb-4",children:"各类型匹配分布"}),s.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:r.byType.map(m=>{const g=r.totalMatches>0?m.count/r.totalMatches*100:0;return s.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/40 rounded-xl p-5",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx("span",{className:"text-2xl",children:Iw[m.matchType]||"📊"}),s.jsx("span",{className:"text-gray-300 font-medium",children:Aw[m.matchType]||m.matchType})]}),s.jsx("p",{className:"text-3xl font-bold text-white mb-2",children:m.count}),s.jsx("div",{className:"w-full h-2 bg-gray-700/50 rounded-full overflow-hidden",children:s.jsx("div",{className:"h-full bg-[#38bdac] rounded-full transition-all",style:{width:`${Math.min(g,100)}%`}})}),s.jsxs("p",{className:"text-gray-500 text-xs mt-1.5",children:[g.toFixed(1),"%"]})]},m.matchType)})})]}),s.jsxs("div",{children:[s.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[s.jsx(Ns,{className:"w-5 h-5 text-orange-400"})," AI 获客数据"]}),s.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5 mb-6",children:[s.jsx(Se,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("submitted"),children:s.jsxs(Ce,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"已提交线索"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(i==null?void 0:i.ckbTotal)??0}),s.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),s.jsx(Se,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("contact"),children:s.jsxs(Ce,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"有联系方式"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(i==null?void 0:i.withContact)??0}),s.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),s.jsx(Se,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("test"),children:s.jsxs(Ce,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"AI 添加进度"}),s.jsx("p",{className:"text-xl font-bold text-orange-400",children:"查看详情 →"}),s.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"添加成功率 · 回复率 · API 文档"})]})})]}),(i==null?void 0:i.byType)&&i.byType.length>0&&s.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 mb-6",children:i.byType.map(m=>s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-lg p-4 flex items-center gap-3",children:[s.jsx("span",{className:"text-xl",children:Iw[m.matchType]||"📋"}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-xs",children:Aw[m.matchType]||m.matchType}),s.jsx("p",{className:"text-xl font-bold text-white",children:m.total})]})]},m.matchType))})]})]})}const UV=["partner","investor","mentor","team"],Sg=[{key:"join_partner",label:"找伙伴场景"},{key:"join_investor",label:"资源对接场景"},{key:"join_mentor",label:"导师顾问场景"},{key:"join_team",label:"团队招募场景"},{key:"match",label:"匹配上报"},{key:"lead",label:"链接卡若"}],Rw=`# 场景获客接口摘要 +`).map(w=>w.trim()).filter(Boolean),v=[...o.liveQRCodes||[]];v[0]?v[0].urls=y:v.push({id:"live-1",name:"微信群活码",urls:y,clickCount:0}),await Nt("/api/db/config",{key:"live_qr_codes",value:v,description:"群活码配置"}),oe.success("群活码配置已保存!"),await u()}catch(y){console.error(y),oe.error("保存失败: "+(y instanceof Error?y.message:String(y)))}},m=async()=>{var y;try{await Nt("/api/db/config",{key:"payment_methods",value:{...o.paymentMethods||{},wechat:{...((y=o.paymentMethods)==null?void 0:y.wechat)||{},groupQrCode:n}},description:"支付方式配置"}),oe.success("微信群链接已保存!用户支付成功后将自动跳转"),await u()}catch(v){console.error(v),oe.error("保存失败: "+(v instanceof Error?v.message:String(v)))}},g=()=>{n?window.open(n,"_blank"):oe.error("请先配置微信群链接")};return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"mb-8",children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"微信群活码管理"}),s.jsx("p",{className:"text-gray-400 mt-1",children:"配置微信群跳转链接,用户支付后自动跳转加群"})]}),s.jsx("div",{className:"mb-6 bg-[#07C160]/10 border border-[#07C160]/30 rounded-xl p-4",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(Yw,{className:"w-5 h-5 text-[#07C160] flex-shrink-0 mt-0.5"}),s.jsxs("div",{className:"text-sm",children:[s.jsx("p",{className:"font-medium mb-2 text-[#07C160]",children:"微信群活码配置指南"}),s.jsxs("div",{className:"text-[#07C160]/80 space-y-2",children:[s.jsx("p",{className:"font-medium",children:"方法一:使用草料活码(推荐)"}),s.jsxs("ol",{className:"list-decimal list-inside space-y-1 pl-2",children:[s.jsx("li",{children:"访问草料二维码创建活码"}),s.jsx("li",{children:"上传微信群二维码图片,生成永久链接"}),s.jsx("li",{children:"复制生成的短链接填入下方配置"}),s.jsx("li",{children:"群满后可直接在草料后台更换新群码,链接不变"})]}),s.jsx("p",{className:"font-medium mt-3",children:"方法二:直接使用微信群链接"}),s.jsxs("ol",{className:"list-decimal list-inside space-y-1 pl-2",children:[s.jsx("li",{children:'微信打开目标群 → 右上角"..." → 群二维码'}),s.jsx("li",{children:"长按二维码 → 识别二维码 → 复制链接"})]}),s.jsx("p",{className:"text-[#07C160]/60 mt-2",children:"注意:微信原生群二维码7天后失效,建议使用草料活码"})]})]})]})}),s.jsxs("div",{className:"grid gap-6 md:grid-cols-2",children:[s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl md:col-span-2",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-[#07C160] flex items-center gap-2",children:[s.jsx(Kv,{className:"w-5 h-5"}),"支付成功跳转链接(核心配置)"]}),s.jsx(Ht,{className:"text-gray-400",children:"用户支付完成后自动跳转到此链接,进入指定微信群"})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx($g,{className:"w-4 h-4"}),"微信群链接 / 活码链接"]}),s.jsxs("div",{className:"flex gap-2",children:[s.jsx(le,{placeholder:"https://cli.im/xxxxx 或 https://weixin.qq.com/g/...",className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 flex-1",value:n,onChange:y=>r(y.target.value)}),s.jsx(ne,{variant:"outline",size:"icon",className:"border-gray-700 bg-transparent hover:bg-gray-700/50",onClick:()=>h(n,"group"),children:a==="group"?s.jsx(vf,{className:"w-4 h-4 text-green-500"}):s.jsx(Xw,{className:"w-4 h-4 text-gray-400"})})]}),s.jsxs("p",{className:"text-xs text-gray-500 flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"}),"支持格式:草料短链、微信群链接(https://weixin.qq.com/g/...)、企业微信链接等"]})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsxs(ne,{onClick:m,className:"flex-1 bg-[#07C160] hover:bg-[#06AD51] text-white",children:[s.jsx(xh,{className:"w-4 h-4 mr-2"}),"保存配置"]}),s.jsxs(ne,{onClick:g,variant:"outline",className:"border-[#07C160] text-[#07C160] hover:bg-[#07C160]/10 bg-transparent",children:[s.jsx(Ks,{className:"w-4 h-4 mr-2"}),"测试跳转"]})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl md:col-span-2",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Kv,{className:"w-5 h-5 text-[#38bdac]"}),"多群轮换(高级配置)"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置多个群链接,系统自动轮换分配,避免单群满员"})]}),s.jsxs(Ee,{className:"space-y-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsxs(te,{className:"text-gray-300 flex items-center gap-2",children:[s.jsx($g,{className:"w-4 h-4"}),"多个群链接(每行一个)"]}),s.jsx(Yl,{placeholder:"https://cli.im/group1\\nhttps://cli.im/group2",className:"bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 min-h-[120px] font-mono text-sm",value:t,onChange:y=>e(y.target.value)}),s.jsx("p",{className:"text-xs text-gray-500",children:"每行填写一个群链接,系统将按顺序或随机分配"})]}),s.jsxs("div",{className:"flex items-center justify-between p-3 bg-[#0a1628] rounded-lg border border-gray-700/50",children:[s.jsx("span",{className:"text-sm text-gray-400",children:"已配置群数量"}),s.jsxs("span",{className:"font-bold text-[#38bdac]",children:[t.split(` +`).filter(Boolean).length," 个"]})]}),s.jsxs(ne,{onClick:f,className:"w-full bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(xh,{className:"w-4 h-4 mr-2"}),"保存多群配置"]})]})]})]}),s.jsxs("div",{className:"mt-6 bg-[#0f2137] rounded-xl p-4 border border-gray-700/50",children:[s.jsx("h4",{className:"text-white font-medium mb-3",children:"常见问题"}),s.jsxs("div",{className:"space-y-3 text-sm",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-[#38bdac]",children:"Q: 为什么推荐使用草料活码?"}),s.jsx("p",{className:"text-gray-400",children:"A: 草料活码是永久链接,群满后可直接在后台更换新群码,无需修改网站配置。微信原生群码7天失效。"})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-[#38bdac]",children:"Q: 支付后没有跳转怎么办?"}),s.jsx("p",{className:"text-gray-400",children:"A: 1) 检查链接是否正确填写 2) 部分浏览器可能拦截弹窗,用户需手动允许 3) 建议使用https开头的链接"})]})]})]})]})}const Cw={matchTypes:[{id:"partner",label:"创业合伙",matchLabel:"创业伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10}},IV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function RV(){const[t,e]=b.useState(Cw),[n,r]=b.useState(!0),[a,i]=b.useState(!1),[o,c]=b.useState(!1),[u,h]=b.useState(null),[f,m]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),g=async()=>{r(!0);try{const E=await De("/api/db/config/full?key=match_config"),A=(E==null?void 0:E.data)??(E==null?void 0:E.config);A&&e({...Cw,...A})}catch(E){console.error("加载匹配配置失败:",E)}finally{r(!1)}};b.useEffect(()=>{g()},[]);const y=async()=>{i(!0);try{const E=await Nt("/api/db/config",{key:"match_config",value:t,description:"匹配功能配置"});E&&E.success!==!1?oe.success("配置保存成功!"):oe.error("保存失败: "+(E&&typeof E=="object"&&"error"in E?E.error:"未知错误"))}catch(E){console.error("保存配置失败:",E),oe.error("保存失败")}finally{i(!1)}},v=E=>{h(E),m({id:E.id,label:E.label,matchLabel:E.matchLabel,icon:E.icon,matchFromDB:E.matchFromDB,showJoinAfterMatch:E.showJoinAfterMatch,price:E.price,enabled:E.enabled}),c(!0)},w=()=>{h(null),m({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),c(!0)},N=()=>{if(!f.id||!f.label){oe.error("请填写类型ID和名称");return}const E=[...t.matchTypes];if(u){const A=E.findIndex(D=>D.id===u.id);A!==-1&&(E[A]={...f})}else{if(E.some(A=>A.id===f.id)){oe.error("类型ID已存在");return}E.push({...f})}e({...t,matchTypes:E}),c(!1)},k=E=>{confirm("确定要删除这个匹配类型吗?")&&e({...t,matchTypes:t.matchTypes.filter(A=>A.id!==E)})},C=E=>{e({...t,matchTypes:t.matchTypes.map(A=>A.id===E?{...A,enabled:!A.enabled}:A)})};return s.jsxs("div",{className:"p-8 w-full space-y-6",children:[s.jsxs("div",{className:"flex justify-between items-center",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(bo,{className:"w-6 h-6 text-[#38bdac]"}),"匹配功能配置"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"管理找伙伴功能的匹配类型和价格"})]}),s.jsxs("div",{className:"flex gap-3",children:[s.jsxs(ne,{variant:"outline",onClick:g,disabled:n,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]}),s.jsxs(ne,{onClick:y,disabled:a,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),a?"保存中...":"保存配置"]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(yi,{className:"w-5 h-5 text-yellow-400"}),"基础设置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),s.jsxs(Ee,{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.freeMatchLimit,onChange:E=>e({...t,freeMatchLimit:parseInt(E.target.value,10)||0})}),s.jsx("p",{className:"text-xs text-gray-500",children:"用户每天可免费匹配的次数"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),s.jsx(le,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:t.matchPrice,onChange:E=>e({...t,matchPrice:parseFloat(E.target.value)||1})}),s.jsx("p",{className:"text-xs text-gray-500",children:"免费次数用完后的单次匹配价格"})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),s.jsx(le,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:t.settings.maxMatchesPerDay,onChange:E=>e({...t,settings:{...t.settings,maxMatchesPerDay:parseInt(E.target.value,10)||10}})}),s.jsx("p",{className:"text-xs text-gray-500",children:"包含免费和付费的总次数"})]})]}),s.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:t.settings.enableFreeMatches,onCheckedChange:E=>e({...t,settings:{...t.settings,enableFreeMatches:E}})}),s.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:t.settings.enablePaidMatches,onCheckedChange:E=>e({...t,settings:{...t.settings,enablePaidMatches:E}})}),s.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between",children:[s.jsxs("div",{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"}),"匹配类型管理"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),s.jsxs(ne,{onClick:w,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-1"}),"添加类型"]})]}),s.jsx(Ee,{children:s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"图标"}),s.jsx(Te,{className:"text-gray-400",children:"类型ID"}),s.jsx(Te,{className:"text-gray-400",children:"显示名称"}),s.jsx(Te,{className:"text-gray-400",children:"匹配标签"}),s.jsx(Te,{className:"text-gray-400",children:"价格"}),s.jsx(Te,{className:"text-gray-400",children:"数据库匹配"}),s.jsx(Te,{className:"text-gray-400",children:"状态"}),s.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsx(gr,{children:t.matchTypes.map(E=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsx("span",{className:"text-2xl",children:E.icon})}),s.jsx(be,{className:"font-mono text-gray-300",children:E.id}),s.jsx(be,{className:"text-white font-medium",children:E.label}),s.jsx(be,{className:"text-gray-300",children:E.matchLabel}),s.jsx(be,{children:s.jsxs(Ke,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",E.price]})}),s.jsx(be,{children:E.matchFromDB?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):s.jsx(Ke,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),s.jsx(be,{children:s.jsx(Et,{checked:E.enabled,onCheckedChange:()=>C(E.id)})}),s.jsx(be,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-1",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>v(E),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>k(E.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:s.jsx(er,{className:"w-4 h-4"})})]})})]},E.id))})]})})]}),s.jsx(Ft,{open:o,onOpenChange:c,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[u?s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}):s.jsx(pn,{className:"w-5 h-5 text-[#38bdac]"}),u?"编辑匹配类型":"添加匹配类型"]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:f.id,onChange:E=>m({...f,id:E.target.value}),disabled:!!u})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"图标"}),s.jsx("div",{className:"flex gap-1 flex-wrap",children:IV.map(E=>s.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${f.icon===E?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>m({...f,icon:E}),children:E},E))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"显示名称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业合伙",value:f.label,onChange:E=>m({...f,label:E.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"匹配标签"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 创业伙伴",value:f.matchLabel,onChange:E=>m({...f,matchLabel:E.target.value})})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),s.jsx(le,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:f.price,onChange:E=>m({...f,price:parseFloat(E.target.value)||1})})]}),s.jsxs("div",{className:"flex gap-6 pt-2",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:f.matchFromDB,onCheckedChange:E=>m({...f,matchFromDB:E})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:f.showJoinAfterMatch,onCheckedChange:E=>m({...f,showJoinAfterMatch:E})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:f.enabled,onCheckedChange:E=>m({...f,enabled:E})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>c(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsxs(ne,{onClick:N,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),"保存"]})]})]})})]})}const Ew={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function PV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null);async function v(){m(!0),y(null);try{const N=new URLSearchParams({page:String(a),pageSize:String(o)});u&&N.set("matchType",u);const k=await De(`/api/db/match-records?${N}`);k!=null&&k.success?(e(k.records||[]),r(k.total??0)):y("加载匹配记录失败")}catch(N){console.error("加载匹配记录失败",N),y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{v()},[a,u]);const w=Math.ceil(n/o)||1;return s.jsxs("div",{className:"p-8 w-full",children:[g&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:g}),s.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsx("h2",{className:"text-2xl font-bold text-white",children:"匹配记录"}),s.jsxs("p",{className:"text-gray-400 mt-1",children:["找伙伴匹配统计,共 ",n," 条记录"]})]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsxs("select",{value:u,onChange:N=>{h(N.target.value),i(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[s.jsx("option",{value:"",children:"全部类型"}),Object.entries(Ew).map(([N,k])=>s.jsx("option",{value:N,children:k},N))]}),s.jsxs("button",{type:"button",onClick:v,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[s.jsx(Ue,{className:`w-4 h-4 ${f?"animate-spin":""}`}),"刷新"]})]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ee,{className:"p-0",children:f?s.jsxs("div",{className:"flex justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"发起人"}),s.jsx(Te,{className:"text-gray-400",children:"匹配到"}),s.jsx(Te,{className:"text-gray-400",children:"类型"}),s.jsx(Te,{className:"text-gray-400",children:"联系方式"}),s.jsx(Te,{className:"text-gray-400",children:"匹配时间"})]})}),s.jsxs(gr,{children:[t.map(N=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[N.userAvatar?s.jsx("img",{src:ts(N.userAvatar),alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const C=k.currentTarget.nextElementSibling;C&&C.classList.remove("hidden")}}):null,s.jsx("span",{className:N.userAvatar?"hidden":"",children:(N.userNickname||N.userId||"?").charAt(0)})]}),s.jsxs("div",{children:[s.jsx("div",{className:"text-white",children:N.userNickname||N.userId}),s.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[N.userId.slice(0,16),"..."]})]})]})}),s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[N.matchedUserAvatar?s.jsx("img",{src:ts(N.matchedUserAvatar),alt:"",className:"w-full h-full object-cover",onError:k=>{k.currentTarget.style.display="none";const C=k.currentTarget.nextElementSibling;C&&C.classList.remove("hidden")}}):null,s.jsx("span",{className:N.matchedUserAvatar?"hidden":"",children:(N.matchedNickname||N.matchedUserId||"?").charAt(0)})]}),s.jsxs("div",{children:[s.jsx("div",{className:"text-white",children:N.matchedNickname||N.matchedUserId}),s.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[N.matchedUserId.slice(0,16),"..."]})]})]})}),s.jsx(be,{children:s.jsx(Ke,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:Ew[N.matchType]||N.matchType})}),s.jsxs(be,{className:"text-gray-400 text-sm",children:[N.phone&&s.jsxs("div",{children:["📱 ",N.phone]}),N.wechatId&&s.jsxs("div",{children:["💬 ",N.wechatId]}),!N.phone&&!N.wechatId&&"-"]}),s.jsx(be,{className:"text-gray-400",children:N.createdAt?new Date(N.createdAt).toLocaleString():"-"})]},N.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),s.jsx(ws,{page:a,totalPages:w,total:n,pageSize:o,onPageChange:i,onPageSizeChange:N=>{c(N),i(1)}})]})})})]})}function OV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0);async function a(){r(!0);try{const i=await De("/api/db/vip-members?limit=100");if(i!=null&&i.success&&i.data){const o=[...i.data].map((c,u)=>({...c,vipSort:typeof c.vipSort=="number"?c.vipSort:u+1}));o.sort((c,u)=>(c.vipSort??999999)-(u.vipSort??999999)),e(o)}}catch(i){console.error("Load VIP members error:",i),oe.error("加载 VIP 成员失败")}finally{r(!1)}}return b.useEffect(()=>{a()},[]),s.jsxs("div",{className:"p-8 w-full",children:[s.jsx("div",{className:"flex justify-between items-center mb-8",children:s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Al,{className:"w-5 h-5 text-amber-400"}),"用户管理 / 超级个体列表"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"这里展示所有有效超级个体用户,仅用于查看其基本信息与排序值。"})]})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-0",children:n?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400 w-20",children:"序号"}),s.jsx(Te,{className:"text-gray-400",children:"成员"}),s.jsx(Te,{className:"text-gray-400 w-40",children:"超级个体"}),s.jsx(Te,{className:"text-gray-400 w-28",children:"排序值"})]})}),s.jsxs(gr,{children:[t.map((i,o)=>{var c;return s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:o+1}),s.jsx(be,{children:s.jsxs("div",{className:"flex items-center gap-3",children:[i.avatar?s.jsx("img",{src:ts(i.avatar),className:"w-8 h-8 rounded-full object-cover border border-amber-400/60"}):s.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-500/20 border border-amber-400/60 flex items-center justify-center text-amber-300 text-sm",children:((c=i.name)==null?void 0:c[0])||"创"}),s.jsx("div",{className:"min-w-0",children:s.jsx("div",{className:"text-white text-sm truncate",children:i.name})})]})}),s.jsx(be,{className:"text-gray-300",children:i.vipRole||s.jsx("span",{className:"text-gray-500",children:"(未设置超级个体)"})}),s.jsx(be,{className:"text-gray-300",children:i.vipSort??o+1})]},i.id)}),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:5,className:"text-center py-12 text-gray-500",children:"当前没有有效的超级个体用户。"})})]})]})})})]})}function H4(t){const[e,n]=b.useState([]),[r,a]=b.useState(!0),[i,o]=b.useState(!1),[c,u]=b.useState(null),[h,f]=b.useState({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:0,enabled:!0}),[m,g]=b.useState(!1),[y,v]=b.useState(!1),w=b.useRef(null),N=async P=>{var $;const L=($=P.target.files)==null?void 0:$[0];if(L){v(!0);try{const ee=new FormData;ee.append("file",L),ee.append("folder","mentors");const K=kd(),ue={};K&&(ue.Authorization=`Bearer ${K}`);const R=await(await fetch(ja("/api/upload"),{method:"POST",body:ee,credentials:"include",headers:ue})).json();R!=null&&R.success&&(R!=null&&R.url)?f(O=>({...O,avatar:R.url})):oe.error("上传失败: "+((R==null?void 0:R.error)||"未知错误"))}catch(ee){console.error(ee),oe.error("上传失败")}finally{v(!1),w.current&&(w.current.value="")}}};async function k(){a(!0);try{const P=await De("/api/db/mentors");P!=null&&P.success&&P.data&&n(P.data)}catch(P){console.error("Load mentors error:",P)}finally{a(!1)}}b.useEffect(()=>{k()},[]);const C=()=>{f({name:"",avatar:"",intro:"",tags:"",priceSingle:"",priceHalfYear:"",priceYear:"",quote:"",whyFind:"",offering:"",judgmentStyle:"",sort:e.length>0?Math.max(...e.map(P=>P.sort))+1:0,enabled:!0})},E=()=>{u(null),C(),o(!0)},A=P=>{u(P),f({name:P.name,avatar:P.avatar||"",intro:P.intro||"",tags:P.tags||"",priceSingle:P.priceSingle!=null?String(P.priceSingle):"",priceHalfYear:P.priceHalfYear!=null?String(P.priceHalfYear):"",priceYear:P.priceYear!=null?String(P.priceYear):"",quote:P.quote||"",whyFind:P.whyFind||"",offering:P.offering||"",judgmentStyle:P.judgmentStyle||"",sort:P.sort,enabled:P.enabled??!0}),o(!0)},D=async()=>{if(!h.name.trim()){oe.error("导师姓名不能为空");return}g(!0);try{const P=$=>$===""?void 0:parseFloat($),L={name:h.name.trim(),avatar:h.avatar.trim()||void 0,intro:h.intro.trim()||void 0,tags:h.tags.trim()||void 0,priceSingle:P(h.priceSingle),priceHalfYear:P(h.priceHalfYear),priceYear:P(h.priceYear),quote:h.quote.trim()||void 0,whyFind:h.whyFind.trim()||void 0,offering:h.offering.trim()||void 0,judgmentStyle:h.judgmentStyle.trim()||void 0,sort:h.sort,enabled:h.enabled};if(c){const $=await Tt("/api/db/mentors",{id:c.id,...L});$!=null&&$.success?(o(!1),k()):oe.error("更新失败: "+($==null?void 0:$.error))}else{const $=await Nt("/api/db/mentors",L);$!=null&&$.success?(o(!1),k()):oe.error("新增失败: "+($==null?void 0:$.error))}}catch(P){console.error("Save error:",P),oe.error("保存失败")}finally{g(!1)}},H=async P=>{if(confirm("确定删除该导师?"))try{const L=await wa(`/api/db/mentors?id=${P}`);L!=null&&L.success?k():oe.error("删除失败: "+(L==null?void 0:L.error))}catch(L){console.error("Delete error:",L),oe.error("删除失败")}},_=P=>P!=null?`¥${P}`:"-";return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"}),"导师管理"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师列表,支持每个导师独立配置单次/半年/年度价格"})]}),s.jsxs(ne,{onClick:E,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-2"}),"新增导师"]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-0",children:r?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"ID"}),s.jsx(Te,{className:"text-gray-400",children:"姓名"}),s.jsx(Te,{className:"text-gray-400",children:"简介"}),s.jsx(Te,{className:"text-gray-400",children:"单次"}),s.jsx(Te,{className:"text-gray-400",children:"半年"}),s.jsx(Te,{className:"text-gray-400",children:"年度"}),s.jsx(Te,{className:"text-gray-400",children:"排序"}),s.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsxs(gr,{children:[e.map(P=>s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:P.id}),s.jsx(be,{className:"text-white",children:P.name}),s.jsx(be,{className:"text-gray-400 max-w-[200px] truncate",children:P.intro||"-"}),s.jsx(be,{className:"text-gray-400",children:_(P.priceSingle)}),s.jsx(be,{className:"text-gray-400",children:_(P.priceHalfYear)}),s.jsx(be,{className:"text-gray-400",children:_(P.priceYear)}),s.jsx(be,{className:"text-gray-400",children:P.sort}),s.jsxs(be,{className:"text-right",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>A(P),className:"text-gray-400 hover:text-[#38bdac]",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>H(P.id),className:"text-gray-400 hover:text-red-400",children:s.jsx(er,{className:"w-4 h-4"})})]})]},P.id)),e.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:8,className:"text-center py-12 text-gray-500",children:"暂无导师,点击「新增导师」添加"})})]})]})})}),s.jsx(Ft,{open:i,onOpenChange:o,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg max-h-[90vh] overflow-y-auto",children:[s.jsx(Bt,{children:s.jsx(Vt,{className:"text-white",children:c?"编辑导师":"新增导师"})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"姓名 *"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:卡若",value:h.name,onChange:P=>f(L=>({...L,name:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"排序"}),s.jsx(le,{type:"number",className:"bg-[#0a1628] border-gray-700 text-white",value:h.sort,onChange:P=>f(L=>({...L,sort:parseInt(P.target.value,10)||0}))})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"头像"}),s.jsxs("div",{className:"flex gap-3 items-center",children:[s.jsx(le,{className:"flex-1 bg-[#0a1628] border-gray-700 text-white",value:h.avatar,onChange:P=>f(L=>({...L,avatar:P.target.value})),placeholder:"点击上传或粘贴图片地址"}),s.jsx("input",{ref:w,type:"file",accept:"image/*",className:"hidden",onChange:N}),s.jsxs(ne,{type:"button",variant:"outline",size:"sm",className:"border-gray-600 text-gray-400 shrink-0",disabled:y,onClick:()=>{var P;return(P=w.current)==null?void 0:P.click()},children:[s.jsx(xh,{className:"w-4 h-4 mr-2"}),y?"上传中...":"上传"]})]}),h.avatar&&s.jsx("div",{className:"mt-2",children:s.jsx("img",{src:ts(h.avatar.startsWith("http")?h.avatar:ja(h.avatar)),alt:"头像预览",className:"w-20 h-20 rounded-full object-cover border border-gray-600"})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"简介"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:结构判断型咨询 · Decision > Execution",value:h.intro,onChange:P=>f(L=>({...L,intro:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"技能标签(逗号分隔)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:项目结构判断、风险止损、人×项目匹配",value:h.tags,onChange:P=>f(L=>({...L,tags:P.target.value}))})]}),s.jsxs("div",{className:"border-t border-gray-700 pt-4",children:[s.jsx(te,{className:"text-gray-300 block mb-2",children:"价格配置(每个导师独立)"}),s.jsxs("div",{className:"grid grid-cols-3 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"单次咨询 ¥"}),s.jsx(le,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"980",value:h.priceSingle,onChange:P=>f(L=>({...L,priceSingle:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"半年咨询 ¥"}),s.jsx(le,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"19800",value:h.priceHalfYear,onChange:P=>f(L=>({...L,priceHalfYear:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"年度咨询 ¥"}),s.jsx(le,{type:"number",step:"0.01",className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"29800",value:h.priceYear,onChange:P=>f(L=>({...L,priceYear:P.target.value}))})]})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"引言"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:大多数人失败,不是因为不努力...",value:h.quote,onChange:P=>f(L=>({...L,quote:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"为什么找(文本)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.whyFind,onChange:P=>f(L=>({...L,whyFind:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"提供什么(文本)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"",value:h.offering,onChange:P=>f(L=>({...L,offering:P.target.value}))})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"判断风格(逗号分隔)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如:冷静、克制、偏风险视角",value:h.judgmentStyle,onChange:P=>f(L=>({...L,judgmentStyle:P.target.value}))})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("input",{type:"checkbox",id:"enabled",checked:h.enabled,onChange:P=>f(L=>({...L,enabled:P.target.checked})),className:"rounded border-gray-600 bg-[#0a1628]"}),s.jsx(te,{htmlFor:"enabled",className:"text-gray-300 cursor-pointer",children:"上架(小程序可见)"})]})]}),s.jsxs(ln,{children:[s.jsxs(ne,{variant:"outline",onClick:()=>o(!1),className:"border-gray-600 text-gray-300",children:[s.jsx(nr,{className:"w-4 h-4 mr-2"}),"取消"]}),s.jsxs(ne,{onClick:D,disabled:m,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"}),m?"保存中...":"保存"]})]})]})})]})}function DV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[a,i]=b.useState("");async function o(){r(!0);try{const h=a?`/api/db/mentor-consultations?status=${a}`:"/api/db/mentor-consultations",f=await De(h);f!=null&&f.success&&f.data&&e(f.data)}catch(h){console.error("Load consultations error:",h)}finally{r(!1)}}b.useEffect(()=>{o()},[a]);const c={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},u={single:"单次",half_year:"半年",year:"年度"};return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex justify-between items-center mb-8",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(mh,{className:"w-5 h-5 text-[#38bdac]"}),"导师预约列表"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"stitch_soul 导师咨询预约记录"})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("select",{value:a,onChange:h=>i(h.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[s.jsx("option",{value:"",children:"全部状态"}),Object.entries(c).map(([h,f])=>s.jsx("option",{value:h,children:f},h))]}),s.jsxs(ne,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`}),"刷新"]})]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-0",children:n?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"ID"}),s.jsx(Te,{className:"text-gray-400",children:"用户ID"}),s.jsx(Te,{className:"text-gray-400",children:"导师ID"}),s.jsx(Te,{className:"text-gray-400",children:"类型"}),s.jsx(Te,{className:"text-gray-400",children:"金额"}),s.jsx(Te,{className:"text-gray-400",children:"状态"}),s.jsx(Te,{className:"text-gray-400",children:"创建时间"})]})}),s.jsxs(gr,{children:[t.map(h=>s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:h.id}),s.jsx(be,{className:"text-gray-400",children:h.userId}),s.jsx(be,{className:"text-gray-400",children:h.mentorId}),s.jsx(be,{className:"text-gray-400",children:u[h.consultationType]||h.consultationType}),s.jsxs(be,{className:"text-white",children:["¥",h.amount]}),s.jsx(be,{className:"text-gray-400",children:c[h.status]||h.status}),s.jsx(be,{className:"text-gray-500 text-sm",children:h.createdAt})]},h.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}const Kc={poolSource:["vip"],requirePhone:!0,requireNickname:!0,requireAvatar:!1,requireBusiness:!1},Tw={matchTypes:[{id:"partner",label:"找伙伴",matchLabel:"找伙伴",icon:"⭐",matchFromDB:!0,showJoinAfterMatch:!1,price:1,enabled:!0},{id:"investor",label:"资源对接",matchLabel:"资源对接",icon:"👥",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"mentor",label:"导师顾问",matchLabel:"导师顾问",icon:"❤️",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0},{id:"team",label:"团队招募",matchLabel:"加入项目",icon:"🎮",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}],freeMatchLimit:3,matchPrice:1,settings:{enableFreeMatches:!0,enablePaidMatches:!0,maxMatchesPerDay:10},poolSettings:Kc},LV=["⭐","👥","❤️","🎮","💼","🚀","💡","🎯","🔥","✨"];function _V(){const t=Di(),[e,n]=b.useState(Tw),[r,a]=b.useState(!0),[i,o]=b.useState(!1),[c,u]=b.useState(!1),[h,f]=b.useState(null),[m,g]=b.useState({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),[y,v]=b.useState(null),[w,N]=b.useState(!1),k=async()=>{N(!0);try{const L=await De("/api/db/match-pool-counts");L!=null&&L.success&&L.data&&v(L.data)}catch(L){console.error("加载池子人数失败:",L)}finally{N(!1)}},C=async()=>{a(!0);try{const L=await De("/api/db/config/full?key=match_config"),$=(L==null?void 0:L.data)??(L==null?void 0:L.config);if($){let ee=$.poolSettings??Kc;ee.poolSource&&!Array.isArray(ee.poolSource)&&(ee={...ee,poolSource:[ee.poolSource]}),n({...Tw,...$,poolSettings:ee})}}catch(L){console.error("加载匹配配置失败:",L)}finally{a(!1)}};b.useEffect(()=>{C(),k()},[]);const E=async()=>{o(!0);try{const L=await Nt("/api/db/config",{key:"match_config",value:e,description:"匹配功能配置"});oe.error((L==null?void 0:L.success)!==!1?"配置保存成功!":"保存失败: "+((L==null?void 0:L.error)||"未知错误"))}catch(L){console.error(L),oe.error("保存失败")}finally{o(!1)}},A=L=>{f(L),g({...L}),u(!0)},D=()=>{f(null),g({id:"",label:"",matchLabel:"",icon:"⭐",matchFromDB:!1,showJoinAfterMatch:!0,price:1,enabled:!0}),u(!0)},H=()=>{if(!m.id||!m.label){oe.error("请填写类型ID和名称");return}const L=[...e.matchTypes];if(h){const $=L.findIndex(ee=>ee.id===h.id);$!==-1&&(L[$]={...m})}else{if(L.some($=>$.id===m.id)){oe.error("类型ID已存在");return}L.push({...m})}n({...e,matchTypes:L}),u(!1)},_=L=>{confirm("确定要删除这个匹配类型吗?")&&n({...e,matchTypes:e.matchTypes.filter($=>$.id!==L)})},P=L=>{n({...e,matchTypes:e.matchTypes.map($=>$.id===L?{...$,enabled:!$.enabled}:$)})};return s.jsxs("div",{className:"space-y-6",children:[s.jsxs("div",{className:"flex justify-end gap-3",children:[s.jsxs(ne,{variant:"outline",onClick:C,disabled:r,className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${r?"animate-spin":""}`})," 刷新"]}),s.jsxs(ne,{onClick:E,disabled:i,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"})," ",i?"保存中...":"保存配置"]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Zw,{className:"w-5 h-5 text-blue-400"})," 匹配池选择"]}),s.jsx(Ht,{className:"text-gray-400",children:"选择匹配的用户池和完善程度要求,只有满足条件的用户才可被匹配到"})]}),s.jsxs(Ee,{className:"space-y-6",children:[s.jsxs("div",{className:"space-y-3",children:[s.jsx(te,{className:"text-gray-300",children:"匹配来源池"}),s.jsx("p",{className:"text-gray-500 text-xs",children:"可同时勾选多个池子(取并集匹配)"}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-3",children:[{value:"vip",label:"超级个体(VIP会员)",desc:"付费 ¥1980 的VIP会员",icon:"👑",countKey:"vip"},{value:"complete",label:"完善资料用户",desc:"符合下方完善度要求的用户",icon:"✅",countKey:"complete"},{value:"all",label:"全部用户",desc:"所有已注册用户",icon:"👥",countKey:"all"}].map(L=>{const $=e.poolSettings??Kc,K=(Array.isArray($.poolSource)?$.poolSource:[$.poolSource]).includes(L.value),ue=y==null?void 0:y[L.countKey],me=()=>{const R=Array.isArray($.poolSource)?[...$.poolSource]:[$.poolSource],O=K?R.filter(F=>F!==L.value):[...R,L.value];O.length===0&&O.push(L.value),n({...e,poolSettings:{...$,poolSource:O}})};return s.jsxs("button",{type:"button",onClick:me,className:`p-4 rounded-lg border text-left transition-all ${K?"border-[#38bdac] bg-[#38bdac]/10":"border-gray-700 bg-[#0a1628] hover:border-gray-600"}`,children:[s.jsxs("div",{className:"flex items-center justify-between",children:[s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("div",{className:`w-5 h-5 rounded border-2 flex items-center justify-center text-xs ${K?"border-[#38bdac] bg-[#38bdac] text-white":"border-gray-600"}`,children:K&&"✓"}),s.jsx("span",{className:"text-xl",children:L.icon}),s.jsx("span",{className:`text-sm font-medium ${K?"text-[#38bdac]":"text-gray-300"}`,children:L.label})]}),s.jsxs("span",{className:"text-lg font-bold text-white",children:[w?"...":ue??"-",s.jsx("span",{className:"text-xs text-gray-500 font-normal ml-1",children:"人"})]})]}),s.jsx("p",{className:"text-gray-500 text-xs mt-2",children:L.desc}),s.jsx("span",{role:"link",tabIndex:0,onClick:R=>{R.stopPropagation(),t(`/users?pool=${L.value}`)},onKeyDown:R=>{R.key==="Enter"&&(R.stopPropagation(),t(`/users?pool=${L.value}`))},className:"text-[#38bdac] text-xs mt-2 inline-block hover:underline cursor-pointer",children:"查看用户列表 →"})]},L.value)})})]}),s.jsxs("div",{className:"space-y-3 pt-4 border-t border-gray-700/50",children:[s.jsx(te,{className:"text-gray-300",children:"用户资料完善要求(被匹配用户必须满足以下条件)"}),s.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[{key:"requirePhone",label:"有手机号",icon:"📱"},{key:"requireNickname",label:"有昵称",icon:"👤"},{key:"requireAvatar",label:"有头像",icon:"🖼️"},{key:"requireBusiness",label:"有业务需求",icon:"💼"}].map(L=>{const ee=(e.poolSettings??Kc)[L.key];return s.jsxs("div",{className:"flex items-center gap-3 bg-[#0a1628] rounded-lg p-3",children:[s.jsx(Et,{checked:ee,onCheckedChange:K=>n({...e,poolSettings:{...e.poolSettings??Kc,[L.key]:K}})}),s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx("span",{children:L.icon}),s.jsx(te,{className:"text-gray-300 text-sm",children:L.label})]})]},L.key)})})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(yi,{className:"w-5 h-5 text-yellow-400"})," 基础设置"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置免费匹配次数和付费规则"})]}),s.jsxs(Ee,{className:"space-y-6",children:[s.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"每日免费匹配次数"}),s.jsx(le,{type:"number",min:0,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.freeMatchLimit,onChange:L=>n({...e,freeMatchLimit:parseInt(L.target.value,10)||0})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"付费匹配价格(元)"}),s.jsx(le,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:e.matchPrice,onChange:L=>n({...e,matchPrice:parseFloat(L.target.value)||1})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"每日最大匹配次数"}),s.jsx(le,{type:"number",min:1,max:100,className:"bg-[#0a1628] border-gray-700 text-white",value:e.settings.maxMatchesPerDay,onChange:L=>n({...e,settings:{...e.settings,maxMatchesPerDay:parseInt(L.target.value,10)||10}})})]})]}),s.jsxs("div",{className:"flex gap-8 pt-4 border-t border-gray-700/50",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:e.settings.enableFreeMatches,onCheckedChange:L=>n({...e,settings:{...e.settings,enableFreeMatches:L}})}),s.jsx(te,{className:"text-gray-300",children:"启用免费匹配"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:e.settings.enablePaidMatches,onCheckedChange:L=>n({...e,settings:{...e.settings,enablePaidMatches:L}})}),s.jsx(te,{className:"text-gray-300",children:"启用付费匹配"})]})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:[s.jsxs(qe,{className:"flex flex-row items-center justify-between",children:[s.jsxs("div",{children:[s.jsxs(Ge,{className:"text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"})," 匹配类型管理"]}),s.jsx(Ht,{className:"text-gray-400",children:"配置不同的匹配类型及其价格"})]}),s.jsxs(ne,{onClick:D,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(pn,{className:"w-4 h-4 mr-1"})," 添加类型"]})]}),s.jsx(Ee,{children:s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"图标"}),s.jsx(Te,{className:"text-gray-400",children:"类型ID"}),s.jsx(Te,{className:"text-gray-400",children:"显示名称"}),s.jsx(Te,{className:"text-gray-400",children:"匹配标签"}),s.jsx(Te,{className:"text-gray-400",children:"价格"}),s.jsx(Te,{className:"text-gray-400",children:"数据库匹配"}),s.jsx(Te,{className:"text-gray-400",children:"状态"}),s.jsx(Te,{className:"text-right text-gray-400",children:"操作"})]})}),s.jsx(gr,{children:e.matchTypes.map(L=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsx("span",{className:"text-2xl",children:L.icon})}),s.jsx(be,{className:"font-mono text-gray-300",children:L.id}),s.jsx(be,{className:"text-white font-medium",children:L.label}),s.jsx(be,{className:"text-gray-300",children:L.matchLabel}),s.jsx(be,{children:s.jsxs(Ke,{className:"bg-yellow-500/20 text-yellow-400 hover:bg-yellow-500/20 border-0",children:["¥",L.price]})}),s.jsx(be,{children:L.matchFromDB?s.jsx(Ke,{className:"bg-green-500/20 text-green-400 hover:bg-green-500/20 border-0",children:"是"}):s.jsx(Ke,{variant:"outline",className:"text-gray-500 border-gray-600",children:"否"})}),s.jsx(be,{children:s.jsx(Et,{checked:L.enabled,onCheckedChange:()=>P(L.id)})}),s.jsx(be,{className:"text-right",children:s.jsxs("div",{className:"flex items-center justify-end gap-1",children:[s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>A(L),className:"text-gray-400 hover:text-[#38bdac] hover:bg-[#38bdac]/10",children:s.jsx($t,{className:"w-4 h-4"})}),s.jsx(ne,{variant:"ghost",size:"sm",onClick:()=>_(L.id),className:"text-red-400 hover:text-red-300 hover:bg-red-500/10",children:s.jsx(er,{className:"w-4 h-4"})})]})})]},L.id))})]})})]}),s.jsx(Ft,{open:c,onOpenChange:u,children:s.jsxs(Rt,{className:"bg-[#0f2137] border-gray-700 text-white max-w-lg",showCloseButton:!0,children:[s.jsx(Bt,{children:s.jsxs(Vt,{className:"text-white flex items-center gap-2",children:[h?s.jsx($t,{className:"w-5 h-5 text-[#38bdac]"}):s.jsx(pn,{className:"w-5 h-5 text-[#38bdac]"}),h?"编辑匹配类型":"添加匹配类型"]})}),s.jsxs("div",{className:"space-y-4 py-4",children:[s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"类型ID(英文)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: partner",value:m.id,onChange:L=>g({...m,id:L.target.value}),disabled:!!h})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"图标"}),s.jsx("div",{className:"flex gap-1 flex-wrap",children:LV.map(L=>s.jsx("button",{type:"button",className:`w-8 h-8 text-lg rounded ${m.icon===L?"bg-[#38bdac]/30 ring-1 ring-[#38bdac]":"bg-[#0a1628]"}`,onClick:()=>g({...m,icon:L}),children:L},L))})]})]}),s.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"显示名称"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.label,onChange:L=>g({...m,label:L.target.value})})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"匹配标签"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white",placeholder:"如: 超级个体",value:m.matchLabel,onChange:L=>g({...m,matchLabel:L.target.value})})]})]}),s.jsxs("div",{className:"space-y-2",children:[s.jsx(te,{className:"text-gray-300",children:"单次匹配价格(元)"}),s.jsx(le,{type:"number",min:.01,step:.01,className:"bg-[#0a1628] border-gray-700 text-white",value:m.price,onChange:L=>g({...m,price:parseFloat(L.target.value)||1})})]}),s.jsxs("div",{className:"flex gap-6 pt-2",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:m.matchFromDB,onCheckedChange:L=>g({...m,matchFromDB:L})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"从数据库匹配"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:m.showJoinAfterMatch,onCheckedChange:L=>g({...m,showJoinAfterMatch:L})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"匹配后显示加入"})]}),s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx(Et,{checked:m.enabled,onCheckedChange:L=>g({...m,enabled:L})}),s.jsx(te,{className:"text-gray-300 text-sm",children:"启用"})]})]})]}),s.jsxs(ln,{children:[s.jsx(ne,{variant:"outline",onClick:()=>u(!1),className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:"取消"}),s.jsxs(ne,{onClick:H,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-4 h-4 mr-2"})," 保存"]})]})]})})]})}const Mw={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function zV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(""),[f,m]=b.useState(!0),[g,y]=b.useState(null),[v,w]=b.useState(null);async function N(){m(!0),y(null);try{const E=new URLSearchParams({page:String(a),pageSize:String(o)});u&&E.set("matchType",u);const A=await De(`/api/db/match-records?${E}`);A!=null&&A.success?(e(A.records||[]),r(A.total??0)):y("加载匹配记录失败")}catch{y("加载失败,请检查网络后重试")}finally{m(!1)}}b.useEffect(()=>{N()},[a,u]);const k=Math.ceil(n/o)||1,C=({userId:E,nickname:A,avatar:D})=>s.jsxs("div",{className:"flex items-center gap-3 cursor-pointer group",onClick:()=>w(E),children:[s.jsxs("div",{className:"w-9 h-9 rounded-full bg-[#38bdac]/20 flex items-center justify-center text-sm font-medium text-[#38bdac] flex-shrink-0 overflow-hidden",children:[D?s.jsx("img",{src:ts(D),alt:"",className:"w-full h-full object-cover",onError:H=>{H.currentTarget.style.display="none"}}):null,s.jsx("span",{className:D?"hidden":"",children:(A||E||"?").charAt(0)})]}),s.jsxs("div",{children:[s.jsx("div",{className:"text-white group-hover:text-[#38bdac] transition-colors",children:A||E}),s.jsxs("div",{className:"text-xs text-gray-500 font-mono",children:[E==null?void 0:E.slice(0,16),(E==null?void 0:E.length)>16?"...":""]})]})]});return s.jsxs("div",{children:[g&&s.jsxs("div",{className:"mb-4 px-4 py-3 rounded-lg bg-red-500/20 border border-red-500/50 text-red-400 text-sm flex items-center justify-between",children:[s.jsx("span",{children:g}),s.jsx("button",{type:"button",onClick:()=>y(null),className:"hover:text-red-300",children:"×"})]}),s.jsxs("div",{className:"flex justify-between items-center mb-4",children:[s.jsxs("p",{className:"text-gray-400",children:["共 ",n," 条匹配记录 · 点击用户名查看详情"]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsxs("select",{value:u,onChange:E=>{h(E.target.value),i(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:[s.jsx("option",{value:"",children:"全部类型"}),Object.entries(Mw).map(([E,A])=>s.jsx("option",{value:E,children:A},E))]}),s.jsxs("button",{type:"button",onClick:N,disabled:f,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[s.jsx(Ue,{className:`w-4 h-4 ${f?"animate-spin":""}`})," 刷新"]})]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ee,{className:"p-0",children:f?s.jsxs("div",{className:"flex justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"发起人"}),s.jsx(Te,{className:"text-gray-400",children:"匹配到"}),s.jsx(Te,{className:"text-gray-400",children:"类型"}),s.jsx(Te,{className:"text-gray-400",children:"联系方式"}),s.jsx(Te,{className:"text-gray-400",children:"匹配时间"})]})}),s.jsxs(gr,{children:[t.map(E=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{children:s.jsx(C,{userId:E.userId,nickname:E.userNickname,avatar:E.userAvatar})}),s.jsx(be,{children:E.matchedUserId?s.jsx(C,{userId:E.matchedUserId,nickname:E.matchedNickname,avatar:E.matchedUserAvatar}):s.jsx("span",{className:"text-gray-500",children:"—"})}),s.jsx(be,{children:s.jsx(Ke,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:Mw[E.matchType]||E.matchType})}),s.jsxs(be,{className:"text-sm",children:[E.phone&&s.jsxs("div",{className:"text-green-400",children:["📱 ",E.phone]}),E.wechatId&&s.jsxs("div",{className:"text-blue-400",children:["💬 ",E.wechatId]}),!E.phone&&!E.wechatId&&s.jsx("span",{className:"text-gray-600",children:"-"})]}),s.jsx(be,{className:"text-gray-400",children:E.createdAt?new Date(E.createdAt).toLocaleString():"-"})]},E.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:5,className:"text-center py-12 text-gray-500",children:"暂无匹配记录"})})]})]}),s.jsx(ws,{page:a,totalPages:k,total:n,pageSize:o,onPageChange:i,onPageSizeChange:E=>{c(E),i(1)}})]})})}),s.jsx(l0,{open:!!v,onClose:()=>w(null),userId:v,onUserUpdated:N})]})}function $V(){const[t,e]=b.useState("records");return s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{type:"button",onClick:()=>e("records"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="records"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配记录"}),s.jsx("button",{type:"button",onClick:()=>e("pool"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="pool"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"匹配池设置"})]}),t==="records"&&s.jsx(zV,{}),t==="pool"&&s.jsx(_V,{})]})}const Aw={investor:"资源对接",mentor:"导师顾问",team:"团队招募"};function FV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0),[f,m]=b.useState("investor"),[g,y]=b.useState(null);async function v(){h(!0);try{const C=new URLSearchParams({page:String(a),pageSize:String(o),matchType:f}),E=await De(`/api/db/match-records?${C}`);E!=null&&E.success&&(e(E.records||[]),r(E.total??0))}catch(C){console.error(C)}finally{h(!1)}}b.useEffect(()=>{v()},[a,f]);const w=async C=>{if(!C.phone&&!C.wechatId){oe.info("该记录无联系方式,无法推送到存客宝");return}y(C.id);try{const E=await Nt("/api/ckb/join",{type:C.matchType||"investor",phone:C.phone||"",wechat:C.wechatId||"",userId:C.userId,name:C.userNickname||""});oe.error((E==null?void 0:E.message)||(E!=null&&E.success?"推送成功":"推送失败"))}catch(E){oe.error("推送失败: "+(E instanceof Error?E.message:"网络错误"))}finally{y(null)}},N=Math.ceil(n/o)||1,k=C=>!!(C.phone||C.wechatId);return s.jsxs("div",{children:[s.jsxs("div",{className:"flex justify-between items-center mb-4",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400",children:"点击获客:有人填写手机号/微信号的直接显示,可一键推送到存客宝"}),s.jsxs("p",{className:"text-gray-500 text-xs mt-1",children:["共 ",n," 条记录 — 有联系方式的可触发存客宝添加好友"]})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("select",{value:f,onChange:C=>{m(C.target.value),i(1)},className:"bg-[#0f2137] border border-gray-700 text-white rounded-lg px-3 py-2 text-sm",children:Object.entries(Aw).map(([C,E])=>s.jsx("option",{value:C,children:E},C))}),s.jsxs(ne,{onClick:v,disabled:u,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${u?"animate-spin":""}`})," 刷新"]})]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ee,{className:"p-0",children:u?s.jsxs("div",{className:"flex justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"发起人"}),s.jsx(Te,{className:"text-gray-400",children:"匹配到"}),s.jsx(Te,{className:"text-gray-400",children:"类型"}),s.jsx(Te,{className:"text-gray-400",children:"联系方式"}),s.jsx(Te,{className:"text-gray-400",children:"时间"}),s.jsx(Te,{className:"text-gray-400 text-right",children:"操作"})]})}),s.jsxs(gr,{children:[t.map(C=>{var E,A;return s.jsxs(lt,{className:`border-gray-700/50 ${k(C)?"hover:bg-[#0a1628]":"opacity-60"}`,children:[s.jsx(be,{className:"text-white",children:C.userNickname||((E=C.userId)==null?void 0:E.slice(0,12))}),s.jsx(be,{className:"text-white",children:C.matchedNickname||((A=C.matchedUserId)==null?void 0:A.slice(0,12))}),s.jsx(be,{children:s.jsx(Ke,{className:"bg-[#38bdac]/20 text-[#38bdac] border-0",children:Aw[C.matchType]||C.matchType})}),s.jsxs(be,{className:"text-sm",children:[C.phone&&s.jsxs("div",{className:"text-green-400",children:["📱 ",C.phone]}),C.wechatId&&s.jsxs("div",{className:"text-blue-400",children:["💬 ",C.wechatId]}),!C.phone&&!C.wechatId&&s.jsx("span",{className:"text-gray-600",children:"无联系方式"})]}),s.jsx(be,{className:"text-gray-400 text-sm",children:C.createdAt?new Date(C.createdAt).toLocaleString():"-"}),s.jsx(be,{className:"text-right",children:k(C)?s.jsxs(ne,{size:"sm",onClick:()=>w(C),disabled:g===C.id,className:"bg-[#38bdac] hover:bg-[#2da396] text-white text-xs h-7 px-3",children:[s.jsx(OA,{className:"w-3 h-3 mr-1"}),g===C.id?"推送中...":"推送CKB"]}):s.jsx("span",{className:"text-gray-600 text-xs",children:"—"})})]},C.id)}),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:6,className:"text-center py-12 text-gray-500",children:"暂无记录"})})]})]}),s.jsx(ws,{page:a,totalPages:N,total:n,pageSize:o,onPageChange:i,onPageSizeChange:C=>{c(C),i(1)}})]})})})]})}const Iw={created:"已创建",pending_pay:"待支付",paid:"已支付",completed:"已完成",cancelled:"已取消"},BV={single:"单次",half_year:"半年",year:"年度"};function VV(){const[t,e]=b.useState([]),[n,r]=b.useState(!0),[a,i]=b.useState("");async function o(){r(!0);try{const c=a?`/api/db/mentor-consultations?status=${a}`:"/api/db/mentor-consultations",u=await De(c);u!=null&&u.success&&u.data&&e(u.data)}catch(c){console.error(c)}finally{r(!1)}}return b.useEffect(()=>{o()},[a]),s.jsxs("div",{children:[s.jsxs("div",{className:"flex justify-between items-center mb-4",children:[s.jsx("p",{className:"text-gray-400",children:"导师咨询预约记录"}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs("select",{value:a,onChange:c=>i(c.target.value),className:"bg-[#0f2137] border border-gray-700 rounded-lg px-3 py-2 text-gray-300 text-sm",children:[s.jsx("option",{value:"",children:"全部状态"}),Object.entries(Iw).map(([c,u])=>s.jsx("option",{value:c,children:u},c))]}),s.jsxs(ne,{onClick:o,disabled:n,variant:"outline",className:"border-gray-600 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-4 h-4 mr-2 ${n?"animate-spin":""}`})," 刷新"]})]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50",children:s.jsx(Ee,{className:"p-0",children:n?s.jsx("div",{className:"py-12 text-center text-gray-400",children:"加载中..."}):s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"ID"}),s.jsx(Te,{className:"text-gray-400",children:"用户ID"}),s.jsx(Te,{className:"text-gray-400",children:"导师ID"}),s.jsx(Te,{className:"text-gray-400",children:"类型"}),s.jsx(Te,{className:"text-gray-400",children:"金额"}),s.jsx(Te,{className:"text-gray-400",children:"状态"}),s.jsx(Te,{className:"text-gray-400",children:"创建时间"})]})}),s.jsxs(gr,{children:[t.map(c=>s.jsxs(lt,{className:"border-gray-700/50",children:[s.jsx(be,{className:"text-gray-300",children:c.id}),s.jsx(be,{className:"text-gray-400",children:c.userId}),s.jsx(be,{className:"text-gray-400",children:c.mentorId}),s.jsx(be,{className:"text-gray-400",children:BV[c.consultationType]||c.consultationType}),s.jsxs(be,{className:"text-white",children:["¥",c.amount]}),s.jsx(be,{className:"text-gray-400",children:Iw[c.status]||c.status}),s.jsx(be,{className:"text-gray-500 text-sm",children:c.createdAt?new Date(c.createdAt).toLocaleString():"-"})]},c.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:7,className:"text-center py-12 text-gray-500",children:"暂无预约记录"})})]})]})})})]})}function HV(){const[t,e]=b.useState("booking");return s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{className:"flex gap-2",children:[s.jsx("button",{type:"button",onClick:()=>e("booking"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="booking"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"预约记录"}),s.jsx("button",{type:"button",onClick:()=>e("manage"),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${t==="manage"?"bg-[#38bdac]/20 text-[#38bdac] border border-[#38bdac]/50":"bg-[#0a1628] text-gray-400 border border-gray-700 hover:text-white"}`,children:"导师管理"})]}),t==="booking"&&s.jsx(VV,{}),t==="manage"&&s.jsx("div",{className:"-mx-8",children:s.jsx(H4,{embedded:!0})})]})}function WV(){const[t,e]=b.useState([]),[n,r]=b.useState(0),[a,i]=b.useState(1),[o,c]=b.useState(10),[u,h]=b.useState(!0);async function f(){h(!0);try{const g=new URLSearchParams({page:String(a),pageSize:String(o),matchType:"team"}),y=await De(`/api/db/match-records?${g}`);y!=null&&y.success&&(e(y.records||[]),r(y.total??0))}catch(g){console.error(g)}finally{h(!1)}}b.useEffect(()=>{f()},[a]);const m=Math.ceil(n/o)||1;return s.jsxs("div",{children:[s.jsxs("div",{className:"flex justify-between items-center mb-4",children:[s.jsxs("div",{children:[s.jsxs("p",{className:"text-gray-400",children:["团队招募匹配记录,共 ",n," 条"]}),s.jsx("p",{className:"text-gray-500 text-xs mt-1",children:"用户通过「团队招募」提交联系方式到存客宝"})]}),s.jsxs("button",{type:"button",onClick:f,disabled:u,className:"flex items-center gap-2 px-4 py-2 rounded-lg border border-gray-600 text-gray-300 hover:bg-gray-700/50 transition-colors disabled:opacity-50",children:[s.jsx(Ue,{className:`w-4 h-4 ${u?"animate-spin":""}`})," 刷新"]})]}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl",children:s.jsx(Ee,{className:"p-0",children:u?s.jsxs("div",{className:"flex justify-center py-12",children:[s.jsx(Ue,{className:"w-6 h-6 text-[#38bdac] animate-spin"}),s.jsx("span",{className:"ml-2 text-gray-400",children:"加载中..."})]}):s.jsxs(s.Fragment,{children:[s.jsxs(pr,{children:[s.jsx(mr,{children:s.jsxs(lt,{className:"bg-[#0a1628] hover:bg-[#0a1628] border-gray-700",children:[s.jsx(Te,{className:"text-gray-400",children:"发起人"}),s.jsx(Te,{className:"text-gray-400",children:"匹配到"}),s.jsx(Te,{className:"text-gray-400",children:"联系方式"}),s.jsx(Te,{className:"text-gray-400",children:"时间"})]})}),s.jsxs(gr,{children:[t.map(g=>s.jsxs(lt,{className:"hover:bg-[#0a1628] border-gray-700/50",children:[s.jsx(be,{className:"text-white",children:g.userNickname||g.userId}),s.jsx(be,{className:"text-white",children:g.matchedNickname||g.matchedUserId}),s.jsxs(be,{className:"text-gray-400 text-sm",children:[g.phone&&s.jsxs("div",{children:["📱 ",g.phone]}),g.wechatId&&s.jsxs("div",{children:["💬 ",g.wechatId]}),!g.phone&&!g.wechatId&&"-"]}),s.jsx(be,{className:"text-gray-400",children:g.createdAt?new Date(g.createdAt).toLocaleString():"-"})]},g.id)),t.length===0&&s.jsx(lt,{children:s.jsx(be,{colSpan:4,className:"text-center py-12 text-gray-500",children:"暂无团队招募记录"})})]})]}),s.jsx(ws,{page:a,totalPages:m,total:n,pageSize:o,onPageChange:i,onPageSizeChange:g=>{c(g),i(1)}})]})})})]})}const Rw={partner:"找伙伴",investor:"资源对接",mentor:"导师顾问",team:"团队招募"},Pw={partner:"⭐",investor:"👥",mentor:"❤️",team:"🎮"};function UV({onSwitchTab:t,onOpenCKB:e}={}){const n=Di(),[r,a]=b.useState(null),[i,o]=b.useState(null),[c,u]=b.useState(!0),h=b.useCallback(async()=>{var m,g;u(!0);try{const[y,v]=await Promise.allSettled([De("/api/db/match-records?stats=true"),De("/api/db/ckb-plan-stats")]);if(y.status==="fulfilled"&&((m=y.value)!=null&&m.success)&&y.value.data){let w=y.value.data;if(w.totalMatches>0&&(!w.uniqueUsers||w.uniqueUsers===0))try{const N=await De("/api/db/match-records?page=1&pageSize=200");if(N!=null&&N.success&&N.records){const k=new Set(N.records.map(C=>C.userId).filter(Boolean));w={...w,uniqueUsers:k.size}}}catch{}a(w)}v.status==="fulfilled"&&((g=v.value)!=null&&g.success)&&v.value.data&&o(v.value.data)}catch(y){console.error("加载统计失败:",y)}finally{u(!1)}},[]);b.useEffect(()=>{h()},[h]);const f=m=>c?"—":String(m??0);return s.jsxs("div",{className:"space-y-8",children:[s.jsxs("div",{children:[s.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[s.jsx(Mn,{className:"w-5 h-5 text-[#38bdac]"})," 找伙伴数据"]}),s.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5",children:[s.jsx(Ce,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-[#38bdac]/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:s.jsxs(Ee,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"总匹配次数"}),s.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.totalMatches)}),s.jsxs("p",{className:"text-[#38bdac] text-xs mt-3 flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"})," 查看匹配记录"]})]})}),s.jsx(Ce,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-yellow-500/60 transition-all",onClick:()=>t==null?void 0:t("partner"),children:s.jsxs(Ee,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"今日匹配"}),s.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.todayMatches)}),s.jsxs("p",{className:"text-yellow-400/60 text-xs mt-3 flex items-center gap-1",children:[s.jsx(yi,{className:"w-3 h-3"})," 今日实时"]})]})}),s.jsx(Ce,{className:"bg-gradient-to-br from-[#0f2137] to-[#162d4a] border-gray-700/40 cursor-pointer hover:border-blue-500/60 transition-all",onClick:()=>n("/users"),children:s.jsxs(Ee,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"匹配用户数"}),s.jsx("p",{className:"text-4xl font-bold text-white",children:f(r==null?void 0:r.uniqueUsers)}),s.jsxs("p",{className:"text-blue-400/60 text-xs mt-3 flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"})," 查看用户管理"]})]})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/40",children:s.jsxs(Ee,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"人均匹配"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":r!=null&&r.uniqueUsers?(r.totalMatches/r.uniqueUsers).toFixed(1):"0"})]})}),s.jsx(Ce,{className:"bg-[#0f2137] border-gray-700/40",children:s.jsxs(Ee,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"付费匹配次数"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:f(r==null?void 0:r.paidMatchCount)})]})})]})]}),(r==null?void 0:r.byType)&&r.byType.length>0&&s.jsxs("div",{children:[s.jsx("h3",{className:"text-lg font-semibold text-white mb-4",children:"各类型匹配分布"}),s.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:r.byType.map(m=>{const g=r.totalMatches>0?m.count/r.totalMatches*100:0;return s.jsxs("div",{className:"bg-[#0f2137] border border-gray-700/40 rounded-xl p-5",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[s.jsx("span",{className:"text-2xl",children:Pw[m.matchType]||"📊"}),s.jsx("span",{className:"text-gray-300 font-medium",children:Rw[m.matchType]||m.matchType})]}),s.jsx("p",{className:"text-3xl font-bold text-white mb-2",children:m.count}),s.jsx("div",{className:"w-full h-2 bg-gray-700/50 rounded-full overflow-hidden",children:s.jsx("div",{className:"h-full bg-[#38bdac] rounded-full transition-all",style:{width:`${Math.min(g,100)}%`}})}),s.jsxs("p",{className:"text-gray-500 text-xs mt-1.5",children:[g.toFixed(1),"%"]})]},m.matchType)})})]}),s.jsxs("div",{children:[s.jsxs("h3",{className:"text-lg font-semibold text-white mb-4 flex items-center gap-2",children:[s.jsx(Ns,{className:"w-5 h-5 text-orange-400"})," AI 获客数据"]}),s.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-3 gap-5 mb-6",children:[s.jsx(Ce,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("submitted"),children:s.jsxs(Ee,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"已提交线索"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(i==null?void 0:i.ckbTotal)??0}),s.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),s.jsx(Ce,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("contact"),children:s.jsxs(Ee,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"有联系方式"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:c?"—":(i==null?void 0:i.withContact)??0}),s.jsx("p",{className:"text-orange-400/60 text-xs mt-2",children:"点击查看明细 →"})]})}),s.jsx(Ce,{className:"bg-[#0f2137] border-orange-500/20 cursor-pointer hover:border-orange-500/50 transition-colors",onClick:()=>e==null?void 0:e("test"),children:s.jsxs(Ee,{className:"p-6",children:[s.jsx("p",{className:"text-gray-400 text-sm mb-2",children:"AI 添加进度"}),s.jsx("p",{className:"text-xl font-bold text-orange-400",children:"查看详情 →"}),s.jsx("p",{className:"text-gray-500 text-xs mt-2",children:"添加成功率 · 回复率 · API 文档"})]})})]}),(i==null?void 0:i.byType)&&i.byType.length>0&&s.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-3 mb-6",children:i.byType.map(m=>s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-lg p-4 flex items-center gap-3",children:[s.jsx("span",{className:"text-xl",children:Pw[m.matchType]||"📋"}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 text-xs",children:Rw[m.matchType]||m.matchType}),s.jsx("p",{className:"text-xl font-bold text-white",children:m.total})]})]},m.matchType))})]})]})}const KV=["partner","investor","mentor","team"],Tg=[{key:"join_partner",label:"找伙伴场景"},{key:"join_investor",label:"资源对接场景"},{key:"join_mentor",label:"导师顾问场景"},{key:"join_team",label:"团队招募场景"},{key:"match",label:"匹配上报"},{key:"lead",label:"链接卡若"}],Ow=`# 场景获客接口摘要 - 地址:POST /v1/api/scenarios - 必填:apiKey、sign、timestamp - 主标识:phone 或 wechatId 至少一项 - 可选:name、source、remark、tags、siteTags、portrait - 签名:排除 sign/apiKey/portrait,键名升序拼接值后双重 MD5 -- 成功:code=200,message=新增成功 或 已存在`;function KV({initialTab:t="overview"}){const[e,n]=b.useState(t),[r,a]=b.useState("13800000000"),[i,o]=b.useState(""),[c,u]=b.useState(""),[h,f]=b.useState(Rw),[m,g]=b.useState(!1),[y,v]=b.useState(!1),[w,N]=b.useState([]),[k,C]=b.useState([]),[E,A]=b.useState({}),[D,H]=b.useState([{endpoint:"/api/ckb/join",label:"找伙伴",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"资源对接",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"导师顾问",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"团队招募",method:"POST",status:"idle"},{endpoint:"/api/ckb/match",label:"匹配上报",method:"POST",status:"idle"},{endpoint:"/api/miniprogram/ckb/lead",label:"链接卡若",method:"POST",status:"idle"},{endpoint:"/api/match/config",label:"匹配配置",method:"GET",status:"idle"}]),_=b.useMemo(()=>{const R={};return Sg.forEach(O=>{R[O.key]=E[O.key]||{apiUrl:"https://ckbapi.quwanzhi.com/v1/api/scenarios",apiKey:"fyngh-ecy9h-qkdae-epwd5-rz6kd",source:"",tags:"",siteTags:"创业实验APP",notes:""}}),R},[E]),P=R=>{const O=r.trim(),F=i.trim();return R<=3?{type:UV[R],phone:O||void 0,wechat:F||void 0,userId:"admin_test",name:"后台测试"}:R===4?{matchType:"partner",phone:O||void 0,wechat:F||void 0,userId:"admin_test",nickname:"后台测试",matchedUser:{id:"test",nickname:"测试",matchScore:88}}:R===5?{phone:O||void 0,wechatId:F||void 0,userId:"admin_test",name:"后台测试"}:{}};async function L(){v(!0);try{const[R,O,F]=await Promise.all([De("/api/db/config/full?key=ckb_config"),De("/api/db/ckb-leads?mode=submitted&page=1&pageSize=50"),De("/api/db/ckb-leads?mode=contact&page=1&pageSize=50")]),I=R==null?void 0:R.data;I!=null&&I.routes&&A(I.routes),I!=null&&I.docNotes&&u(I.docNotes),I!=null&&I.docContent&&f(I.docContent),O!=null&&O.success&&N(O.records||[]),F!=null&&F.success&&C(F.records||[])}finally{v(!1)}}b.useEffect(()=>{n(t)},[t]),b.useEffect(()=>{L()},[]);async function $(){g(!0);try{const R=await Nt("/api/db/config",{key:"ckb_config",value:{routes:_,docNotes:c,docContent:h},description:"存客宝接口配置"});oe.error((R==null?void 0:R.success)!==!1?"存客宝配置已保存":`保存失败: ${(R==null?void 0:R.error)||"未知错误"}`)}catch(R){oe.error(`保存失败: ${R instanceof Error?R.message:"网络错误"}`)}finally{g(!1)}}const ee=(R,O)=>{A(F=>({...F,[R]:{..._[R],...O}}))},K=async R=>{const O=D[R];if(O.method==="POST"&&!r.trim()&&!i.trim()){oe.error("请填写测试手机号");return}const F=[...D];F[R]={...O,status:"testing",message:void 0,responseTime:void 0},H(F);const I=performance.now();try{const se=O.method==="GET"?await De(O.endpoint):await Nt(O.endpoint,P(R)),J=Math.round(performance.now()-I),z=(se==null?void 0:se.message)||"",U=(se==null?void 0:se.success)===!0||z.includes("已存在")||z.includes("已加入")||z.includes("已提交"),q=[...D];q[R]={...O,status:U?"success":"error",message:z||(U?"正常":"异常"),responseTime:J},H(q),await L()}catch(se){const J=Math.round(performance.now()-I),z=[...D];z[R]={...O,status:"error",message:se instanceof Error?se.message:"失败",responseTime:J},H(z)}},ue=async()=>{if(!r.trim()&&!i.trim()){oe.error("请填写测试手机号");return}for(let R=0;Rs.jsx("div",{className:"overflow-auto rounded-lg border border-gray-700/30",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{className:"bg-[#0a1628] text-gray-400",children:s.jsxs("tr",{children:[s.jsx("th",{className:"text-left px-4 py-3",children:"发起人"}),s.jsx("th",{className:"text-left px-4 py-3",children:"类型"}),s.jsx("th",{className:"text-left px-4 py-3",children:"手机号"}),s.jsx("th",{className:"text-left px-4 py-3",children:"微信号"}),s.jsx("th",{className:"text-left px-4 py-3",children:"时间"})]})}),s.jsx("tbody",{children:R.length===0?s.jsx("tr",{children:s.jsx("td",{colSpan:5,className:"text-center py-10 text-gray-500",children:O})}):R.map(F=>s.jsxs("tr",{className:"border-t border-gray-700/30",children:[s.jsx("td",{className:"px-4 py-3 text-white",children:F.userNickname||F.userId}),s.jsx("td",{className:"px-4 py-3 text-gray-300",children:F.matchType}),s.jsx("td",{className:"px-4 py-3 text-green-400",children:F.phone||"—"}),s.jsx("td",{className:"px-4 py-3 text-blue-400",children:F.wechatId||"—"}),s.jsx("td",{className:"px-4 py-3 text-gray-400",children:F.createdAt?new Date(F.createdAt).toLocaleString():"—"})]},F.id))})]})});return s.jsx(Se,{className:"bg-[#0f2137] border-orange-500/30 mb-6",children:s.jsxs(Ce,{className:"p-5",children:[s.jsxs("div",{className:"flex items-center justify-between mb-4",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("h3",{className:"text-white font-semibold",children:"存客宝工作台"}),s.jsx(Ke,{className:"bg-orange-500/20 text-orange-400 border-0 text-xs",children:"CKB"}),s.jsxs("button",{type:"button",onClick:()=>n("doc"),className:"text-orange-400/60 text-xs hover:text-orange-400 flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"})," API 文档"]})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs(ne,{onClick:()=>L(),variant:"outline",size:"sm",className:"border-gray-700 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-3.5 h-3.5 mr-1 ${y?"animate-spin":""}`})," 刷新"]}),s.jsxs(ne,{onClick:$,disabled:m,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-3.5 h-3.5 mr-1"})," ",m?"保存中...":"保存配置"]})]})]}),s.jsx("div",{className:"flex flex-wrap gap-2 mb-5",children:[["overview","概览"],["submitted","已提交线索"],["contact","有联系方式"],["config","场景配置"],["test","接口测试"],["doc","API 文档"]].map(([R,O])=>s.jsx("button",{type:"button",onClick:()=>n(R),className:`px-4 py-2 rounded-lg text-sm transition-colors ${e===R?"bg-orange-500 text-white":"bg-[#0a1628] text-gray-400 hover:text-white"}`,children:O},R))}),e==="overview"&&s.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[s.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"已提交线索"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:w.length})]}),s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[s.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"有联系方式"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:k.length})]}),s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[s.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"场景配置数"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:Sg.length})]}),s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[s.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"文档备注"}),s.jsx("p",{className:"text-sm text-gray-300 line-clamp-3",children:c||"未填写"})]})]}),e==="submitted"&&me(w,"暂无已提交线索"),e==="contact"&&me(k,"暂无有联系方式线索"),e==="config"&&s.jsx("div",{className:"space-y-4",children:Sg.map(R=>s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-4",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h4",{className:"text-white font-medium",children:R.label}),s.jsx(Ke,{className:"bg-orange-500/20 text-orange-300 border-0 text-xs",children:R.key})]}),s.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"API 地址"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].apiUrl,onChange:O=>ee(R.key,{apiUrl:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"API Key"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].apiKey,onChange:O=>ee(R.key,{apiKey:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"Source"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].source,onChange:O=>ee(R.key,{source:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"Tags"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].tags,onChange:O=>ee(R.key,{tags:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"SiteTags"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].siteTags,onChange:O=>ee(R.key,{siteTags:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"说明备注"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].notes,onChange:O=>ee(R.key,{notes:O.target.value})})]})]})]},R.key))}),e==="test"&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex gap-3 mb-4",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[s.jsx(Dl,{className:"w-4 h-4 text-gray-500 shrink-0"}),s.jsxs("div",{className:"flex-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"测试手机号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:r,onChange:R=>a(R.target.value)})]})]}),s.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[s.jsx("span",{className:"text-gray-500 text-sm shrink-0",children:"💬"}),s.jsxs("div",{className:"flex-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"微信号(可选)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:i,onChange:R=>o(R.target.value)})]})]}),s.jsx("div",{className:"flex items-end",children:s.jsxs(ne,{onClick:ue,className:"bg-orange-500 hover:bg-orange-600 text-white",children:[s.jsx(yi,{className:"w-3.5 h-3.5 mr-1"})," 全部测试"]})})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-2",children:D.map((R,O)=>s.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg px-3 py-2 border border-gray-700/30",children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[R.status==="idle"&&s.jsx("div",{className:"w-2 h-2 rounded-full bg-gray-600 shrink-0"}),R.status==="testing"&&s.jsx(Ue,{className:"w-3 h-3 text-yellow-400 animate-spin shrink-0"}),R.status==="success"&&s.jsx(Rg,{className:"w-3 h-3 text-green-400 shrink-0"}),R.status==="error"&&s.jsx(Jw,{className:"w-3 h-3 text-red-400 shrink-0"}),s.jsx("span",{className:"text-white text-xs truncate",children:R.label})]}),s.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[R.responseTime!==void 0&&s.jsxs("span",{className:"text-gray-600 text-[10px]",children:[R.responseTime,"ms"]}),s.jsx("button",{type:"button",onClick:()=>K(O),disabled:R.status==="testing",className:"text-orange-400/60 hover:text-orange-400 text-[10px] disabled:opacity-50",children:"测试"})]})]},`${R.endpoint}-${O}`))})]}),e==="doc"&&s.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h4",{className:"text-white text-sm font-medium",children:"场景获客 API 摘要"}),s.jsxs("a",{href:"https://ckbapi.quwanzhi.com/v1/api/scenarios",target:"_blank",rel:"noreferrer",className:"text-orange-400/70 hover:text-orange-400 text-xs flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"})," 打开外链"]})]}),s.jsx("pre",{className:"whitespace-pre-wrap text-xs text-gray-400 leading-6",children:h||Rw})]}),s.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[s.jsx("h4",{className:"text-white text-sm font-medium mb-3",children:"说明备注(可编辑)"}),s.jsx("textarea",{className:"w-full min-h-[260px] bg-[#0f2137] border border-gray-700 rounded-md text-sm text-gray-300 p-3 outline-none focus:border-orange-500/50 resize-y",value:c,onChange:R=>u(R.target.value),placeholder:"记录 Token、入口差异、回复率统计规则、对接约定等。"})]})]})]})})}const qV=[{id:"stats",label:"数据统计",icon:Ig},{id:"partner",label:"找伙伴",icon:Mn},{id:"resource",label:"资源对接",icon:AM},{id:"mentor",label:"导师预约",icon:EM},{id:"team",label:"团队招募",icon:$g}];function GV(){const[t,e]=b.useState("stats"),[n,r]=b.useState(!1),[a,i]=b.useState("overview");return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"mb-6 flex items-start justify-between gap-4",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-6 h-6 text-[#38bdac]"}),"找伙伴"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"数据统计、匹配池与记录、资源对接、导师预约、团队招募"})]}),s.jsxs(ne,{type:"button",variant:"outline",onClick:()=>r(o=>!o),className:"border-orange-500/40 text-orange-300 hover:bg-orange-500/10 bg-transparent",children:[s.jsx(Ns,{className:"w-4 h-4 mr-2"}),"存客宝"]})]}),n&&s.jsx(KV,{initialTab:a}),s.jsx("div",{className:"flex flex-wrap gap-1 mb-6 bg-[#0f2137] rounded-lg p-1 border border-gray-700/50",children:qV.map(o=>{const c=t===o.id;return s.jsxs("button",{type:"button",onClick:()=>e(o.id),className:`flex items-center gap-2 px-5 py-2.5 rounded-md text-sm font-medium transition-all ${c?"bg-[#38bdac] text-white shadow-lg":"text-gray-400 hover:text-white hover:bg-gray-700/50"}`,children:[s.jsx(o.icon,{className:"w-4 h-4"}),o.label]},o.id)})}),t==="stats"&&s.jsx(WV,{onSwitchTab:o=>e(o),onOpenCKB:o=>{i(o||"overview"),r(!0)}}),t==="partner"&&s.jsx(zV,{}),t==="resource"&&s.jsx($V,{}),t==="mentor"&&s.jsx(VV,{}),t==="team"&&s.jsx(HV,{})]})}function JV(){return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-8",children:[s.jsx(Ns,{className:"w-8 h-8 text-[#38bdac]"}),s.jsx("h1",{className:"text-2xl font-bold text-white",children:"API 接口文档"})]}),s.jsx("p",{className:"text-gray-400 mb-6",children:"API 风格:RESTful · 版本 v1.0 · 基础路径 /api · 简单、清晰、易用。"}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"1. 接口总览"})}),s.jsxs(Ce,{className:"space-y-4 text-sm",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 mb-2",children:"接口分类"}),s.jsxs("ul",{className:"space-y-1 text-gray-300 font-mono",children:[s.jsx("li",{children:"/api/book — 书籍内容(章节列表、内容获取、同步)"}),s.jsx("li",{children:"/api/miniprogram/upload — 小程序上传(图片/视频、图片压缩)"}),s.jsx("li",{children:"/api/admin/content/upload — 管理端内容导入"}),s.jsx("li",{children:"/api/payment — 支付系统(订单创建、回调、状态查询)"}),s.jsx("li",{children:"/api/referral — 分销系统(邀请码、收益、提现)"}),s.jsx("li",{children:"/api/user — 用户系统(登录、注册、信息更新)"}),s.jsx("li",{children:"/api/match — 匹配系统(寻找匹配、匹配历史)"}),s.jsx("li",{children:"/api/admin — 管理后台(内容/订单/用户/分销管理)"}),s.jsx("li",{children:"/api/config — 配置系统"})]})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 mb-2",children:"认证方式"}),s.jsx("p",{className:"text-gray-300",children:"用户:Cookie session_id(可选)"}),s.jsx("p",{className:"text-gray-300",children:"管理端:Authorization: Bearer admin-token-secret"})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"2. 书籍内容"})}),s.jsxs(Ce,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[s.jsx("p",{children:"GET /api/book/all-chapters — 获取所有章节"}),s.jsx("p",{children:"GET /api/book/chapter/:id — 获取单章内容"}),s.jsx("p",{children:"POST /api/book/sync — 同步章节(需管理员认证)"})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"2.1 小程序上传接口"})}),s.jsxs(Ce,{className:"space-y-4 text-sm",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 mb-1",children:"POST /api/miniprogram/upload/image — 图片上传(支持压缩)"}),s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"表单:file(必填)、folder(可选,默认 images)、quality(可选 1-100,默认 85)"}),s.jsx("p",{className:"text-gray-500 text-xs",children:"支持 jpeg/png/gif,单张最大 5MB。JPEG 按 quality 压缩。"}),s.jsx("pre",{className:"mt-2 p-2 rounded bg-black/40 text-green-400 text-xs overflow-x-auto",children:'响应示例: { "success": true, "url": "/uploads/images/xxx.jpg", "data": { "url", "fileName", "size", "type", "quality" } }'})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 mb-1",children:"POST /api/miniprogram/upload/video — 视频上传"}),s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"表单:file(必填)、folder(可选,默认 videos)"}),s.jsx("p",{className:"text-gray-500 text-xs",children:"支持 mp4/mov/avi,单个最大 100MB。"}),s.jsx("pre",{className:"mt-2 p-2 rounded bg-black/40 text-green-400 text-xs overflow-x-auto",children:'响应示例: { "success": true, "url": "/uploads/videos/xxx.mp4", "data": { "url", "fileName", "size", "type", "folder" } }'})]})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"2.2 管理端内容上传"})}),s.jsxs(Ce,{className:"space-y-3 text-sm",children:[s.jsx("p",{className:"text-gray-400",children:"POST /api/admin/content/upload — 内容导入(需 AdminAuth)"}),s.jsx("p",{className:"text-gray-500 text-xs",children:"通过 API 批量导入章节到内容管理,不直接操作数据库。"}),s.jsx("pre",{className:"p-2 rounded bg-black/40 text-green-400 text-xs overflow-x-auto",children:`请求体: { +- 成功:code=200,message=新增成功 或 已存在`;function qV({initialTab:t="overview"}){const[e,n]=b.useState(t),[r,a]=b.useState("13800000000"),[i,o]=b.useState(""),[c,u]=b.useState(""),[h,f]=b.useState(Ow),[m,g]=b.useState(!1),[y,v]=b.useState(!1),[w,N]=b.useState([]),[k,C]=b.useState([]),[E,A]=b.useState({}),[D,H]=b.useState([{endpoint:"/api/ckb/join",label:"找伙伴",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"资源对接",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"导师顾问",method:"POST",status:"idle"},{endpoint:"/api/ckb/join",label:"团队招募",method:"POST",status:"idle"},{endpoint:"/api/ckb/match",label:"匹配上报",method:"POST",status:"idle"},{endpoint:"/api/miniprogram/ckb/lead",label:"链接卡若",method:"POST",status:"idle"},{endpoint:"/api/match/config",label:"匹配配置",method:"GET",status:"idle"}]),_=b.useMemo(()=>{const R={};return Tg.forEach(O=>{R[O.key]=E[O.key]||{apiUrl:"https://ckbapi.quwanzhi.com/v1/api/scenarios",apiKey:"fyngh-ecy9h-qkdae-epwd5-rz6kd",source:"",tags:"",siteTags:"创业实验APP",notes:""}}),R},[E]),P=R=>{const O=r.trim(),F=i.trim();return R<=3?{type:KV[R],phone:O||void 0,wechat:F||void 0,userId:"admin_test",name:"后台测试"}:R===4?{matchType:"partner",phone:O||void 0,wechat:F||void 0,userId:"admin_test",nickname:"后台测试",matchedUser:{id:"test",nickname:"测试",matchScore:88}}:R===5?{phone:O||void 0,wechatId:F||void 0,userId:"admin_test",name:"后台测试"}:{}};async function L(){v(!0);try{const[R,O,F]=await Promise.all([De("/api/db/config/full?key=ckb_config"),De("/api/db/ckb-leads?mode=submitted&page=1&pageSize=50"),De("/api/db/ckb-leads?mode=contact&page=1&pageSize=50")]),I=R==null?void 0:R.data;I!=null&&I.routes&&A(I.routes),I!=null&&I.docNotes&&u(I.docNotes),I!=null&&I.docContent&&f(I.docContent),O!=null&&O.success&&N(O.records||[]),F!=null&&F.success&&C(F.records||[])}finally{v(!1)}}b.useEffect(()=>{n(t)},[t]),b.useEffect(()=>{L()},[]);async function $(){g(!0);try{const R=await Nt("/api/db/config",{key:"ckb_config",value:{routes:_,docNotes:c,docContent:h},description:"存客宝接口配置"});oe.error((R==null?void 0:R.success)!==!1?"存客宝配置已保存":`保存失败: ${(R==null?void 0:R.error)||"未知错误"}`)}catch(R){oe.error(`保存失败: ${R instanceof Error?R.message:"网络错误"}`)}finally{g(!1)}}const ee=(R,O)=>{A(F=>({...F,[R]:{..._[R],...O}}))},K=async R=>{const O=D[R];if(O.method==="POST"&&!r.trim()&&!i.trim()){oe.error("请填写测试手机号");return}const F=[...D];F[R]={...O,status:"testing",message:void 0,responseTime:void 0},H(F);const I=performance.now();try{const se=O.method==="GET"?await De(O.endpoint):await Nt(O.endpoint,P(R)),J=Math.round(performance.now()-I),z=(se==null?void 0:se.message)||"",U=(se==null?void 0:se.success)===!0||z.includes("已存在")||z.includes("已加入")||z.includes("已提交"),q=[...D];q[R]={...O,status:U?"success":"error",message:z||(U?"正常":"异常"),responseTime:J},H(q),await L()}catch(se){const J=Math.round(performance.now()-I),z=[...D];z[R]={...O,status:"error",message:se instanceof Error?se.message:"失败",responseTime:J},H(z)}},ue=async()=>{if(!r.trim()&&!i.trim()){oe.error("请填写测试手机号");return}for(let R=0;Rs.jsx("div",{className:"overflow-auto rounded-lg border border-gray-700/30",children:s.jsxs("table",{className:"w-full text-sm",children:[s.jsx("thead",{className:"bg-[#0a1628] text-gray-400",children:s.jsxs("tr",{children:[s.jsx("th",{className:"text-left px-4 py-3",children:"发起人"}),s.jsx("th",{className:"text-left px-4 py-3",children:"类型"}),s.jsx("th",{className:"text-left px-4 py-3",children:"手机号"}),s.jsx("th",{className:"text-left px-4 py-3",children:"微信号"}),s.jsx("th",{className:"text-left px-4 py-3",children:"时间"})]})}),s.jsx("tbody",{children:R.length===0?s.jsx("tr",{children:s.jsx("td",{colSpan:5,className:"text-center py-10 text-gray-500",children:O})}):R.map(F=>s.jsxs("tr",{className:"border-t border-gray-700/30",children:[s.jsx("td",{className:"px-4 py-3 text-white",children:F.userNickname||F.userId}),s.jsx("td",{className:"px-4 py-3 text-gray-300",children:F.matchType}),s.jsx("td",{className:"px-4 py-3 text-green-400",children:F.phone||"—"}),s.jsx("td",{className:"px-4 py-3 text-blue-400",children:F.wechatId||"—"}),s.jsx("td",{className:"px-4 py-3 text-gray-400",children:F.createdAt?new Date(F.createdAt).toLocaleString():"—"})]},F.id))})]})});return s.jsx(Ce,{className:"bg-[#0f2137] border-orange-500/30 mb-6",children:s.jsxs(Ee,{className:"p-5",children:[s.jsxs("div",{className:"flex items-center justify-between mb-4",children:[s.jsxs("div",{className:"flex items-center gap-3",children:[s.jsx("h3",{className:"text-white font-semibold",children:"存客宝工作台"}),s.jsx(Ke,{className:"bg-orange-500/20 text-orange-400 border-0 text-xs",children:"CKB"}),s.jsxs("button",{type:"button",onClick:()=>n("doc"),className:"text-orange-400/60 text-xs hover:text-orange-400 flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"})," API 文档"]})]}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsxs(ne,{onClick:()=>L(),variant:"outline",size:"sm",className:"border-gray-700 text-gray-300 hover:bg-gray-700/50 bg-transparent",children:[s.jsx(Ue,{className:`w-3.5 h-3.5 mr-1 ${y?"animate-spin":""}`})," 刷新"]}),s.jsxs(ne,{onClick:$,disabled:m,size:"sm",className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:[s.jsx(mn,{className:"w-3.5 h-3.5 mr-1"})," ",m?"保存中...":"保存配置"]})]})]}),s.jsx("div",{className:"flex flex-wrap gap-2 mb-5",children:[["overview","概览"],["submitted","已提交线索"],["contact","有联系方式"],["config","场景配置"],["test","接口测试"],["doc","API 文档"]].map(([R,O])=>s.jsx("button",{type:"button",onClick:()=>n(R),className:`px-4 py-2 rounded-lg text-sm transition-colors ${e===R?"bg-orange-500 text-white":"bg-[#0a1628] text-gray-400 hover:text-white"}`,children:O},R))}),e==="overview"&&s.jsxs("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[s.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"已提交线索"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:w.length})]}),s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[s.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"有联系方式"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:k.length})]}),s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[s.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"场景配置数"}),s.jsx("p",{className:"text-3xl font-bold text-white",children:Tg.length})]}),s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-5",children:[s.jsx("p",{className:"text-gray-400 text-xs mb-2",children:"文档备注"}),s.jsx("p",{className:"text-sm text-gray-300 line-clamp-3",children:c||"未填写"})]})]}),e==="submitted"&&me(w,"暂无已提交线索"),e==="contact"&&me(k,"暂无有联系方式线索"),e==="config"&&s.jsx("div",{className:"space-y-4",children:Tg.map(R=>s.jsxs("div",{className:"bg-[#0a1628] border border-gray-700/30 rounded-xl p-4",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h4",{className:"text-white font-medium",children:R.label}),s.jsx(Ke,{className:"bg-orange-500/20 text-orange-300 border-0 text-xs",children:R.key})]}),s.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"API 地址"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].apiUrl,onChange:O=>ee(R.key,{apiUrl:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"API Key"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].apiKey,onChange:O=>ee(R.key,{apiKey:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"Source"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].source,onChange:O=>ee(R.key,{source:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"Tags"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].tags,onChange:O=>ee(R.key,{tags:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"SiteTags"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].siteTags,onChange:O=>ee(R.key,{siteTags:O.target.value})})]}),s.jsxs("div",{className:"space-y-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"说明备注"}),s.jsx(le,{className:"bg-[#0f2137] border-gray-700 text-white h-9 text-sm",value:_[R.key].notes,onChange:O=>ee(R.key,{notes:O.target.value})})]})]})]},R.key))}),e==="test"&&s.jsxs(s.Fragment,{children:[s.jsxs("div",{className:"flex gap-3 mb-4",children:[s.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[s.jsx(Dl,{className:"w-4 h-4 text-gray-500 shrink-0"}),s.jsxs("div",{className:"flex-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"测试手机号"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:r,onChange:R=>a(R.target.value)})]})]}),s.jsxs("div",{className:"flex items-center gap-2 flex-1",children:[s.jsx("span",{className:"text-gray-500 text-sm shrink-0",children:"💬"}),s.jsxs("div",{className:"flex-1",children:[s.jsx(te,{className:"text-gray-500 text-xs",children:"微信号(可选)"}),s.jsx(le,{className:"bg-[#0a1628] border-gray-700 text-white h-8 text-sm mt-0.5",value:i,onChange:R=>o(R.target.value)})]})]}),s.jsx("div",{className:"flex items-end",children:s.jsxs(ne,{onClick:ue,className:"bg-orange-500 hover:bg-orange-600 text-white",children:[s.jsx(yi,{className:"w-3.5 h-3.5 mr-1"})," 全部测试"]})})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-2",children:D.map((R,O)=>s.jsxs("div",{className:"flex items-center justify-between bg-[#0a1628] rounded-lg px-3 py-2 border border-gray-700/30",children:[s.jsxs("div",{className:"flex items-center gap-2 min-w-0",children:[R.status==="idle"&&s.jsx("div",{className:"w-2 h-2 rounded-full bg-gray-600 shrink-0"}),R.status==="testing"&&s.jsx(Ue,{className:"w-3 h-3 text-yellow-400 animate-spin shrink-0"}),R.status==="success"&&s.jsx(Dg,{className:"w-3 h-3 text-green-400 shrink-0"}),R.status==="error"&&s.jsx(Qw,{className:"w-3 h-3 text-red-400 shrink-0"}),s.jsx("span",{className:"text-white text-xs truncate",children:R.label})]}),s.jsxs("div",{className:"flex items-center gap-1.5 shrink-0",children:[R.responseTime!==void 0&&s.jsxs("span",{className:"text-gray-600 text-[10px]",children:[R.responseTime,"ms"]}),s.jsx("button",{type:"button",onClick:()=>K(O),disabled:R.status==="testing",className:"text-orange-400/60 hover:text-orange-400 text-[10px] disabled:opacity-50",children:"测试"})]})]},`${R.endpoint}-${O}`))})]}),e==="doc"&&s.jsxs("div",{className:"grid grid-cols-1 xl:grid-cols-2 gap-4",children:[s.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[s.jsxs("div",{className:"flex items-center justify-between mb-3",children:[s.jsx("h4",{className:"text-white text-sm font-medium",children:"场景获客 API 摘要"}),s.jsxs("a",{href:"https://ckbapi.quwanzhi.com/v1/api/scenarios",target:"_blank",rel:"noreferrer",className:"text-orange-400/70 hover:text-orange-400 text-xs flex items-center gap-1",children:[s.jsx(Ks,{className:"w-3 h-3"})," 打开外链"]})]}),s.jsx("pre",{className:"whitespace-pre-wrap text-xs text-gray-400 leading-6",children:h||Ow})]}),s.jsxs("div",{className:"bg-[#0a1628] rounded-lg border border-gray-700/30 p-4",children:[s.jsx("h4",{className:"text-white text-sm font-medium mb-3",children:"说明备注(可编辑)"}),s.jsx("textarea",{className:"w-full min-h-[260px] bg-[#0f2137] border border-gray-700 rounded-md text-sm text-gray-300 p-3 outline-none focus:border-orange-500/50 resize-y",value:c,onChange:R=>u(R.target.value),placeholder:"记录 Token、入口差异、回复率统计规则、对接约定等。"})]})]})]})})}const GV=[{id:"stats",label:"数据统计",icon:Og},{id:"partner",label:"找伙伴",icon:Mn},{id:"resource",label:"资源对接",icon:RM},{id:"mentor",label:"导师预约",icon:MM},{id:"team",label:"团队招募",icon:Vg}];function JV(){const[t,e]=b.useState("stats"),[n,r]=b.useState(!1),[a,i]=b.useState("overview");return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"mb-6 flex items-start justify-between gap-4",children:[s.jsxs("div",{children:[s.jsxs("h2",{className:"text-2xl font-bold text-white flex items-center gap-2",children:[s.jsx(Mn,{className:"w-6 h-6 text-[#38bdac]"}),"找伙伴"]}),s.jsx("p",{className:"text-gray-400 mt-1",children:"数据统计、匹配池与记录、资源对接、导师预约、团队招募"})]}),s.jsxs(ne,{type:"button",variant:"outline",onClick:()=>r(o=>!o),className:"border-orange-500/40 text-orange-300 hover:bg-orange-500/10 bg-transparent",children:[s.jsx(Ns,{className:"w-4 h-4 mr-2"}),"存客宝"]})]}),n&&s.jsx(qV,{initialTab:a}),s.jsx("div",{className:"flex flex-wrap gap-1 mb-6 bg-[#0f2137] rounded-lg p-1 border border-gray-700/50",children:GV.map(o=>{const c=t===o.id;return s.jsxs("button",{type:"button",onClick:()=>e(o.id),className:`flex items-center gap-2 px-5 py-2.5 rounded-md text-sm font-medium transition-all ${c?"bg-[#38bdac] text-white shadow-lg":"text-gray-400 hover:text-white hover:bg-gray-700/50"}`,children:[s.jsx(o.icon,{className:"w-4 h-4"}),o.label]},o.id)})}),t==="stats"&&s.jsx(UV,{onSwitchTab:o=>e(o),onOpenCKB:o=>{i(o||"overview"),r(!0)}}),t==="partner"&&s.jsx($V,{}),t==="resource"&&s.jsx(FV,{}),t==="mentor"&&s.jsx(HV,{}),t==="team"&&s.jsx(WV,{})]})}function YV(){return s.jsxs("div",{className:"p-8 w-full",children:[s.jsxs("div",{className:"flex items-center gap-2 mb-8",children:[s.jsx(Ns,{className:"w-8 h-8 text-[#38bdac]"}),s.jsx("h1",{className:"text-2xl font-bold text-white",children:"API 接口文档"})]}),s.jsx("p",{className:"text-gray-400 mb-6",children:"API 风格:RESTful · 版本 v1.0 · 基础路径 /api · 简单、清晰、易用。"}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"1. 接口总览"})}),s.jsxs(Ee,{className:"space-y-4 text-sm",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 mb-2",children:"接口分类"}),s.jsxs("ul",{className:"space-y-1 text-gray-300 font-mono",children:[s.jsx("li",{children:"/api/book — 书籍内容(章节列表、内容获取、同步)"}),s.jsx("li",{children:"/api/miniprogram/upload — 小程序上传(图片/视频、图片压缩)"}),s.jsx("li",{children:"/api/admin/content/upload — 管理端内容导入"}),s.jsx("li",{children:"/api/payment — 支付系统(订单创建、回调、状态查询)"}),s.jsx("li",{children:"/api/referral — 分销系统(邀请码、收益、提现)"}),s.jsx("li",{children:"/api/user — 用户系统(登录、注册、信息更新)"}),s.jsx("li",{children:"/api/match — 匹配系统(寻找匹配、匹配历史)"}),s.jsx("li",{children:"/api/admin — 管理后台(内容/订单/用户/分销管理)"}),s.jsx("li",{children:"/api/config — 配置系统"})]})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 mb-2",children:"认证方式"}),s.jsx("p",{className:"text-gray-300",children:"用户:Cookie session_id(可选)"}),s.jsx("p",{className:"text-gray-300",children:"管理端:Authorization: Bearer admin-token-secret"})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"2. 书籍内容"})}),s.jsxs(Ee,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[s.jsx("p",{children:"GET /api/book/all-chapters — 获取所有章节"}),s.jsx("p",{children:"GET /api/book/chapter/:id — 获取单章内容"}),s.jsx("p",{children:"POST /api/book/sync — 同步章节(需管理员认证)"})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"2.1 小程序上传接口"})}),s.jsxs(Ee,{className:"space-y-4 text-sm",children:[s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 mb-1",children:"POST /api/miniprogram/upload/image — 图片上传(支持压缩)"}),s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"表单:file(必填)、folder(可选,默认 images)、quality(可选 1-100,默认 85)"}),s.jsx("p",{className:"text-gray-500 text-xs",children:"支持 jpeg/png/gif,单张最大 5MB。JPEG 按 quality 压缩。"}),s.jsx("pre",{className:"mt-2 p-2 rounded bg-black/40 text-green-400 text-xs overflow-x-auto",children:'响应示例: { "success": true, "url": "/uploads/images/xxx.jpg", "data": { "url", "fileName", "size", "type", "quality" } }'})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-gray-400 mb-1",children:"POST /api/miniprogram/upload/video — 视频上传"}),s.jsx("p",{className:"text-gray-500 text-xs mb-1",children:"表单:file(必填)、folder(可选,默认 videos)"}),s.jsx("p",{className:"text-gray-500 text-xs",children:"支持 mp4/mov/avi,单个最大 100MB。"}),s.jsx("pre",{className:"mt-2 p-2 rounded bg-black/40 text-green-400 text-xs overflow-x-auto",children:'响应示例: { "success": true, "url": "/uploads/videos/xxx.mp4", "data": { "url", "fileName", "size", "type", "folder" } }'})]})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"2.2 管理端内容上传"})}),s.jsxs(Ee,{className:"space-y-3 text-sm",children:[s.jsx("p",{className:"text-gray-400",children:"POST /api/admin/content/upload — 内容导入(需 AdminAuth)"}),s.jsx("p",{className:"text-gray-500 text-xs",children:"通过 API 批量导入章节到内容管理,不直接操作数据库。"}),s.jsx("pre",{className:"p-2 rounded bg-black/40 text-green-400 text-xs overflow-x-auto",children:`请求体: { "action": "import", "data": [{ "id": "ch-001", @@ -934,4 +934,4 @@ ${y.slice(h+2)}`,m+=1;else break}e.push({indent:h,number:parseInt(c,10),content: "chapterId": "chapter-1", "chapterTitle": "第1章" }] -}`}),s.jsxs("p",{className:"text-gray-500 text-xs",children:["响应:",'{ "success": true, "message": "导入完成", "imported": N, "failed": M }']})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"3. 支付"})}),s.jsxs(Ce,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[s.jsx("p",{children:"POST /api/payment/create-order — 创建订单"}),s.jsx("p",{children:"POST /api/payment/alipay/notify — 支付宝回调"}),s.jsx("p",{children:"POST /api/payment/wechat/notify — 微信回调"})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"4. 分销与用户"})}),s.jsxs(Ce,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[s.jsx("p",{children:"/api/referral/* — 邀请码、收益查询、提现"}),s.jsx("p",{children:"/api/user/* — 登录、注册、信息更新"}),s.jsx("p",{children:"/api/match/* — 匹配、匹配历史"})]})]}),s.jsxs(Se,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"5. 管理后台"})}),s.jsxs(Ce,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[s.jsx("p",{children:"GET/POST /api/admin/referral-settings — 推广/分销设置(含 VIP 配置)"}),s.jsx("p",{children:"GET /api/db/users、/api/db/book — 用户与章节数据"}),s.jsx("p",{children:"GET /api/admin/orders — 订单列表"})]})]}),s.jsx("p",{className:"text-gray-500 text-xs",children:"完整说明见项目内 开发文档/5、接口/API接口完整文档.md"})]})}function YV(){const t=Oi();return s.jsx("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-8",children:s.jsxs("div",{className:"text-center max-w-md",children:[s.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-red-500/20 text-red-400 mb-6",children:s.jsx(ZT,{className:"w-10 h-10"})}),s.jsx("h1",{className:"text-4xl font-bold text-white mb-2",children:"404"}),s.jsx("p",{className:"text-gray-400 mb-1",children:"页面不存在"}),s.jsx("p",{className:"text-sm text-gray-500 font-mono mb-8 break-all",children:t.pathname}),s.jsx(ne,{asChild:!0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:s.jsxs(Ag,{to:"/",children:[s.jsx($M,{className:"w-4 h-4 mr-2"}),"返回首页"]})})]})})}function QV(){return s.jsxs(vT,{children:[s.jsx(zt,{path:"/login",element:s.jsx(lI,{})}),s.jsxs(zt,{path:"/",element:s.jsx(u5,{}),children:[s.jsx(zt,{index:!0,element:s.jsx(Mm,{to:"/dashboard",replace:!0})}),s.jsx(zt,{path:"dashboard",element:s.jsx(yP,{})}),s.jsx(zt,{path:"orders",element:s.jsx(bP,{})}),s.jsx(zt,{path:"users",element:s.jsx(vP,{})}),s.jsx(zt,{path:"distribution",element:s.jsx(VP,{})}),s.jsx(zt,{path:"withdrawals",element:s.jsx(HP,{})}),s.jsx(zt,{path:"content",element:s.jsx(pV,{})}),s.jsx(zt,{path:"referral-settings",element:s.jsx(_k,{})}),s.jsx(zt,{path:"author-settings",element:s.jsx(Mm,{to:"/settings?tab=author",replace:!0})}),s.jsx(zt,{path:"vip-roles",element:s.jsx(PV,{})}),s.jsx(zt,{path:"mentors",element:s.jsx(B4,{})}),s.jsx(zt,{path:"mentor-consultations",element:s.jsx(OV,{})}),s.jsx(zt,{path:"admin-users",element:s.jsx(Mm,{to:"/settings?tab=admin",replace:!0})}),s.jsx(zt,{path:"settings",element:s.jsx(jV,{})}),s.jsx(zt,{path:"payment",element:s.jsx(kV,{})}),s.jsx(zt,{path:"site",element:s.jsx(TV,{})}),s.jsx(zt,{path:"qrcodes",element:s.jsx(MV,{})}),s.jsx(zt,{path:"find-partner",element:s.jsx(GV,{})}),s.jsx(zt,{path:"match",element:s.jsx(IV,{})}),s.jsx(zt,{path:"match-records",element:s.jsx(RV,{})}),s.jsx(zt,{path:"api-doc",element:s.jsx(JV,{})}),s.jsx(zt,{path:"api-docs",element:s.jsx(F4,{})})]}),s.jsx(zt,{path:"*",element:s.jsx(YV,{})})]})}SE.createRoot(document.getElementById("root")).render(s.jsx(b.StrictMode,{children:s.jsx(TT,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:s.jsx(QV,{})})})); +}`}),s.jsxs("p",{className:"text-gray-500 text-xs",children:["响应:",'{ "success": true, "message": "导入完成", "imported": N, "failed": M }']})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"3. 支付"})}),s.jsxs(Ee,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[s.jsx("p",{children:"POST /api/payment/create-order — 创建订单"}),s.jsx("p",{children:"POST /api/payment/alipay/notify — 支付宝回调"}),s.jsx("p",{children:"POST /api/payment/wechat/notify — 微信回调"})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"4. 分销与用户"})}),s.jsxs(Ee,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[s.jsx("p",{children:"/api/referral/* — 邀请码、收益查询、提现"}),s.jsx("p",{children:"/api/user/* — 登录、注册、信息更新"}),s.jsx("p",{children:"/api/match/* — 匹配、匹配历史"})]})]}),s.jsxs(Ce,{className:"bg-[#0f2137] border-gray-700/50 shadow-xl mb-6",children:[s.jsx(qe,{children:s.jsx(Ge,{className:"text-white",children:"5. 管理后台"})}),s.jsxs(Ee,{className:"space-y-2 text-sm text-gray-300 font-mono",children:[s.jsx("p",{children:"GET/POST /api/admin/referral-settings — 推广/分销设置(含 VIP 配置)"}),s.jsx("p",{children:"GET /api/db/users、/api/db/book — 用户与章节数据"}),s.jsx("p",{children:"GET /api/admin/orders — 订单列表"})]})]}),s.jsx("p",{className:"text-gray-500 text-xs",children:"完整说明见项目内 开发文档/5、接口/API接口完整文档.md"})]})}function QV(){const t=Oi();return s.jsx("div",{className:"min-h-screen bg-[#0a1628] flex items-center justify-center p-8",children:s.jsxs("div",{className:"text-center max-w-md",children:[s.jsx("div",{className:"inline-flex items-center justify-center w-20 h-20 rounded-full bg-red-500/20 text-red-400 mb-6",children:s.jsx(tM,{className:"w-10 h-10"})}),s.jsx("h1",{className:"text-4xl font-bold text-white mb-2",children:"404"}),s.jsx("p",{className:"text-gray-400 mb-1",children:"页面不存在"}),s.jsx("p",{className:"text-sm text-gray-500 font-mono mb-8 break-all",children:t.pathname}),s.jsx(ne,{asChild:!0,className:"bg-[#38bdac] hover:bg-[#2da396] text-white",children:s.jsxs(Pg,{to:"/",children:[s.jsx(BM,{className:"w-4 h-4 mr-2"}),"返回首页"]})})]})})}function XV(){return s.jsxs(wT,{children:[s.jsx(zt,{path:"/login",element:s.jsx(cI,{})}),s.jsxs(zt,{path:"/",element:s.jsx(h5,{}),children:[s.jsx(zt,{index:!0,element:s.jsx(Im,{to:"/dashboard",replace:!0})}),s.jsx(zt,{path:"dashboard",element:s.jsx(bP,{})}),s.jsx(zt,{path:"orders",element:s.jsx(vP,{})}),s.jsx(zt,{path:"users",element:s.jsx(NP,{})}),s.jsx(zt,{path:"distribution",element:s.jsx(HP,{})}),s.jsx(zt,{path:"withdrawals",element:s.jsx(WP,{})}),s.jsx(zt,{path:"content",element:s.jsx(mV,{})}),s.jsx(zt,{path:"referral-settings",element:s.jsx($k,{})}),s.jsx(zt,{path:"author-settings",element:s.jsx(Im,{to:"/settings?tab=author",replace:!0})}),s.jsx(zt,{path:"vip-roles",element:s.jsx(OV,{})}),s.jsx(zt,{path:"mentors",element:s.jsx(H4,{})}),s.jsx(zt,{path:"mentor-consultations",element:s.jsx(DV,{})}),s.jsx(zt,{path:"admin-users",element:s.jsx(Im,{to:"/settings?tab=admin",replace:!0})}),s.jsx(zt,{path:"settings",element:s.jsx(kV,{})}),s.jsx(zt,{path:"payment",element:s.jsx(SV,{})}),s.jsx(zt,{path:"site",element:s.jsx(MV,{})}),s.jsx(zt,{path:"qrcodes",element:s.jsx(AV,{})}),s.jsx(zt,{path:"find-partner",element:s.jsx(JV,{})}),s.jsx(zt,{path:"match",element:s.jsx(RV,{})}),s.jsx(zt,{path:"match-records",element:s.jsx(PV,{})}),s.jsx(zt,{path:"api-doc",element:s.jsx(YV,{})}),s.jsx(zt,{path:"api-docs",element:s.jsx(V4,{})})]}),s.jsx(zt,{path:"*",element:s.jsx(QV,{})})]})}EE.createRoot(document.getElementById("root")).render(s.jsx(b.StrictMode,{children:s.jsx(AT,{future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:s.jsx(XV,{})})})); diff --git a/soul-admin/dist/assets/index-DpIZ55qK.css b/soul-admin/dist/assets/index-DpIZ55qK.css new file mode 100644 index 00000000..b7179e0e --- /dev/null +++ b/soul-admin/dist/assets/index-DpIZ55qK.css @@ -0,0 +1 @@ +.rich-editor-wrapper{border:1px solid #374151;border-radius:.5rem;background:#0a1628;overflow:hidden}.rich-editor-toolbar{display:flex;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid #374151;background:#0f1d32;flex-wrap:wrap}.toolbar-group{display:flex;align-items:center;gap:1px}.toolbar-divider{width:1px;height:20px;background:#374151;margin:0 4px}.rich-editor-toolbar button{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer;transition:all .15s}.rich-editor-toolbar button:hover{background:#1f2937;color:#d1d5db}.rich-editor-toolbar button.is-active{background:#38bdac33;color:#38bdac}.rich-editor-toolbar button:disabled{opacity:.3;cursor:not-allowed}.link-tag-select{background:#0a1628;border:1px solid #374151;color:#d1d5db;font-size:12px;padding:2px 6px;border-radius:4px;cursor:pointer;max-width:160px}.link-input-bar{display:flex;align-items:center;gap:4px;padding:4px 8px;border-bottom:1px solid #374151;background:#0f1d32}.link-input{flex:1;background:#0a1628;border:1px solid #374151;color:#fff;padding:4px 8px;border-radius:4px;font-size:13px}.link-confirm,.link-remove{padding:4px 10px;border-radius:4px;border:none;font-size:12px;cursor:pointer}.link-confirm{background:#38bdac;color:#fff}.link-remove{background:#374151;color:#9ca3af}.rich-editor-content{min-height:300px;max-height:500px;overflow-y:auto;padding:12px 16px;color:#e5e7eb;font-size:14px;line-height:1.7}.rich-editor-content:focus{outline:none}.rich-editor-content h1{font-size:1.5em;font-weight:700;margin:.8em 0 .4em;color:#fff}.rich-editor-content h2{font-size:1.3em;font-weight:600;margin:.7em 0 .3em;color:#fff}.rich-editor-content h3{font-size:1.15em;font-weight:600;margin:.6em 0 .3em;color:#fff}.rich-editor-content p{margin:.4em 0}.rich-editor-content strong{color:#fff}.rich-editor-content code{background:#1f2937;padding:2px 6px;border-radius:3px;font-size:.9em;color:#38bdac}.rich-editor-content pre{background:#1f2937;padding:12px;border-radius:6px;overflow-x:auto;margin:.6em 0}.rich-editor-content blockquote{border-left:3px solid #38bdac;padding-left:12px;margin:.6em 0;color:#9ca3af}.rich-editor-content ul,.rich-editor-content ol{padding-left:1.5em;margin:.4em 0}.rich-editor-content li{margin:.2em 0}.rich-editor-content hr{border:none;border-top:1px solid #374151;margin:1em 0}.rich-editor-content img{max-width:100%;border-radius:6px;margin:.5em 0}.rich-editor-content a,.rich-link{color:#38bdac;text-decoration:underline;cursor:pointer}.rich-editor-content table{border-collapse:collapse;width:100%;margin:.5em 0}.rich-editor-content th,.rich-editor-content td{border:1px solid #374151;padding:6px 10px;text-align:left}.rich-editor-content th{background:#1f2937;font-weight:600}.rich-editor-content .ProseMirror-placeholder:before{content:attr(data-placeholder);color:#6b7280;float:left;height:0;pointer-events:none}.mention-tag{background:#38bdac26;color:#38bdac;border-radius:4px;padding:1px 4px;font-weight:500}.link-tag-node{background:#ffd7001f;color:gold;border-radius:4px;padding:1px 4px;font-weight:500;cursor:default;-webkit-user-select:all;user-select:all}.mention-popup{position:fixed;z-index:9999;background:#1a2638;border:1px solid #374151;border-radius:8px;padding:4px;min-width:180px;max-height:240px;overflow-y:auto;box-shadow:0 4px 20px #0006}.mention-item{display:flex;align-items:center;justify-content:space-between;padding:6px 10px;border-radius:4px;cursor:pointer;color:#d1d5db;font-size:13px}.mention-item:hover,.mention-item.is-selected{background:#38bdac26;color:#38bdac}.mention-name{font-weight:500}.mention-id{font-size:11px;color:#6b7280}.bubble-menu{display:flex;gap:2px;background:#1a2638;border:1px solid #374151;border-radius:6px;padding:4px;box-shadow:0 4px 12px #0000004d}.bubble-menu button{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:4px;border:none;background:transparent;color:#9ca3af;cursor:pointer}.bubble-menu button:hover{background:#1f2937;color:#d1d5db}.bubble-menu button.is-active{color:#38bdac}.mention-trigger-btn{color:#38bdac!important}.mention-trigger-btn:hover{background:#38bdac33!important}.upload-progress-bar{display:flex;align-items:center;gap:8px;padding:4px 10px;background:#0f1d32;border-bottom:1px solid #374151}.upload-progress-track{flex:1;height:4px;background:#1f2937;border-radius:2px;overflow:hidden}.upload-progress-fill{height:100%;background:linear-gradient(90deg,#38bdac,#4ae3ce);border-radius:2px;transition:width .3s ease}.upload-progress-text{font-size:11px;color:#38bdac;white-space:nowrap}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-pan-x:initial;--tw-pan-y:initial;--tw-pinch-zoom:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-divide-x-reverse:0;--tw-border-style:solid;--tw-divide-y-reverse:0;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-500:oklch(70.5% .213 47.604);--color-orange-600:oklch(64.6% .222 41.116);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-500:oklch(71.5% .143 215.221);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-rose-400:oklch(71.2% .194 13.428);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-2xl:42rem;--container-3xl:48rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5/2.25);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-wider:.05em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--animate-spin:spin 1s linear infinite;--blur-xl:24px;--blur-3xl:64px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.not-sr-only{clip-path:none;white-space:normal;width:auto;height:auto;margin:0;padding:0;position:static;overflow:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing)*0)}.-top-2\.5{top:calc(var(--spacing)*-2.5)}.top-0{top:calc(var(--spacing)*0)}.top-1\/2{top:50%}.top-1\/4{top:25%}.top-4{top:calc(var(--spacing)*4)}.top-16{top:calc(var(--spacing)*16)}.top-\[50\%\]{top:50%}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-1\/4{right:25%}.right-4{right:calc(var(--spacing)*4)}.bottom-1\/4{bottom:25%}.-left-2\.5{left:calc(var(--spacing)*-2.5)}.left-0{left:calc(var(--spacing)*0)}.left-1\/4{left:25%}.left-2{left:calc(var(--spacing)*2)}.left-3{left:calc(var(--spacing)*3)}.left-\[50\%\]{left:50%}.isolate{isolation:isolate}.isolation-auto{isolation:auto}.z-10{z-index:10}.z-50{z-index:50}.col-span-2{grid-column:span 2/span 2}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.-mx-2{margin-inline:calc(var(--spacing)*-2)}.-mx-8{margin-inline:calc(var(--spacing)*-8)}.mx-20{margin-inline:calc(var(--spacing)*20)}.mx-auto{margin-inline:auto}.-mt-6{margin-top:calc(var(--spacing)*-6)}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-0\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-1\.5{margin-top:calc(var(--spacing)*1.5)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-3{margin-top:calc(var(--spacing)*3)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mr-3{margin-right:calc(var(--spacing)*3)}.mr-auto{margin-right:auto}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-1\.5{margin-bottom:calc(var(--spacing)*1.5)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-5{margin-bottom:calc(var(--spacing)*5)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-4{margin-left:calc(var(--spacing)*4)}.ml-6{margin-left:calc(var(--spacing)*6)}.ml-auto{margin-left:auto}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.flow-root{display:flow-root}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline\!{display:inline!important}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.inline-table{display:inline-table}.list-item{display:list-item}.table{display:table}.table\!{display:table!important}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-column{display:table-column}.table-column-group{display:table-column-group}.table-footer-group{display:table-footer-group}.table-header-group{display:table-header-group}.table-row{display:table-row}.table-row-group{display:table-row-group}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-8{width:calc(var(--spacing)*8);height:calc(var(--spacing)*8)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-10{width:calc(var(--spacing)*10);height:calc(var(--spacing)*10)}.h-0\.5{height:calc(var(--spacing)*.5)}.h-1\.5{height:calc(var(--spacing)*1.5)}.h-2{height:calc(var(--spacing)*2)}.h-3{height:calc(var(--spacing)*3)}.h-3\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-16{height:calc(var(--spacing)*16)}.h-20{height:calc(var(--spacing)*20)}.h-24{height:calc(var(--spacing)*24)}.h-96{height:calc(var(--spacing)*96)}.h-auto{height:auto}.h-full{height:100%}.max-h-60{max-height:calc(var(--spacing)*60)}.max-h-64{max-height:calc(var(--spacing)*64)}.max-h-96{max-height:calc(var(--spacing)*96)}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.max-h-\[250px\]{max-height:250px}.max-h-\[300px\]{max-height:300px}.max-h-\[400px\]{max-height:400px}.max-h-\[450px\]{max-height:450px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-8{min-height:calc(var(--spacing)*8)}.min-h-\[32px\]{min-height:32px}.min-h-\[40px\]{min-height:40px}.min-h-\[60vh\]{min-height:60vh}.min-h-\[72px\]{min-height:72px}.min-h-\[80px\]{min-height:80px}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[260px\]{min-height:260px}.min-h-\[400px\]{min-height:400px}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-0\.5{width:calc(var(--spacing)*.5)}.w-2{width:calc(var(--spacing)*2)}.w-3{width:calc(var(--spacing)*3)}.w-3\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-7{width:calc(var(--spacing)*7)}.w-8{width:calc(var(--spacing)*8)}.w-9{width:calc(var(--spacing)*9)}.w-10{width:calc(var(--spacing)*10)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-20{width:calc(var(--spacing)*20)}.w-24{width:calc(var(--spacing)*24)}.w-28{width:calc(var(--spacing)*28)}.w-32{width:calc(var(--spacing)*32)}.w-36{width:calc(var(--spacing)*36)}.w-40{width:calc(var(--spacing)*40)}.w-44{width:calc(var(--spacing)*44)}.w-48{width:calc(var(--spacing)*48)}.w-52{width:calc(var(--spacing)*52)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-96{width:calc(var(--spacing)*96)}.w-\[200px\]{width:200px}.w-fit{width:fit-content}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[100px\]{max-width:100px}.max-w-\[120px\]{max-width:120px}.max-w-\[140px\]{max-width:140px}.max-w-\[180px\]{max-width:180px}.max-w-\[200px\]{max-width:200px}.max-w-\[250px\]{max-width:250px}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.max-w-lg{max-width:var(--container-lg)}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-48{min-width:calc(var(--spacing)*48)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[60px\]{min-width:60px}.min-w-\[120px\]{min-width:120px}.min-w-\[1024px\]{min-width:1024px}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-1\/2{--tw-translate-x: 50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-none{translate:none}.scale-3d{scale:var(--tw-scale-x)var(--tw-scale-y)var(--tw-scale-z)}.scale-\[0\.98\]{scale:.98}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-pointer{cursor:pointer}.touch-pinch-zoom{--tw-pinch-zoom:pinch-zoom;touch-action:var(--tw-pan-x,)var(--tw-pan-y,)var(--tw-pinch-zoom,)}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.list-inside{list-style-position:inside}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-\[40px_40px_1fr_80px_80px_80px_60px\]{grid-template-columns:40px 40px 1fr 80px 80px 80px 60px}.grid-cols-\[60px_1fr_100px_100px_80px_120px\]{grid-template-columns:60px 1fr 100px 100px 80px 120px}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing)*0)}.gap-0\.5{gap:calc(var(--spacing)*.5)}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-3{gap:calc(var(--spacing)*3)}.gap-4{gap:calc(var(--spacing)*4)}.gap-5{gap:calc(var(--spacing)*5)}.gap-6{gap:calc(var(--spacing)*6)}.gap-8{gap:calc(var(--spacing)*8)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-reverse>:not(:last-child)){--tw-space-y-reverse:1}.gap-x-8{column-gap:calc(var(--spacing)*8)}:where(.space-x-reverse>:not(:last-child)){--tw-space-x-reverse:1}.gap-y-4{row-gap:calc(var(--spacing)*4)}:where(.divide-x>:not(:last-child)){--tw-divide-x-reverse:0;border-inline-style:var(--tw-border-style);border-inline-start-width:calc(1px*var(--tw-divide-x-reverse));border-inline-end-width:calc(1px*calc(1 - var(--tw-divide-x-reverse)))}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-y-reverse>:not(:last-child)){--tw-divide-y-reverse:1}:where(.divide-gray-700\/50>:not(:last-child)){border-color:#36415380}@supports (color:color-mix(in lab,red,red)){:where(.divide-gray-700\/50>:not(:last-child)){border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}:where(.divide-white\/5>:not(:last-child)){border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){:where(.divide-white\/5>:not(:last-child)){border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-s{border-start-start-radius:.25rem;border-end-start-radius:.25rem}.rounded-ss{border-start-start-radius:.25rem}.rounded-e{border-start-end-radius:.25rem;border-end-end-radius:.25rem}.rounded-se{border-start-end-radius:.25rem}.rounded-ee{border-end-end-radius:.25rem}.rounded-es{border-end-start-radius:.25rem}.rounded-t{border-top-left-radius:.25rem;border-top-right-radius:.25rem}.rounded-l{border-top-left-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.rounded-r{border-top-right-radius:.25rem;border-bottom-right-radius:.25rem}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-tr{border-top-right-radius:.25rem}.rounded-b{border-bottom-right-radius:.25rem;border-bottom-left-radius:.25rem}.rounded-br{border-bottom-right-radius:.25rem}.rounded-bl{border-bottom-left-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-s{border-inline-start-style:var(--tw-border-style);border-inline-start-width:1px}.border-e{border-inline-end-style:var(--tw-border-style);border-inline-end-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-\[\#07C160\]{border-color:#07c160}.border-\[\#07C160\]\/20{border-color:#07c16033}.border-\[\#07C160\]\/30{border-color:#07c1604d}.border-\[\#38bdac\]{border-color:#38bdac}.border-\[\#38bdac\]\/20{border-color:#38bdac33}.border-\[\#38bdac\]\/30{border-color:#38bdac4d}.border-\[\#38bdac\]\/40{border-color:#38bdac66}.border-\[\#38bdac\]\/50{border-color:#38bdac80}.border-amber-400\/60{border-color:#fcbb0099}@supports (color:color-mix(in lab,red,red)){.border-amber-400\/60{border-color:color-mix(in oklab,var(--color-amber-400)60%,transparent)}}.border-amber-500\/20{border-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/20{border-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.border-amber-500\/30{border-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/30{border-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.border-amber-500\/40{border-color:#f99c0066}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/40{border-color:color-mix(in oklab,var(--color-amber-500)40%,transparent)}}.border-amber-500\/50{border-color:#f99c0080}@supports (color:color-mix(in lab,red,red)){.border-amber-500\/50{border-color:color-mix(in oklab,var(--color-amber-500)50%,transparent)}}.border-blue-500\/30{border-color:#3080ff4d}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/30{border-color:color-mix(in oklab,var(--color-blue-500)30%,transparent)}}.border-blue-500\/40{border-color:#3080ff66}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/40{border-color:color-mix(in oklab,var(--color-blue-500)40%,transparent)}}.border-blue-500\/50{border-color:#3080ff80}@supports (color:color-mix(in lab,red,red)){.border-blue-500\/50{border-color:color-mix(in oklab,var(--color-blue-500)50%,transparent)}}.border-cyan-500\/30{border-color:#00b7d74d}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/30{border-color:color-mix(in oklab,var(--color-cyan-500)30%,transparent)}}.border-cyan-500\/40{border-color:#00b7d766}@supports (color:color-mix(in lab,red,red)){.border-cyan-500\/40{border-color:color-mix(in oklab,var(--color-cyan-500)40%,transparent)}}.border-gray-500{border-color:var(--color-gray-500)}.border-gray-600{border-color:var(--color-gray-600)}.border-gray-700{border-color:var(--color-gray-700)}.border-gray-700\/30{border-color:#3641534d}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/30{border-color:color-mix(in oklab,var(--color-gray-700)30%,transparent)}}.border-gray-700\/40{border-color:#36415366}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/40{border-color:color-mix(in oklab,var(--color-gray-700)40%,transparent)}}.border-gray-700\/50{border-color:#36415380}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/50{border-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.border-gray-700\/60{border-color:#36415399}@supports (color:color-mix(in lab,red,red)){.border-gray-700\/60{border-color:color-mix(in oklab,var(--color-gray-700)60%,transparent)}}.border-green-500\/30{border-color:#00c7584d}@supports (color:color-mix(in lab,red,red)){.border-green-500\/30{border-color:color-mix(in oklab,var(--color-green-500)30%,transparent)}}.border-green-500\/40{border-color:#00c75866}@supports (color:color-mix(in lab,red,red)){.border-green-500\/40{border-color:color-mix(in oklab,var(--color-green-500)40%,transparent)}}.border-inherit{border-color:inherit}.border-orange-500\/20{border-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/20{border-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.border-orange-500\/30{border-color:#fe6e004d}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/30{border-color:color-mix(in oklab,var(--color-orange-500)30%,transparent)}}.border-orange-500\/40{border-color:#fe6e0066}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/40{border-color:color-mix(in oklab,var(--color-orange-500)40%,transparent)}}.border-orange-500\/50{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.border-orange-500\/50{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.border-purple-500\/20{border-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/20{border-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.border-purple-500\/30{border-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/30{border-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.border-purple-500\/40{border-color:#ac4bff66}@supports (color:color-mix(in lab,red,red)){.border-purple-500\/40{border-color:color-mix(in oklab,var(--color-purple-500)40%,transparent)}}.border-red-500{border-color:var(--color-red-500)}.border-red-500\/20{border-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.border-red-500\/20{border-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.border-red-500\/30{border-color:#fb2c364d}@supports (color:color-mix(in lab,red,red)){.border-red-500\/30{border-color:color-mix(in oklab,var(--color-red-500)30%,transparent)}}.border-red-500\/50{border-color:#fb2c3680}@supports (color:color-mix(in lab,red,red)){.border-red-500\/50{border-color:color-mix(in oklab,var(--color-red-500)50%,transparent)}}.border-transparent{border-color:#0000}.border-white\/5{border-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.border-white\/5{border-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.border-white\/10{border-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.border-white\/10{border-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.border-white\/20{border-color:#fff3}@supports (color:color-mix(in lab,red,red)){.border-white\/20{border-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.border-yellow-500\/30{border-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/30{border-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.border-yellow-500\/40{border-color:#edb20066}@supports (color:color-mix(in lab,red,red)){.border-yellow-500\/40{border-color:color-mix(in oklab,var(--color-yellow-500)40%,transparent)}}.bg-\[\#0a1628\]{background-color:#0a1628}.bg-\[\#0a1628\]\/50{background-color:#0a162880}.bg-\[\#0a1628\]\/60{background-color:#0a162899}.bg-\[\#0b1828\]{background-color:#0b1828}.bg-\[\#0f2137\]{background-color:#0f2137}.bg-\[\#00CED1\]{background-color:#00ced1}.bg-\[\#1C1C1E\]{background-color:#1c1c1e}.bg-\[\#07C160\]{background-color:#07c160}.bg-\[\#07C160\]\/5{background-color:#07c1600d}.bg-\[\#07C160\]\/10{background-color:#07c1601a}.bg-\[\#38bdac\]{background-color:#38bdac}.bg-\[\#38bdac\]\/5{background-color:#38bdac0d}.bg-\[\#38bdac\]\/10{background-color:#38bdac1a}.bg-\[\#38bdac\]\/15{background-color:#38bdac26}.bg-\[\#38bdac\]\/20{background-color:#38bdac33}.bg-\[\#38bdac\]\/30{background-color:#38bdac4d}.bg-\[\#38bdac\]\/60{background-color:#38bdac99}.bg-\[\#38bdac\]\/80{background-color:#38bdaccc}.bg-\[\#050c18\]{background-color:#050c18}.bg-\[\#162840\]{background-color:#162840}.bg-amber-500{background-color:var(--color-amber-500)}.bg-amber-500\/5{background-color:#f99c000d}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/5{background-color:color-mix(in oklab,var(--color-amber-500)5%,transparent)}}.bg-amber-500\/10{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/10{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.bg-amber-500\/20{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.bg-amber-500\/20{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.bg-black{background-color:var(--color-black)}.bg-black\/30{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-black\/30{background-color:color-mix(in oklab,var(--color-black)30%,transparent)}}.bg-black\/40{background-color:#0006}@supports (color:color-mix(in lab,red,red)){.bg-black\/40{background-color:color-mix(in oklab,var(--color-black)40%,transparent)}}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-black\/60{background-color:#0009}@supports (color:color-mix(in lab,red,red)){.bg-black\/60{background-color:color-mix(in oklab,var(--color-black)60%,transparent)}}.bg-black\/90{background-color:#000000e6}@supports (color:color-mix(in lab,red,red)){.bg-black\/90{background-color:color-mix(in oklab,var(--color-black)90%,transparent)}}.bg-blue-500\/5{background-color:#3080ff0d}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/5{background-color:color-mix(in oklab,var(--color-blue-500)5%,transparent)}}.bg-blue-500\/10{background-color:#3080ff1a}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/10{background-color:color-mix(in oklab,var(--color-blue-500)10%,transparent)}}.bg-blue-500\/20{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.bg-blue-500\/20{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.bg-cyan-500{background-color:var(--color-cyan-500)}.bg-cyan-500\/20{background-color:#00b7d733}@supports (color:color-mix(in lab,red,red)){.bg-cyan-500\/20{background-color:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.bg-emerald-500\/20{background-color:#00bb7f33}@supports (color:color-mix(in lab,red,red)){.bg-emerald-500\/20{background-color:color-mix(in oklab,var(--color-emerald-500)20%,transparent)}}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-500\/10{background-color:#6a72821a}@supports (color:color-mix(in lab,red,red)){.bg-gray-500\/10{background-color:color-mix(in oklab,var(--color-gray-500)10%,transparent)}}.bg-gray-500\/20{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.bg-gray-500\/20{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.bg-gray-600{background-color:var(--color-gray-600)}.bg-gray-600\/20{background-color:#4a556533}@supports (color:color-mix(in lab,red,red)){.bg-gray-600\/20{background-color:color-mix(in oklab,var(--color-gray-600)20%,transparent)}}.bg-gray-600\/50{background-color:#4a556580}@supports (color:color-mix(in lab,red,red)){.bg-gray-600\/50{background-color:color-mix(in oklab,var(--color-gray-600)50%,transparent)}}.bg-gray-700{background-color:var(--color-gray-700)}.bg-gray-700\/50{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.bg-gray-700\/50{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.bg-green-400\/10{background-color:#05df721a}@supports (color:color-mix(in lab,red,red)){.bg-green-400\/10{background-color:color-mix(in oklab,var(--color-green-400)10%,transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-green-500\/10{background-color:#00c7581a}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/10{background-color:color-mix(in oklab,var(--color-green-500)10%,transparent)}}.bg-green-500\/20{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.bg-green-500\/20{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.bg-green-600{background-color:var(--color-green-600)}.bg-orange-500{background-color:var(--color-orange-500)}.bg-orange-500\/10{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/10{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.bg-orange-500\/20{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.bg-orange-500\/20{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.bg-purple-500\/20{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.bg-purple-500\/20{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.bg-red-500\/10{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/10{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.bg-red-500\/20{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.bg-red-500\/20{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.bg-red-600{background-color:var(--color-red-600)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-white\/5{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.bg-white\/5{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.bg-white\/10{background-color:#ffffff1a}@supports (color:color-mix(in lab,red,red)){.bg-white\/10{background-color:color-mix(in oklab,var(--color-white)10%,transparent)}}.bg-white\/20{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.bg-white\/20{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.bg-yellow-500\/20{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.bg-yellow-500\/20{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-r{--tw-gradient-position:to right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-\[\#0f2137\]{--tw-gradient-from:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#00CED1\]{--tw-gradient-from:#00ced1;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-\[\#38bdac\]\/10{--tw-gradient-from:oklab(72.378% -.11483 -.0053193/.1);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-blue-500\/20{--tw-gradient-from:#3080ff33}@supports (color:color-mix(in lab,red,red)){.from-blue-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.from-blue-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-cyan-500\/20{--tw-gradient-from:#00b7d733}@supports (color:color-mix(in lab,red,red)){.from-cyan-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-cyan-500)20%,transparent)}}.from-cyan-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-green-500\/20{--tw-gradient-from:#00c75833}@supports (color:color-mix(in lab,red,red)){.from-green-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.from-green-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-purple-500\/20{--tw-gradient-from:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.from-purple-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.from-purple-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.from-yellow-500\/20{--tw-gradient-from:#edb20033}@supports (color:color-mix(in lab,red,red)){.from-yellow-500\/20{--tw-gradient-from:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.from-yellow-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.via-\[\#38bdac\]\/30{--tw-gradient-via:oklab(72.378% -.11483 -.0053193/.3);--tw-gradient-via-stops:var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-via)var(--tw-gradient-via-position),var(--tw-gradient-to)var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-via-stops)}.to-\[\#0f2137\]{--tw-gradient-to:#0f2137;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#20B2AA\]{--tw-gradient-to:#20b2aa;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-\[\#162d4a\]{--tw-gradient-to:#162d4a;--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-amber-500\/20{--tw-gradient-to:#f99c0033}@supports (color:color-mix(in lab,red,red)){.to-amber-500\/20{--tw-gradient-to:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.to-amber-500\/20{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-cyan-500\/5{--tw-gradient-to:#00b7d70d}@supports (color:color-mix(in lab,red,red)){.to-cyan-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-cyan-500)5%,transparent)}}.to-cyan-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-green-500\/5{--tw-gradient-to:#00c7580d}@supports (color:color-mix(in lab,red,red)){.to-green-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-green-500)5%,transparent)}}.to-green-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-purple-500\/5{--tw-gradient-to:#ac4bff0d}@supports (color:color-mix(in lab,red,red)){.to-purple-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-purple-500)5%,transparent)}}.to-purple-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.to-yellow-500\/5{--tw-gradient-to:#edb2000d}@supports (color:color-mix(in lab,red,red)){.to-yellow-500\/5{--tw-gradient-to:color-mix(in oklab,var(--color-yellow-500)5%,transparent)}}.to-yellow-500\/5{--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position),var(--tw-gradient-from)var(--tw-gradient-from-position),var(--tw-gradient-to)var(--tw-gradient-to-position))}.bg-repeat{background-repeat:repeat}.mask-no-clip{-webkit-mask-clip:no-clip;mask-clip:no-clip}.mask-repeat{-webkit-mask-repeat:repeat;mask-repeat:repeat}.fill-amber-400{fill:var(--color-amber-400)}.fill-current{fill:currentColor}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-2{padding:calc(var(--spacing)*2)}.p-2\.5{padding:calc(var(--spacing)*2.5)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.px-0{padding-inline:calc(var(--spacing)*0)}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-2\.5{padding-block:calc(var(--spacing)*2.5)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-5{padding-block:calc(var(--spacing)*5)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-10{padding-block:calc(var(--spacing)*10)}.py-12{padding-block:calc(var(--spacing)*12)}.py-16{padding-block:calc(var(--spacing)*16)}.py-20{padding-block:calc(var(--spacing)*20)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-1{padding-top:calc(var(--spacing)*1)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-4{padding-top:calc(var(--spacing)*4)}.pt-5{padding-top:calc(var(--spacing)*5)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-1{padding-right:calc(var(--spacing)*1)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-4{padding-right:calc(var(--spacing)*4)}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-8{padding-left:calc(var(--spacing)*8)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.leading-6{--tw-leading:calc(var(--spacing)*6);line-height:calc(var(--spacing)*6)}.leading-none{--tw-leading:1;line-height:1}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.text-wrap{text-wrap:wrap}.break-all{word-break:break-all}.text-clip{text-overflow:clip}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-\[\#00CED1\]{color:#00ced1}.text-\[\#07C160\]{color:#07c160}.text-\[\#07C160\]\/60{color:#07c16099}.text-\[\#07C160\]\/70{color:#07c160b3}.text-\[\#07C160\]\/80{color:#07c160cc}.text-\[\#26A17B\]{color:#26a17b}.text-\[\#38bdac\]{color:#38bdac}.text-\[\#38bdac\]\/30{color:#38bdac4d}.text-\[\#38bdac\]\/40{color:#38bdac66}.text-\[\#169BD7\]{color:#169bd7}.text-\[\#1677FF\]{color:#1677ff}.text-\[\#FFD700\]{color:gold}.text-amber-200{color:var(--color-amber-200)}.text-amber-200\/80{color:#fee685cc}@supports (color:color-mix(in lab,red,red)){.text-amber-200\/80{color:color-mix(in oklab,var(--color-amber-200)80%,transparent)}}.text-amber-300{color:var(--color-amber-300)}.text-amber-400{color:var(--color-amber-400)}.text-amber-400\/30{color:#fcbb004d}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/30{color:color-mix(in oklab,var(--color-amber-400)30%,transparent)}}.text-amber-400\/90{color:#fcbb00e6}@supports (color:color-mix(in lab,red,red)){.text-amber-400\/90{color:color-mix(in oklab,var(--color-amber-400)90%,transparent)}}.text-black{color:var(--color-black)}.text-blue-300{color:var(--color-blue-300)}.text-blue-300\/60{color:#90c5ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-300\/60{color:color-mix(in oklab,var(--color-blue-300)60%,transparent)}}.text-blue-400{color:var(--color-blue-400)}.text-blue-400\/60{color:#54a2ff99}@supports (color:color-mix(in lab,red,red)){.text-blue-400\/60{color:color-mix(in oklab,var(--color-blue-400)60%,transparent)}}.text-cyan-400{color:var(--color-cyan-400)}.text-emerald-400{color:var(--color-emerald-400)}.text-gray-200{color:var(--color-gray-200)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-green-300{color:var(--color-green-300)}.text-green-400{color:var(--color-green-400)}.text-green-400\/90{color:#05df72e6}@supports (color:color-mix(in lab,red,red)){.text-green-400\/90{color:color-mix(in oklab,var(--color-green-400)90%,transparent)}}.text-green-500{color:var(--color-green-500)}.text-orange-300{color:var(--color-orange-300)}.text-orange-300\/60{color:#ffb96d99}@supports (color:color-mix(in lab,red,red)){.text-orange-300\/60{color:color-mix(in oklab,var(--color-orange-300)60%,transparent)}}.text-orange-400{color:var(--color-orange-400)}.text-orange-400\/60{color:#ff8b1a99}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/60{color:color-mix(in oklab,var(--color-orange-400)60%,transparent)}}.text-orange-400\/70{color:#ff8b1ab3}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/70{color:color-mix(in oklab,var(--color-orange-400)70%,transparent)}}.text-orange-400\/80{color:#ff8b1acc}@supports (color:color-mix(in lab,red,red)){.text-orange-400\/80{color:color-mix(in oklab,var(--color-orange-400)80%,transparent)}}.text-purple-400{color:var(--color-purple-400)}.text-red-400{color:var(--color-red-400)}.text-rose-400{color:var(--color-rose-400)}.text-sky-300{color:var(--color-sky-300)}.text-white{color:var(--color-white)}.text-white\/40{color:#fff6}@supports (color:color-mix(in lab,red,red)){.text-white\/40{color:color-mix(in oklab,var(--color-white)40%,transparent)}}.text-white\/60{color:#fff9}@supports (color:color-mix(in lab,red,red)){.text-white\/60{color:color-mix(in oklab,var(--color-white)60%,transparent)}}.text-white\/70{color:#ffffffb3}@supports (color:color-mix(in lab,red,red)){.text-white\/70{color:color-mix(in oklab,var(--color-white)70%,transparent)}}.text-white\/80{color:#fffc}@supports (color:color-mix(in lab,red,red)){.text-white\/80{color:color-mix(in oklab,var(--color-white)80%,transparent)}}.text-yellow-400{color:var(--color-yellow-400)}.text-yellow-400\/60{color:#fac80099}@supports (color:color-mix(in lab,red,red)){.text-yellow-400\/60{color:color-mix(in oklab,var(--color-yellow-400)60%,transparent)}}.text-yellow-500\/70{color:#edb200b3}@supports (color:color-mix(in lab,red,red)){.text-yellow-500\/70{color:color-mix(in oklab,var(--color-yellow-500)70%,transparent)}}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.normal-case{text-transform:none}.uppercase{text-transform:uppercase}.italic{font-style:italic}.italic\!{font-style:italic!important}.not-italic{font-style:normal}.diagonal-fractions{--tw-numeric-fraction:diagonal-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.lining-nums{--tw-numeric-figure:lining-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.oldstyle-nums{--tw-numeric-figure:oldstyle-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.proportional-nums{--tw-numeric-spacing:proportional-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.slashed-zero{--tw-slashed-zero:slashed-zero;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.stacked-fractions{--tw-numeric-fraction:stacked-fractions;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.normal-nums{font-variant-numeric:normal}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.overline{text-decoration-line:overline}.underline{text-decoration-line:underline}.underline\!{text-decoration-line:underline!important}.underline-offset-4{text-underline-offset:4px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.subpixel-antialiased{-webkit-font-smoothing:auto;-moz-osx-font-smoothing:auto}.accent-\[\#38bdac\]{accent-color:#38bdac}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-55{opacity:.55}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-0{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\[\#38bdac\]\/20{--tw-shadow-color:#38bdac33}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/20{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.2) var(--tw-shadow-alpha),transparent)}}.shadow-\[\#38bdac\]\/30{--tw-shadow-color:#38bdac4d}@supports (color:color-mix(in lab,red,red)){.shadow-\[\#38bdac\]\/30{--tw-shadow-color:color-mix(in oklab,oklab(72.378% -.11483 -.0053193/.3) var(--tw-shadow-alpha),transparent)}}.ring-\[\#38bdac\]{--tw-ring-color:#38bdac}.ring-\[\#38bdac\]\/40{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.4)}.ring-\[\#38bdac\]\/50{--tw-ring-color:oklab(72.378% -.11483 -.0053193/.5)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.blur-3xl{--tw-blur:blur(var(--blur-3xl));filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.drop-shadow{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#0000001a))drop-shadow(0 1px 1px var(--tw-drop-shadow-color,#0000000f));--tw-drop-shadow:drop-shadow(0 1px 2px #0000001a)drop-shadow(0 1px 1px #0000000f);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.filter\!{filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)!important}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-blur-xl{--tw-backdrop-blur:blur(var(--blur-xl));-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-grayscale{--tw-backdrop-grayscale:grayscale(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-invert{--tw-backdrop-invert:invert(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-sepia{--tw-backdrop-sepia:sepia(100%);-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,)var(--tw-backdrop-brightness,)var(--tw-backdrop-contrast,)var(--tw-backdrop-grayscale,)var(--tw-backdrop-hue-rotate,)var(--tw-backdrop-invert,)var(--tw-backdrop-opacity,)var(--tw-backdrop-saturate,)var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition\!{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events!important;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))!important;transition-duration:var(--tw-duration,var(--default-transition-duration))!important}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}:where(.divide-x-reverse>:not(:last-child)){--tw-divide-x-reverse:1}.ring-inset{--tw-ring-inset:inset}@media(hover:hover){.group-hover\:text-\[\#38bdac\]:is(:where(.group):hover *){color:#38bdac}.group-hover\:text-gray-400:is(:where(.group):hover *){color:var(--color-gray-400)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.peer-disabled\:cursor-not-allowed:is(:where(.peer):disabled~*){cursor:not-allowed}.peer-disabled\:opacity-70:is(:where(.peer):disabled~*){opacity:.7}.placeholder\:text-gray-500::placeholder{color:var(--color-gray-500)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media(hover:hover){.hover\:border-\[\#38bdac\]\/30:hover{border-color:#38bdac4d}.hover\:border-\[\#38bdac\]\/50:hover{border-color:#38bdac80}.hover\:border-\[\#38bdac\]\/60:hover{border-color:#38bdac99}.hover\:border-\[\#38bdac\]\/70:hover{border-color:#38bdacb3}.hover\:border-blue-500\/60:hover{border-color:#3080ff99}@supports (color:color-mix(in lab,red,red)){.hover\:border-blue-500\/60:hover{border-color:color-mix(in oklab,var(--color-blue-500)60%,transparent)}}.hover\:border-gray-500:hover{border-color:var(--color-gray-500)}.hover\:border-gray-600:hover{border-color:var(--color-gray-600)}.hover\:border-orange-500\/50:hover{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.hover\:border-orange-500\/50:hover{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.hover\:border-yellow-500\/60:hover{border-color:#edb20099}@supports (color:color-mix(in lab,red,red)){.hover\:border-yellow-500\/60:hover{border-color:color-mix(in oklab,var(--color-yellow-500)60%,transparent)}}.hover\:bg-\[\#0a1628\]:hover{background-color:#0a1628}.hover\:bg-\[\#0a1628\]\/80:hover{background-color:#0a1628cc}.hover\:bg-\[\#1a3050\]:hover{background-color:#1a3050}.hover\:bg-\[\#2da396\]:hover{background-color:#2da396}.hover\:bg-\[\#06AD51\]:hover{background-color:#06ad51}.hover\:bg-\[\#07C160\]\/10:hover{background-color:#07c1601a}.hover\:bg-\[\#20B2AA\]:hover{background-color:#20b2aa}.hover\:bg-\[\#38bdac\]\/10:hover{background-color:#38bdac1a}.hover\:bg-\[\#38bdac\]\/20:hover{background-color:#38bdac33}.hover\:bg-\[\#162840\]:hover{background-color:#162840}.hover\:bg-\[\#162840\]\/30:hover{background-color:#1628404d}.hover\:bg-\[\#162840\]\/50:hover{background-color:#16284080}.hover\:bg-amber-500\/10:hover{background-color:#f99c001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/10:hover{background-color:color-mix(in oklab,var(--color-amber-500)10%,transparent)}}.hover\:bg-amber-500\/20:hover{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/20:hover{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.hover\:bg-amber-500\/30:hover{background-color:#f99c004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-amber-500\/30:hover{background-color:color-mix(in oklab,var(--color-amber-500)30%,transparent)}}.hover\:bg-amber-600:hover{background-color:var(--color-amber-600)}.hover\:bg-blue-400\/10:hover{background-color:#54a2ff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-400\/10:hover{background-color:color-mix(in oklab,var(--color-blue-400)10%,transparent)}}.hover\:bg-blue-500\/20:hover{background-color:#3080ff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-blue-500\/20:hover{background-color:color-mix(in oklab,var(--color-blue-500)20%,transparent)}}.hover\:bg-gray-500:hover{background-color:var(--color-gray-500)}.hover\:bg-gray-500\/20:hover{background-color:#6a728233}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-500\/20:hover{background-color:color-mix(in oklab,var(--color-gray-500)20%,transparent)}}.hover\:bg-gray-700:hover{background-color:var(--color-gray-700)}.hover\:bg-gray-700\/50:hover{background-color:#36415380}@supports (color:color-mix(in lab,red,red)){.hover\:bg-gray-700\/50:hover{background-color:color-mix(in oklab,var(--color-gray-700)50%,transparent)}}.hover\:bg-gray-800:hover{background-color:var(--color-gray-800)}.hover\:bg-green-500\/20:hover{background-color:#00c75833}@supports (color:color-mix(in lab,red,red)){.hover\:bg-green-500\/20:hover{background-color:color-mix(in oklab,var(--color-green-500)20%,transparent)}}.hover\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\:bg-orange-400\/10:hover{background-color:#ff8b1a1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-400\/10:hover{background-color:color-mix(in oklab,var(--color-orange-400)10%,transparent)}}.hover\:bg-orange-500\/10:hover{background-color:#fe6e001a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/10:hover{background-color:color-mix(in oklab,var(--color-orange-500)10%,transparent)}}.hover\:bg-orange-500\/20:hover{background-color:#fe6e0033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-orange-500\/20:hover{background-color:color-mix(in oklab,var(--color-orange-500)20%,transparent)}}.hover\:bg-orange-600:hover{background-color:var(--color-orange-600)}.hover\:bg-purple-500\/10:hover{background-color:#ac4bff1a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/10:hover{background-color:color-mix(in oklab,var(--color-purple-500)10%,transparent)}}.hover\:bg-purple-500\/20:hover{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/20:hover{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.hover\:bg-purple-500\/30:hover{background-color:#ac4bff4d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-purple-500\/30:hover{background-color:color-mix(in oklab,var(--color-purple-500)30%,transparent)}}.hover\:bg-red-500\/10:hover{background-color:#fb2c361a}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/10:hover{background-color:color-mix(in oklab,var(--color-red-500)10%,transparent)}}.hover\:bg-red-500\/20:hover{background-color:#fb2c3633}@supports (color:color-mix(in lab,red,red)){.hover\:bg-red-500\/20:hover{background-color:color-mix(in oklab,var(--color-red-500)20%,transparent)}}.hover\:bg-red-700:hover{background-color:var(--color-red-700)}.hover\:bg-white\/5:hover{background-color:#ffffff0d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/5:hover{background-color:color-mix(in oklab,var(--color-white)5%,transparent)}}.hover\:bg-white\/20:hover{background-color:#fff3}@supports (color:color-mix(in lab,red,red)){.hover\:bg-white\/20:hover{background-color:color-mix(in oklab,var(--color-white)20%,transparent)}}.hover\:bg-yellow-500\/20:hover{background-color:#edb20033}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/20:hover{background-color:color-mix(in oklab,var(--color-yellow-500)20%,transparent)}}.hover\:bg-yellow-500\/30:hover{background-color:#edb2004d}@supports (color:color-mix(in lab,red,red)){.hover\:bg-yellow-500\/30:hover{background-color:color-mix(in oklab,var(--color-yellow-500)30%,transparent)}}.hover\:text-\[\#2da396\]:hover{color:#2da396}.hover\:text-\[\#5fe0cd\]:hover{color:#5fe0cd}.hover\:text-\[\#38bdac\]:hover{color:#38bdac}.hover\:text-amber-200:hover{color:var(--color-amber-200)}.hover\:text-amber-300:hover{color:var(--color-amber-300)}.hover\:text-amber-400:hover{color:var(--color-amber-400)}.hover\:text-blue-300:hover{color:var(--color-blue-300)}.hover\:text-blue-400:hover{color:var(--color-blue-400)}.hover\:text-gray-300:hover{color:var(--color-gray-300)}.hover\:text-green-400:hover{color:var(--color-green-400)}.hover\:text-orange-400:hover{color:var(--color-orange-400)}.hover\:text-red-300:hover{color:var(--color-red-300)}.hover\:text-red-400:hover{color:var(--color-red-400)}.hover\:text-sky-200:hover{color:var(--color-sky-200)}.hover\:text-white:hover{color:var(--color-white)}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}}.focus\:border-\[\#38bdac\]:focus{border-color:#38bdac}.focus\:border-orange-500\/50:focus{border-color:#fe6e0080}@supports (color:color-mix(in lab,red,red)){.focus\:border-orange-500\/50:focus{border-color:color-mix(in oklab,var(--color-orange-500)50%,transparent)}}.focus\:bg-\[\#38bdac\]\/20:focus{background-color:#38bdac33}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-\[\#38bdac\]:focus{--tw-ring-color:#38bdac}.focus\:ring-amber-400:focus{--tw-ring-color:var(--color-amber-400)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\:ring-0:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(0px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:ring-\[\#38bdac\]:focus-visible{--tw-ring-color:#38bdac}.focus-visible\:ring-red-500:focus-visible{--tw-ring-color:var(--color-red-500)}.focus-visible\:ring-offset-0:focus-visible{--tw-ring-offset-width:0px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\:ring-offset-\[\#0a1628\]:focus-visible{--tw-ring-offset-color:#0a1628}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:cursor-grabbing:active{cursor:grabbing}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing)*1);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=active\]\:bg-\[\#07C160\]\/20[data-state=active]{background-color:#07c16033}.data-\[state\=active\]\:bg-\[\#26A17B\]\/20[data-state=active]{background-color:#26a17b33}.data-\[state\=active\]\:bg-\[\#38bdac\]\/20[data-state=active]{background-color:#38bdac33}.data-\[state\=active\]\:bg-\[\#1677FF\]\/20[data-state=active]{background-color:#1677ff33}.data-\[state\=active\]\:bg-\[\#003087\]\/20[data-state=active]{background-color:#00308733}.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:#f99c0033}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-amber-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-amber-500)20%,transparent)}}.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:#ac4bff33}@supports (color:color-mix(in lab,red,red)){.data-\[state\=active\]\:bg-purple-500\/20[data-state=active]{background-color:color-mix(in oklab,var(--color-purple-500)20%,transparent)}}.data-\[state\=active\]\:font-medium[data-state=active]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\[state\=active\]\:text-\[\#07C160\][data-state=active]{color:#07c160}.data-\[state\=active\]\:text-\[\#26A17B\][data-state=active]{color:#26a17b}.data-\[state\=active\]\:text-\[\#38bdac\][data-state=active]{color:#38bdac}.data-\[state\=active\]\:text-\[\#169BD7\][data-state=active]{color:#169bd7}.data-\[state\=active\]\:text-\[\#1677FF\][data-state=active]{color:#1677ff}.data-\[state\=active\]\:text-amber-400[data-state=active]{color:var(--color-amber-400)}.data-\[state\=active\]\:text-purple-400[data-state=active]{color:var(--color-purple-400)}.data-\[state\=active\]\:shadow[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x:calc(var(--spacing)*4);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=checked\]\:bg-\[\#38bdac\][data-state=checked]{background-color:#38bdac}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked]{--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\[state\=unchecked\]\:bg-gray-600[data-state=unchecked]{background-color:var(--color-gray-600)}@media(min-width:40rem){.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media(min-width:48rem){.md\:col-span-2{grid-column:span 2/span 2}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media(min-width:64rem){.lg\:block{display:block}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}}@media(min-width:80rem){.xl\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.\[\&\>span\]\:line-clamp-1>span{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}}:root{--background:oklch(14.5% 0 0);--foreground:oklch(98.5% 0 0);--card:oklch(20% .02 240);--card-foreground:oklch(98.5% 0 0);--popover:oklch(20% .02 240);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(65% .15 180);--primary-foreground:oklch(20% 0 0);--secondary:oklch(27% 0 0);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27% 0 0);--muted-foreground:oklch(65% 0 0);--accent:oklch(27% 0 0);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(55% .2 25);--destructive-foreground:oklch(98.5% 0 0);--border:oklch(35% 0 0);--input:oklch(35% 0 0);--ring:oklch(65% .15 180);--radius:.625rem}body{font-family:var(--font-sans);color:var(--foreground);background:#0a1628}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-pan-x{syntax:"*";inherits:false}@property --tw-pan-y{syntax:"*";inherits:false}@property --tw-pinch-zoom{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(360deg)}} diff --git a/soul-admin/dist/index.html b/soul-admin/dist/index.html index 906fb2cf..248a2050 100644 --- a/soul-admin/dist/index.html +++ b/soul-admin/dist/index.html @@ -4,8 +4,8 @@ 管理后台 - Soul创业派对 - - + +
    diff --git a/soul-admin/src/layouts/AdminLayout.tsx b/soul-admin/src/layouts/AdminLayout.tsx index e2339ad7..a6c181a8 100644 --- a/soul-admin/src/layouts/AdminLayout.tsx +++ b/soul-admin/src/layouts/AdminLayout.tsx @@ -10,7 +10,7 @@ import { GitMerge, } from 'lucide-react' import { get, post } from '@/api/client' -import { clearAdminToken } from '@/api/auth' +import { clearAdminToken, getAdminToken } from '@/api/auth' // 主菜单(5 项平铺,按 Mycontent-temp 新规范) const primaryMenuItems = [ @@ -35,22 +35,33 @@ export function AdminLayout() { if (!mounted) return setAuthChecked(false) let cancelled = false + const token = getAdminToken() + if (!token) { + navigate('/login', { replace: true, state: { from: location.pathname } }) + return () => { + cancelled = true + } + } get<{ success?: boolean }>('/api/admin') .then((data) => { if (cancelled) return - if (data && (data as { success?: boolean }).success !== false) { + if (data?.success === true) { setAuthChecked(true) } else { + clearAdminToken() navigate('/login', { replace: true }) } }) .catch(() => { - if (!cancelled) navigate('/login', { replace: true }) + if (!cancelled) { + clearAdminToken() + navigate('/login', { replace: true }) + } }) return () => { cancelled = true } - }, [mounted, navigate]) + }, [location.pathname, mounted, navigate]) const handleLogout = async () => { clearAdminToken() diff --git a/soul-admin/src/pages/admin-users/AdminUsersPage.tsx b/soul-admin/src/pages/admin-users/AdminUsersPage.tsx index 78c15ecc..7d09b4cf 100644 --- a/soul-admin/src/pages/admin-users/AdminUsersPage.tsx +++ b/soul-admin/src/pages/admin-users/AdminUsersPage.tsx @@ -72,7 +72,7 @@ export function AdminUsersPage() { pageSize: String(pageSize), }) if (debouncedSearch.trim()) params.set('search', debouncedSearch.trim()) - const data = await get(`/api/admin/users?${params}`) + const data = await get(`/api/admin/admin-users?${params}`) if (data?.success) { setRecords((data as ListRes).records || []) setTotal((data as ListRes).total ?? 0) @@ -130,7 +130,7 @@ export function AdminUsersPage() { setSaving(true) try { if (editingUser) { - const data = await put<{ success?: boolean; error?: string }>('/api/admin/users', { + const data = await put<{ success?: boolean; error?: string }>('/api/admin/admin-users', { id: editingUser.id, password: formPassword || undefined, name: formName.trim(), @@ -144,7 +144,7 @@ export function AdminUsersPage() { setError(data?.error || '保存失败') } } else { - const data = await post<{ success?: boolean; error?: string }>('/api/admin/users', { + const data = await post<{ success?: boolean; error?: string }>('/api/admin/admin-users', { username: formUsername.trim(), password: formPassword, name: formName.trim(), @@ -168,7 +168,7 @@ export function AdminUsersPage() { const handleDelete = async (id: number) => { if (!confirm('确定删除该管理员?')) return try { - const data = await del<{ success?: boolean; error?: string }>(`/api/admin/users?id=${id}`) + const data = await del<{ success?: boolean; error?: string }>(`/api/admin/admin-users?id=${id}`) if (data?.success) loadList() else setError(data?.error || '删除失败') } catch (e: unknown) { diff --git a/soul-admin/src/pages/dashboard/DashboardPage.tsx b/soul-admin/src/pages/dashboard/DashboardPage.tsx index a88529b8..659486d3 100644 --- a/soul-admin/src/pages/dashboard/DashboardPage.tsx +++ b/soul-admin/src/pages/dashboard/DashboardPage.tsx @@ -62,6 +62,13 @@ interface OrdersRes { total?: number } +function maskPhone(phone?: string) { + if (!phone) return '' + const digits = phone.replace(/\s+/g, '') + if (digits.length < 7) return digits + return `${digits.slice(0, 3)}****${digits.slice(-4)}` +} + export function DashboardPage() { const navigate = useNavigate() const [statsLoading, setStatsLoading] = useState(true) @@ -355,7 +362,7 @@ export function DashboardPage() { ) : ( )} - 刷新(每 30 秒自动更新) + 刷新 @@ -382,6 +389,7 @@ export function DashboardPage() { const buyer = p.userNickname || users.find((u) => u.id === p.userId)?.nickname || + maskPhone(users.find((u) => u.id === p.userId)?.phone) || '匿名用户' return ( @@ -394,7 +402,7 @@ export function DashboardPage() { {buyer} { e.currentTarget.style.display = 'none' const next = e.currentTarget.nextElementSibling as HTMLElement @@ -403,7 +411,7 @@ export function DashboardPage() { /> ) : null}
    {buyer.charAt(0)}
    @@ -418,7 +426,7 @@ export function DashboardPage() { {buyer} · - + {product.title} @@ -443,7 +451,7 @@ export function DashboardPage() { -
    +

    +¥{Number(p.amount).toFixed(2)}

    @@ -482,13 +490,13 @@ export function DashboardPage() { {users .slice(0, 5) .map((u) => ( -
    - {u.nickname?.charAt(0) || '?'} + {(u.nickname || maskPhone(u.phone) || '?').charAt(0)}
    -

    {u.phone || '-'}

    +

    {maskPhone(u.phone) || '未填写手机号'}

    @@ -580,7 +588,7 @@ export function DashboardPage() { {item.target || item.action} -

    +
    { + if (getAdminToken()) { + navigate('/dashboard', { replace: true }) + } + }, [navigate]) + const handleLogin = async () => { setError('') setLoading(true) @@ -66,7 +72,10 @@ export function LoginPage() { setUsername(e.target.value)} + onChange={(e) => { + setUsername(e.target.value) + if (error) setError('') + }} placeholder="请输入用户名" className="pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]" /> @@ -80,7 +89,10 @@ export function LoginPage() { setPassword(e.target.value)} + onChange={(e) => { + setPassword(e.target.value) + if (error) setError('') + }} placeholder="请输入密码" className="pl-10 bg-[#0a1628] border-gray-700 text-white placeholder:text-gray-500 focus:border-[#38bdac]" onKeyDown={(e) => e.key === 'Enter' && handleLogin()} diff --git a/soul-api/internal/config/config.go b/soul-api/internal/config/config.go index bc8f4b6b..b2cc82e1 100644 --- a/soul-api/internal/config/config.go +++ b/soul-api/internal/config/config.go @@ -161,7 +161,7 @@ func Load() (*Config, error) { version := os.Getenv("APP_VERSION") if version == "" { - version = "0.0.0" + version = "dev" } // 微信配置 diff --git a/soul-api/internal/handler/admin_chapters.go b/soul-api/internal/handler/admin_chapters.go index ea044d86..8847e924 100644 --- a/soul-api/internal/handler/admin_chapters.go +++ b/soul-api/internal/handler/admin_chapters.go @@ -2,6 +2,7 @@ package handler import ( "net/http" + "strconv" "soul-api/internal/database" "soul-api/internal/model" @@ -11,9 +12,29 @@ import ( // AdminChaptersList GET /api/admin/chapters 从 chapters 表组树:part -> chapters -> sections func AdminChaptersList(c *gin.Context) { + page, _ := strconv.Atoi(c.DefaultQuery("page", "1")) + if page < 1 { + page = 1 + } + pageSize, _ := strconv.Atoi(c.DefaultQuery("pageSize", "20")) + if pageSize < 1 { + pageSize = 20 + } + if pageSize > 200 { + pageSize = 200 + } + var list []model.Chapter if err := database.DB().Order("sort_order ASC, id ASC").Find(&list).Error; err != nil { - c.JSON(http.StatusOK, gin.H{"success": true, "data": gin.H{"structure": []interface{}{}, "stats": nil}}) + c.JSON(http.StatusOK, gin.H{"success": true, "data": gin.H{ + "structure": []interface{}{}, + "records": []interface{}{}, + "stats": nil, + "page": page, + "pageSize": pageSize, + "totalPages": 0, + "total": 0, + }}) return } type section struct { @@ -25,6 +46,19 @@ func AdminChaptersList(c *gin.Context) { EditionStandard *bool `json:"editionStandard,omitempty"` EditionPremium *bool `json:"editionPremium,omitempty"` } + type sectionRecord struct { + ID string `json:"id"` + PartID string `json:"partId"` + PartTitle string `json:"partTitle"` + ChapterID string `json:"chapterId"` + ChapterTitle string `json:"chapterTitle"` + Title string `json:"title"` + Price float64 `json:"price"` + IsFree bool `json:"isFree"` + Status string `json:"status"` + EditionStandard *bool `json:"editionStandard,omitempty"` + EditionPremium *bool `json:"editionPremium,omitempty"` + } type chapter struct { ID string `json:"id"` Title string `json:"title"` @@ -38,6 +72,7 @@ func AdminChaptersList(c *gin.Context) { } partMap := make(map[string]*part) chapterMap := make(map[string]map[string]*chapter) + records := make([]sectionRecord, 0, len(list)) for _, row := range list { if partMap[row.PartID] == nil { partMap[row.PartID] = &part{ID: row.PartID, Title: row.PartTitle, Type: "part", Chapters: []chapter{}} @@ -66,6 +101,19 @@ func AdminChaptersList(c *gin.Context) { ID: row.ID, Title: row.SectionTitle, Price: price, IsFree: isFree, Status: st, EditionStandard: row.EditionStandard, EditionPremium: row.EditionPremium, }) + records = append(records, sectionRecord{ + ID: row.ID, + PartID: row.PartID, + PartTitle: row.PartTitle, + ChapterID: row.ChapterID, + ChapterTitle: row.ChapterTitle, + Title: row.SectionTitle, + Price: price, + IsFree: isFree, + Status: st, + EditionStandard: row.EditionStandard, + EditionPremium: row.EditionPremium, + }) } structure := make([]part, 0, len(partMap)) for _, p := range partMap { @@ -73,9 +121,29 @@ func AdminChaptersList(c *gin.Context) { } var total int64 database.DB().Model(&model.Chapter{}).Count(&total) + totalPages := 0 + if pageSize > 0 { + totalPages = (int(total) + pageSize - 1) / pageSize + } + start := (page - 1) * pageSize + if start > len(records) { + start = len(records) + } + end := start + pageSize + if end > len(records) { + end = len(records) + } c.JSON(http.StatusOK, gin.H{ "success": true, - "data": gin.H{"structure": structure, "stats": gin.H{"totalSections": total}}, + "data": gin.H{ + "structure": structure, + "records": records[start:end], + "stats": gin.H{"totalSections": total}, + "page": page, + "pageSize": pageSize, + "totalPages": totalPages, + "total": total, + }, }) } diff --git a/soul-api/internal/handler/admin_users.go b/soul-api/internal/handler/admin_users.go index c3121492..a22a14d8 100644 --- a/soul-api/internal/handler/admin_users.go +++ b/soul-api/internal/handler/admin_users.go @@ -14,6 +14,11 @@ import ( "gorm.io/gorm" ) +// AdminAppUsersList GET /api/admin/users 普通用户列表兼容入口(转发到 DBUsersList) +func AdminAppUsersList(c *gin.Context) { + DBUsersList(c) +} + // AdminUsersList GET /api/admin/users 管理员用户列表(仅 super_admin) func AdminUsersList(c *gin.Context) { claims := middleware.GetAdminClaims(c) diff --git a/soul-api/internal/handler/balance.go b/soul-api/internal/handler/balance.go index 3cd91348..28a56a0c 100644 --- a/soul-api/internal/handler/balance.go +++ b/soul-api/internal/handler/balance.go @@ -125,8 +125,9 @@ func BalanceRechargeConfirm(c *gin.Context) { // POST /api/miniprogram/balance/gift 小程序-代付解锁(用余额帮他人解锁章节) func BalanceGift(c *gin.Context) { var body struct { - GiverID string `json:"giverId" binding:"required"` - SectionID string `json:"sectionId" binding:"required"` + GiverID string `json:"giverId" binding:"required"` + SectionID string `json:"sectionId" binding:"required"` + PaidViaWechat bool `json:"paidViaWechat"` } if err := c.ShouldBindJSON(&body); err != nil { c.JSON(http.StatusBadRequest, gin.H{"success": false, "error": "参数错误"}) @@ -150,46 +151,56 @@ func BalanceGift(c *gin.Context) { } var giftCode string - err := db.Transaction(func(tx *gorm.DB) error { - var bal model.UserBalance - if err := tx.Where("user_id = ?", body.GiverID).First(&bal).Error; err != nil || bal.Balance < price { - return fmt.Errorf("余额不足,当前 ¥%.2f,需要 ¥%.2f", bal.Balance, price) - } + code := make([]byte, 16) + rand.Read(code) + giftCode = hex.EncodeToString(code) - if err := tx.Model(&bal).Updates(map[string]interface{}{ - "balance": gorm.Expr("balance - ?", price), - "total_gifted": gorm.Expr("total_gifted + ?", price), - }).Error; err != nil { - return err - } - - code := make([]byte, 16) - rand.Read(code) - giftCode = hex.EncodeToString(code) - - tx.Create(&model.GiftUnlock{ + if body.PaidViaWechat { + db.Create(&model.GiftUnlock{ GiftCode: giftCode, GiverID: body.GiverID, SectionID: body.SectionID, Amount: price, Status: "pending", }) + } else { + err := db.Transaction(func(tx *gorm.DB) error { + var bal model.UserBalance + if err := tx.Where("user_id = ?", body.GiverID).First(&bal).Error; err != nil || bal.Balance < price { + return fmt.Errorf("余额不足,当前 ¥%.2f,需要 ¥%.2f", bal.Balance, price) + } - tx.Create(&model.BalanceTransaction{ - UserID: body.GiverID, - Type: "gift", - Amount: -price, - BalanceAfter: bal.Balance - price, - SectionID: &body.SectionID, - Description: fmt.Sprintf("代付章节 %s (¥%.2f)", body.SectionID, price), + if err := tx.Model(&bal).Updates(map[string]interface{}{ + "balance": gorm.Expr("balance - ?", price), + "total_gifted": gorm.Expr("total_gifted + ?", price), + }).Error; err != nil { + return err + } + + tx.Create(&model.GiftUnlock{ + GiftCode: giftCode, + GiverID: body.GiverID, + SectionID: body.SectionID, + Amount: price, + Status: "pending", + }) + + tx.Create(&model.BalanceTransaction{ + UserID: body.GiverID, + Type: "gift", + Amount: -price, + BalanceAfter: bal.Balance - price, + SectionID: &body.SectionID, + Description: fmt.Sprintf("代付章节 %s (¥%.2f)", body.SectionID, price), + }) + + return nil }) - return nil - }) - - if err != nil { - c.JSON(http.StatusBadRequest, gin.H{"success": false, "error": err.Error()}) - return + if err != nil { + c.JSON(http.StatusBadRequest, gin.H{"success": false, "error": err.Error()}) + return + } } c.JSON(http.StatusOK, gin.H{"success": true, "data": gin.H{ @@ -418,5 +429,47 @@ func BalanceGiftInfo(c *gin.Context) { "amount": gift.Amount, "status": gift.Status, "giverId": gift.GiverID, + "mid": chapter.MID, }}) } + +// GET /api/miniprogram/balance/gifts?userId=xxx 我的代付列表 +func BalanceGiftList(c *gin.Context) { + userId := c.Query("userId") + if userId == "" { + c.JSON(http.StatusBadRequest, gin.H{"success": false, "error": "缺少 userId"}) + return + } + + db := database.DB() + var gifts []model.GiftUnlock + db.Where("giver_id = ?", userId).Order("created_at DESC").Limit(50).Find(&gifts) + + type giftItem struct { + GiftCode string `json:"giftCode"` + SectionID string `json:"sectionId"` + SectionTitle string `json:"sectionTitle"` + Amount float64 `json:"amount"` + Status string `json:"status"` + CreatedAt string `json:"createdAt"` + } + + var result []giftItem + for _, g := range gifts { + var ch model.Chapter + title := g.SectionID + if db.Where("id = ?", g.SectionID).First(&ch).Error == nil && ch.SectionTitle != "" { + title = ch.SectionTitle + } + result = append(result, giftItem{ + GiftCode: g.GiftCode, + SectionID: g.SectionID, + SectionTitle: title, + Amount: g.Amount, + Status: g.Status, + CreatedAt: g.CreatedAt.Format("2006-01-02 15:04"), + }) + } + + c.JSON(http.StatusOK, gin.H{"success": true, "data": gin.H{"gifts": result}}) +} diff --git a/soul-api/internal/handler/book.go b/soul-api/internal/handler/book.go index 73148f6d..1d43b03a 100644 --- a/soul-api/internal/handler/book.go +++ b/soul-api/internal/handler/book.go @@ -36,7 +36,7 @@ func BookAllChapters(c *gin.Context) { c.JSON(http.StatusOK, gin.H{"success": true, "data": []interface{}{}}) return } - freeIDs := getFreeChapterIDs(db) + freeIDs := getEffectiveFreeChapterIDs(db) for i := range list { if freeIDs[list[i].ID] { t := true @@ -112,6 +112,24 @@ func getFreeChapterIDs(db *gorm.DB) map[string]bool { return ids } +func getEffectiveFreeChapterIDs(db *gorm.DB) map[string]bool { + ids := getFreeChapterIDs(db) + var rows []struct { + ID string `gorm:"column:id"` + } + if err := db.Model(&model.Chapter{}). + Select("id"). + Where("is_free = ? OR price = 0", true). + Find(&rows).Error; err == nil { + for _, row := range rows { + if row.ID != "" { + ids[row.ID] = true + } + } + } + return ids +} + // checkUserChapterAccess 判断 userId 是否有权读取 chapterID(VIP / 全书购买 / 单章购买) // isPremium=true 表示增值版,fullbook 买断不含增值版 func checkUserChapterAccess(db *gorm.DB, userID, chapterID string, isPremium bool) bool { @@ -587,8 +605,7 @@ func BookStats(c *gin.Context) { db := database.DB() var total int64 db.Model(&model.Chapter{}).Count(&total) - var freeCount int64 - db.Model(&model.Chapter{}).Where("is_free = ?", true).Count(&freeCount) + freeCount := len(getEffectiveFreeChapterIDs(db)) var totalWords struct{ S int64 } db.Model(&model.Chapter{}).Select("COALESCE(SUM(word_count),0) as s").Scan(&totalWords) var userCount int64 diff --git a/soul-api/internal/handler/ckb.go b/soul-api/internal/handler/ckb.go index 3f03ee1a..f43beb8d 100644 --- a/soul-api/internal/handler/ckb.go +++ b/soul-api/internal/handler/ckb.go @@ -340,24 +340,13 @@ func CKBIndexLead(c *gin.Context) { // 首页固定使用全局密钥:system_config > .env > 代码内置 leadKey := getCkbLeadApiKey() - // 去重限频:2 分钟内同一用户/手机/微信只能提交一次 - var cond []string - var args []interface{} - if body.UserID != "" { - cond = append(cond, "user_id = ?") - args = append(args, body.UserID) - } - cond = append(cond, "phone = ?") - args = append(args, phone) - cutoff := time.Now().Add(-2 * time.Minute) - var recentCount int64 - if db.Model(&model.CkbLeadRecord{}).Where(strings.Join(cond, " OR "), args...).Where("created_at > ?", cutoff).Count(&recentCount) == nil && recentCount > 0 { - c.JSON(http.StatusOK, gin.H{"success": false, "message": "您操作太频繁,请2分钟后再试"}) - return - } + // 去重:同一用户只记录一次(首页链接卡若) repeatedSubmit := false - var existCount int64 - repeatedSubmit = db.Model(&model.CkbLeadRecord{}).Where(strings.Join(cond, " OR "), args...).Count(&existCount) == nil && existCount > 0 + if body.UserID != "" { + var existCount int64 + db.Model(&model.CkbLeadRecord{}).Where("user_id = ? AND source = ?", body.UserID, "index_link_button").Count(&existCount) + repeatedSubmit = existCount > 0 + } source := "index_link_button" paramsJSON, _ := json.Marshal(map[string]interface{}{ @@ -478,33 +467,12 @@ func CKBLead(c *gin.Context) { } } - // 去重限频:2 分钟内同一用户/手机/微信只能提交一次 - var cond []string - var args []interface{} - if body.UserID != "" { - cond = append(cond, "user_id = ?") - args = append(args, body.UserID) - } - if phone != "" { - cond = append(cond, "phone = ?") - args = append(args, phone) - } - if wechatId != "" { - cond = append(cond, "wechat_id = ?") - args = append(args, wechatId) - } - if len(cond) > 0 { - cutoff := time.Now().Add(-2 * time.Minute) - var recentCount int64 - if db.Model(&model.CkbLeadRecord{}).Where(strings.Join(cond, " OR "), args...).Where("created_at > ?", cutoff).Count(&recentCount) == nil && recentCount > 0 { - c.JSON(http.StatusOK, gin.H{"success": false, "message": "您操作太频繁,请2分钟后再试"}) - return - } - } + // 去重:同一用户对同一目标人物只记录一次(不再限制时间间隔,允许对不同人物立即提交) repeatedSubmit := false - if len(cond) > 0 { + if body.UserID != "" && body.TargetUserID != "" { var existCount int64 - repeatedSubmit = db.Model(&model.CkbLeadRecord{}).Where(strings.Join(cond, " OR "), args...).Count(&existCount) == nil && existCount > 0 + db.Model(&model.CkbLeadRecord{}).Where("user_id = ? AND target_person_id = ?", body.UserID, body.TargetUserID).Count(&existCount) + repeatedSubmit = existCount > 0 } source := strings.TrimSpace(body.Source) diff --git a/soul-api/internal/handler/ckb_open.go b/soul-api/internal/handler/ckb_open.go index 1a407159..250be689 100644 --- a/soul-api/internal/handler/ckb_open.go +++ b/soul-api/internal/handler/ckb_open.go @@ -323,7 +323,7 @@ func AdminCKBPlans(c *gin.Context) { if keyword != "" { values.Set("keyword", keyword) } - planURL := ckbOpenBaseURL + "/v1/plans?" + values.Encode() + planURL := ckbOpenBaseURL + "/v1/plan/list?" + values.Encode() req, err := http.NewRequest(http.MethodGet, planURL, nil) if err != nil { c.JSON(http.StatusOK, gin.H{"success": false, "error": "构造请求失败"}) @@ -344,6 +344,16 @@ func AdminCKBPlans(c *gin.Context) { return } + code, _ := parsed["code"].(float64) + if int(code) != 200 { + msg, _ := parsed["msg"].(string) + if msg == "" { + msg = "存客宝返回异常" + } + c.JSON(http.StatusOK, gin.H{"success": false, "error": msg}) + return + } + var listAny interface{} if dataVal, ok := parsed["data"].(map[string]interface{}); ok { listAny = dataVal["list"] @@ -359,42 +369,113 @@ func AdminCKBPlans(c *gin.Context) { plans := make([]map[string]interface{}, 0) if arr, ok := listAny.([]interface{}); ok { for _, item := range arr { - if m, ok := item.(map[string]interface{}); ok { - plans = append(plans, map[string]interface{}{ - "id": m["id"], - "name": m["name"], - "apiKey": m["apiKey"], - "sceneId": m["sceneId"], - "scenario": m["scenario"], - "enabled": m["enabled"], - "greeting": m["greeting"], - "tips": m["tips"], - "remarkType": m["remarkType"], - "remarkFormat": m["remarkFormat"], - "addInterval": m["addInterval"], - "startTime": m["startTime"], - "endTime": m["endTime"], - "deviceGroups": m["deviceGroups"], - }) + m, ok := item.(map[string]interface{}) + if !ok { + continue } + reqConf, _ := m["reqConf"].(map[string]interface{}) + sceneConf, _ := m["sceneConf"].(map[string]interface{}) + + enabled := false + if sceneConf != nil { + if v, ok := sceneConf["enabled"].(bool); ok { + enabled = v + } + } + if m["status"] != nil { + if s, ok := m["status"].(float64); ok { + enabled = int(s) == 1 + } + } + + greeting, _ := mapStr(reqConf, "greeting") + tips, _ := mapStr(sceneConf, "tips") + remarkType, _ := mapStr(reqConf, "remarkType") + remarkFormat, _ := mapStr(reqConf, "remarkFormat") + startTime, _ := mapStr(reqConf, "startTime") + endTime, _ := mapStr(reqConf, "endTime") + addInterval := mapFloat(reqConf, "addFriendInterval") + if addInterval == 0 { + addInterval = mapFloat(sceneConf, "addInterval") + } + + var deviceGroups interface{} + if reqConf != nil { + deviceGroups = reqConf["device"] + } + if deviceGroups == nil && sceneConf != nil { + deviceGroups = sceneConf["deviceGroups"] + } + + plans = append(plans, map[string]interface{}{ + "id": m["id"], + "name": m["name"], + "apiKey": m["apiKey"], + "sceneId": m["sceneId"], + "scenario": m["sceneId"], + "enabled": enabled, + "greeting": greeting, + "tips": tips, + "remarkType": remarkType, + "remarkFormat": remarkFormat, + "addInterval": addInterval, + "startTime": startTime, + "endTime": endTime, + "deviceGroups": deviceGroups, + }) } } total := 0 - switch tv := parsed["total"].(type) { - case float64: - total = int(tv) - case int: - total = tv - case string: - if n, err := strconv.Atoi(tv); err == nil { - total = n + if dataVal, ok := parsed["data"].(map[string]interface{}); ok { + switch tv := dataVal["total"].(type) { + case float64: + total = int(tv) + case int: + total = tv + case string: + if n, err := strconv.Atoi(tv); err == nil { + total = n + } } } c.JSON(http.StatusOK, gin.H{"success": true, "plans": plans, "total": total}) } +func mapStr(m map[string]interface{}, key string) (string, bool) { + if m == nil { + return "", false + } + v, ok := m[key] + if !ok || v == nil { + return "", false + } + s, ok := v.(string) + return s, ok +} + +func mapFloat(m map[string]interface{}, key string) float64 { + if m == nil { + return 0 + } + v, ok := m[key] + if !ok || v == nil { + return 0 + } + switch val := v.(type) { + case float64: + return val + case int: + return float64(val) + case string: + if n, err := strconv.ParseFloat(val, 64); err == nil { + return n + } + } + return 0 +} + // AdminCKBPlanDetail GET /api/admin/ckb/plan-detail?planId=xxx 管理端-存客宝获客计划详情 func AdminCKBPlanDetail(c *gin.Context) { planIDStr := c.Query("planId") diff --git a/soul-api/internal/handler/db.go b/soul-api/internal/handler/db.go index 9d0c8666..424f20f5 100644 --- a/soul-api/internal/handler/db.go +++ b/soul-api/internal/handler/db.go @@ -13,6 +13,7 @@ import ( "soul-api/internal/model" "github.com/gin-gonic/gin" + "gorm.io/gorm" ) // GetPublicDBConfig GET /api/miniprogram/config 公开接口,供小程序获取完整配置(与 next-project 对齐) @@ -228,7 +229,7 @@ func AdminSettingsGet(c *gin.Context) { } case "oss_config": if m, ok := val.(map[string]interface{}); ok && len(m) > 0 { - out["ossConfig"] = m + out["ossConfig"] = sanitizeOSSConfig(m) } } } @@ -284,6 +285,7 @@ func AdminSettingsPost(c *gin.Context) { } } if body.OssConfig != nil { + body.OssConfig = mergeOSSConfigSecret(db, body.OssConfig) if err := saveKey("oss_config", "阿里云 OSS 配置", body.OssConfig); err != nil { c.JSON(http.StatusOK, gin.H{"success": false, "error": "保存 OSS 配置失败: " + err.Error()}) return @@ -1206,6 +1208,49 @@ func DBConfigDelete(c *gin.Context) { c.JSON(http.StatusOK, gin.H{"success": true}) } +func sanitizeOSSConfig(cfg map[string]interface{}) gin.H { + out := gin.H{} + for k, v := range cfg { + out[k] = v + } + if secret, ok := out["accessKeySecret"].(string); ok && secret != "" { + out["accessKeySecret"] = "****" + } + return out +} + +func mergeOSSConfigSecret(db *gorm.DB, incoming map[string]interface{}) map[string]interface{} { + if incoming == nil { + return incoming + } + secret, _ := incoming["accessKeySecret"].(string) + if secret != "" && secret != "****" { + return incoming + } + + var row model.SystemConfig + if err := db.Where("config_key = ?", "oss_config").First(&row).Error; err != nil { + return incoming + } + + var existing map[string]interface{} + if err := json.Unmarshal(row.ConfigValue, &existing); err != nil { + return incoming + } + + existingSecret, _ := existing["accessKeySecret"].(string) + if existingSecret == "" { + return incoming + } + + merged := map[string]interface{}{} + for k, v := range incoming { + merged[k] = v + } + merged["accessKeySecret"] = existingSecret + return merged +} + // DBInitGet GET /api/db/init func DBInitGet(c *gin.Context) { c.JSON(http.StatusOK, gin.H{"success": true, "data": gin.H{"message": "ok"}}) diff --git a/soul-api/internal/handler/db_person.go b/soul-api/internal/handler/db_person.go index fdc66ffd..4b7cad2f 100644 --- a/soul-api/internal/handler/db_person.go +++ b/soul-api/internal/handler/db_person.go @@ -74,7 +74,9 @@ func DBPersonSave(c *gin.Context) { existing.Name = body.Name existing.Aliases = body.Aliases existing.Label = body.Label - existing.CkbApiKey = body.CkbApiKey + if strings.TrimSpace(body.CkbApiKey) != "" { + existing.CkbApiKey = body.CkbApiKey + } existing.Greeting = body.Greeting existing.Tips = body.Tips existing.RemarkType = body.RemarkType @@ -99,27 +101,20 @@ func DBPersonSave(c *gin.Context) { } else { existing.DeviceGroups = "" } - db.Save(&existing) + if err := db.Save(&existing).Error; err != nil { + c.JSON(http.StatusOK, gin.H{"success": false, "error": err.Error()}) + return + } c.JSON(http.StatusOK, gin.H{"success": true, "person": existing}) return } - // 新增:创建本地 Person 记录前,先在存客宝创建获客计划并获取 planId + apiKey + // 新增:先创建本地人物记录,存客宝同步失败不阻断 @人物 与内容管理主链路 tok, err := genPersonToken() if err != nil { c.JSON(http.StatusOK, gin.H{"success": false, "error": "生成 token 失败"}) return } - - // 1. 获取开放 API token - openToken, err := ckbOpenGetToken() - if err != nil { - c.JSON(http.StatusOK, gin.H{"success": false, "error": err.Error()}) - return - } - - // 2. 构造创建计划请求体 - // 参考 Cunkebao createPlan:name, sceneId, scenario, remarkType, greeting, addInterval, startTime, endTime, enabled, tips, deviceGroups name := fmt.Sprintf("SOUL链接人与事-%s", body.Name) addInterval := 1 if body.AddFriendInterval != nil && *body.AddFriendInterval > 0 { @@ -139,52 +134,18 @@ func DBPersonSave(c *gin.Context) { deviceIDs = append(deviceIDs, id) } } - planPayload := map[string]interface{}{ - "name": name, - "sceneId": 11, - "scenario": 11, - "remarkType": body.RemarkType, - "greeting": body.Greeting, - "addInterval": addInterval, - "startTime": startTime, - "endTime": endTime, - "enabled": true, - "tips": body.Tips, - "distributionEnabled": false, - } - if len(deviceIDs) > 0 { - planPayload["deviceGroups"] = deviceIDs - } - - planID, ckbCreateData, ckbResponse, err := ckbOpenCreatePlan(openToken, planPayload) - if err != nil { - out := gin.H{"success": false, "error": "创建存客宝计划失败: " + err.Error()} - if ckbResponse != nil { - out["ckbResponse"] = ckbResponse - } - c.JSON(http.StatusOK, out) - return - } - - // 3. 用 planId 拉计划详情,获取 apiKey - apiKey, err := ckbOpenGetPlanDetail(openToken, planID) - if err != nil { - c.JSON(http.StatusOK, gin.H{"success": false, "error": "创建成功但获取计划密钥失败: " + err.Error()}) - return - } newPerson := model.Person{ - PersonID: body.PersonID, - Token: tok, - Name: body.Name, - Aliases: body.Aliases, - Label: body.Label, - CkbApiKey: apiKey, - CkbPlanID: planID, - Greeting: body.Greeting, - Tips: body.Tips, - RemarkType: body.RemarkType, - RemarkFormat: body.RemarkFormat, + PersonID: body.PersonID, + Token: tok, + Name: body.Name, + Aliases: body.Aliases, + Label: body.Label, + CkbApiKey: strings.TrimSpace(body.CkbApiKey), + Greeting: body.Greeting, + Tips: body.Tips, + RemarkType: body.RemarkType, + RemarkFormat: body.RemarkFormat, AddFriendInterval: addInterval, StartTime: startTime, EndTime: endTime, @@ -201,7 +162,67 @@ func DBPersonSave(c *gin.Context) { c.JSON(http.StatusOK, gin.H{"success": false, "error": err.Error()}) return } + resp := gin.H{"success": true, "person": newPerson} + + planPayload := map[string]interface{}{ + "name": name, + "sceneId": 11, + "scenario": 11, + "remarkType": body.RemarkType, + "greeting": body.Greeting, + "addInterval": addInterval, + "startTime": startTime, + "endTime": endTime, + "enabled": true, + "tips": body.Tips, + "distributionEnabled": false, + } + if len(deviceIDs) > 0 { + planPayload["deviceGroups"] = deviceIDs + } + + openToken, tokenErr := ckbOpenGetToken() + if tokenErr != nil { + resp["ckbSyncError"] = tokenErr.Error() + resp["message"] = "人物已保存,存客宝同步失败,可稍后补同步" + c.JSON(http.StatusOK, resp) + return + } + + planID, ckbCreateData, ckbResponse, planErr := ckbOpenCreatePlan(openToken, planPayload) + if planErr != nil { + resp["ckbSyncError"] = "创建存客宝计划失败: " + planErr.Error() + if ckbResponse != nil { + resp["ckbResponse"] = ckbResponse + } + resp["message"] = "人物已保存,存客宝同步失败,可稍后补同步" + c.JSON(http.StatusOK, resp) + return + } + + apiKey, detailErr := ckbOpenGetPlanDetail(openToken, planID) + if detailErr != nil { + db.Model(&model.Person{}).Where("person_id = ?", newPerson.PersonID).Update("ckb_plan_id", planID) + newPerson.CkbPlanID = planID + resp["person"] = newPerson + resp["ckbSyncError"] = "创建成功但获取计划密钥失败: " + detailErr.Error() + resp["message"] = "人物已保存,存客宝部分同步成功" + if len(ckbCreateData) > 0 { + resp["ckbCreateResult"] = ckbCreateData + } + c.JSON(http.StatusOK, resp) + return + } + + newPerson.CkbPlanID = planID + newPerson.CkbApiKey = apiKey + if err := db.Model(&model.Person{}).Where("person_id = ?", newPerson.PersonID).Updates(map[string]interface{}{ + "ckb_api_key": apiKey, + "ckb_plan_id": planID, + }).Error; err == nil { + resp["person"] = newPerson + } if len(ckbCreateData) > 0 { resp["ckbCreateResult"] = ckbCreateData } diff --git a/soul-api/internal/router/router.go b/soul-api/internal/router/router.go index 2c6c829b..f3a83c64 100644 --- a/soul-api/internal/router/router.go +++ b/soul-api/internal/router/router.go @@ -83,10 +83,11 @@ func Setup(cfg *config.Config) *gin.Engine { admin.POST("/author-settings", handler.AdminAuthorSettingsPost) admin.PUT("/orders/refund", handler.AdminOrderRefund) admin.POST("/content/upload", handler.AdminContentUpload) - admin.GET("/users", handler.AdminUsersList) - admin.POST("/users", handler.AdminUsersAction) - admin.PUT("/users", handler.AdminUsersAction) - admin.DELETE("/users", handler.AdminUsersAction) + admin.GET("/users", handler.AdminAppUsersList) + admin.GET("/admin-users", handler.AdminUsersList) + admin.POST("/admin-users", handler.AdminUsersAction) + admin.PUT("/admin-users", handler.AdminUsersAction) + admin.DELETE("/admin-users", handler.AdminUsersAction) admin.GET("/orders", handler.OrdersList) admin.GET("/balance/summary", handler.BalanceSummary) admin.GET("/shensheshou/query", handler.AdminShensheShouQuery) @@ -341,6 +342,7 @@ func Setup(cfg *config.Config) *gin.Engine { miniprogram.POST("/balance/gift", handler.BalanceGift) miniprogram.POST("/balance/gift/redeem", handler.BalanceGiftRedeem) miniprogram.GET("/balance/gift/info", handler.BalanceGiftInfo) + miniprogram.GET("/balance/gifts", handler.BalanceGiftList) miniprogram.POST("/balance/refund", handler.BalanceRefund) miniprogram.GET("/balance/transactions", handler.BalanceTransactions) } diff --git a/soul-api/soul-api-linux b/soul-api/soul-api-linux index 50afcf11..9419bdfd 100755 Binary files a/soul-api/soul-api-linux and b/soul-api/soul-api-linux differ diff --git a/soul-api/wechat/info.log b/soul-api/wechat/info.log index 0fa7a0d1..626bce51 100644 --- a/soul-api/wechat/info.log +++ b/soul-api/wechat/info.log @@ -37114,3 +37114,1081 @@ {"level":"debug","timestamp":"2026-03-15T21:11:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 13:11:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898E0DACD0610CD0518DCE6F8AF012098A214288AD502-0\r\nServer: nginx\r\nWechatpay-Nonce: 2f19d7cc6e0dfaa06bdce7c85e36098e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dwddR821riC0Q6iF2VDj3BwA1JnxTMA85kHT4NnddIQYfQcRyFnIgQ9BiHqKQ8aY8CKSBhNh459TWpm9GfmWfRK//H2n4GYCzHl0JuggfMYYH50Z/Zdtyn1+SomzcXzXWdNjw3jL4ccoQKABlAjguOYMxTv1XOFnP/Ahe9Tlv8qckoWvEf4lua0nSgr2KOkwXp8aWbtNgJXDblijPpXp0mhC3nxthJwoCCFqET2ATWgtiLMoWcVNEQ7ZmysDwtp5ajknUy54sG35fNpr4XNhNlY+GELT6Ffjfvy5i60Gx/BMc12J9ansaE2cW84B608SXO9IoRX9JkgDGJrU8wsgrg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773580312\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315204530619247\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} {"level":"debug","timestamp":"2026-03-15T21:16:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315204530619247?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ex21je8nwvshcAqYftcs9Ha5iUO2C5Oz\",timestamp=\"1773580612\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KRRQdK55IJ7NWD0SCh2DRkKxT2CksPD+sfWWFZaYV1wwTchjz6R8BywXzb07vQcbdjBgehzjOY6by9HfTd0yQmYVidaU2DyWsxN3pCxwWsObInZLdXtLDvwW37lcghnL77wb+XwAqwrGBOZtB+WLwlIhH9Ag9svzVGN7cW8DTBu7o9+3m/jtSk7Qgysa7HOxkuJNfbLDV0hhNlVpaFSvHtriDSxFHWQ6+ws7ZfVwXPTaUV0Tr8Pu5894ZDlQKkrwiBExQh63edprK9l0V5m+va6FiAO+n3zvv59P7eo7+O08FR7jCWONE+BQjnljRSjxTbgxb/aVj3xzZcAhg4eSQA==\"Accept:*/*} request body:"} {"level":"debug","timestamp":"2026-03-15T21:16:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 13:16:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C4E2DACD0610AF05189A8985AB0120C8CE28289755-0\r\nServer: nginx\r\nWechatpay-Nonce: efbe563af7ccb856638213f28b464152\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SHeVt9DiS95Q0EiwnpviZ7vu6+sFsgI51meKG0QdnTk9C70QT3HjqAqYfYto6yAPph82QFm3YLGM30aAWeqJj/czJA/FhhDZRu7awRZicWhr6Ws+vTUP39eM2LJATXJ+0dyEim7qoXJz3OgjXlxkQ8glhlJeoFPAZxcLnanmXLxRj2qTTOlQi1lRrifjqlUF7o2pMFq20jLLiesSqZBE9DigMISVpRRY6MGmtx3YyvV7rqxVPn52mg6aJ82N/8xS7oJC3wm5QIi4/1KdocPF5NB7J7QSo2OTqxVf7klTtd8GC+xjI1rveeysbKqG386uZknTpcBq3WKmPiVEau23GQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773580612\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315204530619247\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-15T23:51:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234749126605?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MQ9xg9ltQgoHHItp6XMBIhGbFFljZIuL\",timestamp=\"1773589912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RVDcIe7I3YNDA2yaTwBIDydKxYo6EhbElKFUa7gUBe9xec42CFk8/5GNHU1cj9NbVu3+vylIeOo35OKrHo6k4mv5DFCVImgHz8Lno2Z2/90TU9zPuEjAqt1hdh55r5wpu36ae9xL/dzIkfWMjDNlJ3gvubQRkBpYHg6+BfVExB8bqbm89dh+eMB7BV8sXyaZaFTXrtgIlOYj98W3h2d8rWnW8NmoXpbWAE1M6SGiF3TJuYNdiiQDw+9zlXomOmlkCdZLpcAZwTZ6AQ67ayP8fTHR8vmJpbqKWfGqZpvGWptJqnPlTezAplO3OIuQQH/LnrSA4AEEPFqdXVBP8S0Lrg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-15T23:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 15:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0898ABDBCD0610D006188ED18C5820FCD90E28F09A06-0\r\nServer: nginx\r\nWechatpay-Nonce: 1e154ea702f4228c1de551f600461059\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gj7yZQdMNA9LLWD1lUfYUM13Mocbm064Ylx4yV5EcdH6qmqZaCQQ0ckQJiWrKjhRix+h8xXwWXKWk9heldYSRt36TEflHsyyZBIBbFqcsZHi66Shy1Hwh5Hz2aOa9iss38OexBtgq8yyQCvV3gfel1gXBaf2sRGvdGZwjoRM8VsV0uRoalnhNDKGchxsJ4J6GT6ZAj9l9O/O4GMsntLU9EH/6lWCZTW/s8ZTiNr+zIe1sWK9P+P7lA2nK5doaB24tdOvjSbgGQ0rfDUZ1v4X4NNBuIlJe+Ayaas/nqsqT5YXgwiI83axNy/oBcgRHN0j86+m20jiNLOxhaJg4sV1xg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773589912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234749126605\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-15T23:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234802862054?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BQRS2nPWRKhqYdemBi6uBSa7TpNBRdvC\",timestamp=\"1773589913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KF6oAm/Om40dotHs72+UsG+PEMOgAfG+SbNb6FkH+WkQG7ez2mYR9pophDWstyWcCldIdXanQIAVMzgZmP/OiE9IFh9Db4n7y8OMa7RJxd8sV3W2nKu3GpkDDMT/9ih7mEwUjE/P5QNNlYjDNmPWGHXzmXWmnoUQ3mm6BrO5Nk5s6/mhoG3Naf6HnplloBdwB9VZmubEI4mLtXYMgCWDoME8GlfESh5+UR5KJp/DcT9xtKzqX/sWa5vPQ9adkaMqFmaJYscvoooLQO3nZzh+YkWmkSERncyMgJfxA/pz0/JNXRroPTcvb20VsCQ0Ukd08xyNPriBwZa+5+FWE2P/dQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-15T23:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 15:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899ABDBCD06105218D4D28C5820F0EC38288DEF05-0\r\nServer: nginx\r\nWechatpay-Nonce: e84ab625f0715cbedf1280396aa85088\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IcqSxtdvCeJHHSdoCnchJGWnmMEN1ISQnWDN1HfoDxF+RFsnQ9R5XnkERntW+L13KPdFm6QDd8OmQ5iPtSSis/X4ZfZGFBuJaSYM9bY/0lpoBTrhJFgjrbf76AOUQV83gMOgm5mBeUk5r3+R2ft9jIQUT6JnfzsMgQxTBG7AZRa9aIlwxvS352is7UHMj+dsW5BjXgS92KV6xWGHv/dTF3f4VKW2pGiYVp7etuMRt6nhOl40MtDQooGiwhyqde+tU0seo+hyBzmZ8Cv9o3YKapy8z+k96bsbRyZRcvVRfhxC7KLmlS1W3iTtBGWteSMKHMSDkhkzRHxrp6fJ4sTyCQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773589913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234802862054\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-15T23:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830814375?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wwPp7fB02fzIWhJtTXcZ9c7CdDCAAL4F\",timestamp=\"1773589913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cPfBr0mTEhE/QE//ZkM3yPlTd/fvhVfmiVeTYdWWyQ754v43u929aCgbTrYKlUeDmebXoWZXRAn+lB2d/MGe0quqRgakpfHRIDE5q4r9EE7leaGnEd+e/HbMOVvyb/eTtDxDHDLBLMJ9gdeYsLFDwfdQKUbCaCFiIqjQbGxlRQQ+p3mB/Cjai/E32qGCCaEdjw9eJE1RP624IQbqMMzJFFFaDTGM2fO0V9gC/izioa+0XWmB+CjOcXYQiLJkCLyPZ8BWsPEBC9D4wG/qlumIOzVxDudA3IBqtDsglbEz+kJ4NyDHc3Ftv1CIrGbxhBSgIsQjz1Np5Cs+eHVeJoAibA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-15T23:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 15:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899ABDBCD06108F03188480F9AD0120C08D2128E79F03-0\r\nServer: nginx\r\nWechatpay-Nonce: 4d70558fdcf61dc3b6a2f7670b4ae5f1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GmWbUH5SXhAT3TPrJD+G11YnxlPQcHlCkbq5a3cloEjIG6mNWeE43B9aXXV1rXzwnsuDGaPr/Ripv5/82YfUZpoCAg57b1nrSTVFnb/eRJ74A50Tj85ZU90K6Yy50Amet92f66XtKDRwYCBiuhYzjPwewMP26s2fUR0GlCxj3GpAh/7BmA/KZSNKbVM37eCb3fUD2yF+SqZ+AjBQHlxhIp1ErDLJu7oGmT4pJzed0+vTMXCndJySU0Mvm+2hnWGUNMy46eVNN8KZd+ysDxKBqPC6+E2aIHbbuj6PpT4Gingwqn1MmPJ5rN1mAxzjvcB6YILjVwjf0ukbVT827N/YVg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773589913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830814375\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-15T23:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830294849?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"f5GOw3g8BOjSt57FDkqSGKNA4gOgARAF\",timestamp=\"1773589913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Vj0lWCd9zpr0hVSwDDDN4BnBvwWfw7re030IVxECfkUxhYeDkmlaN6exsbnsy2jk8WjB8xqDDFqvm/Ef+6x3MkAM3i5yRH5p4UFqbanhR+sh9VQZy0J7bWcuEmQ1/4LRiIBFTSaOKBoYJ7VfidkVZhN/Dwb/qWhJ69LpOk7jYjVbHATzj0o/rFgalVtyXql/XUbKzxT9+WyOklFDrMuKB99i1lZDAPWDmLZeW/lHYB5TKcMITPUZVHPSqIxXTrKT4BrpKAvzG31GW2YbN9ZkQN0lse+qMzAXNX1F+pOdeXCQaMrcQxOYCQRJKahR1USbOGA+8hVC1lI18sFbZqRLbQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-15T23:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 15:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0899ABDBCD0610DC0518D6C5C05520809F1728C8CA04-0\r\nServer: nginx\r\nWechatpay-Nonce: 73bed0ccd737568bab52e4fe41b51dcb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RLYk6wUaMWwPBMUNMg3rh9zIScngOtLLd+uSxauLiTqEA1wKoTBdiwKFXgDKGDrF9C9WoUmNC4SGEmhix1KXjxjohdMUy4lNs1wZvp1HrnYYwOzCysM6PqSNSzrUQ9+pI7PcSg59F3Mqn2W0O9+6gKCS7oQoONewNoC6EXswn1kU938rus6HLQQl8DEKdnndbwL0nxXO+Sh7Ic5IQxekC6F8ZEwDhrtxO3EG0dGTH6tZgTgCi5GZBvsIDaTgBohkbz2ltyNz1bprJFuJUXEPTnwajIc9nkCX6UIihoh7GyOl/tSwGKGpZDGojmWrNWBdQmSHxd+6vOAGGKfNZFAbew==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773589913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830294849\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-15T23:56:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234749126605?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Zb0UboFgBAUnEpEmVS8fWZFnmZjD6AUi\",timestamp=\"1773590212\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gB0IWY1YV3wD4XkA+QTxO1B+RIzFiJ6VvSPHm5/D0wGoFDObqGTBP6K+VYjWmqsm9t/XS3ZFrStqLbJ4wLX6e4ABI6hfjRP3U1Uf6AGABSYWWOJNThQLhUcDFB7aNz+ApDDH7Jl5hT/kqwfaqm07L17M/F/HetL/S2X7fUTVJFmuBC5aiPcbQhFfPLlJsU9/AKwrExE4ViJzKCc3qm/waPT+OOP4rZcrrzjs9Q02AHE4FFReOTVOY5XpOUpPDFCbVV4sLx+O+UgGq/5l+iehDvIASUU4aRX9pmvMM7DUX86OcraeDrWGCciAI1C+gI6ajYdhJobIhw2aIXx13izQoA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-15T23:56:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 15:56:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C4ADDBCD0610D8051895CCC05520A4821B28FEE303-0\r\nServer: nginx\r\nWechatpay-Nonce: 353e1a375f4e6db2fb7d2c8b8f240cca\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PcvbOYo4QWaGMi1OpO+HOtzlaHNOes3oEW/KpVBXG9PNgXucY5dLeMq33UcHcCYhDSG0LMK5QWzn9Y9XhSOkx8G9rponGCV/gZDbmfWLignUsq3jq2rSvTxF8wmkzQLUChUNsh88Ere3cguwxZb1Jp17dla8aDlP6ECl8xIYurOu7HueNCinyRNolJmN7Go2TJq4nRqW9E8pjqE6bN9wH70bW2CpT8VaF+vhe6RLf0xTQn74sq5CzqXFLykvWmlp4ppwNGuWmhbJU+os4uQ4z6lL6Tra/9A09Xs0rtz/qV0iPDyzXg9QYYM5HM2gZkafVE61nQAGldJ32rhJ3VJPCw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590212\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234749126605\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-15T23:56:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234802862054?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dyhWRsnqj7SANHKCPhvl4QTSpKgLR2rD\",timestamp=\"1773590212\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VgLPZ7bjnYgaYf6Ueua/GcaCCT8du7MYHD1MVizAwoL6dKwsTEoqMVX5wKgDwMX7h5xCbeeVfXnWamTarGP0ce8Qdv+VCvBDpFZcFFvgYjlqOj44kZVPvdVpkhEL/0glZKHN3XB5iaUIsP9ii4TwHzo1vJp8nTrd8UijdoOsFHHOymS6xz8KDfB3QyV967WkfLZbrrTkjWEBPHu833LdEGVQ06s9KTIE+TzkpNdaOcpF3FiTQAjiSnYgc/h64jPgJkEviZwnUIfMVvvCcgtOlth/ZlYhjsKmJCreuSo6H/hvZ8jIPcrAbZEi+wjpjbjyWsF9N6nQNskLcgdD/LXR1g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-15T23:56:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 15:56:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C4ADDBCD06109A0718BDADDD5C20C6F23528B5D402-0\r\nServer: nginx\r\nWechatpay-Nonce: f9f23f97d08e883d1ab9d6788fc2c804\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: N/BZ5du9VkHApqzEwcjlroqtQFUnnvYFhkaSYozeFXgEmEWFxG/amdSFDW+t2OyOOW613WdDsraqLg7SWajECSBJd0Ngn0CUquyaiXN++X09gdNLCQcssXdDpzyGLoWykZtpJU1XFLiZi88L/mmsn4vhscAkS1SmhBndGPafGRpNk+Xzh4urguzNE3dsxmM2aPYxlWhlQgKAwIzV9PI9vv1shqVDNmPZNZfFgN3UDCCwEXoVf8ACdttGkhEcjdlkzW41PLkefy5CDYiHE1Z3sTtVkr4432tcrv+9aY6vttjvCaNB+rSjs19fbBZZDY3G/v+2Cff7QXj5Gzn+AGNljA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590212\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234802862054\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-15T23:56:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830814375?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FRxKapFircS8lLDpK103EWeFA4BKeDcb\",timestamp=\"1773590213\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DlQ7y4SZPRkHjia9nU7mCzLXnf863ALnleo0DhYClj4+PYxlnLcuE43rmWEYBVLoADvPOYqJWnL9TQKJFKDc338byxqzfXzUEwDIf2LFKVuXpxkSOpXUb+g+avJL8ERxsYS+6NF673y3aHcWXCC4dYVsufTftBrF2kKh+2gKhBv6KUdeYFkHXYrxVfLhwdi0O52WA7VD8iW0MLXCVjVkRQjXm43xOExBNq8tho/oHql8E5ogMW9+gWgiRaXLsDDU/32IWYUetJhrIcLTq7zblQ95pCf/nwfm75Uq+neGTwTjekKu8YK0PpjaK9vsRPXe535DKiM6T35Bsbp+Zt6fKA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-15T23:56:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 15:56:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C5ADDBCD0610860118D3CD81F50120A6851228EC9203-0\r\nServer: nginx\r\nWechatpay-Nonce: baa499e1fc7bda807c8a237dd8322123\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EFEm8wipkPjZyThidAXfk+Xohdc3LOqJRpU8N8nCURw8u0oo2rXARuGzIYvJnR4HBspde8wXV2S87Yz3ZwnuHqmRPbu6HoNj2BC8SIaJ/+XaakD4owKaycq5sXhMfyG3CBkPd+rpCuPO6Veq9ekSs3y72sN+4XkxSdtbpuJQKEve0awGxmoU6IH+JMmX9kXVpc47LKxPghjoLQxMR3sIs3WpNVSmFtnCSIFDj20dtoQLD1l2kQ3ChG/FM3UwcGW6ppXaAATT1pcuwSolb/ABI+NFHnWk6dcwHdWT/D79Mfu0ts3ExCb5YWnIfDcGRHNtErzcLBf80ESzsEe1UlEJEw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590213\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830814375\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-15T23:56:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830294849?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Qll0eBeIfTSxautiDSrjouMmXggPrz6B\",timestamp=\"1773590213\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hFLoiqJp8jJwwAaJr/yCRnegWw6olA/x5MHEo+e4l8C5SZ1DY49j0Vsh4+C/kron075IMZN764fujk8PgnrzUUoIfhaaEs4fRk1/Fb+SV4AiehnasfafmJJr8qc5Gs1Y0P35zjRkVeb13USfyp3gqki9TzjpTAAwV0n45o4jNIrXjX7xzBA9SV4omqBmCyh0uRs2Occ31nB68cgv1o3ukcS/e5m3Y7xOBxiLJHueaaxIgfhfn2Kxtw3098QRfp/8YCgSJBJjpgihUmAxdlMSZBtGmh7fvHIxy91l1XqoT+C/d2DM50HOXnICWebOSX/gXaI2HBbO/vXQRayWL2dtgw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-15T23:56:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 15:56:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C5ADDBCD0610BA0318B1B1F8AF0120E6ED0528B61B-0\r\nServer: nginx\r\nWechatpay-Nonce: 82c99c5e35cc9e496871078fa31f9f62\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IfNP2gW1n2lr067dhrbs/DjGxFqJVqEFCMnosABt3WMlPzCppskWIxJ/AKhdqiLiDgAjEGljRvxSs8Hq7GRCQRIzyy/2HNWkbXS/Bjn6V+tuUh+RA+ogjH0pySXiEF+SP7WB/AeLW0X388RVOct9TfPftnfL/l43dHFXSSlpX17VpItJPAnhPAKzOKFwo5p5eqXCdUd5Yy0YF+jawJIKHvAXZqxpXddvsVT13LeWMrgNxLewLY1yKA/t2kW+JPmmsQXeyCMkl/fgXPHS/y/E9zjWa726vDqb1M+5derEh6HRHjnJSu/4DroK+pB0Z3erNQWRqrt0cZhOF4W9qEFFyQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590213\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830294849\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:01:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234749126605?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vr62lRG5ocbCqFLh1xHcg7bEF5bsqZqi\",timestamp=\"1773590512\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"022uGj+Yj7xip3P9nmgK/A9ZOjO/ruCOjZJsmLgXP43KShmdU6wuMRW53cNh6xOUMQfZYn7rojw3xpwtHeuty5ub2aJg6V0dQk9bUOECKSkkrgoO6+RyLS0nLjzByq5AE8fHGjhkRTIM4w9HthWXZ3mNUJX+wXfQrXq6sWL6+0BDD+KQffdeFsFgHYsvdnMqTLaw/fGXsdu4ZOFp8NB1oJQQnrKLH5hGNbh/UBt0o7EtQlrW6avi31H+D4RBh8UeY3FVLJOMJUcAcRHOUGBleuoH4KesEUdhadpfoycAV+P6e+xjC7UvfjHppdayUH3HDPyE0SQJCbVB9EwvWMsKvQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:01:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:01:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0AFDBCD0610BE0518E1D68C5820DAA044288235-0\r\nServer: nginx\r\nWechatpay-Nonce: 3e58312f45533a0ac8b075a6949730a4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FrtrOLLdHRxDI8F4qA+ie8pPMEASkbbl6g71GhQMRSu2rHDrdVm+MC+k3jmY/9sVfcMcoyshyQIEafB7vxd8dEfPKRYxcGP5uOcx9jMV92F300sKxWQuOtZNHmNGM9oTDxlzh04LRhjZZKwXnSbMDedON5ffOsbr+57HUEx4c5ndbSrI+GKJaHVZfxC6bLz80kIqD/EmLjjKlz+JUFuaV/hpAptwkD9XxJY5zSGuCmDIKM1Dv5qowbbgcPOUQwBvdnj+bxVX6U56Vvz1zWqsBa+r2mskRWwLhOKy8QhjaNH/qcubdX/hzOoO4bzKM7jdiFzHxO4TvyJzZKsyea+PSQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590512\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234749126605\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:01:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234802862054?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YG2N7tYSNOAgFKmQ5kbHr0aOj1117GHv\",timestamp=\"1773590512\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"12HiP7vBVGQaTq1qnUnitoJ0PP0/nLe7j4wrvx9/XEMPB13jNUJWeYi4fHWeCPv+7ifjxocpEwksVs5p/LgfDc+hZyEKotHyUVusGucuW5tFKw92q5+Z7+GD1uklMSmPpAuSR5ElqT0Ul29vQ7WmVa5t6USryWUYBxNdPYCuF+dzSopa+27L45V+IHEkGgjsyuhD18y1HJIYZWfLlaH8imoJUh6cLUnP9OkFQoMZaSQu23fazkEiMPBCbz03DpzEaXP/yegInaaE272pqEd4yjkWHYI5uGmP1P62HTeN4k7wfUOt+rdz4vatwdzMhZ3Tobo3UXQ/GSGuRw1pYV3haQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:01:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:01:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F0AFDBCD0610C80718D38AEEAB012080C51428EB8103-0\r\nServer: nginx\r\nWechatpay-Nonce: 61cb5cd823f39ba9ccaa90119883ff5d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eGWo9GL5CO53s4ptEWg+vXF59rNM33v4blmjiNFqWEu5bubGjjpCttHzXO6AvXN+os9l0IZoMPHtYSfXh0P4YVjx9eOS55AHW/QP5QZ0WDBCpk8eyghd0tNpGh2TC/2oDhaDBdJZvuPtmBFWSmLKuM45DebLC09wbUFqbvqi1FBIy1uap4MLg4izJ+ijt6uOt/uSZrm4jnhmFWjGOXcdPCeUbWIPjvWZoXcbsvaciGzrdrjtkQpdwuieBhPtTih/oc6T4DRIMX1ROGjGFvu/fEBIQQjXuzO6Kh2YAQ+0sjyhS5GLvRssU52FGBjT57eOwVJbUTYwE0fuV2HatUGGlQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234802862054\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:01:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830814375?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"41Noljbo8Q7spVoZ0oOdnmdTseCHtPl5\",timestamp=\"1773590513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2jTkHdz+U6WgA/bla+cq0nM0muCzZkIHGdqNkPyjJhd/cJp/UT/d9rKyt4sogBKPZdANspPm8rNyw0BOdXWHXfinuHjgQc4+2ov7MtuPvtAq2dTdz6k1Ydm0pDVl3TsBLGCzA+WZhsDCVnDXCVT5vwTjYijnUKluXlvepzeZhL0opCbR3ZH1Atr4EBDp3ztsV6Ox/Xl8OWR2yL3tnwa7U13NCR0KQ2LEv6agncZPLZoUaMvSvxBfC0H48QLX6MAxkqNoL9KF2f7v6LhKiTyMcnDTywlvaiB3H3CON8rHKxPoyLQdh9oVk+LXeIuF/54+R4heZQws+pW0+qkgMv9nXA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:01:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:01:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1AFDBCD0610C30218B4C18C5820A08C3528F1B802-0\r\nServer: nginx\r\nWechatpay-Nonce: 1db46fb19a523a201f3e6fa0a19e72df\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Q/w6cWQRwz23uRfVgpU8H3RFYgd6esUf+WDQsmDMlUOs5XOuHYS4bVwbaH9xx+wz0L+1M3PR050K0WZ6CokeHPsjTOCxjxM2i46L40dQWorymA30surkljHjo92wU6yOijed7hcwodkw767O0uFU2tntJmtPV3rSm9aK7qzCLxbFpJp+3F/5NHhpT+kiU36JxfgG4oB/LSz4jv/N4y/+6XAT1omtOOtfxg3Ad6tor20GozfHmGct3JZd/+AioP0XjoU5y1k0pMRTVYFVIL55plnAp++pLLFKCAmcNwQs7+hx4ZDCNdQ/az0oFjSthQT4bvBJjTwrNtcvq6K+tgoWIg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830814375\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:01:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830294849?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TZoEMnU1xi7yqufJRywaO7THkuUOhpvD\",timestamp=\"1773590513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rBwrOum6rmXR+GyFAZvS8RiI7i8upKfi59Ua9vuTyoIyu291y7VrQyfxE0Hcex+eTo98rvs9N4XwxR7bBVsM/Aj3Q8WZGOva/BCC5y/zJ7ej9fmzap6RS//sOwGkPVN9/tHVg6f+yotdAJE7QkH4rWDp1XOdhl0/7R63FA2XBbQV6LvCwfrdS/VkUY6SMF2D9mN29iX8EBPEFs9t0IrYWeBLyo2SOSRi4YJFqbVDa/QcF5qRM1YP7cM4ypPh/BGlp6McdwHLUcQfKrzgetgDbIKknyvCXzsV/JeYtHLE6F3v0Vd4zuyy49CN+8do1a1HQ0z1tg3l7Dia681Fv/x7lQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:01:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:01:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F1AFDBCD0610B00418A7C8C05520DC883128C5EF02-0\r\nServer: nginx\r\nWechatpay-Nonce: 95ee6c4a38f305046683aac2b9b14e15\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UkbtzAMTGADIAV3AY7VL3HWD7M/Y5DwpfBWyle8meaTJwwSsAE+Fwkklc+iFcFcjYPYbz9NFqeAz/IhNgBz9QFrEbIS03XbSGB+/8seSeICCjEXqJxOXJhPLx/+ZZc18Aioqk6DZNpODSGTL5tZm8eJO3EC3SBC1zSxVbxSCpgEwRE976Jbdch8w5vzVFmLhk8A1WgdHEALvKMerOWs/5om9DRvURAObqUIiB+TeNHQ+H2lg4TgQaNT8AldwnvIeuQ+GIsDgS05tmkmlzozl2kTBczpndZKqifXoqL8WXn1Cfsx9xVdIslTXfl3eOba/hcDpbwLITAsXKS2eu6i3Bg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830294849\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:06:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234749126605?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"p8EgvFmyAu7PTiojIbPHOvwBIy1ZGjk1\",timestamp=\"1773590812\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eI9uzQnqvMit6SuAtXIejbCBwE/1Hg4wyLwURffnTM0ggZkRh3170OFUpcOOY4XdnR2wGhmfogLPuxseAaqdPk+7fb9egoqvPeITk0MhyLTEczTK+/KdeG6BY5MywOctPsPpqFkb+hC7zxZb7Vq9Wl7U+dKxK60rP5xn+d9DGvKHe+MidA7HKIDQxNtTQD3n1RtLMAMDl86hAkYQ+fOcUtQMBrqOABDMIsucaQB/AOw8e3uqmcG+Zsq1PSFPi7f7rXKU4L9NzBwdnltygA1OlAdS02r3FFHno7snHISSqenABmOljgG65W5mnA1+EP8auxmsjBdWwuWQcoQVGiP0vQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:06:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:06:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089CB2DBCD0610B40618F9C6C05520FC931C28E9DA05-0\r\nServer: nginx\r\nWechatpay-Nonce: 9dd738f482ad2c4efcf1ef0787ae675a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nt5nfOf3LcgBy8VTfZ/xrW5saKKt6OigX7hbbdNbwF4gn4G8Mz0OnqdLAJ2rav8ivh49nE0vVc5MZNe0sSEq6ByMCqZeNkZ14ozdTjq7Xq3QKiSQ/SYJxt3SQytyheRlgsabSm3Ceby2BA05HskPxRnRsn+bJte3I5+3YD7M7IOqRWjzOuvqCvXin5K6DMMpII5eAZAFSxzFA74FOS9VKq+15WBp0iY5hqqow1M6cjG5s99O1UePHUj4OvaqjAvValHoothHiYoygQEQxesoo7eUsUqsvlMAjZOepiVEvI0pziWDT9ZVI9q4y56DKMsj8Cw11sBcCjkSa0ghk5mjAQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590812\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234749126605\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:06:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234802862054?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2jqFFtzdOjoOujhD5DHo4kHC397E2tlJ\",timestamp=\"1773590812\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"13XVTDRP8RK2mbxcl6lmbVeqijtrg2rtilQCpsDyN8P29n/MVFrpSQ3fjSDPGPKz3AJ9Qxe4pzhBbH4Oft2qN+GPvZ8s5eQDnRLF4h8xp4KRl29yfhEmXglPBS2GwLGy8tGr/CZaDpcXARgIfEnzTpan6VvrsrCsqqm6RBrP8LHons1vDx3KHYZPYwpDBhOLIE/hsdwZWpD2gB/pkkvfJoMRtCxIubxErI05riOmlIKGdZnxy+E5m/xuSSoOu4TdUtDwZhNPR07Ott0xwCQ0m65XX37sZQPev36gnMBob6GeRwRbaV41BtK2498EYHYnBSXYsakySa3vWqxEKHgVcg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:06:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:06:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089DB2DBCD06101418FCC5C05520E8DA2028848F04-0\r\nServer: nginx\r\nWechatpay-Nonce: a29d87ba892a1019a213b3438a3d114e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: amsRT4J45615OK1BjsArumYrdmNvuA/u3Qg2bJ+1Dr/2jTc1FriOke0mLaHxZR/Uzr8HK9zcBX1h0ZszH5wjDh85fDcrCIEbqBDG3J5meQot4TSGiMkgpzXwo4QJpYcdNdF6x+BhTun19OZ3quLfRU1s6nEpNYuq8TUcJrUq5EdM8fIYGvJ+r9koP6f5e2RTR/7kd4my0KTkdetelnwkt0OKgGHJg3ZFoiJ9pq51hQnP1mJSDgZtJWDBHxEsrdSI87Vmkznum7bZO17U2MmJwfLnZJDTECG8TNZWQVr9Hc5gC5aoddYIoEDLQvTYBNUJ8iKaY+4dldX70jZN6nVUlg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590813\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234802862054\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:06:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830814375?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5h0685PRml78kSO8h3oKzmksmXxreVQy\",timestamp=\"1773590813\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1Y3yV6NsUkzpfD+UHiGU01J2XF0xetIn4UXoDZ9Clc9YoTrXoprzsrVgQ4sZhPiDRBolZvk+ydp9Qjnv1uuhJL731RTXR26yxT5/IX44MK3MBzw0u6dmEuap4b1COe5gaxot6kvfwCGjONI2TezpkTMZ4heh+6HuEO+kg+btVzVUGJZZzRqDHPf6c+0FuC6sIBDdwU//EkpJLwRVDW+SiDOOuIhSIgU38VNU+X96pAnygQqOMxZQaOXN2zNlfrwFfB/MyQ/dw/Q9T4O0eK5Ic5n8jKpz0E6DRvS6IrE1VKcsZV5ll75W9xpIX4lxQQUPxEBYAxAc5U/bRKJ4kas4dQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:06:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:06:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089DB2DBCD0610F80118C395F5AF012080CA3128DAEA01-0\r\nServer: nginx\r\nWechatpay-Nonce: 40905166300f3f81d08c428fb9f58882\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NsCOsxZA6Hq1GUe71z+lZqFiUxzvRQdQYzgJH8BEyfTjcUad42y/b69R+DF7bjXPmhvlSsUqO3sK/Bu2xUsC3UyKQIlE5Dkv7D1w/nDkQ0xiPPcXyqQ3S1RhMvbkYfkrAFNS8dmsLKTnpL0wl50m5jSlUxCu+qjW4VAQjhlmuQHCd9hvh76PbfJafScGAu3zGmFMl1fsCo+lGPA6qVDePbDN6uEc5WCqXGyZG8HmV23N0u7N9T2MT/xUnIa/hHT2FwoTKi2OcecbZ1ej7fPSfJUT7TBpU6sGdQdCppcsLWeLvLyYvO5SS4MvsV3bEXlKcg4recuTbH4PiT51rmPFFw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590813\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830814375\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:06:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830294849?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EWEGOGWUz1GcAEHoVh90Ls8LiNfffHKm\",timestamp=\"1773590813\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PtZk9hGf9VpBrvTWNHwqxVORvyaH9CTK+RbIwCcJF5gViiGgWMu7ZXcS/LJVc0azuryJdgtl7Z4DrEfDpsVLfhU9A0wnCgyD3onL3oL+mGUzcgpEUHo4lErRY0hpcoCb2yl0ht2Q9Bx7DdrAUuJKlWzJC8tFVS1UD1RZG4btxYrGlGsuPVeLB1uXAaaZm7PnwhVlD4t9k68L+yNr9dXQsBJVx7WCdrRAAiW5dnczzeQcWltaIjZ6d7dh4htcYAlsBSLEU6G415ygJtk4YQVozNiCqiVFmdna/ljAhQWz5x48HlUF00AK9jKd4S2dfUAqJkUGUu2gQ2mHWDHLdzFpHQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:06:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:06:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089DB2DBCD0610E40318D4D78C5820E0FF30289D2-0\r\nServer: nginx\r\nWechatpay-Nonce: c6dc3b74ef85c41fc30800b38908883b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: njaiRCICJoFlNluWu8cln9oJQAaz7W4XbNOQcXeH4CEKyN9bIHSwx7z1ECXNkYm9xAon0GCuhSPPWe4FLXzgiWAj/sOJ2hJgI4WdtsBdKPhWoTBN+nMkobgunaC3sJqYC0LD5ExdqmnP4Fd7Ftf9E0nzQwTZKiDhLITsChERXzHvzWxHrFnpeiXLxzn9g0DqfIwbsg4Dpug2MEki0NNSD5mO4ZUutFf+6LqKs4hwZV33wGDTyQINLXL0rpZJ3H9GaRQnIk6glltAebYAcFOQ9iX2DGPom0lf9QkA+qf0iMpyy1hFdPv1d2/CCr9iyEMYNX4Opf+uwY1d9bMlwHuJ5A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773590813\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830294849\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:11:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234749126605?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"w4GDYNW913f16uYB9dkN8vTeeQJ1u3al\",timestamp=\"1773591112\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bXSEts/oxkB2y+fQ80Que58Rf0Wsb98ihWTHPWm37XPwKNwLnMTOrxYd3V1Rd0Mn3yPBulOU0juU5Hgcn+NjrwPUxpyTqY5OUW6TNM/WFTGWO/znXEUs5jA0nBDPoX4KF1nGEdyb3sp9L/umVVTgUKPy5BReltM40CPAyEVmrKULvq4ECVSzjjlEdO2KhapwQs8s6KwoUFbd46HhczqkqW+6Y2i8QDMtA0IVZowIJ+Pl9q6EzZjOviit/Yht976NWRYQEet4UjSacsO0FyAO9O9eYtNLZG+QX0REQwSUN9bK6aLpSrnVi6Tw8FSScwnfDdktA9Rnst7tVKf485vqqg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:11:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:11:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C8B4DBCD0610D60618E19D85AB0120DCFA162891F404-0\r\nServer: nginx\r\nWechatpay-Nonce: 1290963283f95950574add798b4e84a5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Wyok5QIfMjKkttdYwm0VXY57be66KOWs/dSr/2Gt7BkC3JLr2eEMYqLNdq468WBKAUOgRgKK1S0k4MROsUoksIZ5hvxF/yfIjC1nFbhRriWCq1w85akfoZoZslMHrTZRDagOAuX1Klj5mk9jSrS73wvjJUV+XGLoCpdM45moVb1wAwFswBd1PVsTSz0K025OUVOLNc7yVab+UR0Q3I56SHs51jDdTRp2SNVXU3q/nAa0sIi9l6uV2UHKw6jLMpwFPMQmDPE5oRilSyknUQwbt78h/w10B26FvrY0wSg1Oo5ERAOFHPjZkfLknwMPtHzVfpZAf0kIGLG1Hdzd4WjgGg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773591112\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234749126605\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:11:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234802862054?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EJ5KIt376sSW5sedMdsLI11ZfJt8CiVI\",timestamp=\"1773591113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dopodtml94zDiik1SjlTcYhPBMrPz3e72KSXAqXc+YvPZBJj5unOcjiZ3tC2v7J/f+IQnEU1dvnpB5mqfCXM8dC1ifkJXfRTwbb1xnNBLASZEr1M4e5MgameklXQgaZTFmF8htw+wfOxwti+y9Ra3R0EL6A4qh6K7uvGydE52jf+a7N6b0HIb9YVAnFRvr2YByLXBiwCHkz3g0j6QyRP+5W1MwMKfH6q9KUOFlI3OauTOZpbiFK/PPYJ3M/n5jH8Bb9usBOLBPaH8yaJ0bwds91VufUqLczNlvP5NRN8RwDiYq38+LxslbiTyc9m5F7riTiAzWze1qpHO0ISI3Oyxg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:11:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:11:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C9B4DBCD06107A188AE7F8AF0120A6F40528C733-0\r\nServer: nginx\r\nWechatpay-Nonce: 0030e4eaad09cf3a91fafe97078b621f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nKbQFFgDyrEA6eY2blMFpER3eZ3XGrjXptiR15rVj4kEmhueIn4TcTamAjfXuRiwG5UePp+aXM2NaFogECATL9gNj1E49HlqpoPVT21rl1vhm73S0pFW1DtZGsvKfPYVGZkclYYSpqFRqc4W0sCXSHR9sFWGIW/i1/d4cLLmBh7mBfjLc8RFnFea7SEZIOd4uoq8UaqyIolFmEiCwJjiiEyoFMCrbzQyJhtrY0XanLBhyllb2qhoI+zwHM/l9nZGfDiSIOEojX1Qe+hnsLKHMdU7rbb2cIajkOLOuGk5EDhhKC1cBCXb+KZVR3bAx2+yiicvuk45CCSVN4xFm1Sixw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773591113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234802862054\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:11:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830814375?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bDVRITdXCHykyEHm6Hy9xr5jkgSHhaMy\",timestamp=\"1773591113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3W8qdQAdTrdQ4xXJMyVd5dJ5dxHoUIgjKwPzximvlQUq7TBY47kLnbLbI8HybQF9c53lZXd+FMZ5YH/shvQurqymFvjBfBKHcBwIW19T986hiGav0KeXbv4bra2gT91lqCbaPejur2OaTnSMbKcYT7Qf0Rx92jqCNxamhhi36qHuN/iXXfnhbgZPP3Pzafy20lnLP67TFFgardPvyxBZgXa/ZX41erCbs1WEhQM+bN/xpiejVSej1W+spf4yGmZugkaA7Pk59hmJOXMj8yX2KS92A3J1AOTaGe+95LUjPp8yvbi9xtJMZQW4my/5rMDmYJCeuiIpmlzj5cwt/LwUzA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:11:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:11:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C9B4DBCD0610EC0218C3B3F8AF0120BC942728DFFA02-0\r\nServer: nginx\r\nWechatpay-Nonce: 1d63bb58fb15ad8d8f3275c4e0a39000\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xBLNNNRXRjB768zunIY1VJuzUupVMILEgzwqm3X1xX7/62sV+kaqzU6RgCjJwLHwFiHqa/l4xFwuP1jSKexGCLiwGLX9t5b2CVEZo8BCpflA9NZooKlOfVl1x+PcisxBzrKaTIhuW+/Y0aNO1bGk4mT8YDbrBefv2JpidAKc7oZ+mI10/VxK67WKTPE+4Oi68shDxVyMC5z7vRUdzzhekTumDbYFKxunEN9Lqj/40W4kZ5DjsWixaO1xRKV6erGgKAPDr/66UlvnFhjb+J017VU2HeH2HKSKP+H4qUYDiPR/srjhE7ZnF6MSOyAvO0J0fI7YFiq7vPJn1NBf1u4x0g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773591113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830814375\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:11:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830294849?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pSWiSQQXtJFgrJo14r7L5Gu7NTzbZApG\",timestamp=\"1773591113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tzgOumbDj3HhtBx4yne+DWu7w8uMRzX2C3vFiXHdLC+CcX+aYy1u83cIIou3V9j+caLUgyYfdBDdtcXEfxaiuOPEq4pAvOSbwZ3SE7nraNo0L2k6OKnicycy8B7yiTdLWOD6VmkvQIB0ap8T6uV8kkNMjKIgybkHjHqVpmW8+ztG9o19YqwUQ/iNsKmVqSE+xjvFIEmT3br6KUaKZMyNXMS/Ssn3qYlHyCrcjbCs8pHeCuTFkFSHg2I2B/q4zeJTmX70JDeSI2vczSka45OO+gwcIPyul5IihSIwjB0fb1Ua+GEs6Bd7W/tmJepSAgYtVrliIYDhUzFh3+lhII7ISQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:11:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:11:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C9B4DBCD0610FF0418FC9A85AB0120C4AF2028A08F04-0\r\nServer: nginx\r\nWechatpay-Nonce: 3dce926c11a16b6577eb4404fcd85c76\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ySYaOTozqPMLmSRA0Y/6pwu1ktOvxX8Jmc1RTwxdL8Kx42GlOFdbIsY1R4njw8MaXvf4UrrNkXQhBxYcXah3Sg+pJaIssJBWBGxBnI3Fi0BWORzNJA5aBjpMq6b+ngsS50Uol1kK3EVMo63bRzFMJXHGmeLdC9Xq0ZCuXvqjlJhXATrqJxgV7R/UX8PRc+y85lOY2Tj7NLS1KLkQ+qDuvpi2HFc1XlZqIj5LC+wxvg713IkgaSfNfJfvRgUSEs+Uan2kdiTbtzs1n8Gr+duPq5+gzsSUoWVkYcZNCLfBLlKNnzTmdT30/QtAz8B+kKZNqDLMriY3snAxtEfwz/OI3g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773591113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830294849\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:16:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234749126605?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1vfrZZQEz5skiC8NwsFTdSqe2ee0CLOZ\",timestamp=\"1773591412\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"d2lcsc5bDGERtSGClDLW6TCvHM1KOth91e3WNvtA9ae9e8j09OeslylKHLEv1os77w+joP7n1k4czBtG82eD6YDXT3iGA8zyHynwS23EOFaP0DyV7moMhftk+J3gFPNVJ8woWolrtsdNz8zH9yu9pBtrkUzV9XlBr8KSybXs4voBZ56+Hswnffk9Vg+4W7jgBErQNZ4+kQmgVbT3F+bFRt8fYMVrgbpdPPpLAxXKVIUBjd0QlNEFniYCKYFOXEVeoyBhqgJsQLMb4HwuzJDrYKGKuzCpzo8+3Qwo1DFg7AMBjFfnqq6Dlsp49yJZ/XPkJksASRgCv5598OcZgnJo0A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:16:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:16:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F4B6DBCD0610FF0518BEDB8C5820A6DA0E28E8D101-0\r\nServer: nginx\r\nWechatpay-Nonce: f834c693e5fc2bac7ce54a64c93dd962\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YX72FCXTx1MK0fr+hUE9bI3knMG0b7wN5KaSPQHLgj3fjTakW5WtCQgVqwgAnSVPZfM0XiAwfA0KOfHIbfDQ1TPs4i+1ZV6EZnO0eTNrrh/zPSswhwiHUw+dLj0xxlNs+4kIt80pjCG7v7F7Z2XfmaOqt+WfvS93oywwf0J7iM4jI+RLMtBBr78OY/udOWn0yk6VwogXcLBn4YYDoIRJxzp6mDVS9r7Qp2uJWKjV7Y2ojyQircUQ7udzGlRC4Vlg1YfNqh2nWDuCmuSXAKjroCL+qd1r8YTLCYjp7sc4RNiIR4LDmrwKRoYSe5guCdOBeqT92icSzAaaeHIlG9SKOQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773591412\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234749126605\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:16:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234802862054?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"x7MK1HY4fyKF43hEoGjDrK8yT2HBgsb6\",timestamp=\"1773591412\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Sq64RI2KXAmQvSrSLrYIiHQIUewDQtQeiGZ6HsShFE935a+z7H/aldHFJmJddSPjrSic5qumgHWPuKWCSOpbOBMq7Z1LxJ8Gee0Qms9I3nRCLYEQn6SQYtQX2mtmBvuGZfhXsa3mhrol8HkTpGfUP07SmlLLlomrasLn4N/r4CmKH0rFpKaS6uBx0q8BtyYMB/rf8QHUVuPWEvIENadBYALX8ZrGgPTfpgelSMflEFqMATkmj9DP/rJ0ZLpioE/5Zm0x9SD98SHBD/yEtC1Hsqbm8DG1Bcvzke/svSUO6ytgEPswPLG4+fcusYTlaYkFkW6fX9zcSX7v344FMWpDgA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:16:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:16:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5B6DBCD06101018A981ECAE012088C72128C1E804-0\r\nServer: nginx\r\nWechatpay-Nonce: 2094737a6510c5f83f8520ab0d965186\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: P/hQDF+aT4mUSqZLiuVA4IbMdnSJs8O3Cr/x9a68C/dXuAlcSFtTTWW+slI/Ggfwqro2NHEi3Jk0Dl7dQ0jt3GxE51LmlSV3NghmecJQm3xFg5xDvql7dVCGCUnkDIHsa530xlEZfuAYvXhUICqZ55Pa4/OS+7enmit0lnREuetSESHD7m4Ct2Rh6DXL12pzNHCBuUG20T3M6Ri284gszeHVQfqcxe9U+43sw2P7ZgrXIxT5x02wW4+72H3qLJymjvYdn9nY7y7Cld6OOail8geWkqs39PpFdVlswyLPYtOTnOsHYXRyzNHWIRZaMByvzZ/pXfWsQT9fLYFw8d4ohw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773591413\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234802862054\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:16:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830814375?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jw4CkSPJ0L1oN3uRyyc80Bl9aiWEfhLo\",timestamp=\"1773591413\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"plelOWbzZfxxtOBLDQ7EZ+fUSeOjGcN7mVmHnKEni4zJdAX4LO+izjHMEVgfjb0ZSb+9jjrR4Aw6ZTXpDkkwiUanXVjHnvIeDGV9rWYJam0LybdTqX//oXCrWY/A1f0Nz9y/J4Za0RKlC8luSD4Nu+QWb98xxnGOJRp7EDfID+wZfxVqld/UcZkqTlGDm1PYDp+u0toeRLAo85mHvr2tK5e+3Ndao+3VYsOSehsM2JVhnCnj9PvEbeWNBVEeUGlHACCmJU2c9C+Sm9FUlCGU3Zj1Z7CcoCPfw3BD3lMzYiYKqA7sYdM8pTkIlI560SEEnyi75EfvDNhb7QERMKdugw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:16:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:16:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5B6DBCD0610EF01189B83F8AF0120CCC20A28F58704-0\r\nServer: nginx\r\nWechatpay-Nonce: 8dfe9cf64d3e016340d57d651abdeb60\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sskU8vygBER1eoSYvPwvnPfwJ91Dje56DlcNtTVNkD5AJiPp9K0pl26H+J7aRHgMlMiFKN5qZ0ec5SGOebVoSwePLfKUas9pNathWBEv2DT/vycTWCfM/PiTDUQk/FsfDMlAj2Dgs7BoSgmgvk0xpsOb5kvdw4i3H57bHs4LN9adc8UJwLUvryvKDc1mRLN/s8z0f/JZPT7hQ7dZ/8/7sr00cZcyLe+QcVVcR/3B5HWhtbGwaaS03FigHINOt5lW2KknT/UH7FDSV37+z0Yzjbc8fjFbdL6xOEhWiwj60dwg8lDkIufH4bAMeo8NZHmewCaxyqE0FWw/vASAJUSF4A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773591413\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830814375\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:16:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260315234830294849?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Fw4SIumi64fx9RW8KVKYyt9xnYkCFS6P\",timestamp=\"1773591413\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mN8pAtjzU7fjP4hEkOq5mWSGmASxQoH6glQLlDVcULtiFVyqxAm8+NIK3E1qMe3W2uxHVPZIfFu6kRddw6rxHHsWMjlUwZ6YaITBjqAoEZl95AeedWxxxZyPZdD0pk/tLt7EqtwmG22idgiYOyYXIwNLvqvtJmWuA49YxMfvpcrAMmxHbEwj2xVT5BZFTQw5GsRIIn4HMm8X1XhV/N+4AYzGapbrOCKN/+S+Ju+0EGijNkY6sr6H6Ug/VXHgsoyZAu6vYPSVjivUYJ9Rq9zGwnTZQYzZfP7bGygVOktvRUh+NVi+cEy9ueIhURbdZancKLD77JQuK6MZSYoxK47qEA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:16:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:16:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F5B6DBCD0610950418E981ECAE0120B8B51028D79604-0\r\nServer: nginx\r\nWechatpay-Nonce: 6ec7e91b42702551aba4277164f4e364\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: r9KHYDRofPlHirVMorbPh8o4HkPcO66k/L3cK0UKwrLCdRjk7anyn4dPbPhKc0Nu8qOXdsI88esx4bwX0SDFfRmTTfWkuzeMlwstAoQe8TB4Lw/kJyS9kKi0boP0ompyKw6N2GMPdvxAyTzyoLTuyVRaXK2YMTQJL/nYw47ygXkDYR5XBf+h0WBoVzyMlwoci1vNr24H47K8ONyti+7jtJaK1hrSyjbk/QgP8oKYJ/vtK2UyQuCUwZKtKBh2QyCjZrlSntnc+5BDCT5X3edhGkTKY1MQFAlRd0KQpxc4rWZEA5RxdksPNtP474YtwDzX4FijjZV88l7CTeE1PMiYCA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773591413\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260315234830294849\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:36:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003437912411?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mEMhD8sojJIHK7fL3zBmbpldtiGbCys8\",timestamp=\"1773592612\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"U2wnG3gvVCNEgDZYK1j+TZ9L/7ufOQnMHDbD3AOCt/g9tyWSE1m3zbIO5pk0Bm3Gvgei6y1++e+musq5/lOsdNTPrQ/pe/ZKTHclBwqrMmV34IFi4nAts0j6ftm02ZHfR3Gi391X2yzx5WfotSupxHrt3N1quir3kXizfTd4eIutrSwUJwTrkk2MyukVLO1YC7/0YTgdfoehgwdZHfYcRXRA5bjS1GzUOUfhJM5+KOkpWVvida8yd7rLOKxbHp8/YjxvqhunQ0mOTJcZ8ufHn2aR9kYAaT9GFvW7NP6iIEH9jzUsTiFhG93CEI8o3xXSu1tAs4WCxbqhUyxmLmyKkw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:36:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:36:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A4C0DBCD0610950618B981ECAE01209A9F032890D201-0\r\nServer: nginx\r\nWechatpay-Nonce: 3306180791e9bb290753ae6569c78ed6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: n+/yxNfMBWZ5MyFUu3YYt4aDfakCuEVz1o3SIfhwZUsTvX8D4jFyz0MIkSj4lpRGahbq3Ko0ycPvwy1ouckFxGlbSBOzwen1eXzyp3T27XUiAgaerW4u+9zVttTz0y+kptov/YlydlVBohdjQlZR57TBS2EspcWT8+vws+KvEEIuQjXq8aqQ0JO8SPP1pkO6dhu+SfoO3oxmW7I8hIiIr5xcHXadvYqGzCSABbB+w0CdNVfQMuHP7gwxG/c+Ri6WwjkqKerD29HZgkWw8oyp4utpdqxKM36UTLWilBNioglu/FUHJRFOpZXQA6jt+dORDy3Ney0ec256sh09Y+Vz9A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773592612\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003437912411\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:36:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003448680494?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"skQotmZgAET0ToKpbUCGmyEackBwDbTG\",timestamp=\"1773592613\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5tkQ1VBk+zIrRG7Vtt6qvesoWc69Yl4RxgkQSAeGo4P8cZKUz4RdNtqyJ/r1620Px1hexDqRGZbt+fp89ulJkxIGI6LEmXaMCA+b+ukfE+HUi0xMaw/e8tD9tWMPY8ZJWCwv9DSQzi8NMp0Z+mTJV+9EXUmCR8qyqKerZJngmE6VnIgoWxOCgo4oV2hy0JFNCugDuThmrGHh5+Nj3Rb9pppVVSuL6NEn107opPOqIDk1iAPuQldKfJkUEWOi4+yGFPxvIKokSv7nKW1sBbxzOdfs7hnumySsG8FZCO2XAarhmBkeAzohreA4rPGVMBKbA0yTTwPmF1K+XtcENG0Jtg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:36:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 250\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:36:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A5C0DBCD06107918FAC18C582084B70F28A5D101-0\r\nServer: nginx\r\nWechatpay-Nonce: c26480ee71fb9650cde26200eddb443f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EPlEvzswGNE6p06o2NODKVB8Pr4T7POph9fCyUd4CE1eiQ2EgS3aZ6Y6iYM5foTSa6z74BxwLEeyfziv7hwiz9osgCIy12pZbSBdstTS+p9iA9CseBTzqzVbJl89XmKF4/Y+bEOoROzndiIIQRfXdFWrSgS2SpzAM4iGwyP8Bb/B8YVWxF9L3BSwWUr8vE90Bq9/HOqUak4ql/a0hhe89elVszvykSicMyBDJYgixhDhCqFdPurL5hZH9L9Ls4P4e9Pqffzq7ymPR9DQAHycLdftolrl8Iu5xOUgECGxyJOEmuF+YmYAfQVE9nJ0ACVJB9kypLQJBvhEf9z+rwZgkg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773592613\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":3000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003448680494\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:41:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003437912411?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"w9MoZ7D2W4lYouhJbTAscfy04aOk5dHu\",timestamp=\"1773592912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"S7jB8bN++gA4k8KF1xVf9mcPYeAdNnKlfP4DKAw3757KAp+m8oQ62s6wVtH52o0zDAF0DJbUq6Io4jZscDgx0jIo5/YOg0FRFBmcMMrASM3sa8e43slEXjTnY50SOcjp3I8By4I2FvekuCNB2sAPyGt7YRKIpNEwjxGBaXs8JFASPdbr9hXWRNOsCGQD44BrjKWLufCgHKHFYB8ILlkcmLbFQgZ5hIcZ9KWQ722QN1TR9dExY2HCU7mfVC0VHfxG1uJ/3TM8KBlrAEeM8bKeg+TlF4QEMfxukN4PLr/c6L4E+SLiwlD+8YPveegAEGnpTrGmDrIQBqWKO3i4N+mu5g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:41:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:41:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D0C2DBCD0610DF0518F6E6F8AF0120DE8C0B28CD9A05-0\r\nServer: nginx\r\nWechatpay-Nonce: 18c6eb8a28b6684650f44962b07057d4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vTefq++RniRWmmS9zPhmVixWjDEcvB5Mo70dOXdOPpW+nw5o6rdzD3E6JRddAEzVcF+o5rp/RWKHBUl86DPZdQl2awhRn2jlF5dgt9+/lCV2G3RZvL8OQllSKdSNdJDM7o9YrGTdU7sYu25Zvj/55KHKejrQ0R3175flacZHl19vd1ONBpl3FOBk4vY78L3tDwURSRiRLhy/L4bqggjpvRMh6uI7znyJ6n1Ojyn3k5h5VQScg0NLUsW8p+rtxdqu2aEr9XpKbtE9naQ5O8bgqp04bD5AXXxb4jVezBEZ4Bc73FDSeIppo87HCFpFetDb/uzfr59IvKfi49dOA9CkwQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773592912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003437912411\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:41:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003448680494?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pyNg52q8vb2DkpljD1YhNm3Dg5GVAwwp\",timestamp=\"1773592912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jpyhhmStjW6QHfNUwA1svF18N959diUwbexML/DwalRrcoxDyULVbUCMtDROjIrVVU+udz74mi7umXjjn1f9HYqe/WscVCO3EzmcFm4w5ovvdlfyy4l4i2GPxeBr7ILyiWZMJQe/QWze528sKq+BDx7958EerLLpUQvyNOWTtofbRnKD86ZCyRrM5hjzbPGNOR8EeTpUUqwWMhO3VyKnPvRrrADnLrReoCLrpYNV3KLOrjvYv2mvsAI11nBneKHcIngY/LMDChGXtEdttcQMQNf/4NP6VZOApuWqvPlg9yZunAWUBr5hFnu0TUxZu3nSUoMCWF7uToAkATE+ojNWtw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:41:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 250\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:41:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D0C2DBCD0610E2071894CE8C5820D2B20E28E1E001-0\r\nServer: nginx\r\nWechatpay-Nonce: 12cafdb7640aabf176b8a37bf866c245\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xIS0EUepJ5vs6EBD00YexqyWe9jlzPverdkgyhmPpsYAAdUGfc2Uwc/O0iYv+xA82peb6TRApea60zSHcExqWrmJujAM9+MDXu/t2GsSrlONmN0//i2EMFtU8L1XgBNfro1Gk66dqsGAmZDjU9wSV2jCm1p9hhPxk9GfJc7/p/A94T9kxxeyQYTycQ0Wd6/N0QQiktkeK4tVFhXGU6zEwUllj5lfi4KirsQJZfdd5cbw4ADJi8bL4rOExyZndvsOI2dKbtYslNIarQrW1VNdqBBbDrLQqiuM4tJV1ferY+pfziO61E4DQKhlVqqJMsSsW0hrbUX6htYYb/RF9gZXSQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773592913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":3000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003448680494\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:46:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003437912411?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"okcwxzsAu2ChvPhdoamWxNMgEvBeQVqA\",timestamp=\"1773593212\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RuJTTdCDROOC+tm8wJTHlQ1ROz++kqXavFWJs+ZIdpLwKwWJ+i9RJDyaCaVHSpaLWe7xdewC9Bgd9jZFKRUBnNgKC7x8axkYN2ZLUhsls5utOSxY+WG3o96JENgWR/5IAxt3Izqiw9UiWfP9WyIfuFyVpDoRY3mRCSpabFPrkvgqITuyNp6oI8YsaZK1KMg/to/Hy3rBiQUsOL7RbnoJNentcPIxr9NoCOht3oCI14RXDH9qxwBdr8kImhKkxwi/EmuC5zWzEx2S5Lkuppge2YQvIpxqJHW4X9bScSciBWUEhAQiKsNyIeg6QOi/Vdlx3ExhvxH/E5AwzOvX+80f6A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:46:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:46:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCC4DBCD0610F0051893D2C6AF012092FB1428FB9B04-0\r\nServer: nginx\r\nWechatpay-Nonce: 9ba65a0de93f5e5377d097d1fc9783b4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dwjgIvff/Q4XGUMHizdoUv7EbrS5NZCVjVG61w6Lur+90veQ+Sea9Tcu2LEqASLuYkmn2M4alq3qwUdhW9HNp8Pm5L4LqyrlYxl/DDLtNNAUOfZPKwjbPdOBMxG5bWMPSafREIbt80oRY8y9qOHzQ6hK9sfpdo1rvkCenSL9B8s97uYrC21Wa4hLSbKYIzb/JjBLioR2JUtpOhVdYFdeKE8HkjCL9gp7svz7xX7vDITyJhVfNvdNs1U7dp7dF71sHxNnDJuBV0aq/NDTTZstjqVHDINIlx83QHGkbM3l9H+2NGKYVDt9Pbp3syvdkf14gn8+TVZwH12fXSL+uz2EkA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773593212\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003437912411\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:46:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003448680494?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3LQ62Y3rDPmmCieoRdtRtspNAHZB3osP\",timestamp=\"1773593212\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ZO0ULiCKHzkaCE0kelAwho9y054fTU/dJKyZK+EXmv/XgW9EH9lbqjUJ+dwwX3vXYHnxsAYDpUFldqkLUBYurmB0b5O3pcH0X8CeJM1enhKp1UAdyZGWcvr9G8VO9V4niBZarnQeCwF26N4b01ajtqysR0qQ6vDTEHGuBd8/KBb04CScaHPxCUmnoE0XtCSIFgr9gyzbopgAu60lmOQ1TrnGbr5xGVLr+B6bPs4SmZcblDIETGwOawBl7WysFeU9K4bp0pgJr6Bf8Qc/q5vtqesaXXv65Oo/sa5rjJvvWtPHsdppihtKAZF0DEwUn5gEoHCeDfHbUHOZnKYjgiKYvw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:46:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 250\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:46:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FCC4DBCD0610BF0718A2D78C5820E4C32528E1B405-0\r\nServer: nginx\r\nWechatpay-Nonce: 5ad37bf8c12338cc951291180d285352\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: N9rNdBWoKa6eFlhbUOtnDUTCoM721cf3J+p6JvNggmeHfuMeR1KK5KBIkz2DswAN0eNvEiCMN3SX0dJQWydzYkUToh4tjsd/9PoqdB7hoz3wi9sj461cVT4qQd5Nci5Vnn/A3I2FHNhkHvqR3lMb7GXz2yPp2qdVfBbgDqXjw1nzYu1ZC8H/sV6e3v7kI6km2iRTBwu9RE1L9fd25JVhJ3i+nDWz5CzlNR72vAOCg4JKEvPtp5H0tJr/Ab+lR+hI+InGVprU1fEgADYqSUGBIlGPwhdcHNYPzi2oDrg4EhFIcb3NUc1d8sgVUf0RGDmMaZL9kTmBckZ3XlYK6XrobQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773593213\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":3000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003448680494\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003437912411?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"88tlppm9ngKP2dPMyWJSHCEdBvhvleHC\",timestamp=\"1773593512\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Z4hQvMu0eGMwFi+3a2pObyxdGfc+/dFoE+fyRB0wHEchfs5YjsshW9CKjXBx0WksNNp8rpDj+8RtgymzHsdeKoQyPa02NU8blXwISEYlFXxWAI/uh83G2+3460Tf9BwPf2eUNicZIJrB5sMbxaS464gM0hSGd+w7XRMzSYcK+s1eUkDS1PCN+ZSKQhVC+PmnB3+eDPUq4HXg+cI1PpJVLbyP43GEGu1ZPJ6q0YOGf/v7VmsjyKTk6SoyYd3mPYxOeYWfTMDtfRAlkb9g9KIPCFFJM/xoYMca58wXrEc9Sg+nuYyYhT1g67sC7G8mclBxAA0lmRZUP0mo76Ml+OujCA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A8C7DBCD0610BB0618D2CBC0552086900128ED9C06-0\r\nServer: nginx\r\nWechatpay-Nonce: fae6eb2d772139d1d902e7e39be14f23\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Azwz2lP0SCfCRVwkMIygvuaRuJCKeTFjkFoXhtDS99iA34SzElv2VewY2Sbk9Sl4VCsTYZvB8F9pbwRnCuo23cGaDprD9fY9oAFIAZMs2RYVRR6p6TAbJETkU4FdXYiEqH+xseui6xFxnjN/vHKbzMlLwZd2bz0qKU7TWZPD8uDXKhqFw8lYj80D5MZOXN5KNYjfcZ70nsA5wwumDbx0nGV/L+fffosCmzd9m5JsgNVnrM/zw6OO6hBch+u0XbSC06wHS7f13EdAXVeZgTuhKeYEkJvjf/VcPznXwocRq4T92HhtKgTm5mPUYSkIjqo2P3YlQKGgBR0D4X8TEQYFdw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773593512\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003437912411\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:51:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003448680494?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KP47ErB6UhQjMIBwlOS2cR1PaWftKJny\",timestamp=\"1773593513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UR4H8rvPngwOLgNGAlKLZkpRVujwvSPiSB3rxR7VTKfqLw6HIgvB4QMn6m+2BmMgmAWvu0Tu5QWwQi5ABomVnMVooZLkWPaKQKBv1+e9Pp2veTPLpO3zRzFXGQSTd37g5JAknD88CUITf58x1qIxI9AHneNuie9CUYIj18iR5N8ShqaAOEyKHPk1iHTr00RFAeVVQ2S9TT6V1NVU8Sw7Kp0lIcLOoyyFXj0fPqQvMVQ/vxWOy2vPe84/vt3N4NGweLfzS3NusmGaBwS+ui0snpl1XHOkhQz/gdhstqQ14Uko3vaKy+SIOP1pqGLSbOryHUGuyDTBcLNMSeMwiq4hfQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:51:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 250\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:51:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A9C7DBCD06109B0118CFD3C6AF0120C8E31928B85-0\r\nServer: nginx\r\nWechatpay-Nonce: 9864288d1b8a0d809fe2d6d87a529bf5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MpwmzzgAjKYAKK2uaapzOGppnMmcrEr/LwwHVgeBzM5oCjSKV7wLJ1AOWmSDFqef7mQw3EXtpsY7rW5WMewgMWxZgRJke8IcwGKyjENANeLjnQ+SkWrmgFLlU78GU3fN392cfA3iQYbSma5cDt7Gjd8PcBwPR2Tvbd+Ksu37S2EeenJA0ckWkj7ZMW5e2HrOZzzI6Ky4Ojchwltp6q9BKUxkewiPK83XQouT6YLgl80qRuRSOJ4NVJOgPvLEYCBe2BjH3KE1Gc2wdj17hmJ1zXwsBW59CjSErYG9KnEZ4djAIz7BUWXEIP/XP42iIAh5M3uzIvGBitFM88eZjXDevg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773593513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":3000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003448680494\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:56:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003437912411?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"e8X1NXEIeujDIKVCaezNzmydE0xNLcYZ\",timestamp=\"1773593812\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pmIoorgfNvbQFHYSxzvFT1Do6R7YD33D5DgG6IWhhGsMvVKsP14U873eO2E/Xwn8WpEhLpKGiqq+3RdYEU163hnnL+fR9OXBPyx7OuSKNSImgl/3D0uPxpK/8gS5jfkrxEx/tuX8mvKc18j+1Oy3zF0usCBFmvOPE5Lv/1SHcNY1iEfNCY7LdyvHKSDMdpqiCVVaEAyKzTDmdv5wh32yYBp5NOdsfQa0Me9YMQSim74Y+JyaCIRkk4Fm8fQC8V0ofzVi5RNXJ40a/gwmAT/BkffZJEBSkuSmlB8kX6BoRMyg4phKQni03MeHQeNXfL8O3S3wqIFa8zANgvRB6JWwLQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:56:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:56:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D4C9DBCD0610A80618A6B3F8AF012094A80328C913-0\r\nServer: nginx\r\nWechatpay-Nonce: 277ca3a0e7649f1ffbc2a3b952856822\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: A2/La+FcTqLIPvjtgXU+lw3Yj5BMqERO+FniDCfxIss//VEE/3BmyuXI8vOiG0XiYtzA1ZvF/tyeLx8r+BdJMX5Qb+QyYEpqSNaZJCd5NPGVpmBAOTq/C3vjjSM7wEsEuNJpn98zbZwEOpuV7dnaN/JMYSYl7MNRvcU4TXbCLkRHcq7HUOha6ZF5q4BMWNv6CggyMlOoBubKg3EfAQqWtGxeeSW+8khRKWkjT3/9y8KHkpjgumPgVvd2ZT5bKgUrJqdCqreLBkdFFnz4DJi1L0woYbZZvEE4zlevGEBIIQZICalSK3mXb1Qj71gsTWHPRLQmBXYjAjLJvii7B5ZDWw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773593812\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003437912411\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T00:56:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003448680494?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RiDoFzEfed6oqEulLcRTirKMrvX7dTDT\",timestamp=\"1773593812\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XNklpudsgDBEjSgtudpsCOpExT3E52OkChsL7JcTP/EfGb6zTbt0G7tk7Z1GgxJr6XBXVcU/NhPN3ZVwChDmcPQ8J9/xBddrKcslUDOaJLquVDvGHS0IVn1XcLnSDDfw5pn+4wSM0yXvZfae1n4q2bkkxMHdPTRfEGjM2Qr3WdHbxHF90u7F7ghbVcPpQ+7wWxxv1Y9m+rhUfgdAhwBxLWDxdsq4llxm4Xhs8Tf417loQmOsInIZeOt3gMSiPAWQ7dXv9Z/QRXoyiXUqVtaIA/XF+v+6aPaJTjhnvCQuxq0tTuTcesMhJQL2iCB4jsOcJUEGP/x9onCx+dLCbOB5+Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T00:56:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 250\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 16:56:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D5C9DBCD06102C18A699F5AF0120C6DF2A28F59E05-0\r\nServer: nginx\r\nWechatpay-Nonce: ecc961406aaf0abb7f30618fa5313d1e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Cl7OeFFB0F3uH/IGsWIVakAgcbOJnd6EdtHUzD41Ttf4Cn0e/7keWjngVWcSHFw8AW5SxLPgu/bvaKS3ILkSshvs6TDUYIToQSVMQCsKPFXEzXLeCqPyW5Vz+4qTLde3bqq9qq5dKbUDbBtqLBlVgZZFfZu9VJEE24TNqCC1p0iMEYUdeoJ+Gpoi7gBw/A1WQUV4bkAibRMN5A2NzgxDIGODVJgB0PCehIAKYsQ4/R00dnnvU8gRP21UwzaL/qcYoXNV8xU2FVVPFlneW+59RSXz28+l/DzeDjKzz8NOjUsPQKBba0pUIpxsBgeLATZOMzGIkxJ8h8/3zOXCxmmsWg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773593813\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":3000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003448680494\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T01:01:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003437912411?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vsL27vimzEP0UmnpnIvrMFgZo5pYuxuD\",timestamp=\"1773594112\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XO4ZVolSgMThPpTrURwnkZdNd68vaTQ10NF5kyDDCzJ1eNgatQjb3z9onyf5XZyRR9xHodSeLzv4olUtn1hwYFFcp+yyk3r6lqWw5e9SUvMiBLra5QYBVFwr+owaniwddmwQ36wtTVMyXj7EEyzoQqrEGlDUEf8WVeOITG0bNv+dFT1fMKxNtFAvUmrcrMKdXy41PxtUKRkH4IVHMmbR+kggj1qX1uMx3YwRQZU1xtpvOcLAuEEUDNmayJpsj2kdhlVE7E8klniUBzBdJzGzdf1Rcu48sQPzRvaqwRwfM8tCl1fe/Frf1n0xKRrtqoNmpC+q81FWvDv+d6lQYcweNg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T01:01:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 17:01:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0880CCDBCD0610A60618B8BBC05520F2D70A28B12D-0\r\nServer: nginx\r\nWechatpay-Nonce: af444c9ce030b807e69e30f46c92154e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Sop4wtLyyfrFq5gvWzeUoeH5BZiYQs9WyZzrCM4AyRqHp+8yi7K/lEsUYRJK8cGM8iMNquTXoC0sFns6E3TYQhCDQYSi8S4+EccRvVugtlzmXV/xnwsNE78Vlghk50jHBEBuyWmnwuIpQZB1qq+PLivGCU2Li2Y63K/RKpKRPhlH8ZUoN1539AQ+2OuZITfCG/hbXOEDps+EObdMEVUFYGwRzIHP9OmpouWM/zTeRqaxDpqzG3TJ4gc5P+1+B4BTGiCm1SjPl8a4M6Q7OjjbKACb6YSOQH/+EquPKXgWmDWz2n6AxritIKIl9KLjBH7/vGhqQSd7i7rwiVNz80WfZg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773594112\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003437912411\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T01:01:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003448680494?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"q1jPE6zjuUQFrXMoH5VMGYo9dc33WR2Q\",timestamp=\"1773594113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CGyZInp/Rj+Th/Qnbllza1MKTpMycMnWCtlcMKo8nAxBbsV2SVd3SX4AhvMRq0v1sKjr//GLLA3pA27lT5LopoL8FsgVK0nwGwKTaD0uYocJCKjNwo6wr1zeqPG+K23QX9B/D2Iae1JaNJHXvc/SjgOkv7/MaddJtTB8yRTVCZntZWzB+CSIYWhLPYY08VGg0PbW+jUYcooxBKsF6JqCPn5C2zOnT/tATlAvThI0mEgJpycFJbcZ7j0wY/cCmlvU/68hkY2DjoCPA66xeMAvSZGgJOVsC2lZ6b+Y8TaJiY2GYN5wn+mvFWwZeYuMFeBFWM4H1rSY2gPNpZkJVaS/0w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T01:01:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 250\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 17:01:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 0881CCDBCD06107B18C0C0C05520ACA31928A9E705-0\r\nServer: nginx\r\nWechatpay-Nonce: 2230d9a5b549c9968fca552b7edc5603\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aPpUpcUCrmauz2AiGylxKsf/sWXmJExoidExCRfuzAabnVzRhj5qgMJVfoRTRN02mQdJ7wo5c+i9dYiG+f0KQDOoOLZii4b7H5p2w5bTlMRX8QpP3Mv5jw1FIZqn5SLhsxmazjGXBpRiDwXt+NIzkGi8nN1e/9afuSSOywIELeaIP8MoNrZ/VYzotj8qxcWexAojO1quYK0aW6udRB2Cnhl5qAnnKco8QZ6cg00Duwtpc9TxOicF0wr1sStR4LD7WcBS7hZZWnBguWvfJYJ8xfDecyvouXGwIn3cVWKd8TT4O45RCIaqb4Rp/fr1rIg4/B7bGqGCbMdKF+hc3BMp3Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773594113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":3000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003448680494\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T01:06:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003437912411?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QVMdLDmMBxACJvOh0z149NL3rzbT4Ifl\",timestamp=\"1773594412\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DNvm4CnZznI/Cd/HF0/ss26e98HnoRTvVM8UHZeXcExoQuhkcn2rbEKzjZEw5xWVYqbhtbscbNdR6EJL5Tbpuwdif1Rc6C9y0gyC0e03wWqpC4fIqLjcK76nj/g7d3QiK+JrcEIjPEzYsJjhwhaBrOrGU9rM7HsfiO+s1H3DZDzb8Tn2xAJF7OTPS1yTh4oK7T0WcUgZPN3w7/2TSZvqPSlyxgddW+VjNgPeKHiClFFpAKzKz5X2FmMlmdcguNucd4Dg9VofknrmMVzAhLVnWO9m12lLT3ScddKtmxOQPrnXr6v/OdGhi1mQWlwWRisqer6b4OU6NYA5Cg7fviEg+Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T01:06:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 249\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 17:06:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ACCEDBCD0610FB0518DACEC6AF0120CE861E28B3A402-0\r\nServer: nginx\r\nWechatpay-Nonce: c5167e0711caa0a0a589a8de6aa5c759\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: y1TagTMbROA4IWAhNK+Ve1DPjUYwCRd97Jq+7MPsTLlXOtGp1BPeOGifzs4Gmv4WUC0L/n97HBn6dJ8IjsRyjxp5b/SmldEEJkKKlxpxLqb5fW9bNCvSMmMW06EUzN/Fy0doKqPzyXB6yQJHle65rRfGlsqogVjkv8SPI8QiCmTWkOaU+nQ7Z0M0dP4ZnL+OBcyw+bJOBGLtm3amYmXfSo0n2r+P8QFPIP5GYC3nm71wLzYA0J3C8kHjC+r8wzatO/JkPburUYVaQex7UTluSm5k6UjmYRfDXlqSSMgafEAZF1F+7FxgnPkyXIYtwKB1g2J/6n6juI0TSoBV/6lTIg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773594412\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":100},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003437912411\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T01:06:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316003448680494?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nQpv0FISPc7Hec3sq7dGYDQkbaaWQAFb\",timestamp=\"1773594413\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GiLUhj7WXp+6v0qMcEI5d4GqbIznDVYmCprro1QVfbNbjv5A/p2ERTfzYBxduwpOtzxcByZ0zU1TgMrFMvaDgflgXYyLcTJ6NvMLzEF+3lquhs1TuYAUcuMaTEmxZqQ+AJVSnc8Qoei3pOLSV3SY5TOvJuZEi6nM8kBtlz5meFCoHZPgRz84PMdy3vRtPbu7+IQ4sSSo4AyCUG+5lqmUK/iGuoJZUdKw4jq/5wTSWwUUOiLJZZZdONMdQaltO3ywevkVWa0nxpDxMcmVF1ba/bt7OdchWfWJcaNbydguf7qha6VB44TpsbCINwethFej62p0copn6AGUCZ9l/JrwxA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T01:06:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 250\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 17:06:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ADCEDBCD0610A60318AC94FAAB0120E8CD1228B69801-0\r\nServer: nginx\r\nWechatpay-Nonce: bf76fdddc65c4849f54ace3c156b6dd0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dxjroboWuXRoxeEKcdZKlasYHQX+9tfHQx3UzmB0NganYhmAGYLXx5te0/UYBKnQoD5gdeRUQm8jzJVZ5TGJmrZECt8Eo1gLytFynYQs8WGnTVsYpalOevtt9DqgFLM/JsCcPRBeYwB6EtAeiqirJ4vExgnAWgcbNEfjXyuLU96ysbIgM7pzPxkOQFyXbFamz615hguKZ5yQnGtuk962M43avh0L/u4KR+2JccYWPykqo3KKQE+v8qGfY7GeJ+BmnwMv+oGa62yfZNgKbXraW8bdWk/rY7ncC93UvkZG1IuWL4LN//bRhaBamJkU1UsbBQjD9HMSs6Ep1W28ZsnL+w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773594413\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":3000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316003448680494\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:06:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030623518285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vlBbASXocI9AMRJMis1Hb9zcK9yAblNv\",timestamp=\"1773601612\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"h1/BNoCwpQNVEMHFzROIxDgNvIJ1eOb9PlLEir/LUMOOU4H58MG2aGQb0FbgCDBtr359l4pPjfEupAkD3TpWXZ5X5iSmMRrT0l8IenfaDEcGKF5s/tGYsSu3ZvtyUGbQX3JKEYtGi0jP5kUgkEQziC8jTLR55ZYkJPybkygU0tEL8MNOfME7hKrx6l7xF3IrFJBO+fVRUAcLumnjLkMyzSiRf3VaVwiQ0rRn7O6fgETjBEG99HhEsdARY1Lgc5gaySCQpasb56TGWwYGJU94McFPUk8quBvjui0edDL4SE346xKWOsQu7ZVMfBNd0uw8FG67RVpvyZAMSLizfdHRNw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:06:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:06:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CC86DCCD0610CF0618B7A9C05520AEBA0A28889305-0\r\nServer: nginx\r\nWechatpay-Nonce: 6d802c0a55dcbe0d4ae1c16d08630b71\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: On8v5aBN3waW79Ird2x1TMjdJhiNl1VwsS6iD206tOHOsKnV9ZcC2QQFIDyyT/3Hz2jrLVc3Ud07d3d7W6gzoxviNdbC+jLHAboYpbedHhB2GEVqrcrE4V3cCZLS+hnNFCjGdwnFbuFTHSMgpcb1LACbHEOYp2APlGCuZ5irpnZkCGDK5FQtvG52HBsE2nPb6rSVakSEAo/wlV9XhndopfTMgxHvpkiv193DfxkkvHOtS3Kk+UHtUSsVWt65B7NTxdeOwRiJ9uFyoBsvJO7lIKECxgkkJceJra4y05QNyKpTZ0neHKEa4lb9Z1DE89PshteRJRk8HFreRe8T9HbO5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773601612\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030623518285\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:11:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030623518285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FVaL2WSaL6PyJTC5SG7GKgGI6BBQrdIf\",timestamp=\"1773601912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"m5vPGQz3OCgWWLmIKvJv/WU51MUaNceRrFiNbpXCPbzs0EPjvb/gtzKfO+D/eVPH4GcbXYNzp9kDlr+g4bKDB3kJSZnUrdGWung/fZfztiBii/eWcpC2e8TqeRZgI/yOt7kYyq4qsJxTlAVeqhAEOvnrjN3hDccyEpNxwWze9YhB4FKJwaq4RATvkUpbyQekDOVhEWSLlA3j+6LIwviMzx04a2r/B9uOOKS1umD5vWlwtzDSzDchF9oq7byHCxxJPHsN6l/MA/t0KJ5AL10YrnGOYaj0OsITwr7YGsCtkngOMy+7TZVZ+kQieyO9ecVgt39B0nMAvXPzq/7OqHASWA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:11:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:11:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F888DCCD0610B10618CA82ECAE0120C0DA0A28D19F05-0\r\nServer: nginx\r\nWechatpay-Nonce: c8fdf019f1a89468c97b83c9e438c4ff\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xkkoVTAN5iC+yd21FfNxXuAWoI/uWs1F6u8hCnHMUpnZqUWPoP9yLmc611azKTkH9/lHZiS+4DbfG1cxBf0FC9ovvLsBT6uqayOkwcYOS+4FqAdojGw0xGef44gFMG3cK05VfDapzm3cZQhwphc/eD+Gn++BqKqTmH1Ugy7q5ZQryHDlG4zQ4j+vSp6c08mpLMltV13M1tSNxbUGHp4S1a+utDYP6CFJx5RNcANBYewj6TnBEUZSpa0KT77Gc4GASYSIR08EkkovkbOocmHePu603oY35KhXHPtsusV0kBKqhCM8IV42tBHldwpX/soKiCauOQrc//8qahAm0TcKLA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773601912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030623518285\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:11:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704154160?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6TAjC0lN5XbidzZ2afsnwgUf0VCBOfF5\",timestamp=\"1773601912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CWb6adL/AwUmtTvDrVcJnG8bug/gDgHHygbAyozz35Hu4vsqGiSjtyADRmTm+8FzaIUQJHpurZPKmc0UGiC4FUJJTOfPiyXqG89c/bldvoHCTWQPrNhf4EkIcVKKvGm9hFSIGVCEQAm3uKX+GwVEm07uW7z6RElcR9bTQGQCOA3j8cyPFapUOMcTLCL3h5SFYkneWO+ODtteD2kI8PCRsxYMeHSE2GW0JRFTYALdKEED4jVNY731RcDrJZdpduO8bjruW4w2QjhTYvK8k2twsw6yaV0FsdOMnKyowkw1myXrWwkTo8gEn9xrCRpBG72AxF0OgtNTuFKSqxjCxpLImg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:11:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:11:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F988DCCD06103B18D0BCF8AF012090F714289DDC01-0\r\nServer: nginx\r\nWechatpay-Nonce: e4d9dbc8227a7528b0e18c549e31e39f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WZLTOgGEE3xQFsFTYKtdVm0bUkiL6L+MNFHgwoqibSWxzPYLEwu7irUn2E1EqTz676rkp+wrMZkCej0vqbTUHuJl5CW+CeXnx7cmLNc1v6q+0M2q9QKbUB2H+SNjfR9r6PAsmWDPLsu8d22xpO+ZC3vaq4gv9Hgpeew00w1VYcLhLMM4t6uN15Jjy5oPYxszyZhbmEm502YgJFslaWv6a8qWCKWKsDbKbYqpKEXl0DX5UFUaPuporqKw/hysYrOB65coDQTuCUK/h44Q8WPOfHbtNQbBqnpfXun1FZqpNmH4RHmkAQZPdaNJ8bvh/h6M6UpXECXZyvYDA1jWKp1K+Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773601913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704154160\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:11:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704018496?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ObNHn13ZyVGfJBhJwTdqlcWKddE0mMr2\",timestamp=\"1773601913\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YZQzNrQp6VTOKhC3i0iLzgnPQssPR4BNUv/x8ukl+ixb2L/cBbxEUE9G/h0dOmhKpodl8EEiFBca2HPOU5N71jMojn7oo4EJZ9CXCY7BzGeQ4Bs0W6jgl5jUB4sSs903FChcOWdxx+nIt4amOJ7YdTY6KKgkM73WKCXcBwLl71hgJttmUSZVufwm7kc47Ck8M2UkCQnGxZ8tpmmViOja29QWIanIvjeIjtvGJEsMsyGr11JnA9Q2E19UqUxeFeoXs7PPiAhb2/7Cy5GGA389NASrE2NUIcHuIVXmeWHqlIElOez8AKhpN/KeXdTNDbBCrzbk+2KleLwPEOpoeAcRnA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:11:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:11:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F988DCCD0610A50218A7CCC05520CCFD0F2885B504-0\r\nServer: nginx\r\nWechatpay-Nonce: db8708200b3670900a6d87ff53bd3ab2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KPNXZ8kHbt3sWNUCG+vMFyJthhL7J8ox8Mn70fOiv++AQTaoFUI+wuKlz8A63Dl5JJ/viCNAG1/j/Y1EQ7cjDwn6a8KhHrk8gJOymEpQ0ULRHjtJqv3Dxh2b7EOUFxOGUbATX/EDLXvYaxmVLVswgjRl6luulPLb8x470jHpxt4ngO5tsnEYptxJxng3G9KVrQcKNP9MTUxrNsf37C0JQs2ZgQKbSSuXC3MdWdhq4KIEmh6F2yOdXuEx2oAk6hvD5mHZQIiPnx8RhCD79PlB3YoNT2JlgkLkEEcAoJy6FzhHp8FwP3RhFOmjqcmJ6avi7QpJToxrxSW0P9x+Ac0ZbQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773601913\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704018496\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030623518285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dWdUGjXczYyg6JWaORjuisegcOHpRS05\",timestamp=\"1773602212\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"t9fniMtbVEbhILHnlCHcGLujoPRiUMlaCWAyfLpnMfgKMleNpGmeY/2jq9OpRE3U7v3zxP+kgaWNf6heAtxkkD5Z3vgsIoM8umKAmP7HQfNSblteuvMFA7oskMHyLiuzgt6R3DNxpy5WQmy20okaXM6nuPFVQs32lnwpqj1gmc1ebsDapzrRVpWtpi8eI0yU7ltu1+fCLUaSG0v8cqrGRgxeugTi0GzLlMKCrBPItZ6regT3npxov+nWvieY4kkBV828h3jzoa94Rd2m11W2U2k84cV24Gnbejig6q/wmQERX6+Tgh2xKEk35cA9RQGfPPKBNZ+KAn+D+uolBg2PGg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A58BDCCD0610830118FEC1C05520D8961428E6D205-0\r\nServer: nginx\r\nWechatpay-Nonce: f8e2731eef5b09f8757a90e62bd545d2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RocwokAlLqfQIJlUMuyZbYwyVYCo7njlNIy9B31ugsfZbMDsXhJiVsRJd4NAgpFPcBQWqqviEUfliJyTd2M/uos8McHOUJfYKJuHslHXe+IeBIwXb1p59RuoH873WQ1RK+7kCSTFTq54EE70fnXUSCghYg9Fen4gP6kmX1i1gaPDhSR0rq5hcGiJ/44+fX3IWkci+2QzX7t29gvvGiz04yVTQEjxSJowM7uWogM1ks68F5lwxxBxgGFcwdC2G/Qq4k4QCKTE6Of4qlxxThs0Ix//029eIR2lgw5mmauVfMFTC0+fTumySc+pU62V3k+oqb+zpGpEJ0fcCt358K8tNQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602213\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030623518285\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704154160?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"scd9vHDpg5RwBkwp1Yg2tm1U4Mxnrdqr\",timestamp=\"1773602213\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mriopjO+YI6hDdnyygN8jyK/PsMCFrXXOOt5Xwi9Yxpjo3f85rgLfqTq2h6iRPqGBPiRaX0YbMZq5/QhdUwb/toLyNT5VwXgVAwK9DvVBrd2sjUpluVALX8+iNJbPbN6aaPHmSOJv0nmQbG0W/M2LngqGLZwC80U8y6D0vjGB3xu8oRSDAPkrdQT2kr9vTSIuHOSCeLgv0H+3vxFOpGgJaiGdKxzPS28YcRgTUygFCotNtwPd4yGWExDIAkNJ2yqAmqEiUxp8v6GkjmkXrHTABqHD1ycmbESCwj14exw3kGxLcXzev7XIvHYlD0qlTLen15rim/Oh9z+c8soW2ECWw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A58BDCCD0610F9021888D28C5820AE801F28F1D005-0\r\nServer: nginx\r\nWechatpay-Nonce: bed30930b7ddc8e2b4df6e3ecadd95d3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dgmNdywNe2Fa2XpvXxykLx8r1q0E5DV2zZvwTyufiR+Ay6d+L455g/x4RNZHjBKYWaxoaOeUIV6OZ+/Lpd0X59V/2m++oKL/egdccZc+xHrru1hPpUkhcw9wLTZfsTxPXtqo59bFlJ/PwxciWC7YkuBCBdWavVXV0ENupMebpkuqGcZaEyur/ysiuUW4DxiSmWbP+D0AyCradG2kFiJLU7LXsSvuz3kOIKbIVuku/vPWIaQkIn0kZj5sUzS6rT+q9lY6ldZQ8zOtBIV3K0iBg/DJz0MN9Bhgrw0AsdAV2Jf+a66DQ80Bo/322zNNAkkeCtpydFCa2lJbgp9ed2td4g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602213\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704154160\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704018496?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"l2VWC428BO8ebGodU0QGMh5MequeOJT3\",timestamp=\"1773602213\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CdFqlJlYhj+L0q1nVIflQ9lbPI/ERCtH0wVW3pFQxOJwi3cPotdafvzw7Cvp43Hv4+Y753sSwWE5/qSbH7v/3doaVTL1rayDTdWsSVoJAknmoAq8uwq2gOYBLJQIgRaJvCEsTmTwS7b0ZlWfSrJ8sQ+D+2B4aGILhm82M0RiCqDF1ihW9LRF/zV6SYUU96b1qWs58yAq2g+WLHZwBTyAqbeh8hqjlJvSAB+qf57N76SDMJ3rRDj+vCCTYnb8DcIs7BB+gJyMgbP6RWs9cb+S4QcmVeOzJbmbOlthtKdEzslT/yn3bMGI3FEVTUovPHmPAlwsZvf5I2xnZPVsIGoHjA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A58BDCCD0610C404188494F5AF012090AE2F28C739-0\r\nServer: nginx\r\nWechatpay-Nonce: ee410ba3076e5477e309b529e50d883c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yusEfKNEXz734ISHf/uJ8RrLH1Bs8k/Z4KLVddBOVQG9E/aFi9XOm0lnrysx+8/v1giiVUodshcYJPzm14muLhEHpPk7nE+ZW2JgPsqcj/H3wPLdkJB0pgbq+dBeJ2awo148EZjumJ51OEYa6sNUrDtd5WjYkFrAoW98JtR5V+e1bTK/QMccHetHWJbkEbliVKZ+zubpMQ0LxxxSk1SeWB1qrjsygkXGL4vZusmDuAa15lFAQ1FpPv+MrLSC37afIOs0i3yRnj+5b/jUtho1VY8hRTfuzaYSrB2wIsBj264z1sNJZGfodecGkY1r4RbtoLDls70Yuk0AMMMjJs+9+g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602213\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704018496\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031401249968?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"R5xIww6NNbLqUfLqqPrc8DSd9V5l7FSw\",timestamp=\"1773602213\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sDeF9VI2zS6x9DtxmcOrdsLE3MVI3CjwQSNsYMH48nqSv0JW29b8ce3RdOigCbnLNHuGRUurcDHwWbxtZnajnxl7zdBKZ7bRY299Mf1mYsg7rVfUtvt52SkzO2WvDOweoCeo3w8soTZ7LC0LJCNPwdVuX8jaWE2UtHUZN/3TvEajQGQUFuQF8eeI49HnhefOlgDliTHiiQvxK8DV8x6qIp6l1/Ap1Ovf0eT6/acCHwzMZWuk4/jEaoy8w1vYyvHp63t5Y1SdPmhLhDZRwgYOY+1ggq/tJX5SkM+CD1oFbC4qBpJ95fi6RjtKNkEulOu5wUWXfVV9i9MMvDWqZaLTLg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A58BDCCD06109B0618D6C5C05520E0901A28C8CA04-0\r\nServer: nginx\r\nWechatpay-Nonce: 3d3df9b7105d0102c2b82c9ee1d28eba\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oTAODc4qSPlACtR2SfcYHdZP/CrakFdfBbinMFZs9XPtBe/n2Cx59L3kKJj1dTAvt/NdPoqtWHdZUAAoXBWFHVPTMkKn+DDroKwCmLIICE5v3HKiNF/OtHycBRB4wFWgYCxkN60K2wyGR8RGkq1AOWlm9zkLWsUbIJw9EZ0Q288sAbI+12sDVqelzPiZVd5BriUibXPZx3NC8/R4W7YVxQEI9JEYhn9FCt1hyQ100sccjDXJCDn2J9pGH18Px+nZ0d0w1Ln9VpzvJ8KQgeGjCMdiE28N55X0dGrbTnTobwt7sp+jZwzcMnLywUdxBPyMDlalEf2VSf4hIDJbrArgmg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602213\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031401249968\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031403742969?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qAK2B92THKpRtM2awjzWwzFpeUvnX63u\",timestamp=\"1773602213\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1wEziUcSxzytZuAbFQeahfRS7vnTr+m4bazyqLzWdVzohr7+H3rf0Le+kJHe0innqb69xRRITmr02U1M1gRLniSfKeImWBD+tEw75a6QYs7JMxP9axRd+4xz8XPlbwSp2j6ZSZh+SIPWcwLJJJavK8QEZFA7h1In3KsU9/fU2gxURMvvygGjhiyM6g0KidrRS/OmKQYpMJpclRctLW/X0c+V9GgvegnVXC53IeOWJMRZx752uEWfNCog7299r+PoAacIghFZYkZCz9WaKptIoDe5lZvk9X/rLNSGgriLxycfnk1u6isjQDcgOUp1C32h2WiPD229SEcRud+KGrQjdw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A68BDCCD06100918AFBA8C5820C0E61128A4A403-0\r\nServer: nginx\r\nWechatpay-Nonce: ae26b7ecb0831acb534229cab86bedb1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PnVoWb+Hy75C/njCPqRHMTLzaqe0D6TApNXWaOI/IuqN1cOmNhA6O26gfPu7Dq86z1X6exqMIi49/Mf2DyMoGbhH0T4i9b/AHM5E6yK0i3YczYRGeYWtyW6SXLhd1Lnw3BY9li16Q9alSkpxPqJVPHRbJ09/vOnDk/SH7pz0rpndHLiFMV2UZ2VKOfkrorYxb5x60NfuRhsDkD0WO/FPVASr0k8tmD2t//iWTnXzXiLJ5YouJLd70KBS+v55HmxXAa+WrpJahL59mv3JvnxPoBryDFtypkwS9Bop15ZP0ZTG2dw1afEX/EjnvZwq+JBtx+9dOffbdBlVaidMU/tiZQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602214\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031403742969\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031416158810?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UeGvmWUvn71H9cImxa64ftYvab3HPSIt\",timestamp=\"1773602214\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"urpLbFbEUltc4S7FpjaKH1jRpeWLkj5aSeCwcmsZNWRUMd881Xi2gE62iqp/8FE0QR74WbE0rNv0RONqVGR/Hh33beKe3az14Uso1hd52RdTBgxjpip3FeSUd8nAPwrwDeZ67K9sqtGQeiAkq5Hwhy3SlSQ7MFEXYawJU1yFKJLGrgjHf+ugGLC16Sj4qpVHgONIMZKo7BNZ5u4fR4yuLkKYqVkmXM3ZHBrWhtHVLXo/qtZkMtHX38O5XE+cjSRfJ/DPrcT1WH7IeodShcKFBlWHqPRH2KsRk0tJxGU8zSXZ7g3psd6ol5hrNr466+eyxjFpynlSrx0M57Nyl/vCsg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A68BDCCD0610F4011887BBC05520A6D63028C19001-0\r\nServer: nginx\r\nWechatpay-Nonce: e76d1aeb8c9b79852e85ebb5cddb8a84\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ijax+B6+zd5FbDN8yBbz68ZSvgERIwmXPsjmvC/M9YuywEGsP2f/RF6K3ehNbbU21p0x238c2qzxkV4ZzcenmdEWTQyk0Ao4MdKoH2m1APUeFCg46TfFTv7Pj1lySxB0qn6U9VRrZMaqafLbcSlvNysYVifs/NUtrRCpMOEGSmJOvZoQxw4SEtpYe5sjn7FgdPgA58N37jrK4LE5J1rpEBFSQ+MrnT9Sd8YTpx/nC8qI827QO4jFyihN3mQxDL8Ps5awVolPOIwZocbrlySF1jC1xJ3vip2WFmvGE/qGL5hQ3huDVwzrc+NOesOzvuChL0H4tIeZ+JkYRzIqkJqF9A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602214\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031416158810\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031417566606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cLdzcvpanUY3syHUyAIvzx6UydTh2vAV\",timestamp=\"1773602214\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"weW0RCS9dXuYCQOd5f+lfWTkChIYDIsD0d1FwMtIvGMWFLkUl3ANed/sfOJwnskJTlMaD2of9Y26bdh3Vj7Me7EsQNlZunPk0dDAxLmQdJikb+kycK1aZi7XXN7WmHtcwdIQItryYgtJANKaGKkzlc51yBPS336r5dSuSICu4jNhaoQnvFP6xAmvKCV6lxjuasveyoNXOmqcU990qherI4CkoTsLyV2JB4/R68BxxtCIQm9ekahJNA6XZNCjFUz4G9vj4z0932/QO0SyOjoj7tZjzsWSzXKntkQDPVcpPYT2Bw8Y32WWboNXehB4Di3cAtgRu6rM12/s3F51cdYHGQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A68BDCCD0610CC0318929D85AB0120ACA00428FFAB05-0\r\nServer: nginx\r\nWechatpay-Nonce: 1d8277017abc4887ecd9b89221112a60\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CSUj3x3xy2X1gGE9GX8SJ9ov9p9Vwop/4V0U3Yf1S+0v7ekr7VoOsozGElX/Kk0cSNHKJyIaJVxxskkQQxb8zNuRtZ6QQF4s6OUph3bKpjhZodKgPZ1nvEyvZS7EIy7ob2pBpEpr4Rz/Y9BOpnsW/OX9ij5wXL2pPUnMTZFBvXp1eD0b1wbCNyyfZyy6/GYi47yhQbP42fdQ77HbpeWBV+Os2QvmMyZwomQULnvzceRIe9Sc/nOH3KHuh1Z4kwrxVRY8VBvHU9H2CZ8kn+7qU8dBXbwCO2eyKScWWOX5O9VkJhem9eUdy7mm9HS/r3O7ga/pyXSoRGOytNlshJEF1A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602214\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031417566606\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031418236393?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FrSI5Ne9rX8cFXOgC7v0p1H640iUGEdl\",timestamp=\"1773602214\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fpgONMj0n4zFWexvTR10d1JE4dpFNVJBOs7HGRKCkRfW6P4L4Mx1x3d2b+KiDAWdwLNSJCcxam9qM/Y+kuTM2sd9aZqoEdyvhRqkjRqKq/z7YlmbOb75kHJQMryn47ppc5Lr+LAfhgB4M2bs/QatVcZ7/gauib7g1sIkVNZnkzdjqYCitk5Qtkq+Moo3IjMvLjiwyJdw+I8Y3i39xJ6hMfm/QED2c92Gj5sVoxesiQwmY8nrUeH3TBc+O4stIPd9v9urXMaY2oE4i8t20+7YhohlGPQI0DWwqPnLZOLYu20Jrvl1FgD5bvau+CSnMvzS3KwWzi1FgFKlH/pfsDYxHg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A68BDCCD0610B30518D2CD8C5820D0F00628D09802-0\r\nServer: nginx\r\nWechatpay-Nonce: c47a8755d6e7e8b8a8948090d333dc17\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MHu3iOFiqiUn4xrrKe4+QwhRb3NWsftAYDhnNp8NItdsBOuSN0jgsDdxHMP4Rm3OusIjGuwEc3HRBYMVg+gRTF2OkzWCHxgbqK7+CHO3/sOgUirX3t2xUgrzxoOge//RDOkAvKRjE4sraLHTHh9hSPU5LEma55QmcOJbo9LAGFAFCYunpCKtY4oeDVZ3ItaJgrVHBSmXLinIEcebA1nAN88juIafnVqYBp/nyCUvXFSpCEs/ZKWBvKPeR8ZeHeQrPPkx6YLEQK7RUXH5WJ++z1hs+5CYforaRthCtLV1zG36KvAloBTpkbK73c2tytg/mfWmJn54IQgbHFSg8V3gIA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602214\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031418236393\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031420314028?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"GovBT4djFcuvmfTgWejqDSOoJcpkitU6\",timestamp=\"1773602214\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ggE9VJPx7pku+84wpbqFErg00u6w4NUgVeWaugi4jaVFl0x5ofVJtkHH4PD+hWIo0/WP20YdA76J04HqFOOEvZUZWUmfYAQD3eoaFWXk50l+VNAK4O70tBa/LYp/T4GP8seLQTNZmLOQYC92R/kSKLTEAUZY7DILyIQqJY0fZmfmmvum1afaPUBf83N7igisC9nFr0L5/IJf/5EgS834wKzCpg+FrlpsbaU9/E09TtUXkJwJv6QVmRMetK6gWl/5l7av59+epg+Zcoc5FJIQBHFA7OYQ4YtXBeR9Ft4E7Z27ywRbP6GbelZKaV2PdxUVaKrpEjBt2fyQ2BToCq0QoA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A68BDCCD06108507189694F5AF0120B8F70D28CF9701-0\r\nServer: nginx\r\nWechatpay-Nonce: 4b16a6eb1da623c1b176cb3a6c6bafc1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FHSsLfKM0d6tdwLK9+soecq/9Gbx/AGzxjqRIbXoKZRT9DBgThlh4cNdF230/lp0UnH4eokQq3y6lhzDcozKYsZygBOJnLpXo3KHbc8Q+fRIb6HczkHLKXaIjfR4dxC7PZXi1342slL7ab/i61IvL5SY+oQgYrQ4EmZdGAwXPHToZY4FB4euZCj68meygFe270DDrWFp4HUGLxgon0F8/lgo+GP/M3539OFdGi+6WTDbN5JGEON4gFEfqjgzMkOfJpyQ0sUDi5UXzZwmOY1CLmtWiV7LwxHfnsNYcXK2LQlpqoyNv5ja/1UWkzD3nFFdTsWqcnYZtqMjtLAGOpyubQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602214\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031420314028\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031421781894?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"OSOnSkIYMKil80jxYiJyXZEu0wviKnyh\",timestamp=\"1773602214\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nPj1K4RLw9YoycwiKCQsSp8Tb7TBNvcshZwN5QXFOTHjKmq8WfzEJaLZbcg7B/7I7Ihz+ExJINPOG3qieCYs+20lsRnSXNzk4d3GbWWfgt9kbFB3JM5kyRYi29zp9uAoOmkiQI+ye6OfkU7ULNelBAGokJL3Zc9AiNB8Be8glXQvB8hQmvriHr/7lLLgbtrD0N7RR7RRK1xzK7Joa74CoJYM+Vif3MWtkqneSpXgZ4Ak0pRw9g7AE5VeVmUxlvV/iZk+wpcGImdNyeLRReM+DGcAIpszNrtFb9bkq58kykCC/7yODGblFv1xN8DbEVihmazz7M5cw76D1Z9Les/jPQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A78BDCCD06107918C3B3F8AF01209CC60D2897BA04-0\r\nServer: nginx\r\nWechatpay-Nonce: 88329c6283347442f6b3065415902028\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UG38p5gAvSH21Gi/2uiKgGc/r/P4A0/cSzMpgMMGw8FihAEz2hrvbszqaK7WyPdH/HHRdMR28vZnIjB6jX1XVjJd4TB+I1rWMwG47BJ1bmCoyvkdo146yTgk/APD3a1vyYNRb9sAj6ORVDIh+CG5KqocyW4bTUDqpMNMQVmwyz5anvwEdQ2AIiQqMCRJIXo/6Be5W9vjy7mVfjYRDuR6VVLpskMBB9Zb8DXeTCEAf6ZTb2KmAyh3uWHZGXnipSMABn1oHfrBRANjpGQvY62v3usmaOex+X3cMrVk4t446uuuvyzb/dkP4V5F0Jg/PM4bAZ+fTxpFsH3jYCWUSPNZvA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602215\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031421781894\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031422156476?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nRYghZsmaAf3qI5sctGmjIuvqutnuAIO\",timestamp=\"1773602215\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uiLNLenBedbslSXUNU2tqNCF3IDOE8TOQH9o+yCgnzvU3osD15F4kHcgo/Oyi+xXxF/tYWki6gC8tOvTfxUA7xjsTFDYHF1Tr+t5uOF2BYhZlIaDov7bGoDuQiuM2wPyqdcSfBAntHr3ALPFq9W8t0it9beyBojR7rk28+0r5mTXkYbNdnCNVBr+kHWXLhOYr79Gs2chli0mZJdh8xBfqry7psZUyt5GRcktz16fibIifFPj5hYDra+3+QT6duP5SIPWOl/WXRw8obON2LESAu+0buLfwDk3b0aY/LvqMAo3pcYrkJNofGyUOI9ZH685IQM2GXrzCNeXhagCxb5xyw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A78BDCCD0610D60218F2ADF8AF0120AAD02A28F86A-0\r\nServer: nginx\r\nWechatpay-Nonce: 6d651128b4cc5c5d1254eafe7acaf5fe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: t9qon41lEWm+HkLiJRPKF0ZRyqQjJ8If0YEE0qiUDwpdyvjn6D+ntnkN7agmxi/UiPNNf5CCJqBmFjvTiphbWNv/bJQP4uOlwYLxR0M4xufIssoruC+yjsZEc7WPb6lcHC2TLCvWxXGVZVf8F/PwIF3pONaN/P5oHc0pk/Fl1LN4yTftc2Gncnuk2GPPGLY2k8Jhy1aKdgclwdqvDzF6qj41EClN7K4nvveUYp/TQlALPnX6OBX6McHijRXSkuevh2OEURYf6z+yA0PBaWbjsAh75iluPxOvWVQELheS3EjUX+N0xFPzALP+aaLOYcVDMKZzGRkqvEeE8kkVz6bXdQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602215\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031422156476\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031423955324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HJ49s43QvOaSdiQApwrTkqLE2h8wU3r0\",timestamp=\"1773602215\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"u1dKo3IPX82bqZ9NEPBVH4s1JYGe67IFJE8a6Zn/Vanc1z1ilUCGPKb7LnL2E1uxbuMjwIVj03OKH1Xm8xfzabv+ZZ31ymVNjXNLLQ1fD/HIUdCC+K2C12IGYL58t3F6AIqBbc4NW0SKEZ8/sFh7yx83LVaUvkQYNstW+vLYyOKpkHb0T4ar6t5YJN7KwPQS5MyTsYiiySmhw6CQt29e8NBfDEnI+9ts9PaqSBQLhwpoMHG6bYJNHuvITVTBfu8y5/ZxLIoQW9gwihM8nxuHVyp8IPHe6BvBGvHfzoDbNWADXSUf3te+XYatFAR8SyzjnHIwz+frfH8zyutQofAxFQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A78BDCCD0610A00418F096F5AF01209C822A28B9E101-0\r\nServer: nginx\r\nWechatpay-Nonce: 9b094b1909a7ce5d792376c0abd60dcd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: w6gXR0g2mZbjLtkWMpLb62VSX+EYckACag7HtTY0zucq0CjX+JJDfmqYDgRKszK+W06wCjjsAYeEyDUQl6NpoiOBNQjqVlBJJL+lTSFBX/WMSF3iI6f1Gz5ff1xv/j21ssKhNo7fFRG9amAQb6FecTTA4SfUWPDw6csu6Oj17KfmQv31ozVqkk06JSJRLNako9EYk1vR3dpDmtv5Eoa2oMY4HcKZ9J7wKkKbaRWVPV7opZuwk9iLKFXdBkU56icpxuNOCGatUTeOnGqFsoyMr7LLJkGRD8o6pWjHT0U1bo2MM0yBEuxPgY538kF9jrKzvTj/V8QDYGccslbUm8WKfg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602215\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031423955324\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031425447423?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"V2K5YNWsTSMs1HBZSjNLWSvr2TBmyBdP\",timestamp=\"1773602215\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dC3Fa4Y8G4AZvZDBi0pOMvp36qiUG27oBQy4kxh3oqYBJuJlZR/zlT4Q4zpARz8cdIY0Ilb/6uKLNBURCbX9QW6CXbz0XmIAHlNu/KAVn/d6Zm+CJgPWtw4Di29UHyhGmVG3XitC0BjHnQy1WqrIFKBhIm67XrZy+Yl1R/ZJl3bE6Lx420A+EWVoSzOnRrAHAt8ah6xCD6dRmOM39Q9iAfIdVAhGY8V/HvqesNHVG4bUZaMGsAqa6S2d6/Ecu5k3rCLHieATlIj7swT8hgHRoFmD1cSIBW4nVUMfrHY9o0zc+TB6I19pp3w4UrvsKVymS9Mu0jCKWeEpuVfJwwhr1w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A78BDCCD0610E50518A6B7C05520F6971D28FB8603-0\r\nServer: nginx\r\nWechatpay-Nonce: 97ecbe85fa281ad4cd0f83e30f1c52e6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UBD9G/AehTABahQ5dOV+XZQOEfPiQCK8L4KiUU0I9AbZ/q/1xIgGS26z7pb4RQvAru/VTwD8xWUJR7b52ga0BGylH2pPOSSIPElpoOCOCu5s/x/D8GPylBTlOaEezP3rZjC+soTWlBO9i8CI+POcrfXzpQPYGh0EiZA6rC4iexoo7Ct1KomNEwnhpNXZ60DgwJA8ez+89z4DoRN/aFxUxgNqq7IKgZcK5msSTBHx2ea6xK1r64b8TRbGDkRM2nNDitlxCl4/5mLvZfUzdbzDiKq+0vWPXr3kile3VLNmhrl/+qJAnQ+AS2KIBdwJkCXzbjF51y4qsYRx6ipwuJhTwg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602215\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031425447423\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031426251795?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"GsHitLzsr1SCb7Tgr6kguqfmiNuEvqBK\",timestamp=\"1773602215\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4OP/GBMez33K5fV4wN22rqKIGwz4J0o+P+VGFYYn+uD7a4MCh4Jmgj+1kl5uWwQQ9GG4X1xpZuqaTf/RfubIafrod6FYfjKBRUETDhpPVPNd17ZGctvbnImHk2Z2Kt8JDIvNfQ9KG/Xd5v6LJHvy30KN4e0NLnkECIdmy6gYmxVDVYo6AByayfrNZ4fD/eYQRON6ko7ggG3DxkT4lmRyDEoEpcgAeX3APZ6ciESryAKTDFBPrjmW8UGH0RTiAwZNWTNCGYyjRNvbHbxOara5VpkoZBvsSZ2w//F6nN8JCq8upFbwECRuxDA5Sn2jIEsJN3owk82BPVI8zjTNTx4I7w==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A78BDCCD0610C2071895B2F8AF0120968229289EE704-0\r\nServer: nginx\r\nWechatpay-Nonce: 12f61893975553484227e611a8445550\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pyvt9YF9ew9ItbYlB8pRUDTZWscOuk217cz6UDN8ix6JfhiRzfqTZ3SIyyX3Ewo2jhVNQ8HtmTj7kcGEJBdcPBNuODOuQm1pQnV4BOpIN/GivnoJ2rQa5Qg1uEjW44OrHU1vQbpKbvWpsqez0VFrgLc9u1EOkshmUAfiuQY05nFNRAJxVk4aMi1pftkh5BT0/pkfzCYZRHIiiJ41uAYapeFX2p+IM9RGrdNcJTljySX94Ar6A9AkgEHGMxDdrG2CrBwY0Q/hUcqy6TgRWCN5834WB75g6r78htgFUeGVjZZugVF4I6kQKO9MSwanjdG3N6uknmJU4oR82zaYZMWAlw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602216\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031426251795\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031428343343?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"80XMZ9sOqDsxNAUf1VeKvrZYfrQmifJL\",timestamp=\"1773602216\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0yAilr13HmCxdCkIoWUc4MYDUbQs6lVaz+0uAMYRbwTSCDsbd9kN88K9I6f39eg+//EK1l8Mb8PZbYsmx6ywNtHwH3T1jU1iUy8R2gCZeUYNJ1bE46yeCuOz9LOj8jnAv8Nd7fiV32jxKbDuaB35hBsaBPYXoPXmNWoCPOMNRegZRgQpHiiELcrGJXlS5lrPYM5aWZbCJ66vS4CfL3WQUvIle3kdadUbhvNIKl8MYZt8sbP+7R7gxgWUfiSWZVLg0py0Y4fK6KN1mBAufzmh4uERFdPXPOdPVvX8SJGnlugUa2kXx8HH4k5PBVNpX/3jvmzEQXErPZg9AhA/tJYXvw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A88BDCCD0610BB0118BBCCC05520E6A42C2885D902-0\r\nServer: nginx\r\nWechatpay-Nonce: 3f030d8ff61635637491ba779dc56b8e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pRPajjAxWl8mforvUa4R0YqMBFijwYBtGg89gIdNYKna/ujkOTBdizgDFZi1scnOmBlT+vRJh9f7tBxvVN7gENrD8XfHDbp5WjH737LHnGNgFm2iVD5Wjqa0qsbMbJZnaOF/YCdgqacXfhlBXPWzLuJvLXv6JR8nIJ++luIQ1lpffuDQ4+vY4WqLb62Ecs5S9/UnPMdwG8lOt8lzJ2k/JcCStjmWR9BIJH/VhpvkbPEzi9V0VLq0k3YubbZbFa4cXPD7UZdjYN/MYmnni+m7mGisqCWY24KX+8D5ZevmM7/Dxjo3DB1coKnwFl1NePN+rGvpnSezMLQMs7mBE60sVg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602216\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031428343343\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031429335151?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"leZ20Mvczuh9lMAyg2JNEr0ciMmvPCjQ\",timestamp=\"1773602216\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Oxti4XF2AbIhs4ln1DUaNxK7XiLpeIDcJInL97lYc7Q35Of04KP6gEpRAEQyxymOUIaEGyOH2Wqi8dpBhA1bhZSUTpMVPvl2sKMeiAp8PSygeIKbZSjS9D0DD95oslj5RI0zEqr7wBRc40gYwZzX7lOJ4SEyn5/O/AZ8AGGwt+/9Rsl3qEo27ZFuqeLIS5/cRCmqbYqOqVJg/WtRePhcjK0ekFom8QemC0ZgUGH7+wOyFZitehtchogZLCpsh+Vmy9AmBguYoKsQPmhLnR1jBwvNmXI/QvgqUxi+lPSrOkE4lCZD9CUBKnqhkYUDt3KZDEgic1TZcraafbiLZ2nKyg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A88BDCCD0610F40218F68584A9012088A9212884B403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7252e2497281fe38f11b0e6d0237a867\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GURQ8u6aZk7n41Bp3i/b8sCTkBMCcERm0vD2kPGb8Q5dlKn8t8qQbJspI5teSc99WnIwiKaKv02oYv7NoSkzUtYTGNzHqVaqmFVDup1NOGG0wBPyz4v0gZPrNO1LppEiVXePFAHx/HGk3RZfKUcENnjJfyw3gGAXSOPRBdNfbhAbVYLZb3uewe+Z2amabSWaUEx3Gsdvud5y9/ktmm33CCxopdUEdS+W5Ebi3dICYGwjgYA4AAWeG/Uc/RD9/DKKTLqGJArHdUWlaFB3XnT29kOiScH9nNt7YLRXXz+bXmjPI22DCxF8vAAtrmSFdz9YhG4JLl6i5EjrXlZM1fJfJw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602216\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031429469872?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"E84HW3DFz3LWfyI4T692LwpUphvj0yvo\",timestamp=\"1773602216\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"U/+L4OQn3gsPfeBUnQK9zpCH7dAisjVjEzLM26CkObv7zBELTXnFFQZ4V68Vglu8J51IeyBIC9vDAMa/x1EfNYKStFrlJ3sqXNR9JV0oX73b/8zHiHqTdrCMZNRkG3qiVVfy0OxVmkkEadyr1Bgh09GcQ+Dndv8kd2RRrkBmm8tF9DcG7Zmbi6bfIaQ9KxB/NU74Vem3PMS7zxvRVfWQlDREa8ces2T/BEfTF7FRFD2Q00c6RerkxUpCNMWlazuCDF+vPRrmYoddFhBQsaPoJF+m4bvLLzWxat0wy2l4gOE+ahew4iwYQfBAZAy/xHOh8vLBVWCWqKbqKGINhEZkGw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A88BDCCD06108506188CAAC0552092CD2928F3B302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5c2a0bae0f1c8a1ef052f2c3b4acf124\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nhyAC2mpmXBXjg5PR/SIoF/L6gk4g4ohWGXxBuPghCGbue2pnb1jwN8xCab09UrxPnHOYoCmvKAxyznQdqfrF1b5L6LxFxNu0dOJOoIzlXH22A0/RDL3mjTI9XT6YyID/q3qFJN5dJT0kcdKS725C8/3870XM0ROTglXzgjg1LE3reU/3+yr2le2JFwJ8kwutkbIffcQkxdmlKc9Ia3+XL6LcUva3fdX2/n6UOWaCTr5vYTzntp+m0VA6rQ8VE2uBuKug5OWpbaFsI5FiUmE69uyxWa6vSaORURKp5EvQ6E5IppYgRBrfSXvKd6l6hejGNBtsUBFMEDaE0SSWBfnQQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602216\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031429316774?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IghSCyzWe3zRGwOgXGzM5lyeC7xG9mdq\",timestamp=\"1773602217\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wNGrHh0MMFlHHS6C+Wj314OZST3IvAomfNiLXHoac6iAmNAn/QnLbKwlPQts+f7MMo0+s3PwziUs1umUaTfmc23ibcOIkx2MCxrIHMC/cp4ydlSJHrWbyvzNSyeSEsHMH+mcICfra2U/IMECDMrhgbUPylKdI8nsspT3eWrvwo0HXXSzhSRsaiChf/3pDICf/CJMw7ZwkZqmV/rBUM2tG0tOoUTE/3Tx5pjecJnZJlxL8tEVvxVCpsnATmG6lHdOJqnFC3L0buHWzblaGduXxET/6v4gboe36fSQpbA4PS+RlG/uhBBEbnp/vQTI9t9RrVj1lvX1YtFmgfCVXA/WnA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A98BDCCD0610BA0118D58CEEAB0120B6B71F28E5EE03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: dcaff1a8816420acae0105d8a634ae79\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uHfNmoRR8YtUc+Vg6Z4mUVemXMivQ9F3nyHCv5O2rLSQ0F9VrlFEUGVaC3gdrnELsvgplf16RaXd/FuK83vp1OKHR6f6zuE/FT9MyKr0ZIlMJ1NDS5MZdkNJWUXP9OLjwybNuccLX+uiWkx2PCs97+3RYdEhi8jjoNDLKLIbbUMJPL31PbNQAuSWxZ7eniqxlKH6MBOH9Cmd3jZOtKZahzFHewWq0koauffaCIqT/Dbco8LEktRWLo/iGBf8YfHJ5olZYoHoGbBYceYCgXIRk8+bvz9x0uoJdpT+HLSyhSYFTtrP94Q9YliPHN6Q7oEax4nADpnWJLACcSapZgqu/w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602217\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031429502249?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VK95VqmgNJbyTxwisLjb3CoGVpKXWsQl\",timestamp=\"1773602217\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TbuMeekJjstRGDX82oPJ7ULsY80JBtAHyvyNh4OkehLJtyRpwl3BjtbZqVQME1sEhO0Z6RPdXm45SC9iaBFervhKL6Z1ec/U/6LxAj//b3hSwQ5qIkI3kJT8Y0/kBoNnvQ9S8zKqYS4MlZ4DAg6qyHMK/ZSe/1/YbbefKP5NLqJecFzn3lNpPBaAEt49ICbFNXUBFxFicEhRv5ri2Bo0+1+Z0wDOAOLuLczORuzAS5COMkroiGnxllKizDd/YJ3mvqeRcDIae/HuF8pmUUS/RJsVg5VTlpVazkTLURjl7PPTfOyrc6oGoCJAB7mEfDHzaTiFPONwxpbA5bmAYn0lxA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A98BDCCD0610EF04188580F9AD0120AAD54628C0AD05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4b2e24681ab726700e74c466f969dd44\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: c31+zb2mMCy7mqqZaQbdFCsGbU/JwZZnBj7vvqs20wHTImua7BX6/mt3swjp3qrxg6aGESMdDdFd4X9GtGbYzijTSmbN5SMgziMttoufR2ZuLgteaeLuYSzxlFecz4N+clVZzWIQxA9dItYtJU55JH2jH+I1wZckHYWIIhMglsbwoax6N1Xn6KbMEoi7SBmM56bhdcnH/MIr/51OZ0kZ+PxKwv1IOrhSQs31sfob4FOaCO12HuOJYPn1ItxPlNcdPJY3tpeW//gjLytIXUxGGUAmt9Lq9hNTLf/nikGuj3N0Bxvs6u1TiOUFwbXOLC8Ofd9CyVQvfUH9Txrq+14ILg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602217\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031429413175?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dzDulkZ1Hdn89fYXaIlY9UwqDjvnuFoq\",timestamp=\"1773602217\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"v96wz2K4/03NQGZNoBDlaOmlT9mAEV9ixkM8vVTdF3UVMKsfDBrd0hZyckjdj8XuFBbola/dlo4fAmB6DKmx+98bX4Ihf+b9hp4wEV9AQGi9S8RfQ7hiPSy9thE8td9PxeYCKJYTNU+fjgq/V03w9/7svD+8Rfu18Afsc9/oFb7qnj7EOrM5NmQxDgprw2CANUwossm+2cGx85lGiuO/2EgUNqT92EX+WeGRA/iQODXvh7KKaJwoD7pP4InKv+Id9vIAXY7IoxqKeDeVltwgzWj0D3F/CYQvBpzYxKpodVZ6KvX/LICi++p9jcwvGHXgLsAFrs3WnarNRnjbphZyUA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AA8BDCCD06103518F6DB8C5820CAC33C28C2A503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0a6262c5d074ce0defc9d9e1e8a4dc79\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: I3Iu53CjJlXCIq/0JwAcZKRb1+Hx5f0wdsd7V5KwC3tp/beB6oKrnvwmnKWrf8YhlER0rH4Vqja670zdqYiezO5Hr/Lv19WPYXjOg/rztGw2pAyoFgIKBUl44QAzUNsmlvdhexAfc5zvLY5RXcwz6aeBXFN1DHFODlCWuoDQ/7Z/Xj8V9WN5jgk3HV5GpfTWD8cm2iIk9jeAaPmPSpkHQKTVZVephKn8cjY+drBm6pMa9GwlqA257+38Bx4SCKcwSXmQ4m7zb3dW2j9XeqjhNahO5zGCOnElfG9Rh+K8q/Krdt2Roq47Ayd5zKHYdDjz82cyEC12ZhBVRXQsuZwdxw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602218\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031430226575?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Wn0scQWogFfF2rO63w5nCq29Pbah8Kh7\",timestamp=\"1773602218\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"os07QFSAakljjqhe98LWr3imlyPq2mwfaHEq/Tqi3WFfMmZlhteVW7XIPcBCzBjfTW9O6NCJpP823Qa0ilyYyX4qTo5SLbfankUP0b9ulJbYgoh9tGqhyPkffRFWZQn/D3uCn45p4iBmzYhR+WVPgR9AOCQpp/N4SHLxh0PtoclXrbStCfdPhDWjOvEZMUDTAEZcF17yh1IMRO6W4zDchJxgTQPUpWNHCw5hLx8rGQmvpvDKfZIgaqO/VQ/aKMGAFfAmaCfk0aDN/x23djmIgBSCzT2SBZhfGSOPMJNVPka7vz8BaVRvVC28FtuNdP2keqJ4qXdxaDgLBbkemH2zaA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AA8BDCCD0610A80418C7BA8C582088911028F2FA05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 57f830003f32edbafed1039d69aa3aef\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cL0gCg3qY2eCc08Ryk9YKINvyznZ6I1feQOFt++VdwRjhL7dzj519GTKySRQzDX6JSsmMsT7HSo+0mmn7Zon955bPnctOXU8Q8jSL2lPnPX4+qxy9JOVkDj8y0FJFQmXCGereVdN+URkcqZHbNFrqeefEaU1i8eNScttdx440HlEas//i/UHYakKgQGBavWXASSgL72Cc4SSTHtfffBgULuj1DtR8e+zhbXqQT/g0l5tpHVWXYzMGPAHWPpkBb25Z6wLYW+D6lHfuSyIJz4AC/wpL4DhoTjwFvb9MNQuIKaWtMoayYE2sA7jvuUeXtPhKgSXMavDR+g+HTSMZYsuKg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602218\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031430115565?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zgYywrPgYw6ZZyMr9PbSOUF93g7R1Q7c\",timestamp=\"1773602218\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"b30fpR2gWTcUOqLWoMo1vLrP4Ieaye7JR+rw5ojUplHMZPewgR7vsart3fYOJBHLfjUoJ62fQpkPhG1IYMNJwQJ7DGEceWx7sZiKGcFqdtm1zD6WjHGC2RVp5Pgwv/H6jif/MS4G35dbSB0+xKdE88vZdYhv5V9erdO3Gj16yrfx/4RUnQIpxZ2d9Y+4Ph4vzA4DdlxbA0FkuosJ7bv8BZMN3xG6VVGHqiSE2OIC/sZYIn1RyXpF2R88K4EiAfkTDw2JfqKsxwF95Clrqlj1vrvH9et+O9oCC9JaqpKU8YPojaB89Tic+bqzuxNEFxeVbedU1fzJ0oQ7rNiY6lqcgA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AB8BDCCD06100D18E1C38C5820E48E1528E89306-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7e1d2887ea8d6f68b2b8c20f00588d83\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZUgsigbUEETNbxyhmeziMyNqfi7pYPn5tj7QhkmU5O07PNO96P1hFhefAb1YGOL+gQcW7sS8mhEHia4AGrp9AubLi799vs+kzLeGMUXzmdiDg83TWRFMj9ibycW+G+Lz64nzEwQOGA6ZjWAE7WcTsDNOwO0PuWPsplgda+4j0W+QBzGqropSu8f/F7yAN1goNVdBb3nxG2I2s4ECXzFjdY223p6BeLq+dMC7oguvNlKs1OGNHu83IFmPZD5HzfTIoU4jxzeCl9f/kWVGTBRM5sYbK7Yj21yeS7/AYMxSiI/Kx98I61lIAB4Tz10is1nBekzIw6/zXMfoJOxyuJA10Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602219\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031430115951?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5OhHs8FN8gLUrHD0ENL9C3AKIU1TA20J\",timestamp=\"1773602219\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"X2D72b1AUa2KJh95eAVjnqPVOkTcdvAQGQ+Hy68eIZHd8/cH+UBHBpyem0uFcb+ZS1QW4Ejjt6S9PYsDMN2yQRgqfmsrgn6wtm6clRMo2aCgchLq0MSQlQaZKzheWL/NS/t6Iib09DQWk5oTeMEzDjm9yOocSneqMXBgB6kysaGsyOn80DS1QAw6djjrsS5gzunAq9maSk/kUyXQLNghKqviQ8NEsHXDiILPIXcsf0wmV3SFfagsrPoPQ4eI4aZrxpTw5y51N4yCe64GaYItMJNxVskHvnAZTXGSuSvDRBzZvdQVyqKWtbtjL0m67pdTgChet9UKQmhCOvdBq06mGg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AB8BDCCD0610C10318C3B1F8AF0120CAC23228C62E-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ef18ef5aaa343dda9ba52ff98d56079c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vyrd2jxhnlwB8aIWZdTQJXUWCaGO9tfXvHQnc1gAeyhKR9wO7pXFyQTKpdcpZp2xGO7zj91A47MADSIIuc3KWbsyWsfhT/nGFOFstxNOBF/YuJVPpfksMvggFdfmyLG6W6tu0edrtwn2LR6yI8J/wXHEGgc+nYcHIGtzrabXAutPB9DHsi7ivOKr1UFcLqNwN5La2PMjsOwOB1WPyZ+rChmOZ0bc/a5x8ta02PUijYVDs29a56I0M/Y+3sK4/o3SK5gLyauCrRlFUPHXgj9gXJOK4OpicbIg6odCoHt7QdGKVj3LnZ4OPvSNsKSEoLoy78lRKIg+DPLaZfDOUEtxKw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602219\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:16:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031430508232?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"v8pIS7aM9HFRniFVqy3DAnzndLWzbCAc\",timestamp=\"1773602219\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OyWjFsUKCNXyQ4Wjvk/CL48XDlw5sWxfy1bxudw64xfUXUMHn3Up2iUUT5A+N+MQyPDnXkwxNQc/stm8Zazs5FzrYFqBGQsUtyRDi33TB3yeazWt8lrlxfOJKEVtQSe3hrl7wWljpIiOdIz1B8lP8hgzjj+xeb50Bkvg9RRX2Mw2R+dmetxF/LO12DYecC2+AmklawN41rM4MDvN/qVVeJU060Y3lc0U3E48gsVywnA1tQdWD6XJvSJAE3W7WjJg+qAb4llDRfbGCz9ucZKOBSMokjI1w75ywalRR6NL4RBdqea8uOP5iWhCo3ZVgOTOngjgBbMePUWfk1HL+3GBmw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:16:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:16:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AB8BDCCD0610FB0618AEB2F8AF0120DACA1728F8B005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1207c471fd1ebd325f4809c808f20ff8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gogPPh+pmNU5bu/cKztmrY2Kxtjys6DZJf+1yj4t8XstKv+2S0yvsDkbIlYa2K9V4L+kf56w+9iDovpIx90QtrbtJtVR7aXJeC0V0tvCzlun2UxuzZzc6DLCjRoBxcacKg3qnysYdBZPREnZEqejNPOijEKHIkr/jQuLx4Qir3jRosXLCKVsv4XT3CfizHjD5in2Tdvx/ucmn00lSdFztOk4f3SE0YV1u+afnG838QFYYSH+f3c2G+RO/ycWSpWUgU9GL+EhzgHKKGocZxNkD75Jqlvmhk9qx/jUl32JcRVFOILJx7f4b7ttzPXRrL9273kPR1RVFnB+UVesxXByAQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602219\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031431714977?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HRMFoex41znmoTpD9dT7LtOiyviigFX0\",timestamp=\"1773602220\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pl2ZddyYLq/Slkts9sPQY2fb94xG3W5sUMzix/ww/c9mKljn+skPWadaL5NyXrF8ac+gl5vFHsC91KwuXiK0UHuNzqks5bOgsbqGmLMZA7ZHL2QzBDvjQFI2iRkq17LohKSp8GOaQ80nOP28Vx7eXEfBj806ivTheFw073oBLPKAEaMENWlGUzSHVWE2dc6TZ556NGjtXWrrlEbb/DvTRjwtGvEUEeCxHGV4bxCxkPBt8MCzxG7FPM2RSP53SrYBdGUgTCmNWkGhjEOgZqOkLJUHgxo7CQwS9E77QJvTiJbQYWVJ4gSgvV4u33GuHlcUVEb+5IHm+aIYSaHCbuB25Q==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AC8BDCCD06109D0218C0C9C05520BC872628CCEC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2898b878a10acfa33a89291e4a8efa9b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Paqkhf/N7PrWbL0YFF2yRzj7augvvuizr5Qex0v61JEvxl6uFLj1SG2jqrMKDdYqFL/TKTyhgOmYoGRWa16t3cy+pOKdInwZ1IeoFex9n/sScvnlqvPd019kiC1T687+2tHAgUwtjwJLOdfItgg8Z9VbcSZ+7Es+HhjxX2D/DXH6uG18u7tfMY/HqDSlXfRNaXJIWHYRgF7fZ5jh1dMoHqPqZ5p9Kuy3G2HafZnIEIHn9eSlYK9o2NmrZQEMeblygBe7h+JEW4S1BmFld/Wwl0bqcZ7wRijdooV9wDFTiLxduf+jU+zlhhdjQRBKCj4PgDD7B6iFjC52KTv5ev1kBg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602220\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031431147411?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Nv5C5FacVFIzvtOuvtsmg5Ikuul7OM8a\",timestamp=\"1773602220\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RGKPvdP+zVtDQz4BrpjFUETeRhAONrZ9e2bTuN0kCTih7O4MsPL7LmoVc8H4iPq6DSxQGLeuYSnd8Z3mDrQ1/57bZ76FXLcBZKiRUnWaidpkja91TYdutXRvQdXiYAAW5Ty0vGapylQkenUlNqrbmGfDE6z/sIOqWy+DaLoWQE/56OJ0QntcXdqagv0nAkEiTsuM01CjdGwYNkekBl+9hGMrC3PAUAs7BpL26U3LDQ0DC7za1CU+YLgxaQdAHDDaUoWsSMjTRqZHmiLkGUXqG64RJ7ZKvd4VrJpubq1gQHZI5bsi420KEpWMJ91VUDk/kBCYMefP8ow4Ux/p0RwZCA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AC8BDCCD0610ED051884C58C5820E8A30728BC47-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2f4d16d278b29fe7311c76dc8f641815\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rySmEYt0Z4Rvaa+Hfm3fSyKjCida2cr5ygkAI4YrX73RvsP1ljf/kTa3iu0aBAhQ5vYklHmxNcjjzkeOwi8ooQ8bCqk7U2Egf6z7UpsBKiL5ylG2Yq7Tb8BSK8GER5Fa6RdZs+/+wpOhgcvNu/yPxb+LEuVfsqbzjZxBNbeCdPuj9iYVLexafTJ64aK58DzO2f6KxRcTM1tbq1vywU8LrobUTxYXLF6dVesTl3SlB3kS4qFKN9N+Br/TH1AzCdNFD8G0oVmpO0Cw98qPhTzW2Aol7MvBYq1hal1lt0fQk8TK8Gyd2+che68hmv64OsR5WNr+xTRs/FqWwdW+JVizBg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602220\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031431331905?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aTGN1ekiUzgVQKkx4Kre6OyKkjJGwbrb\",timestamp=\"1773602221\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wV8SR7uCEcc51SKUOTJIRG1ROU3L0zdS/Of2YYpa1eDGT9nUfiELIW/gUhnLoTlRJQHa90M3wltenOPm+m73iVDIIhm3vStr54NwkSj4NTKeTNKiWI0lp3SaTCqQYRqHEVPdYcuv0K0VpIBwfVO445jShk1D09bfX7/N8tfIpo+savohI4mUFZ73CBQJdKzs1eViWcj1YAJeiO56IJn1j5l83EhFsCrPpOa7ibk87a8mDdyYQZgLZUwn9YukgMiN1sRloHvL6oy5oRt+NMDKQwSwMRDbyB4UOVijxZ+uv8XwxfdT7ZGaWnOnenRQLtxl7tHg3rYsKz8/60VVJB1uPQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AD8BDCCD0610C70118EF8CEEAB0120CEE11128E6E601-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5f95d8ef090cf48299cc75df3f130fe2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uI0JpxWq7HiuWu96PfyCzvSDqYF+57zl1uuCG6hf9Y24Ue8taYahQ1l0WyFLctC7LInpeV7Mpn6d/vDBRGZyM2lZMv1XjIe63eGr3z/mRj4U5l878xmRZ0HPymKyoWx8hmgTU/zfSRsPwEMjorDTU4fRaaTupWoxqoOxtELufKoFevpmCSQbJfqp7agYymLzKf0q6HDcQrpatUgEaKY4DelEbt+q8ySNlr7+4GCJGOzt3GWkE6XToVreL5WrIV0lYKZme9nfTREwFZcoywy89naQeQIuu+mAyPjoEzuP5PzNFiWBsOleVE+3+VCqblSr8wjT8wWlAQ1dFSNYsHDHHg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602221\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031431220232?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Sg2961JnwE0VbhlvjPKZp3Trbg0f2Ic8\",timestamp=\"1773602221\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pb0QFebHYce6SKsXRAMZ3/vlneo0KSuukD8XgE0hInfC53s4Eqd0hKY3kRoGz2qFpTejhq06sAJsVg3X/sFAEkIyS/wtGMHyPs0raFHgdhFMlLbl9MUWB/OEo7YPY1h/MGIaMBRWoH8XMt3xAtLEa4THL/dqM+Pkwz6hwXcX9dEilg5q2zfLL1h/zautxNdJ8MITUlV3kJzZey+8lmDVt6k976ZWqXTR0NxyycUsJWM/r0TosA/V7hQnqlncWzF5zYGFUPqJ3UFVCaLUX5kYjECbNSWJ7s+jAxKBACs2o83q8Mxhjqy0WWWz2JG2Ycm1QaNjsQQB7pM0YDIT0ojIHA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AD8BDCCD0610D30418B89EECF5012092F53328DC8D01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f877546900aeb22ceaa038284d770d87\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: APximsSSGZ2WNvGbTjEkdgGVMDX3yJMeezZiteYIgKU+2hIddXKR6zOkCLOyX2bFyHZKVJ8UZ7Kw+BrIYmcFiNaTrcgAX5LLV/zNeuFPNaRQAbdA6ftJBQ8oUjHkdFQpjHCDR/IYkRITlqT8RW+hVD6uloYg7eXpE/nwBPv52LqSygz+KnEpaYz/LqlRa1rw5XRnXq+9BvPZnxghwEx1yN51zulk4pE/3Os4YUGvA1vEDcBnNzj3pKlxb8OuJdHn4IC6awXQJU9bvfLBuDD307nHB/bMbBPHCzJnnbvNMPiTnnd/8j81v5cvlCjoMW9U7qAM+tfYpsag9yMy6X4GWA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602221\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031431528021?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cmthcKvap9zbrJnXgMT9ZfBIsYo4cysk\",timestamp=\"1773602221\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5fOubneMJcH391IuQUSMeZ/5m2vX+NhCvDJJgN+5hgLp00RZePfjaTXCXDN7VTMPWNwxjHr7eswR6mqdJ+/ek6bEutCsww5pt9bLnzgh4Jl7oauH8bddAMR7TvCABsigvjFdk/liuGdcJcW5jbWydGd1JrRw9vPI1Pisb/fcjsJ/Ssf67732daROnIIt74oo2wbSYvCQGlJcRT05HELzt3mDbtMM4jTM74If5pNd7Nt9JOV7t4RElNEMSPNWTL13hPgCepqBysP1YIrkXIo6enQsqWuk+NqQLrhIZCB85bdeNH0ZtMWQcBWm6XwweltTOHxFKSXV2KxfuHV8/Yivig==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE8BDCCD06101418FBE6F8AF0120C2862828EFF401-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0a2c4449f10e67f4f24c3b90600a16d0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kz5ftniIR3HyAFdX59NFjxqlZFn62Sm73GQwutDih4cxPOMb68LpMwBDXXdeYbQVF5rG/rGi02+9RnJHIgSsDyjCXaN9G+rWY+LuGhyj5YB5tr9PyrcjYt2BnQdD81XEWWS9hQ1S6Sq3hJVpYKgyoyIrp5XThMhzwLzmIWJ3cG2o6M7Su3E+6urEphHuX+KaPWlywh30GCRR4dtwYkZZNRkRZSRnT9lVnw6I3EyMMf350aMhLcnkfvzY/BRe2V4RIQcb/OnCqQq+4ESHexGweCSYoXxL6kfO3viaf6FbNPL3mtovxSBCSdZvrfINqFF6Oc9kwnIgZOvA7QsJPuNjcw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602222\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031431707419?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"S2NFuf1C6GMqzsvY27826ULx5XWgl4RH\",timestamp=\"1773602222\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ks3zlybVsQ3WQGCxGKS2RpuP6dxxTgZ9nnmNw76PLW3GhMtV5I+nBihLORshizrw/AXK5tDRJcchuPNW19DzvwSJyu0+x92Mx/bHZs1SYMO63xENPHkV/q6hrLfhq5kJxUk2JSiYBd6DhQ5bUjN2woA5/n9VfwAKZi6DqqO1D9z4c/M3KVnmK3qW6OcNER4Ct4edVLG6Zc6GAq9eMJPt4LwnKTNYB+f1NJ7JpOUNPdZ0lvVpa+V9bY+C1V9f0IyZ7Zvv+1r/0LqLKoFquKL5AAfk+Qfn/6g9yVJLU6JBb6XSGEMq/8mpdkHyvvdzesgunxv+K5KlSARaXWzZLGPhEQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE8BDCCD0610CF0318ECCBC6AF01208AD11528A5CD04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: bc89f0894326c4a6489b0099f56864b4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: s67Ml/kgpPhbLh5C+9bUsTPSWM787mO0KLC/1bkuK8iLKOstFpBmcWyyxVqn2TUkdnzh7EwLBpNC5eJYedDxAdegkRKkF0FvBHNVQwDepN0BgQ+BPwxyyCZ2tntiE6+/BEg9jcGS/9IRMxMuTXz0aTGC1ZNPnhYybfkur7Jybas3R2dEkOuMOY6UAnckPv+4PSgmntCYVZqkKQ9VuOLHZ+o+SM6g5XF9REtdwJiklH3/Fntwaa2FUyalXsUe3Okr2rIbC+JyIADl0sg4i9FgabBkUu24d/7qRNnGN+ymgfmUhhrew5YjQw5lRkK5eNbZ5ngeO6/tPOH4y1KzXQW57A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602222\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031433091451?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"32NySqn7wGpRNLm4oZjsBXIxc7bAl7vZ\",timestamp=\"1773602222\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xTOUOFcO7bjhpFuJF7R+OyqHOqk6+9t1VGkmOoKiqk8EOOu6k193zjq26qyGNt1yDEpv1WBHXwccGJqgExG0xA27FU6elawtNbPl76BSPslieltBTR0QiFUuvi5x/tp4Saqfx+8wtUNrdFoM+TvnD2I7XGKWqD/76hou+YYtBy23uD1v2EOZ/lc8LPkrLnvBn6BoqGHF6nOZQA1X0aA4Vy6Gyl53mVRa6mMtxLyxNsv1Pa4Ve/hRmdQvpWNxoWxKtgl7bqEADFeP+ffYsZXdJXV1rIAmPg7Cb5mpjGTq/PkVKJmoW1i+FmFiXOJw39LwLIQLoQSOWEPZ2QmrQzQ8Og==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE8BDCCD06109407189CBCC05520E0CA0428848005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 77a48269e02f9874254b923fa18e1ad7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PmGnw6WUkTYhXswZ6GyREUSYLPQq9tnyIGrLy9Sq0Gc/riMuzlCwqiAPqGQEdgEinu7eFxBfWreXthyDUyboOx++12DYs0TMs21ksft9abVkNs0kmTbpcKiyDbd4x1Y6BKD85p1vQgkmZPuhbfuv4OkvSegt47bZp6avb/RZQoGRVT/rn9sgKFv+0TA+gn74o1T2ipMiHxNmKW4QocVnrtQlwPixVuk6F99V5Vsz3tb0aA0/wmi8ZO7D5Q2vQ7Qq5FzOlWsug8tl7MOJ2NVPtYGA3Ui6KvPFBJC1xCcwsp8eQD7Q3xJgl9iVIix3QhhvvdoJ8+qLkdKqBiVyG6o1XQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602223\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031433767815?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QQbgvjdNjfPF9FlYioqsscZjET2YgTFG\",timestamp=\"1773602223\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"398QTJOdHqLZeAEe5anim+dGWmZSuA9OteThoLbCwcTqW8/RQXb9+lYgqaMQTvt1PE+dDf7kCr6X/7L80CyGmAQdTeWP2lR5tL7FLCpFKKwm4xjrH4lm3MlvQhUbzEuRo4aaWRTHQOForhueEo7H3dOBPSNwI81aOPqmNCchlnU8GsTUj2W5GBK+0xjAhakX4NsMiQgMyZh11pg++kJiBzINnFX+oO3hsVsGViReku/HCbFUNdwOtkr56b3iBJ0EVgCbL5yzzKQDhk0qmlsTdLoH7TbUyqPkM0SNHaVUogc89z1RZX+yYov/yC2aGbLGQccz50Y5vUnwoK4lB7gbVA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AF8BDCCD0610ED0218B381F8AF0120C6CD1128A8E704-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 46c56499b249e61a5c4e7596282f9800\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Kco4uTS6cbTXxcFjYnB3DOGdbJgtyIvj5cfQQIwFMd6mC3qAvL9OYF3XZiehwcqQr8E5S4oyrn8NmT5fFVDXBBiyyvLHbjeRhQ8LW6YcXqXD8KYEKHFquBGMnRIynApJ3cm+86+sn8dDgSmQ0QmN2+YRYtR3/wQw4D1iJ4WnH0JHAqSjsuXdOcCreT4B3UUSz4uupb+ELUHMtMtnukbBwDyE4ZIjvuuD/Y+4t1MqX69tklppwn6/mURhBsc5ORx7TGzfazdPn/l6NUbenMuGANpB9/WPIK8T3+FTyjASNBIlyxAfgT0fhu9I71K/1y5XtkZTADOicWYcPtqgICOBcA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602223\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031433797884?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aBrSZjiNsRJ5uUfOSUyE2IkNUWutuHel\",timestamp=\"1773602223\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EKgyxI8l7uK/5wzK2YNRaGOupq2oFSiS++bQAHgtMz2kzgj26JcTX+ZCsMZgIDKAZInjfAMOpTAuuTC7cHsL3oaDrHQ3/IBD6WqRsA7Kcsy19aRmlGS6p4aRr2t3iyNVksmfK6AyegYdTg3as/NUq1PsIsNWwuNjJtzIx8OUtSN/uJ4esk6iCIoUEkrLKalChYVqMW3VJuBPWP2YBKCxkkDDqzowfYZ25ozr6q73gpotUaxRIp8UilvF3sNmDLqTT/rNQZX/5E816mPJ9RPvgWy1UlXdeGgt+E74UEsIYsYl0QDED00VnJjbIONdmuou5XVyrhYHmslfaSVUBPp9Og==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AF8BDCCD0610930718ADC18C58208EE1332896C404-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2f0a1fe0cbec05c9f1cb12b763733324\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gNZgp+/cOimfxs0Jz6M4M5MiDzrAwc6HQJxl6SBKqFEiSpMhfsnUCANTSclB6joYdhu6ty3hN4SyoH6Vc7IfW+I/JuapMjaWZM9K+DfmXkqcQoiqTVIBflBOVleubCKdjKY7Gu4MvR67TA/4cDqlcYrHw2TGO/VieMloj4CtZOgJ4PGudvSnFOocLZoZV9OPcTpsOsk6AcUKPaYYyHVNSktSwCMD8hBEftqgNhXS0FNFeVVy0o8YF3MzQH/zRgPsZXdUrtd96YL5ItQ63BC8b1tO1V+YXu3XVTGHnj52U4ZRvBMvvQAUzd+aYHlNUdmyY9TEASE+vL+UrCscIU1SlA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602223\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031433954165?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IueBd3gcHocNhtfqIK7EkMUmUWqljDJh\",timestamp=\"1773602224\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"16kxHKUI89NWBCfj1NKDFasiM7toA/E20BuIh8V5eovscDANuCWaIJzYXSa5g3ky5EKD6oHpE3Ki4cUp8Br4DhE1misJcDzlDdhyOXjStZFC7LYvuU1g1gmDpFp8H/JcfMJ8LtYfwSvD8V953SSIXxdVeIcfGiOmIfpjWdy6SlP1OPsYyAIqvpcdqvxpBW49d1JcHTFMsuC9tkfTSTnvT7GPLJB/2Ep+Oae3tEGONFIyM6kVYwsFUkTju8Euaka53n8irFVv6Dnj1ZuzhNxSzmOhnDKQyrwk990BrpVWyGIQmvKv3U9Jr8y+MXUKCMwsRURZW/vpEpRwGQ5WYAeGOg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B08BDCCD0610E10218AFBA8C58208EE20C28E88C01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5ac661fa4aa811f52885101effb5e65f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: anlN9/nFLV3rbfDsLSb+WiAk/vcQRqjVfbkO96yEmF89XyrdUEkKNxGbGK3kVMxDC68yyCFl7e3bo6T7GSV1UVj86+Z/AFJ0RMWehHSUBDG8tcBiQWjK8W8ty7Q1plLyhiZgZuVarMD6bN2pl/MiEWFrcTvWURMvyuUc6z/iVkTz8dQJnqiGHsGly1/ZBoWKOQOsJCuQ2IV5DQAsZ9MtD0KEGASAJ+Gm0pnAKrs7pS6//9EbdbxB3yLF3EDOWwZQ09dxMwyH/rXvNK2uZ7GrGP6AP1MmB3eUTrBQlsKMSzvyZpaGSAnUyj9rOAhsJix1vlX8C5XsYQeHfDn7B1j1mw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602224\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031433035725?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mbQZlyN5MZcvCl1IFnqYCMKhzoJYys7v\",timestamp=\"1773602224\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GmHu6Si+a2I4u9gu8hClaUh89r3dklRIZ+pwBrXAG77PpbjrEjsJ9HZAkBh9G/Km96Ov6LydDmxaV8KkVa7PVklsqFPKDSIH5sldtnRCiV1XFvI/OhtPscn110BZ3E5JTYhS+5fofhf2Tn/tXq4fVXQyDvTTG/oBIR2Ss90CPN0Tk4bulp8JUFs7AXvK8XapMYfk3C37xWtwmxZw9odi7q/MRZyfoR1VrxZCAW80/HiBSiqYJucf+tbnaFIxcbuVmvo2bpm2+O9+Kos1toCUKrit7SnaQIETQF4oeZME2C4wICHMHJawlpkd4qyA6IbNvr6dAedgmNU1f3rX7zfdRw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B08BDCCD0610A00618ADC18C5820DEA42528C1EA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7765666de75b677a800d2f7071369442\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gI/CwdqD+uEBm+Jo+XQQ1qLd1G+tG52DLFrhHf3L7MP5VtDybeD+3zvK48koTw733aki1ev30LjbU8yCdFgWBTm1kDOLifCnRXhUmM6tRC20fM+XPxCQCO1wK+845zF3P34AE6rmWQhaJulUg7qCgexBaYmqHpSHECo/8pN77xFMOHdqz+FaZXEfq5+fi/1eYPEM23fK0vLLgJCnO1MrbRsMa7gaJBIS4I0XzGiy/T/p+xmTwdmUbn9Yl7PTtqavSnyu0CkXoM4IKCKGV9tvkHjTDmmShHtswahrm6vHnQ9TnVi+Sv9Tb9JvcxqFdIq4MyIQ9Wa+aJ0RWvqWFNS0CA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602224\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031434678072?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZgzIsOGsIiQKr5YJ9eKPMgYgQmyS7w0Y\",timestamp=\"1773602225\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gFDlm2419h1y/QZWxS7zQNWtjFqvwPr0uUdMUqKRhuEBeM+WA5kxAdPDYeVFfG+63wy65MLZbK1+9rXr+JFuuX8uU6GfgqKeBCqsWkes+svgoOcflcREeQKBm/BZblyV6VblTYCkOjQmivXchse8n4aCpH0mztdANQkGXn2OGbFCEPZP+0H2ixxsl/iuQiD8LusnNQBlW9h8ch094D4HrMfqDPUfFJ+ykfX1SkQ8vnbMQDkFZ3DzM+hVKE1enHiYPcmvj+GnrVW3lkSTnQQDFz09HC3fD8/c9jWS3TnPVmQDmii1jhlzEz7gLTrnklGdioI/1iiXFPplkGGe5CKRGg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:05 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B18BDCCD0610860218F9C6C05520CCB42228EDDF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c94985e4b3129f39f38f312f97e3bc87\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nMpGKkVI0JB4m8cizrskSS5BmiCBNv9tWOI7u9y9yPnKo707aM3ny1Cwcfl5eIgr6+EOF202YVe8AP4t0uR+lm4n7TrHQPy/TUW9KgaUykR/N6jO1Wa2EZBeXLhl5mTLtUMzxoAdKGK7+U5wQ7NxJFFAxrfDAmoemTSBGXSliHSdp18XyH0aw++l4keAVwxPabA5aHdqRSufuVr0+rHVUv6kaRPUqPn0N0F7Ih+J/YjbdLAPKjL41kYfSOOLwwQq5FornTQHSJdBdpRqt4niUHNJOTBVg9NYmJL5HDxYCHpnWasOj6jdIQJxIKh/mGzrIEJBVAUgLM051eAJaAXW2A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602225\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031434360846?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Qixwry9dkWYgxCrFVKfxvyCJHn7m0Qgw\",timestamp=\"1773602225\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BcgNvQzMxLtGuTXYrL7GfCi1vM4+RO8NA9zBVhlg0kqqHjeVnaYliWy1TyoIeD3GV16aRoOPXZJ4kbACvJ47anLWUMW5Xe955xo2BzyUxGl86XjvpPHHjHLfcnOIxjBG4j09dK0klUz7W/bne8urOn4N3KXp+UUEb72xagoav5tMVylotpkr8bpnXUidH0KX6j4Xcf/DPvWRzLwt/kRLaPoWPTTYOSqdjZW1AG7SqzFgM3XAEYnszs+wJe2vaeIDPq3m/PrJdDKhfi+sO+CMH207yRdvGELEzsgMVZoY979QUAv+QWeLS6EmZRFxC9nlSN5c3LPU4kd1j27YOkegXQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:05 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B18BDCCD0610B005189CBCC0552080833528B65A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7c233a31da6e3a0027eb6cf63e88d26a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OxOrAh/Q1AqzMSRsZjtFMU4+psa84ZBZas1k9jbxx0T7biRFYhnDCYV3vIdgog8mSOIlUbpJyAuCQhwljXZvtpzNtBxOV/XPGXKadslZxXlfYnUjsQF3ha7sYd5gDUx4FWpQZ1fQc/91GW8H7HQOip2rO7u1RHD/fVDD0pXguUyK7EQsbu8OYqSnM+UpN0oZ4IwGsmilIBiPHxvTvaaVFOFo2nSuHZGSxhTFxfMD+1ZxVk3Z3XHYdMtnhUlPurMMZhovaRAg9nKC+tdntTLzgdmfo5jnxGoBrDNx2rttv1gF1mVDsJOZiuL8DiKD1NDtm8o7vh/QegC9li1x8UnciA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602225\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:06+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031434146675?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cBYcW3tts8v7Ra5RV1tfPIn4yVMimVjq\",timestamp=\"1773602225\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rDRaQrGy50Uqx5HRS2aiAw0HBxBChIFc2YlYubmnOFRVKknzaxWr25Cvcos/jLt4RjLQvbmfa0piFjcG4jPhUjpDnTx0SMK0y+x1vnpu9Nr42hny+6wuTLuCOSCJr1iQ4clB747PzSIXm4Lhpy9uqaodWSaVeb1VEfI+ovS51UWF8P9qP7U1q38bGabQoaBPYg3aN3Pq/mIkZhOjjwfFFtPn1uqXm8vucKqc2XeLurjkoQoKfYyGfNSybC8IzfvzNZc/yIHFDu3EiWeh+qMQP4CixMBXRwkKzcV9NRHosFl8vVQ2uVyi4YqJ9604FELgQxybGocN5XJKOk2P6GwDow==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:06+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:06 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B28BDCCD06107718ACB3C05520C6DB2128CA9004-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cbeb548fcde6a69b98bfe492a571b1b0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EkYyRFpPy84DGZ1zE28C585sY6XXL3u6bkoyxp4y45D4y0TZrv3nF/jzSSqZNka6VUa7Vd3wgRORp+FNaSLd+Y53zdsCAzn3FMlRUSCcyXdjx3fRkfQBQabnd9GpXfhxEjw7g2cCgUl5FD37xi7NnflwCWl39Kue0pR9N2hZgCl0oJi9adnMagKcGa/UB9iQD8jcip1NHGni9Z+iXCVuq8pXeBBcU63HnpZKG1aa207N6TszXCBJGT6lJiQGJL4eS5Il/eT/T4NjgL705NFCdDM0UgsJbmyEJdcp7jdl9Vp4Bn3YUDzvrAXXija/rcFxVMujx2YLpPB4jB/y15vCiw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602226\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:06+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031434934203?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xszBvzLjcAJ6qGcpfa9N98n8xs44k0ro\",timestamp=\"1773602226\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"b++xuae9sUVLhDmRjPAlnIhnLgYQh/QpAxDQZiBfA00LazXsuXa3nPoLjaDa04hsIVJ+3uYJaqqzgelvu4c1QZtP7uqvYj5/M6+GChAHJQdTfZjyOs8oLbZ97pUauTeeksvzvlqtsmhuSx65kScJNWpaMMjCgHrV2QEpmW/HZcNc+ulezrVVoDG+MM6KYXm6ev/IIiRTGVo8QQ90mNi4IZRCRt7DZorENQ3b/dxLjKuQVQndL8Cq3/zvvOO1G7Y8v6c/oFAhj/7TFtKO3/Tp7Kz7NI00Oggp++eI1T4z2OF94ruyQrYp5OwRTLrGa5FlaZZgAahXaJnLVK6tcQaDmg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:06+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:06 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B28BDCCD06109404188DB5F8AF0120E2A71F28DEA005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: db92a3e538db76d5c374d8ef43a172e3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: c/xI0i7Env/xV9zkhQZAEVLYPb4StogHKhfyw9FmvlI3QmsfjaZk2D0vLk3lfF04VXRfzHEorEnG9B0QePZcfIP8gcoLDBvU2ejvQ9y/4us8fFjpYNN8NHarrEE/M3CtV8epehuo40smXU+3YYaiGiTCb1CKZm3Be3mo9cxmbOD7YMoFlJ3Sir55jU5DkyuLPt6HfcMrlMGvkW1/q5/0XzG9n90R+4U1o8CPR0Cte2Fg+7aI0/AKCiL8Sd39M9EkkXo/bP6T4kq5Vwbb9JTo/O4nDf/6gL7lulggcORGBhVnuzNO7+Jd6h+xA4UjJntNc4HEFf/Td7vr4Z3m39kyRA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602226\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031434717201?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Lo6tCTJRYKFZgF7kpmbm4x50qStGu7j6\",timestamp=\"1773602226\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QDtgXsbj5UMnzM42MFxg/GpA39LyipTG4n0GtQ+p56AEGHCmhUkWPCNSjK1JPfPRTP+m9X61kiy9UMIvaL5Z5hA2dlaQ4InLdxg/64pP+JtTypb6wewHjgAUJCRqVTK4IwAOiVSh8FQgI+luDHxlpetFAC7bGIScpgoWaRNgo05mkt0S6Zjy9Z4zgvYIGJ40IkuZpwn8sSx7+RaPPR+4lFbN7Mk8IOqUmb9G0l5qRnNYveOA3Ty8THxm7/cOCtM2gTBSKG103UCZGqXr1m9JioIZlyIhll6TgiEDW4ihph37EoQiUzSn0/3AZJ5oEQsDjyj1veiy6tTpZ5NGr1hzJw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B28BDCCD0610D00718BFACEEAB012094EB1528B5A304-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f5661dae15dec6ad2726e055b373bfe3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vW1jI5ICBtFCwmD2aB/XjladmfEN0UdjVCo+VlQbKtvE5Q1+h9nk9MO1ycyeMlAkuOF5+bCz+i6SPl6CzZW1oixXxy6OVWPfyy+9Io/Xw307oNJjt3+kqfQGUW9xJUUVvQfOQJT0gZeFsBXsOSAKsNM/UzoedGNnut20s4GjJU0/zVPQ9HkcF9+/rBxodJRk4NlzlJ0dF3Qdpt8t33qqQ4F7Eqyxiy99jnRBJepq3B9JZyKCEzyGh6X2ydeVfGuH0DOW6xZt9f6z2wnhgb+L8U3pKuKtYTUEAKiadcK4HRwbfj9Cr8VTriqo82VlTDmrWdtL01Izg+qfXOw1cRQDLg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602227\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031435256455?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ltmvrk5YpZ0bvVqiY0NKgZisf8eMl6Lo\",timestamp=\"1773602227\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FBKvR0WFSGSnZF9f8LrTLPdTvUMekvSBsvSFdezG9lbINZWJJiTS5YPktx/lajv6FSsxOIAqhsc279oKCkCC2dAnQ4DIFxymbDUOlDkMVhjR0yrc0KZCJW8itKy6YbO7BFZWyGgyE1kmET2k6eyZi1YnKaJ6SBbWCaA/nXIROpnYnZqlPC2rehkjW0Q7m9BrsaYywxdjLvIzCJ54e2FvJaKmrmN2aUtcdziTcA0zBINzif6SIGjA3MJ5cYOBe+HEzhLV3RL4AAF8T9Fpv3Zj4WI8gdv0tacADWBFDVShOi7H8qGF0XnX5reKispCyrOM7SvbMEZXWlNcY58K2monXA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B38BDCCD0610930318F6E4F8AF0120D0840D28E49806-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9dfbb1927d6bd44d2fc85df7b941600c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: m9p/039NOZMZNuZE35UtzPr/5xnYiCVFG+gFBZrGTaW4yX+q49Za9R/Iix31usf22xxG7K9nR/Do/wmhwUjUyxcl4zbKKHbJYpv++vFAzBFRlLpGCXru4Jv01BTs+vzWXjZVEf3leCJs5TU5vy7XVJ0Nyeq1JDh3AHaUn10dSKA2oPndqWgpaPA1+vzJxVPNFZXo7InIh3FjkwDVdviZFQLUsU6aaDgbQWAMRUu9kkKoGoviSOyv0nXTN7KYeClmneED5I3seGE6OU3JxAk40MKhhQ6rAzAIsSj4i37KfxEPkSVswGHvYH0vHbPOMVGCUskl62vm36ikS1rSeUIt0g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602227\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031435316489?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zzw5jGGpKX6YmTPlmdB4U0bb0cFch5P7\",timestamp=\"1773602227\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"R5K7nt8KBEEpiPH/OwSgzdmEeMfFSr5gEJW136wINOTmsGlt1U41ylaZShf3d6nZMNR/uVK/+FCnZD0aBOR8A7IKVvYKaHAvj5AdX0FReLKvbpWmSq1PDi9a0Bk2U1ec66/qwk6BYfRtKgfsPDrS1dy43K5cAddOXpfIbpzca5fXnmvpBGoC38eYuXaZ1TsHmkm9/NXGDHNIAEggDxihFhnEkH4fU1gRqqCpe6tsBNtAQdTjSzjwaYU9mw0I1K2e9bB7GjY9p2RfeAYvVTnJFVK3jxvbNhJnBL7KwM75DE2X5jPHQ+vdQtWFD3OcYrIXvuxktl9ofMpvdZ+gkm/JFg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B38BDCCD0610E50618D0BCF8AF012084DB3028BDCC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 551761cd3525f1be560c2613775a196f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZuZqI23uJDy95LwqzRcdGVZxVnQc9Ww8VnySvv6SzXffh7gUQ1s1PcLLcN68tYf/GRyWNSrMOH4eBMHhTPVuY9ctTDnRxO5YP07eMCytmlzIkXFKx60Jp8hCnls9LTpw8oiAnZ3kebpxfXsYToD0Kc76AZUQ/pRjY5m78eLZ0hITGQjP8QoAcoZFhhK1UKiF4hLG+90/fjYf5AbSh+hqdsvvoCK0NKdcNeCxKrW5Gul6xQick3xPRgyxc3IVSBtSZNe0ZiBrkmB+2ORqJnMwpqC1C1Gq5nulaTyCx/f68aMEEvUFqpKUXyr42k4qeImSAWKpRiHS80xKL3u1wDC3Iw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602227\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:08+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031435862418?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gYYyyquFUBgQ4kaxP3bLGOGFVxWnof8f\",timestamp=\"1773602228\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nLCz8cpBHGcRnL1Tm6Qn2nJh9VagzF0oBcgbK/6RvJSG13fMvZP7x+0zpUnJ8K08tyFdLA/Wy0b8VWult6k8ZEdYAsTBBGSNo/I8nAfYhzR6Guyk7O85qr3sNmq2Q8fbBnPTLqQdrRQVpqsAJHGwQChZq8gHmGCF+wTYW9mOWgHp0FhqrMbE8bk0AEZnHc+CD+C5fcP8lVGKuSVVNAqi7uieTmoF6zygk7Sglhwcx86h7lYwU3vEpuWC04tX7rB4kH62H8SgKV2mECcWmlMHeFYUwaME+1BnIMYLVbwaeItA8aBFiaksFAPUvLYkpAkWbwBq+GyTMi6K5Jnx+Dbqdg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:08+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B48BDCCD0610AD0218CFDB8C5820CCE11E288ADE04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: daeda41f4e797e1b54e662cb065c7c10\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Gn3tSqz5cLDKe0DCsHL5b5puwCj/zxjAe9KhMOeiCj/4ucr2IEX4GxPzUrPJeilXOQSppUmaoTTDRaH9LPGWkYcEIqMb2J61CT6Necl7XPUJWPu0Xw4sVagtzrV1wL+NuVqwXxcC79sBTuzmUhva28fYfhglnR5Kg9nKlQvgOd76r3krfYcUeopO04eSVHv1zVcDei7CAuOLsXnC+DzrQLu2pOvSwZuFInrttomsO9XLyVXTbzlx66HJLigMeCLqvvNZTzYv0E9RHS5rpArU2gIBGl4Ti6SJfZ0lFLUHCAhWY2S7ZT6M1WQnpfLQy2jcSXiEu7NMPoW4b+564QWOxg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602228\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:08+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031436404110?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uqRW2YO5Tp1yLdHROlnZh0fW0qx72V8a\",timestamp=\"1773602228\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GuueAxqmQep35K6ioPDV4FZSl47wlPCgQb6Cm7H/5E9vnyHQ/TgnAyshVBMckZduor9nenYda3rPrSLo6Z7lPMUy5XMuqi31wFBL8o4D4yR+AIullqKUNod5Lc6EmBcaauEG3egPYYShIW4nI7JORc4idTnRtGfS6SeDVaGiqH9e6Qky+5wSBS0HeKAVWRMlem8WeS+ijuy42nKHyMjvygOctq5yZT0TcKZHDa5Fo7lfOPupGXbLT2ujIBycjX+uioSoFmOB1QLPSIYd85O7Wlv1VcZCl4vjKI8TRhfMlbeAd0y6aK5IX5jKrz1MYH1tKjhWwFmiDYaZHaJg2MEZyA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:08+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B48BDCCD0610DD0518BABC8C5820DCEC2F28A58403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1c87404eb9dea2d8db81d163b1347d53\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bOR+Od9IJh6ctAWAqp69Vkteh8YCTjDN9c2zh9ehctaSt4aUN6DFix8P0IX5oiAQP4s03jmIP7TwqUioXRPhEJijL7aUkT31cML5coRtLPOJsWbJY8fqhhIgGzqus9nRgYgw5qaGMxKSDaM7v8PRa/GZDfo+YJfinw+fi2QqIgneyNX8DWC6giIMXVGSpALceB6siFgcP89+g0cNu+H+uj9ZVe2gDSz6EQ223K5I91IS3tdv2xnfR93uvY6q82nEQt+oOOohGgJmLzy8NbU25SW1PAAk3salN61w8Ur1TkH7qh9Gw/NjLKn3w8FKW0hBgAp9+M33NjQ3/+9t25pKsg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602228\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031437360866?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8JpcfLc4JaBGmkeQWqtxnuSJuk8Z1yi5\",timestamp=\"1773602229\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ACJAAN873TFvE0AX2kKNbkKW6saXCwrVs74e+77nE36yF1VGtbOxAzwgTcVOtNG3UoW8mc8FopxIVkbhqFvzPfzEcN93t+X+zMUBi6B4bES53j0tPYBZRmCxpJfMNYSz5u5pQHkFmVWUePTcNpCZwDgJa13+kLP02y73KqEGTkf5+q9uBaxotgC/FNC13VmEoHNE9vZskNZQD/Nb7SoO2xaqoYaTRSpeOJUthxi1MohhIcoOQSqOrAYLrWu+IYvRfP6JTKhwnrQ57PYmKHP3ThjbGKxOMKtM3Pwc7dcn7KkY7/CPIuhY6QXHGis7cQtWSBEU3RzyL792B6wF/d/Dpg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B58BDCCD0610810218BCC8C05520C2E82828878B03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e1f307df6ca976e88c74cd1a1ebba5ba\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ch8whfYY1owAKn6W1F2dZS4T/Qr22Ey5udJbTs+dC6CvYD/ekILB3z3aqaQEXAUu8K+sGYzijeF3eE+htI3cNLhhqr/n5CFpa6C3uHqT+jJgQ18QxC7HshIWbyOX81qu03uNlBbKHO/Ba/horpdvc9ZkbsNmnqjeNFvpg5CUgqoYQvsfiviWczyjBd/CjPNSGpu3/qnGapilJYNMzBRRHvkfWTdYbUmSoLf4r8Gcx0HqZi1WzWDuAyBmG1oRF6RGzBBB3jNBRdx+0QmoILVOYT3gpZNTij5xDjYHAObafDEQKhMX/6NhBJgjhQmL3of34mrL8W2cu/LxoHyJznVLRQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602229\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031437388344?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CxaiAsurJJsdqEi7BNMbt4WzjQEeYLiP\",timestamp=\"1773602229\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"59aPyXPcs54VzyRB1Lc05ElhDYWb1i/UXBJkfJljlx3Ak1wMSbDC4yUJddi3kEcFUj+yp0v8m6QfgIrq4nxI51LM9EMHSyuvD3LkE6Dpd+ksIcIWd4Ej60LAPfXB/X+wJHFk70SPoNsg5Uu/qtDYPCDx6AJzT6wZClVH3zbYTWf73P2LCYBOM9gUul53XdAiHJqjuDG2Zu2x0mu5Wx2CMvgkJuJkFfn1xjY+P8FZ+AGBsL6Df9ogQPvk9BJ+LQs5PNPRLa+BDuBBjFa5Yr/DDRs5nQpK4Vz4fWfe+rAqwvCMU9+TEfFLlYGr1Btt7Cx+lskkJjjOfozdthG/AViosQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B58BDCCD0610AB051894BAC0552084E20828F6B104-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6b2b133b8346540c5624faa93267189f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yejwneSzMUZSzeZ5kSQxfxoZHdyfKhHvZIdg0js2mj2qOxJdGL7cFKsyitjl2B4fQdelgZnKwrzeEHUo3Xiqp2w48ATwaZ3XXoEPNvNHJGTSaoFUD+m4SzMUooYnQMQhLYmQYe1w3I275LkAywfVIlfEtTyWc3LlzxvA0wKo3jjr5SXqZFhPypO0wiK52D9DYgbVylQM1VptKL2PzgybF6EC7wYbS8RRKxyRzZs7KLuyC+Ddsxu4YuYb2Az9XhPrjKL1dpOUBKziqMnnInfd/JPwFyZIHc6tkYXSTduat5b+Bf+S+rG+klZyD+3g1e6gkeeRnPutmK7ACl6OdmNYrQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602229\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031437983909?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1CVwAPJZq0dLhrzVSqNYHI9sjUVWSeUg\",timestamp=\"1773602229\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lsIkRB1Mxsk3KWP4UwMotc0s6oCHLH2Ow8HWUF2zDEV9y+HonPzLpFIhIZi+yxcvB+kzt9vbYa4I5b9Qrr8sL+bsaKox9ezSp5+zQggPSDy1xgHEQ7JxaKXRJIVkFasc/FPOrQwhV8mbI+R5xK04aejxW183Da/OYKrnnacFeeoWvy8tPzPNMlbQhPRcnDwoIp4LPoY3MfilAhuCWYu6+ouS2CA/5gcBtJs/r4uQkfE4z0t/XIGavWo2bXrltZn1VRWhplMOiddoUwO9ViZp/dNU+7CP1c9Ppkj1fpEBIELGplAd6eFyxaZdVu1Cy44IkNy+d33N151k8TMQ1RRWtg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B68BDCCD06104B1889D78C5820A6F83C28A2F104-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a0a91eb52a6e75ff3927b94f7108d364\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: x3k5AqMHx6nLSmLG8PtG8OHQAR00+lgYGJhp2UcqLs61S4o5rPDFSXPJRiCwAJzh8wmr/i7/9Cc7GBGKRTPJgY4qsP6skh5S04rE9iNMFSgdJFvwFtoz/6Y6YfH+RFYn+KCtq5uTTGJpOfBa3xQkvmXFm2iB87BOCbFU7YTAzBWQnfofC74iNzRoSI1TL+CaBF4j8iTpgAlICJre7k/FV01RTgRj8SPZVuhyVMVKJXE6I+LN6wHIiGpXQqf3HRGpASr4ayYmR+BWAPVqO1Lfniz3PXtrqVpP+Ba3+27pt3uUWBmM0zYZr5qWGZYcse82zCze0QJnBXQgES1DTurs6w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602230\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031437984953?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"p81J17UEERdQLDrJHgnU73Vo3OjMThTI\",timestamp=\"1773602230\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mN+7oKFQ+OBwQNhmXocnvwa5fKedYPDYzBVTSAlVQlcUjQgDfa1CkS5MlP2bRP5Ud/pOp/cJ1qRl+ihwpadpImAl+hYJ2eIXaaWgrBkxTfqynBbQJL54VN7WZmrhOWORJ4wIGuab06RcvxN52YfR/1M7lLGKM7HtwPSfF1rnuzQf8Jem9Rsg4aZ34yrNWnoa5rw9PL2LTyypWyouFmr78Sui5F+aUbPDlkmT7jGrdd2keCO4TYEWbNf1LTaV0aAxeyywZcD4QH3NuqD3GZsyAmg5BFtu5wUgj7ziyQqbhbs9ATyy1ALXEEDGbfAE9rutDJpU3whHVTot2qdY02Ai9g==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B68BDCCD06109804188982F8AF0120CEA91828AAD905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5380487672935247c74136f99a6a70e5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vt5A6579zwFYTDfM7l2cdlQB38MZrKmGRCSsXJYrzw4J+4i+4aYRQGDU12JEws9riPS0xGhAR5hTPjrnq7Yde2CMrZgxn44SPioxwUqYwYml8AshObWwP/iVL1huW/lXir04seGUR+cF5QhAeNPnVKtXaFHg5sYLXzvIbYfzZyyLAnz/G+ZSCeroXJEEP1A11WgaAAUKbxoLes9cnoHnR8WSLzgrQ0q/grZ0gNdezTW6Mz14OLM6JoT/O30EHVU1T40uCpBGAKcqvuJjc07tTSiyHwI2B8I0XH5gjDdAhlLKRNKhGtyz1qyAE4Em46nTi4GiJkq6qhcfqACC5+9HMw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602230\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031437805382?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8vT8ejckH23mK5Q7dqW2r1NJeKsitlYC\",timestamp=\"1773602230\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hhO97eFzYi6opYnVwrOE+6n2l4RqqnbWqv7rsgZEPcs1KajeNzkTsOYSc3kZDm+WzOUGkeF6krZhLRNv/6ec+m1+4MdISlAmLSN8WGt3TbKvo7PaaSx97I2ZZ3Z+IeJLlZWEi1TG2TY5HEXFm291VZHX3IKp2RY4uPx/5l+mL06cZSmG5qbFcwhuLRmz+WUkNzoc/zo7uMN5lBfZs61iSUWRGdv7RjUVwaJxfMEwczdyt0h7q1gJNcxLPgL8FVGICuWWuLvfu8Hw7IuZ4KdFSoDX9Wt4gRGStwwp37//javewV/0Mrf8q5bsCIGdPkWMaGCcZP/My+1PEhbLwd60FQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B68BDCCD0610B70718C697F5AF012086F30B28B78203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: dfa730f17eb61ce76ad49da73fbd9ae9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NtDSqikGC11v8WQ0rNPCyW00DShYS5L0mvB+4aZqyFrK2rRL3Zdp8hEFvGGuzV1Q6ssFbD3DLBl1kKQqsQDfcIqKj0iXq/GNz9s6eZK3wPKEffEc5lT3XekrN025JITKYwoKiEcWG03tkm4J566Ujqp1V9x5ywSdlrcUDWddvvMtL5lGavZmt9N8Bl0y/vfDxc53Ig0JRaJzod0l1HXMMnpwbvEiXgfp7EiltZudBsVqMsyncyvLf09T5dqUiJrTByfgr4cAdcEW8wTJZkd0q9lJE7Q7N3xpOmNMxebv475PDBgg/vNa9EHSgYnk/HTL+Fduu2LAgBCYMhMNiGktmQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602231\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031438807555?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yM8ZSpfwro0sqOoOAQ0sPUv5cuGsZHKv\",timestamp=\"1773602231\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"aNd8aoDYtBcaIxOLou9xkUFCZD2RPSf0M2YVFmMZC3+l3vmMJQLBh+ckAfCg0daXL1gnGGROzwJtlB/alMeo6DrSybJnfSzGMdCTX12/vjQKfQi0Ew/Mlb2Dfy+A1WvNA7cq0S+Gfo6IgXlzle5K+iCuEXfsbw7ALPq4He0zRyNgPUU9e2FcBihRnJcHteCnyOqstWefQKpp6meYq1P0s+kLBC1A20siEheZB2aYca7i5h3mR9950X5CNgEPDrzhEaMeFbP2UKl8K2Dt+Uwxdcs5Jw4H3W9Gwtt3UlCW5A3NRuFpB8FNvCBlU7jQEo/FMC5wF7teRu6oIW+5CHVlVA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B78BDCCD0610E60218BEB1C055209C82282894BA05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8a919ad68b8e620c6cb1c4cca274cbe5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DFML//0ESTy8/OFjc6DhdZ1pMqcR+VZfmFyHnj3/yeSow5wGE38THQMiF9lkqz7rGVZ9XK0J2Ldt/dV2iEmYssVcRfXjWsZmmZuaDdsLDVKr27x6rFpHZdZP9F3cDfL0JOEDBS20Cb2w8rtILuw0wZh8MK8u6lZYWc7JTDMdZ7DiNp68Z3lGHEVbJH8K/P/Nkbqjb+StBlo6J5xwPxtSqo+K9lzeDGaQlpHVVRzD5feQKK+yvu6VWvR/Jq0LK6qroS2mPy3+DKs+9MRqxLqtph4VmiPN35QOTLH4mwg2P49DjmOFrlMVM6RN5kXOYYyKK6EPoo7jl0zZe/rNUMJByg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602231\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031438686558?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"N9qaOUXmkaiTEk1HCXbP9drogPtmpphf\",timestamp=\"1773602231\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"R5WkWzc9QCMdh1ifSJ70kwiHjqaVSOg+ucVU1i69T5rBdl8kz80SiPnweCocc2pKtT7VAqSmtZ8i6TwuICR5yFKWGM31EeQX7pnlkPv3X9xgQPYBJ4CS1Nd0Z8sgImYxz+SjkweUnaHyYpOMhjkqy0WZDKXgwIUBBPxM4i339Vqp6FyG3ZB/p8vBMspLDI6HM7qe8dfD7Rc7d6q3+G+mc5BNHZlKIUiWWx32bQmE/zSX1Imo4TPVpSdZgu30FW4q9zDqddlW4qqvKjItRBo48Ee3M/WtfFPQ8Po4rBcB8/qKe/irYVBKZbAu6cPOct0580HVA1t1PUc9VkGaO70f0g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B78BDCCD0610D30618E68AEEAB0120E4CD1D28F98203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: bbede8dace908171689652967db1496c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WKhDupdenTxPTj5JJ2chtbM8w48xRrYb3W7OB9YYt+O/55w3KEoNOx6T77wnvjZXDDZWBsfKCSGUvGmRgG6PbVQTzbvE9UrW6u6siaqxWOIBzCPvGPFuXAP3hJ9vmIa7qal1QyrL3wj6SYsaA4C2eEJWLJCXfX4SAQ4EPCPztN13BNPLT3wJkAvviWO4V/XzWQs4unjLkAV0cLc/kcF1JXXbh2E/tF4IthiyyCutRK+z2HPTLiKf863ncjq7P2lSD9Hc1mr0wJxx/drjYLdxCJuZCaTIcZ6kN9jimgrqpUGZDzb4nSyHz4MPFTw4MUGw5HgMPcMM8H8DNrHk8NwtZg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602231\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031438054821?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rvTPWQZ0YZhyEuhsSoAjMn3XWdHzrsdD\",timestamp=\"1773602232\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DG2eWVDbKq5a3g7r0x6yWBxnHTViaWwE7fwpUoyRwPGjiRVG2VlkSoQ/og4thg4nHUlbrN6exan5+ssW5kmLjN6zVjtcndUkKcDHrNR8SeisGsadUOzwloHl6djcTnVx5Q3NaucS6qBS6SfcZgD+fv+4Mhiz7bpqX3J5kCK1l6mStJc6hQBjlyLqIhihc5Y2VEUNIMBB1EWQB5gAY0RnArthrEvrkfn/Lfp39mYtRlT6Ar+E867rkoAHJcRQ8IDoDvEbsgtkijByfDo9KFAo5tvbVSVA0qAP9RxnyzZEamEItszdJ64Gmg5AqpN8XFsuQrG204ivn+xGJ6I1vsbDZw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B88BDCCD0610910218BD90F5AF0120F4B80F28E5A505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f6481381a1e9ae654459f1ae47dd0dec\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QWztEx/SJbYPO+BALNE4vLecIVpyyFUiZctzwg4XWGBezMjJ67LUPZ6vuB6hOEjDJFhSf8oYhuNU3iNj8N6vfCe3iyq9EEnXe1m6NzAF4QrwuXgPmKvti8HRCGS3Doy6zI/lefmcOPUt9Od/v/7f0G795lA/uHbEU/hqchi7WkBAwL3qS6Kta4l4u5O+8dFaEqAocPuBTzuyhiBK8FFswDGxC7nOlh/B+/ZgUK6uHOupY4O/B2mduw4W8RbS9JCv0j4xTxi6MRbi7PnC/QBceoRRGTD4JnY6pL2Lo5JrGPu395++IuG1lj2fei1sCtuYVOFcNb1VY7JifEuL8iHr8g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602232\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031438088769?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wRHCQgc5opHgwVTnxkliDDR9S1hm6jij\",timestamp=\"1773602232\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yuXFLXRjM6Llq3LH97JE9DNioi38QKZ4XxdfdK/odj1T6uMnfFnaJFh/jzVS2JrEGm1lr9mSDOgCr0LEBZYgZWonMcydDTgWCMJPA0YI6JVWNTLvo7brnEPgi6UNy1vnm962mb2Zf7XktucIYoPg4hfPiUEdlywlHWs3sEOs3FyfFbqoNXszPwzvCkhgbizeN9FTUZ+Fqs266WLLGEwv1x5GRXoov31R8TD1gCH7t3ZdFbyHJBj0javshs1UK+72XKU7oOIo011MJ3TX2O0TIHKQrDKZ1pIRw65UP+GrkoXg9dsUoravs6KHgjjlI0/sgM7lcKccLGh6I/6gydY6Yg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B88BDCCD0610C80518AAC6C05520FCB406289E5B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 43512e5dbc9a0242b2962c1ed68b16fc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LEYK5BNyEhMd/bYgeEBKpQtnMmFla9K06xLRf3yKxE40o5m1NDmU+OL/8Jv7bnQksk50r0gGK8gB+x/pbjVswt2zC9RNH2oLxAMeppXFb50T/W00H573MS7jwkmUSRuLCostGo/4n4xVEIXbBLYmM5wNWifWQnTPnsrb+G9EF2i87zVOMgmFgjTslGl1Qdzmkf18cm5igxeFVfzUTR1a4AbSlz0y0iJrshXVYS7bc054GGIWCQzsk+r/V+V+5jSSzsxlrdKRpHegmhlhYx7jSjc+JBH7oIXEL+RlG4jaTCwgmbvYNBPagyxzIfD2LVijqItWkKhC+dxNB0KF2d3jHg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602232\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031439614765?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2ST6WpOoXVzEiFzhvqMrj82AdYzWqFd6\",timestamp=\"1773602233\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DnW8/K7x7BDOw+4jnycpAZt/kHWgSOVPYs8f/C5RLslUFqQqmo15XlhhT/KcLIHJT6JBS3iGdsX8jARAW4raRQRrsuJxe6ICMh1tQn3MZAaAvL+xn2+a5shgvvhOj4km1ELMqD7M7B5pBYRV/4xhvcewqaZ0xUF+1jRlouDU6IW7Wz4RJlf1MgCFrx1wuoTC8dW8detcCOI8im/B+poiHDWJN3EAr3k9KSGhSzllueSbg8H6wIv2nilKbGLYqwU2jjoY9oZzBfwdWhIot/ev71X9SC2f1vPl5159BmA+bOUu9nMP6ZCnAH69ThjPgVPAHSQNM6oG9vjk1mW/nQHjdA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B98BDCCD06108B0118A981ECAE0120F0D20828F89702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cb888f37e61b7ba7bf9ce169fa16c7f6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: h82xP1DL/+2PfKKVlhLRs34DbgsDxYk0xrG/HcVP3/dCS6PYcAI6edf8xks1WvYIVGbXE39mipzBOysmuyhHGMko3KP2AAmr/Qn9q94OwMzMtFEXUftfxegYB2tjeLQEPRnyswmfJYnKpr8NEN3nsi8E0ebJ9CP1svJSowQGpTlAb7qrMuTFiiIvyboOUVEz7p8TKY5yM95ysrKJ0JecLuMJOT1x/e0hom4FD1XnHCHKSIxbm3rh/9jA+bk4LXammgCiglJUqbJ32OTQt6YBab4nvxFbRBrufrQU6btQkGl1Y4e7u/3OhSFuIeIvRm16H8vuuJkTokOsFaldIAIsUQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602233\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031442967865?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6k5Xe5cHFYtxkZxBWlOlRJzbtr16zofI\",timestamp=\"1773602233\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ktAPVdJf3XM5JnwVcratI1sfWoT69O3jq/SKuzQ+9BZYHFd8rOUH+HrJXwL9uQ5UkBXesfbMGx7NzKC2oK3X5KMtpVRYhSMjNW58VgT5pMi7UDvkxE7HfkykJj25E+CDRHd5L6GlqDJnE33DA9R+VWSoTD1nJaSs6gu63+583dRQeeBmgg5LnbgqejpmC9/MMqIngMbnzf70pRPhlHNRLBgbjCJTaQ6TdL8uzBPlH204cs0oPuRdF6y7smocsxXmXxLQA+BwI4fH9AYlZ9BUdR20IV2W3cYSAsev/757Zcoh/br540OVUI3GVQ4SNmJa+tVRoDU2WHBzAulHNHHDUA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B98BDCCD0610AA0418939085AB01208ED80A2884B001-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d6439ea71227dc20424020465797d060\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: G5kYmyH4VYFfaMVvzBXaBOAtPS/RIZUb71ZgV6JqD0ltEVAckyrfjvtYs+mnglea9KuITuifg56V3gHFPFou59fjgtp92MTXgj/Eh6bAEafzXZUjMqnAwDUpxg5jps5MZKRjPR7I4MDfpmgvL9hp08n4B954nwlbaSKlK+Pw1nzCV+PGQo1ypGlhkri9ZX4ZJEmMVXiJsnzcRr7F52bHoR4IoNsUnZjB/AMG7+vuG1s1wrDVwo74vJ2h0Ai4gWgBXObDcDj6frbjOrGg0jNe1f02WSttfJndHYkPooVECcx1c1p+7XzHgwcJTwq7A+z01yqF5K/hjGLQqJuIoglzbg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602233\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443761465?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PNcyG7md08LRSNJXnAem7iPSMsWLlEBD\",timestamp=\"1773602233\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"aF41a6lUzdmVUO6hmsDiP2k3O6DaoNqT4s7slL+56ACAJZouztjgpVykbBCbZUI+gnN7wdVi+vWUFBWNomGcM8UB+bHypy6caYFvJpGKBbd3VT+2mJmjQmpLLr29FLE2DEACfqgP83ODNLbEUm746XxMf2NuNliNJPMMn7+AnHYidxyiad+H2pR1E3hkZnQr6kM7PWpFThBjcPaeHRR5zX60kZyNKTb4TB3PCVrOUvYh5GlbopHtlAW1iqEF7lT29deYZ7pQ2azclJj4oQFUQerBpW0O9Z+rWyc9DkSsBhWb7DgBQDdu5Nd2C/FTCWrvSOBMh2L6VRsnIwJWvkQ79A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B98BDCCD0610CA0718B4CBC05520D6B94428B49D03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2d74af8227e3fc08e648b7e22600aca7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Q9y/UIpNZXj0vj+wdAIs201cRGJuXUr8PWh3uMG68LRTlh5uYYUurxjAD0uYf6Iicx388avQZFCGQFcYUDcnCa3RYBg5ry0/y1bm4kEjyFsrzi1T62Ex9vYGZkS4awP+9WJZPwgOkpPkLhuqOcffQl7c3T8j1hoq7dGhbGIz+x99OLJoPjKvKOqbN1NeTRunjDsfyZvzFiwTN0CnfGJTjVHN+DURfezynDUSXZ8wVSu75HNWVtdId92nvBeydJL4KYL012yMh0nTzStpcKC109+9Yw9Eqeehf+XHRhpgWyTPdTRilWwmLKjdClylZs+u6ElTN+n9nzVZxbuMC/wpng==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602234\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443443769?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rDra9GLqkqtS3OEAw30paxWnzlaJ7jHf\",timestamp=\"1773602234\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WsxMRd/wv0MhpiRg99vFLvlbaxFN0y0aEUDImRc/R45LpjYgmNfmTtpLHucZyVkflP1cTdGbfOQs/0ARkHsiB3AD2vw1EHpJGUyn+LSXRvudTE4uH3PEXoX+OnfmFt6pFGitEXbquShTqAQ8g1Ky1grz8811J7sZ5fMbya669h+MQLrK5RQtenhlsZvS1F81WYdiHhEC1fweSsc4hEPo+S8E/QKhGLt/6FA0amgk0d+GdKz5PNSK9YSuddM7QLjzz4ie1P6NFvaWLODvH6SQsyqG2YFoDDRI/TomaqMUFJk8eppAbcerAiNqZ3QAlpGEJ+zvdDbbrK1rI7m601n11g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BA8BDCCD0610B5031894C58C5820B2E50D28F79A02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cb7f33cab3e2f400d0741b6adcbada24\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bW6pa6E68peucPdbzPqaL5I1dw35TgXgPOZzeN8TeY8hdzZnszFijs6VImolpwN16U4XT31GhQlu38QZWZnuSe3lRumzvWXV82MSDhBoGNCvdc7XT8j7Wo7C8D7+jzHfCV2nB4BdcmBR4EOWt5cxk+mg8Z2d/o3OujLT8UQW74O3zSNpqj23oTbm8VjrTKPrVHslHwg5lfiB6pnokjgouaAHWhIvimHJlK+G220dVnIEPwH48oA25V8Ox0HmjXEfB5/tpmU5RZYMKWMmi30NzlbK5WdgWPBIy4BX7sX0/Vzqr9vU42nfDutWIYQoao/yvLXJv5QBkW7xG1HmIgEKkg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602234\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443802959?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bS5KT2kFSG6OcLXWsZzcBV9HrJNfh853\",timestamp=\"1773602234\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5fRhae6MR41ln5nxmIwklCIkSWw9mFU95NNFolM8BWjhq9SraI5ktfg7XxkaOJkhozidf+IcUuBoaYRt7BXAIr/fAHk+yWRZTZt1GsgfYf00YsDBnfYC/L6Y5243lZVwHef0Fm3x+z5ldbIyHzz9MYt0R/HQZvgorn/vq7kOS4wlLm2jqMHWOSYPs4bJ++/VdvLwl8R5ncqEKpjm2Sk69pPVCFlNlpPCR0uBvtb+WeupYl9fvbB8UpeILspWn84Jrv4V2JadzYn40lVprF1xIY0AwnPmunAvfCuAPeV29my34KTmliBzdL2hNFv/K4YjUIEdVd1z537tlfCgx1wXMA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BA8BDCCD0610D50618DDE7F8AF012086D9072894C904-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9e41ab310f95aca212b57ee4ce1fb3f9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kLEyUTa0ghNy30G6mR3CRg43+3YB5J1rTZmjNSIXUjFyj58z+fMuazLUHVtGZcpPRcjvZMsu3KRpnrIQqSm9dckYQk5AJpvVQDGrPDxgSazh62rr2HnxIj2hvpVcCYN/MWxFZPVxK2GR5Kv8tKpuBnHYwSbrZjw37WziKJiA0DbieqPjYuU82X7De7A6JB3LWim+cYBA3uKnl6aOsGH03dCC51Xs+Y4Ufuas5PVyT/++9OHCJB5sppbTUixSAcpx4O2uUYQ7q7ahCMVNovHqupOzzzTHYZIGn08JDpVjUXGUARXBvl48Nv1/m6No87wt3lTTdfqAQWcUEdb/z9T03w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602234\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443351158?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9yEcxcrhHio20xQ5LQ7sYdITGRn7dHj3\",timestamp=\"1773602235\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pj0LOtNAeniBx49lXTuWkFBW3mC04MLQiS9ChHbhNnQHQIC8QFzFLvnBVKRr+DdQPbec1oLw9XbdNHrOEqAvhsmi0LHeoIGbAkb/XjWzO806D7Mxbs86BG+3wo0+T1qwgjeOC1jbM2DJ6xLwqQYBBdzYjcsl3RhmKpJYLI/yldk4P1CnwQDB4FIzJLzb10nPOoGPq0apnOmHyUfwslWdWkRRNluATrolmhYpVxQYctT1kp1OmW0WWz3nvYDGeua950T+LW3BLlq7CFWHuVJ5IdbXthDxN9B8x+zKqwsUCh+CcJQdRBc9XVyc+sv8ZHi30Y02k3/7fKhxxhrEm120Og==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BB8BDCCD061091021891D38C5820AE9E252883FB04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 18772e5285715f75109688f9e18ca349\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uYC6tnS6rk1hj3iHFazUEjnb2hIcytOrZ+qLMEQHv1cFGBzPpRWtLwb0/uvA4Aw7kR9VF+XGc+U1/MCq59eDlFsBgV4nhjw0qGjhHrgXgq0Pw7R6pWilP9Usi6z/U3ZKDr9E96ga8p3RTw+BaMLmHmMT2n5klBdfYw+xZbTCY3BDZs4DmEhLCGQKxtN59R3t6qcMSFDXaUgVx8YQ1DslBPZ3TSVyi0Bsk9DMjCShTfSxHDPTGFjIr6DLdIoZ89/lRsrnBOAv5YH+qVVDLWbE9PqpJVjd2YC+no8vA3DICRctSJBeGqBY4tv3sK0yWCqXuj6JAaUF3O9wSisOgCK57g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602235\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443853524?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VNSkJT6mNPZJAl0IRRCFPF15eYqaGBtU\",timestamp=\"1773602235\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"txw28SZfnrfYPC6wpwpLpVJGVD2L884m29WT+BUOWuV1860A6VbicBp26IIX5VGQjKhVPKSSuImoGNJTZDNm38UzFWStvF4/1VrcyE1rt/BYxGQyLDAzYYw6v3YE2rhKj4OhK/tuZmGcyTGXpzrsiSkvqChhi0Q3QZmtQ0pYLe/h5DeapW3vTK1BtTW3FXJAtJcRiTT92mvi+4snbPIN2uTllWl4GZkn0WZXItG5v2WRRL+59S3XgbHcNFC5HhOgm9vg+4xRVBfPZkKA9jOb5YpTPaTBUKIkC7Hn4KP4KbXCn/LjQl83RYIzCuKCKexPFTTUB107BATmj+y5n/p06Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BB8BDCCD0610CE0518E8D58C582090F41D28F2D703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d7611cffcfb228a7480f92cfd82dae96\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: taxZhY4l4UTxkXb5ylIeSp/pt3mnDGzCW23ZnDIfF4LjKPhmOeUul/sQSpxqnxG6GI4E0KYLz5q93Hprih8a3ngczqu4FIfCoGYU3+DiFhQqN75cnRFvy22TrsYTpJLG+z3w2rHlFV5kDFL54yOUVdb8WB5jE9/Hf5vDZckESucqEK49Gf+cZZGMY/FA9MiqOEYSUlzBf/s/hDMc+hhhmAqi6otdvD4xTPgelZ/edbNuHmbxKojVptmBwRx+CGXTiorMOfB9rjl45S0fLO/rPeC9RDT+N941rVFn4unzmYIRXH/ZNwBPSEX7Hxx3ZaZpVH/0XGQHRmyQwn31EdXUBw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602235\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443580454?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cE3m7dXk4ISZPD3VQq9CbBLKKEQLfDbX\",timestamp=\"1773602235\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EST/sMnkzaZDtfLPn3ezp1KYMKLyOPi1kBFR5LJIPegBc+RqODK5JW45vhwcuwO+P66YKmGPDAhvZz8KgTMZONEwOOMnPQx2RUzzZlFdjZH7ZGO5uKyS5yEZMT3ypOjxARwYntFNEbHMyQfhP0BqQ+hl041HsAcctvAildRAfqvIztdy8TM78SBQ4ldnclVpR6mN7PMO0Ni9LG4EtLH/rgdqJgPbUWyh95NEvPW+xlYJZskEYHgb6IP2R3cTtZYY75RqQq+WJirVxECNrYqOqzZsryDW81SSii0uT4LEObPqy/4hp1EAJ/zLk+6r2Hgb6Kiv0sj2TLtmi5qvlITlxw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BC8BDCCD06107D18CFE7F8AF01208ADF1128D315-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d208f9d57dc38dcf1b724706d0484110\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WP9mFWXabD6HvvHw4Azb8Uz2+DpnN39dDnhNLLP43Ho2fE/1dBrasMBS9Ii7ZMuYbHo7MZF/uRiD8K96CTm41ZpX7wy9KbXaI59wynJCcfu+z3xawd8Uck2M8abQ2K2IIEdpeCKckJpXUlJuHCmJbUUilCSnUa0bfXfE4doKEQkLleTJS0ln6k0rZMty/b2QzI1GI7+7Yf3pGTkHKUoRK5eZKlraFjV7clb2vgljcwqx5PhLZWqALSLw0teAJpTLhpRkFQF/U4kk2Dcb/JaySw12GFDpe0sOVT6tnArlHBxHcWWq2h0V8LnxpAbhTtdvV/yJCjP7HpZ32yWaqNoFGQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602236\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443814877?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Vl3v6vhbXFxkvjUZnjrfvSoxbZfSrrnh\",timestamp=\"1773602236\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Lq90QSlAb33Lpnwp0+mqRppcNExEH3VgLD1/kuzrpeZT/iI4uLJGsqyXNVBKGArOwnTj6sbD6YZ7GayuYkOEEI1J61PEA5PO3DBDgGtBFlpu3n6bf3i2PbDxHIQUOByRxSwapp+Qnz9VyzjBHE3YppF0BdxIyOY3PAUlECKLPfe8GDujtOIELEbt7urL9ZgWWAEAIGg+7kBZAOe+Nu6hyuZw7VEgysiroT4Amhp+pF0ztToOOquUaOGz3R6YNsU2F93KICX+nI21qrHF4C1gjZtdli2tH06gP9wBszaUZsjSOxRUjkJpXVfvfsxUuVZSYTDaKy6RwLLdQ9BUg42Fhw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BC8BDCCD06109F041894C58C5820909F0828E9DE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6e6c2a964305309b85aee2d41042d0a2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DfhkniHYV+FVM+PpotTxnRrS1TfTL9GIlAI7/JvDmgtAF/nbzsOQT6HXDPyqdpbJLvLhD1H/1qTkX/yP9rcCmtn7tPEr+Se+jtM4SKPIPFl3O4IxPv5Ur7zMGXf9I5xOltm/Fcv/PzUM/91O17OX8641lMINfQFxw50reWBYVmmhmQyUl2ZD9292Moed3WR4SeWTdAx8jeDz+Az++jmsw5a9yh+dm5Up6KvOBaLPxd892mTrWiZC1LNutSPl4JxMEz+Nm/zCoM4hYtyD8yxCYPQ1qcdg+KPa281K7b6MbM4S+JDz9hPFGPWenperIjz36vXKlYSNIuCXjwt7HpXkqQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602236\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443394563?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lQpJ4tHpXuv6JApvBA4YByNXk6KM15bf\",timestamp=\"1773602236\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RrB+q26Kx15+vH1zFCspiCisEoY7ddeUl2lyjiSqu027r3XHXiM1plfJsbyd670m7jE/01kdicVfjsT8ubSOBNe8OUnrR4dygteZfnM56M23GeY3xXupbwgSIij9ckW08Lnh9sn94V580B9PfY9NGXOp3Jo1BhEmLWyJuAcufJprNeuoNKcZcoR5zWCZ3/L3Nf3sGBch1nDOcF1qRgmprkrSf2r7TfVqOfvRm8C88L5KWqE+LIPiM/qI9J9C4H1LSUqCly8y/0OPl/fQ232yzNG/gpxkWltmvKcSqhue6AztzecQNE8SvR4fJ2dbaNx5dd5afTEHRVfd/dnRTIbmGg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BC8BDCCD0610CA0718F2E4F8AF012082910B28C457-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 92db16e8f19da50ef228df23ff7d1102\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eqq2DQhPV6tJPaojPgrhlvxhESZSZ5f3X7j+uVqixtg/kPaHbXd6RYAzLuEWZzo8TkwR3AO0iu83V52/+zYVnNzOT0Vd+a2xUnUoVWtQD8tts/J3HQlHpPdOOMafrUfwly89iJsQfOQ+wXoaCi6nJ1tyyZRtD4xETLpvcON6zuWPc2TrFyxwF6Cwm0ttLJPGPs6uygt7+tPMyLdlWWM0w6sKsgN2EsAE/3r2CEmMNfBO7QYhicmyMxUl0DIjdxZsJ7d5gPoy2s0tuF50GTlRenq3KseaVZZmQIFSLcL2BQPY6taGBi4ZmXEe1XdCMjf9qBR8ZYx0oIPuApoV9yxdcA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602237\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443090992?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"srMBYR1MQz0KVpS7lBEyhr9klfTpOQDs\",timestamp=\"1773602237\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ULTk9MimDkebAUpXfFx4Qptp1+len7rkT92zygEZJIUHQh3wt3z2ZaXEhGsPEKMBPrxpiG+bZXl1xHH8cIpRcGx9hww0VQDrcU7cRmCfpHAeUxv3/BiDNZAlFJHE3HlM9rAoiuhdSr4g74h71nQQdt5yQCganqP0vJXNftyGHzlvRNCSoPflgGccJ+7H/DGzsjnxroCz2DViuZ5PRhZJLawu0nLSakqK+Jn8x2i+UytLSc2Cy28tGHiKPoD9hdRxwgsiw3dlSl8i1mGR5i7Bv/njGtZny1jSQI+4OwCa8+Em60h3G1Dc2oGD1lau6HdJ8E9qwOSXCht80GjlKAlbMQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BD8BDCCD0610860318BBC8C05520EEE92728E0CA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b01c2fa8e833fa7765ce8c6f2f2a2c14\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oGUKQYfO/uQBisnb/s0Sg56/s56e4A8fJcocNx1GbBDUN5UhfFK14wmnXAktg+h9SmiRKgCfkuZVaKUb8kMIi8jgxz6G96Kv/wU9HzAz9wWfiNVIb8Xvrk3j1YxdsIHfgnS9SptFwNCFb7mgKi/5JoesccARpzltmwtrhzs3y0H5wNsJUAN9C4DhGgp3LDWJAQQq/eyBaYlHFOV39G2Aq0kCyoXc6LVxIrC9llufDAaX53XedOS6d6q/K6M0AuMqFlCk7QydIdqcO388mfl9TM9E34K35w3uUp++ymT7CiuOA+cK85iBfldirIszgju5pnjJTdBU6XvpqZHS3YVI2Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602237\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443307244?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"i1XvXKDZc68d5WiBS2C8OlKE9qpoALbw\",timestamp=\"1773602237\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tnVsvwJoe6iB8+meg4ixW6MB0LQHQbNmdDlSmNJqLTs0UuYtmgulD3tpVeWLGl7HguhASLrhsGo/vkMqHs2i1YQQo/siyECMH92tyzHIbjaNzznCr61ro1fy6R1THu+UGFbo1bsikRi5wd16bzBjUhJtzAgRrZgZa7qfcHAGrTbZkDeFMsRT0C1eDVHNNVdp4mg8DhqjSALypB8kcoYcXH1LQhF+Is4yaZ5FXDsLntQ7Yf2OdkQJ5IgGEdOaFXss3CPTw84PrEXb33TaUWcAqr+bO7ZfgQtd/Nv9Nz6wImkDxQJ/HePBPOsOqjRCB1V0O1QEjddvF6Ig2vpTpDbiBQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BD8BDCCD0610B3061891D38C5820F0C52A289BD302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b85d722ef54555ead0a8c997fbd11e23\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RMfYlXXvLnY4MPiyu/J2Nni5ktGIX0d82mK70roMvEW80Ugu8ADoAQ8GaldjUVlGF+VddqZVXJgq6jXCmm/t1oz2d1sLXtsDG/u6aAPNFueB7qFGpdqme3AF4Z6/dVIKawtirapT6qD1d1RZfC1Q0hIwyRQDT9OZlsbEInJae59g9qLaQ5GA4lTlT+wXQyX6FJlN0OIdFHAU0t3RaKUDQ2WCOBZ4z4eQoe5LDzz+fNuqajln2VMzbMgWIbIZKts3YZa6nc2Ds3TqIYbewY/+l0EIdsoD4RNkkrmAVEhG1Kof4g3V35qxiyZoponRtZrsNHwNb90gVAfg4j725iRwHQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602237\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443999907?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uQv7qIhOO31Kbidvu0VhWWKjiYC9cEVh\",timestamp=\"1773602238\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YpLLYWOTlAMvOtLmD6CQpIPduswb7adtVpfCZ8uHwhvItSJZQZ4vr3Jl55jnTcri4gXfXvH22OpMXkov7sjPfwhP3Y8EbrKk6V3FCg/j1NUwWBA1PU9FN0RtmCRwX5RIdp6eMwELhh7Dr9PBp8QCHWvXIlRQ/Brw70fD67IvMBY3f8Y/A+rgI4Bt62LFkM/6YogLN+CpOkJAka9ICdkVQEfU+E62Cg8h+149HAR83gZKbn4AOBiQ/KuTRxeBXVscHFsVsS6YihdreXPzPUTXWlv3lVmwVZmz5+jYH807EN92KgWjI9QmsnLvn8CwzOcxvFJAqyTTT5t9zq76W0zXlw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BE8BDCCD0610800218D4D78C5820A09E0528CBB603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cdce45fda01a2d229cc536ed76859a5c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ocEzQG3pShFidLf82vVjRjNfNCN2mvlCQCt/e3Yl7w2ZVrGASBk3zvtl/jV64mX8cPxMzahZ7jGUF2TNhn+suvNPEzljeqmWZow8PoXNZv5/+zOIUpM7Xx/HVdrqAdDB2mdpjLRdyvE7DIbQlWcyuH3JMUUxfV27hnFPayG0auJkZk8SLvdGtP1YZj8xX5u8hcf6a4kSAxjpOimNsOGOzGhkwIOFJALnVhvmTQUOepCvj0gElB0mCvE5R1IuEfYt5Dahw/Y/58Z9LLjfxj1C5tjgGGEWV0dogwHLch4hN/p2vIeplgrhJD/3wOXW/pTYKJV2zN9dcif/IqurxDLcOw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602238\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443219497?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"30O52VWQ9pgmWYggcP7tmr6rT3ayZoJf\",timestamp=\"1773602238\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"d7+PkDqdXbBTKPgn97rXqe+75x2UEUwbnu6agTnD/MEW3enw+YOXFKfToWIbThjsxHTRfOBEh3bHKN+AxydCY/Zn3lhGsDLvWqAGkIOr3Vo2xgzAj3V1txYUaioNYZ03k00xdBgKD/FXc4F/SXpYJRmxM0jVtxLUYKw3PpkUDE+JWJR1B7WEDCQ7PN7Tc3UiYy1nb6Q70zfjk1y5vCDaLunKfD79fwdEDepBQHHZbVeO7/2Afu0GhqOwVU3YW3PkZLgUYiIVs0eHz2rmEdnjxLypXvReOtwo5HESe62dc+eTtusOSytU5IKMZ9mpJU0OFRhZxFTIFsXuMJAPOl/NcA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BE8BDCCD0610DD0618A2DB8C5820B8C7192884A202-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0ce2f9223dabb0f58817669470375ed4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UlX8UCSa4kTgkosrSVrsaaCSbsEHZCybxPt9b+wKRQsd9YRkFUoLACJfIOyrmXlvjeqhYDwaA3+9dMz9I0NcY3SOsEu4GymQT1Eozv3XJTXMjmsHWcLrL3EEHjcn1AuPjXyb/o97q7fPfHFYHrtbS7qX0wY0up+TQL++BfA2XAnPWpcZ19CFyJ/KAgSLWb5I2Yit7j+ph4gg3Q3ew2mupJcOfCIabBnyUBcJmvtnGeTwroMVYjAHumu69ZDVvfaXDJUuFUFZcybceMO4IL5AApw8Ygerwd+pUNGwNoc2f2Bcc+tXyebkBF/jqk4Bbsk+YFqPhEme5dNDEjhuQWUBJA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602238\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031443399974?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ycwWqDKjaoY99py9mpAjKy1e75TQSYVk\",timestamp=\"1773602239\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"duXaWmYQqcx9OJcsNAkiHiSs+aR09oSxnf10Ii2e+kdk/xss4WTQWGDXJsGZEw7XGgFTty2Yl1om1EvuMTV6uvfn0VvNkk4lrLNsgnD6L83MhxwAiNGEMbWhoHSa67I3WH4B4q+hMaQHnGlelazI6+MCM6kZfScmNQXoYsDrWKdJCNfx3t4msrSpQE8MOsCGzfXs3RTXCuuAweLX0AblJWAeFla2GppmOdPsWLzYh9tDxNVAGeV9YO+zohBDj8SBOMiuug2pEylQdGLGk3qJWEzMDh4qNBCOW452chOsEe9Ru/jRJrRazy95KNv28IEQ4VsKnE6F/Snr2jLaddNsAg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BF8BDCCD0610940218A294F5AF0120B8DA1528BFAB03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 16f59b93c89be03cb65593129e93d863\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: D4r4fPq8XKUAbKsbJod4A9NCNUJfV/UUv2Tycnf2zuvMJ610OI7I7N8V3ybPTn3HYBNRaEbdqRp2AywPIUvC3GZ0F/v1ag7FdamwOo6fCYSkbpbNftxGXUBikcGkwDOKbO+pqKL8G7UuC/PyV/i2spaYDnQxfzR0w7+BYeus21w6ViB2OL7ByrjRqjsuYV4tchsf9Sycum3A+PhB/pSFAxyKv2tKJC3eS3aEDMEnyVK+wm51/YeV9lEtXi998ACvcOMHLwEZGAFuyUe9oMMv+DFIA1AwQ8TJThpjDrJ66NBDGGZJT/k7ot6almVLC6DMowFdmfaa/YuMBe9umrEAJA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602239\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031444912440?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YeF6jnjJOx0L1PXln74lNCD5IwyXjlHC\",timestamp=\"1773602239\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VbQLoEX+LfoNeqefYRpU9VK/BsCeXL5721ODFPRT7C3sNLj8Lc/8NzfuTTXEjOZEY0HD3ntBNLs9+ILd3RWWbHeSeNNxBH9dUKZDf6MSEu8ISwn/EVjdD7bgh1wEAMH2P99qUnMVYX+yFdG95aE8BIkMq0vuL0zr4UHxByYGyk1Jv5VbzPaWYnilGgCCEz5G0CwTIA0PspzgCIDubkXqGNbtuOOXLhNAXrUEKKiKdxyhplOydmnS7/K8U07Z1Wl4lNrvwRh3LcmJtSV/+A2HjxykEic9vbnbByJWmFA3M91H6VLKQLWokYJdLGI14QKlqrYrHznN3J/mh5Fz+pX1yg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08BF8BDCCD0610C60518FAC18C58208C921028FAB303-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4ae5fc8bc77269e692d88cb6024cf908\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kInMiBIr9+9OiVGFbdXbQwcZa1SMIP4ATXSItbLZ9y4ubiKjzh6u08jFuRpB3J3xjln6RPYhJhRYcBBETMEc77uPa4FJoLFqF2ExOS+GdiEg4199lZ3rJdZWKVIcwntsYN1CRWVxtajEDdLpq1tsmoqb11239LseBDgcdyTAnxVZ7jEuZbOULa6P0XUvGMzHLpenV3OobIc4dta7HrHt1L0ctjHJ9GZEviNiZO1nAUfnuzWbOXuUehAuTL5E0aho+deNHe81UeojtCOddp/i1qZRqIu9JkmVXDhbyn8ZTy3ivrTI8bwn7Y+5aC4niutpss1jTW6mCe+Tj59rdc/3Lw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602239\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031444006446?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"85CMdSWCyO2cbIP93bQ3yUF4rflj3BGR\",timestamp=\"1773602240\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5x8v6zYmTyLVjeVRSi8Imjgt1aXKy4gkAUsgRQMuK+vdcxjRzI2yxAWkZi12gTWlbo1ajTHI63eXizDvJbk6ZE6pyysNqpgM97CZFZM8EZzU/dyVQdFdWyarhaGH1wXiQWJvVV2kiF8PLoZBkqaYIxElr5gtNvSMUI449wgixIqjb+ZZwZVWr7pFZmCq8CVIBzPrgeD1VvQHZFY1Y2BPzBw6LhzjowT+e/FeXCmeI/J0tkMgbqWCGBNGgo0Z8/7m0lFQwcFBdiaczLW3t0BnBeTNaX8+UIK0KQP9a+HdSi7kFAzSeRi9u/WTsPr5dWm3Ssk8WBc1TWd5asqFvZiltQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C08BDCCD0610A40118939085AB01208ACC1B2887F301-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a951678be10136e04a62609c35575cc6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZoHw+ulJeEXlcdMTQzT17U5mvFTtclJRciatweRulB/rlYv9tLyAIsNeABtos889wqu11lrgVVgyrUfZ6kwESur/OwtlQ0PEKebHIEsC5FvWTRPZk7Yc0mMHS9+xU5WdwUgqjtd9jUM8+ufP1YKIOK8VOkyvc5kjYKvbT+n4s/yc0V36eu/qIbmHcp4x0tmTBN+79cVcvd+4D5Yh1Bvs6+VHJM8E4/LbgPY9cl8jeJ1So2jm2ncBq0YIFEL/nvLYyB5SNAS6FKhUqfTwSUqkoTjafimbcWo/UtC5CFpem+v+3lsuTkQG3sGKhmJacnuEeEvxKPHen/9C3MQwqt8i3A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602240\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445568092?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"z4DScZbtILrmKEEQR9YBB6dno06TEF7F\",timestamp=\"1773602240\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0hWOlylf89UXqEoBiCpB90H1bAZeZ7IOQcNyFJWLtwVUwU+PburWCZVVDu/IIindvWUNlej1ZvNpGtfvLaNhf+gPR47oFR1HRDQ4NQOBFynFz2zqIx/imX3nHZQnErNF5cqI/hWxVSe57T2XSbR8jwtw4Ps4D01ZbsgG115BDEWLErZYdqI+MiQmnsx/KybCc5H/r0kyB+I9VFYHaJTGsPZh7kouj70rmQzamKoaQIRN6nCForowN6N89zlmFMJkh76GSf5+BWwzic6cxDc5FiiGlLWjdQ07tzBsOJn2yJ6Ji1PhiIyOqBSELdZgMdcuWDmKZ33Itec01w8no3/Fzw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C08BDCCD0610A50418A8ACC05520869A2528C86D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 054d80fa51c719e340c828cee6c556f9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GKkAnon/eZF9lzdKB3jMn4c6J/c1dXGiyc0VGca/E2/oS0IWJksXXuGY+8I8Pvdmzxyc8RwS0Q0sF1DTPCLpD63/89pA1KMLV/Db+aBrIt88lW1rENwC7A2pg7xBQr7BO5sTVo8Milo2HMePfoujHl9bvRUyCZOAPdzwwiCUh0Q+1om7qoIy/HvfVQHdaDsPKzaHjWhkPkID9k7da4rR2Gg6T+eb3W+ysXRzZB6IhT0KSY2cT3fMy75Ki1P1qpjiBL12MXvdZUlFGA3RsVGBWpaPoe29WuCraIKTZN3RunUkPiaUi0K6n4iqqMjhYqvgqlS19xJ1Mdywv2exa6aJOQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602240\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445524160?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AWTxdt3efh39c243CR8Lvnbyrme5J11p\",timestamp=\"1773602240\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"p1Gk+V3djt7NRczxg/DuztGICnDXbcNGcF3/uKkQ35K5YldiddJCwZ0ArSzLT7dR5/rvYkn/uVfZIQ87OoX7WCel9s+D83cEHNW+ke4YsIcvDMF0513O0mdPTcuF6iFnuhfQWAD2dXD8nr7ARPxDGH3ftRAcVdLBZWJDs77MfjpZadO0w99ZQBgjIXGtzdAufK5CyT9LoFqAjPH02YGgaw7XE/bK9wMLjDSKEqqqXPGVL2txMeNkPHZym8T8xJmqD4KGOoyR1wt9lh+/BFC/Inn5Z5vkm5YVS3K+wj8VjtsmsayA0w0eVC5OtPHn4DcKTwe2E9v+fuD735Dr51M87A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C08BDCCD0610C60718CECC8C582092900128E6B703-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2f1492a602c25505b5f7ab25c7e3ce0f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VQsZb7YOoNbBYa5bTt8PQapMKX1eFMeUJWXYG6a69296X07GXGKg4tWhHnBe7fFeyjFEp0jvpkXzsszZTVkqZNPqt4a3tFfScj15T2p7R/OvXm82EW/4GPYH0QNTNADtRSel0M5mHg4A86CbyktO5iqH41hsvnjezQgiTxY3yC2rcVnqDGh4vHfy8qbmK+u6M2IfVAnMgro35qsF1AdyUyuyDdfy9sstSMATG6wFIkrHRvhlRX2tbDM85+5o3gSAHWXrg0DDh5o6d/sAbD8mwOJxcpFFLd8eI3Kqq+eQLzRyVUI7l1Dk8jo2NujmsbjODvXS+89oddqCgMbAVrf0Lw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602241\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445648785?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eAMuviL0whD3roUO9cHqBSMcwEJcJvAj\",timestamp=\"1773602241\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"invndvhgUzd/Z0HyAN/t7qsep1QOogJp+2x5/kLMSH5CwoG8wgFd3PWh3PN6bMsxursEojfeXl6JbdwxVTh6oaAPRaeiyMrkiip3QK5n6E4id2egayH/OVIU1B9h7wL/K0Q+XUo+f563ZnOGRAuOs0wAxnj1m1zIieLiq2dnI2lhD/n65ak0jupTc0UT9pQGW+qceY+dMgYUR984CfFYT5d5voO/pfMyD/26DOe6qVFVzSQdFkivln0Virvw/ILxQ+4d38rtRwcuVOH3/KkoA474IIn/s135e5vn0fDGVFfQQC6KypPfxEoMRwZYnW3g0lA1JVvXqFeXvYeS5R7PKQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C18BDCCD061095031895DB8C5820BCB62A2887B405-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8fb751bb3750cb6f22cfe3e374f2d080\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: E74SvXRdmEt2ODTi3MnyFXhe9/6dlYmRdxKZ2HJdfdS6KHvLzoU3uV4KrULYyJGJ1PmVVs1RjU0m+urtoBpXUY/njyVxpZimCq09sJBP85Qb3Yubp4x8keWuu+0iwDv+iBjpp+1tp6cKOxbXLTFsMJeMQ73ysjTnxq8DouCJdXGHTY0lC2hv7A0DTuKMMTWR5hH981Ip6KYcQD6wD7rzgZqWJVxvk4euNyzApiMfmEgX3RNX1YXsIRxogG4xkpo6YaQ1Uv4Il6byW8l5ZGd0OMEbCkYEsLmOnDxvBKEfNyftmRxQfCu3JTDbzSyNjeIr1Jk5QSxqni85DF8qstLF4g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602241\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445893010?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rDoAfUxMuxrZ75Mq7ZLtP5sQGbKVg0FV\",timestamp=\"1773602241\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2edK/2Dgj8WxwaoESnVl474HwC33t8WBOLKjhsrmvER0B3gax7J3Q64WQLHr1S9YpJJXp3p1t6jcQRoFHaJ3gGnNZ5Io6fVzPfz91s8gHu+1vwbC3mSzReCen/Eg6paxRMXvXwYH1nap0btSMNgUnJc6OVJGLPAADPe0ZUMGzRUSlFUBE5bbUpc+IWwiaRosxQQNg0vYZkSL0GFfOr9DS+knEFlPul4eIozI36SiC2yWzGw4dNEzyq1HRSeRq4HGs+3LCp56rf6hZrUbSvonXta2kTEBTxpnua9ZsvptOFExP8bemtSDoqmQEPegWlXAYhgOMlC1CHmFwEpSZzb4AA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C18BDCCD0610BE06189F8DA85C20AC841828FCFE04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 32a85b067f686b33f2d071c92f3d2b66\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Cdgve/8RPjbkI/JD5Oqga8mnhWuFurk8S139aXA/gc30GbdmlcRAXhVgjCsKwLghPd+iiLD5AFwJIQLHJWShnZKlthwRUwSoy9PDGRBe4nCLBcvmIYVLfzpMhGCX0Pv3x2sSZdiCjHIUkGrJlAe1uqycw3bMmjKXUbby2zAa5PZF/M7s6ZTBATos0+jtTeuPUcMA8rmhzFl0h3BKuwJVH/X9jqcxuqfFsPc+Kx5ajPtc9HztKBsxLCU0IC5jkgdOSeJa52no1ACYkVgW0ZSuPpRvyP6FhwAu2Eqrt2tbXZ/2hP0DNBcPPU2nL27iiVRmmuPdDnLmRRSfteCqPDXq7A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602241\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445790483?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qqmDGAYjJZOE5F82486A9yHkY3ScyTac\",timestamp=\"1773602242\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EaWIm0tRnXzUBRTbMhPpS6Hb2wEurpcIJP4ZmMJ6YmYlVLoJho84wPyI3JTHDlMUDOGOkFoUZvZbRnZREYi+16DKJdeM9A4/HzikYG/qjCpnKOB8TLNKoCSIMl5C7tx18IJ0hF2pnhWkeSy2ti+pN+zhUx9bmbUxtQH00eiGPEvhltDpTTfBhh8A0Bas+MwenoUC9MG16rJkXN8aOALivGz618/G8NOweKMVh17IM5tcrvRLUa0Rfuf9LRtFSk3ojiYmVJ6AYK9OWRFxFa4ui9gtmznkEjjiIba/pN5PN0qxofwqjtzloMG0SODTCRLlVEV4mdgicRfB4LdNGjpZxg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C28BDCCD061080021885C68C58209ABA1C28E8B201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c13208ed45b615962218b8c20983f343\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aVnh7GWFT8SvOp8Uaf9wIydxhKFYB2YAFJ7/U4Y9waAgPKUdELsou2Y/IyOREq4S7SJC5ipAalFJfEW1neMUgoFlV1jWMGO3fNpXy66Ss1zRXoysOUztqmx0zfkvGXlErtndRaXfcm618F2IdmYqpZ100tU8+XyYib3eEihbgojjbJq3iYRU4o+oyYE+HWihHxBOfXN1MF3T7Dbe4s+ZzIHJituYWSUn4HkMbryayB+8dkzWk9DzWjN7qOYqz+SFa5t7VMrMPrxjDIyvw+WnUcGkruRVWzCsZ4xi6ttCPK9zdry2lt8j8K8RAahNEFFz/K3Re36fyV4mlUOQu8jbxA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602242\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445216916?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Kkv5OiMfAH6TYGVDFdZZpPf7mtcA3slq\",timestamp=\"1773602242\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"g2HX6Q8Bs3L4IRIM+bov1slF3loP7eSlWAQiiwINutiU92bNv3ffE0cKkWyafzAnEE/fEbKqq72dfORsvwXDgL8vXvg0Glctfgyjks3r2Er1Y4GHzaChsWWQnIXXwUR2ajbdacpDyrV9hzjELT+9ZzG9nW7IeGZNYeuKe0gNCU8LBDpGDQmM6WEHUscGQdRaTG17MKR6l4pnY8oIlRJpEA2mSLVHutLqqOYAtquiTgP3j8p6DlDwcTQvBfG3WOgOej5xff7R0OcCHPYeLL6t+wRObmDyLxai1Utgc8s8fBngVZ5MxlQWsRBqFEidxzkRrRRpqU3OZtDdciRRcshvHw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C28BDCCD0610860518D198F5AF0120ACB61528FCFB03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b09928cda16e1f2543f66ba7fb1600d1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lJQ7wrzeMdkW1/SjDw02ixEAAiit43qtfPQ5ciiZiwcPWXzcfdHhjIgJ5bAPbByAc41sTQdD4Wm7mIiLvgseYuG9bUE8B5uxBYWgOaPZUidva4kxyjIb9haVEIAak9HNhHxE6MK8dAFQkRjPcJVN+4sGbwaVu1IysJ065hg89D2+ervgrWO+cCZeWKDuQGJdYzagbgZC1xKdarS2bCWBhQm7IQtlGOM+oC0de9anlceMh9K4t59yA4zfQbrqF8dO2tAytwJSaed2owSDy8RRkGoKQPp3QNVZyr6Wz2XSMIzLGjm3qtKWaX9QKQP/Iz3fxeCsTf/1XINoE1vgxDBwtA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602242\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445269544?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5tTQG2yqoOIm5XUSWaQTjVBj2B5pnyOH\",timestamp=\"1773602242\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Mor/LUOVbkyMnpQRIRVV4mTRaN7nZ8SnF+cXbs7st4Kf1e+0mNWdkDVGIF9Y6qwQ6Lv4NpmtcDJXUwH7k2erR9ssrbp9C6l2Rr2MUHTuAAH9BAnCuq86hzJkQbCo8In6pNAaFy7kRDx1uKyO1YTxSLRr1ac8kFWn/wCtuRt689+Q2KyyeyVx8lfDpCMoFxohF5YSbvmh+ELh5jRUemgIBxeV+qRfFd0NHfKmWZDmQYdqvkUOijGricYYf2KapQm2SPKV7tPbiTeOzHW1pNJBr3dwp3VprdlGmTD9K3qWTmuYyaqnvoDdqlX60UMdRnGsHXjfXLEklNeQnhXJGx6zkQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C38BDCCD06103F188DC3EDF5012082D3082886E903-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4cc1efd65e02a0c3a5a026817874710c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PkFaLs9n736P/Oi9+ryE/ca4SEe5hglvTlRcAIRosr487eayWd6Sxuj9WNqXT7orpoV9xgSl2zt7/Y3mB7ND8+AJEcELHucNL9klKK0S8iKwXIXRSvODs1ftDmfp4Il18pJGxeUSJ5zszFe1ya/tM6WK80ez8cIrNPujqcu3IfV8dxXyosIbFrvVGO4o/RJWt81jHEDad+bzR4+VGvvA9O+IEzhz1nr4NRGvWc7KuP4cTnKOi6nM0V/YltwbrmLdbYee3xWhaYtaRy8umGq4Lnurs202uUSMFI+FmZYjcjjpEltWBL30vRNOEKn3K9iEXIdRbOv37mxQ1WfUrvuzwg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602243\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445808250?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"efc8XeqsChFzaLur2sWRGbUlzEP1Uq31\",timestamp=\"1773602243\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"K5iSUGMlPJ07c5UmWz5Ezo9OtcVNmQYeBF5zXQ6wkqS9mgq7jDJc2evL+1bZ3gbIa5iA8qBvQqVC382eIMd7tKniZJXVGvU6XJarLSVbQc8+Q8EMRfrDWkLuv8IHEYGmddNabhEO3L33eOE/b6imXQya8Ee7gx3YBq2yOnKTbM4duPQS0gDq33WtwmZNNX3OL1JJEFARTsCSZiZ94yn9alDyfcX+cJcleZl+4TRae7N4Smjehq2XNiW0CJ8lvyhPnGbRd3RZb6Cp9d+zGZJMPoCuI9jXSzaUkwBOs4Fqb9jBBnrIEHcexyAunulOkTFthdKwPSHWd9iKH5MSgHTyiA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C38BDCCD0610E80318DFAEC05520BEB33B28FA56-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c0f5a8fd10a5276bdbe8df3d85c8bd40\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jmY3CxSuxoWj2pa0+QD4fV7NwR0JATe73wrXlOalRrLTxy0ONFXEVM1jWyPAUAh3z4TZ4igQdjBjYHzrkWeNgyRA+rGwiE3wyzQtMmffVSHD6l5xtjpUQEqplGN5WPeenZS0KMDjt3RHdvC+AAWKng5f8xBT2hxrI+VOpPCYOcntsYWxSNcq8wGEyjDPZzPODStlYXehFRNvX+Gtiq90zexEucyvwUc9dduKOIG1zPfCOw6X2futXZUmPJ+sdVVt1XXSdKvObGWIAddsZb4FN6Mzvr2pOgYEaYhOZ6KBcvRBsRQhFtJTBoGJVNDNQCEwLAUnKySznyoV+wMHYciHeQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602243\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445970772?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"53cG8RieiV70iJiqBInk99ISYL7cvEn1\",timestamp=\"1773602243\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KpIQJTblN+krWySuLt6lHCwMntbC2l78Unq1JouKmhwySqCdQIk/TUPc2k1q0k3kgzKLqRLEIcKEzQCp0WR5qJXedrki8kWgwNL1bY2DCMIiN7d4zDgVJVqsiq6uwb7e67gxJI+7eeQkeYRgWS0DMCSFCn4skUrhyZlNTOkpkZYGMl0itT/iq+6aGCoJ2dGWJUNMkuW0FA+AGXgFBiZIg+4AbF2cHVHTSrLUuPS1HMFePf2O13PbsNDV3j0IlndRPx9Zl6xvap1T7M3Ln+uDNdFNTJ6uSIcu1e00HL8e/HSwwgXtParlUX6bgVXTLbLgwkCUnlsAa7TCiFWXGL0+JQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C38BDCCD0610960718FEDA8C5820BAB30428E1DD05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 342a7725356e861d0ed582725ba99619\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZpxOGSLtY7WLa4PFH6nuyeaBTQonk7L98wWjdkSGHKjcoNXSQTnqkWKFP8RCwOLxWtAIlfb53qM9km969jjIiGK/BNbPIfSJ5+mIErapzzFICixzE7fKXx4LHR3ncw7pzNRYqRdR7o4OALmx7zuGMQttUMkFQQaKM3+eG9TA6iij5EuGWd4tOorNaZtURadLzrnE03DXxljv2r9z/c1ZLkHU7sSJ7dG8wIpSJSRYRtVpuFFHEqKJtmjQK7lRO4GDX8STA4ZueVlET79+0CJ0F6tvt4ypC8QQJ4QEAVZvo5POxs51/pl30biXQH8e0YRd47f+9Ss2Ym7eC06i0DSQ+w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602243\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031445671893?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VLavejZbTlaX8YJp3I1GqBvQXZ0sBwjO\",timestamp=\"1773602244\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"33FWBR6eqiMCPHn3Ylm9WmSTgeKe9ujkQr/TsvEJtaccFXknF1ubvgFapajjxvFu7/WI38Epk8vylHmxAO2lLqiumkGpHWMR3qK5mH/QSsfSk1e+j6atYLzm0tqudovzrwsbfdk2IGaGPjOOEEOTDoqlNR1AftkfvzYWYI+ADFbZgQ90FSNH8mElSHISPWQPi1xfH1RpUikzKysoLT1xUP9WlqI5gTUm2SS/Jd/RmpZOpIfGTODuerVlZjAQ22Pg2SZWoSN1gSJdplo6YawbjvEG9IZdSD++DFr0RdACq3vXNAmBJbgmYWjpg+AdnnG6OGZxyncg1+RcVM6QgWUWmg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C48BDCCD0610D40218ECB3C05520DABE1A28DE9A06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 34043374867449b5ffe6d96b3345bdec\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rAetI4v6VpRwUcCVu6WonQpbXcD2Wze5u3rfZdalv64ZKllp6FomfFk92TS3u7EVaXLIvmDHrYe5S73OTdiZNYfJLHfyUnmdkKOOMjejXaBiXkoIEiP19mjxrbqsNrLUjyrVPutJPgNDyf4tdakRJHgywJe7+EbO9wSF5Tepw95x9HKUwwgKbKn6QkUcEiHNdElGVMYFLHe280eg6rJN1nDGN26bTNZF0YwHMKH33HQTnxdbn6trRGZZ3K5k8Vs+bhSTU+fzxs6xYtzz4XJXYhIa/VomrQIHIyv1QzuSRQmrnwUCP9nnUVLwycfhJqGw3RzzwPuVjRLgEGdtqeYngA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602244\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031446987210?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XOY3NT3yVsODhcz20KDYAfJpHn6ceF8u\",timestamp=\"1773602244\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jgt8nVA8bh3GFHOq8AhG5tyMVPXN7pLDeSflZI3fQEXXPwTcCh0ieHvk/4gB2CsovUcQsn8NK+eDKpxHkv0XBr/qzocNg+WByeX9webeR3EjzaFMHffcEaFKu/+cCWdB5M0jua+ZoJaYlYQnjkZ06vnFuARPoZlvNIYDlT6smu/8lot1Vrq0+owKNs2B4+emePXsnyoyALJRHo7iai1VSj4HxupjPgPQohq7GymxNCavgZ0emws4JINupmgWplElRG/qMOjKz4llbEv2x62KuutkbX7fAvuvbZ/JK+jdT7njfmwmXY+eXherOuqqyFKXbOl2AF2T69J1e9EAQe+GOA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C48BDCCD06109506188FC4C05520C8874428D1B701-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 12a537e8f5b749d44746414569d034ae\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sF+Ndx+Hol+YJIkwSL7S/8unFZ9fWkjUMPvKO+1XPNq+WvOMi5Ntd1ssrBkjPmVmtlpC8zLfSP1FI8Gzt5EyS/xe7S/m5gxb1jVrhssfYp5naI/sg4VQma7uL3jo/9twQxsD9oDs05Id1teu30AehxiyIlrtjkhlAnF8WSj6chJASrcBsnw5ni084zf8dby3IO3mnfs/ia15SPZViICkXfoN+p5FNL64F/YOaT2iJMDFswOR1p4uoefb8Z1c/+Nn/mAKPZFyj8qfZKjPP/hmN+RADi9jnhg5/N3zC8gAG/PbiwYd7/DY12fsxvRxsdkD/b+el0VKijBKxT2jWZLEZA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602244\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031446440488?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"a3ESmf8ZVDroPmgLczQSes1OZxpirYsl\",timestamp=\"1773602245\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vHuxjNZd4aOfQBQoij63lMEAH+RqeinqZ38KIFjmsCEaocp/Ndm5biNcGT1oEDASJXwd8DG6axzzkXqGUW0x83/0gyn8i0cV9cQMNtqTTz702JuV/6RARjBicEAmRW2QmUpQ702bUtGM8FjCgGf+fxeN0ygx7BH5MVAEuDFuRPNfeF4KWTkKcf1+Oc/1Ove721lahgre6VRxcaAg/E+R17u+Q9y9nM4ESWyazzdxtDmXR3T0itzwnK04O4sbomPkoAOLwCAXoMhC11+NBtD97/WbQv4q14wPISmIYVFFeWfzry5XvtxwpySnRDddmsI8wUNrZ56U2AOscW0xF2CD9A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C58BDCCD0610D90118AAC6C05520C4C51028A91A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 26bdfbed1fec37981e265e20548c7089\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xp8Dyns2hgQFYczpS+ZksV9dEAlWrIYAKuBNwdLU78+7a5fyegHzl5iEWZ5LV1Ucv6ddB9xBU1whA1E1Zvq5Js25JQjjvdUj4L3oFZ3jvUUBBDr3gheEpxB9rXJW1cjNX6vofd3mQpw1gqIvPp27fV98hdFBLKYlsgRa+IEvztmt1K1C+ARb9mYKVqQXlYW3KFzVScvsbIw+MdnEzDZ/rO7cE1ighewbjdxUdFqn2mJAKtpL2J4e6c7/gKdK8pW1wbb9gtLaTC7ePOKDd6Na/N+0NTs7xIbdj05wrRTv02IQRwPIQu1tO4xeTnGOf68BXnrUxDnC58rRvoRqYCKhDg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602245\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031447518483?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WAzLASlEwM7eAGvo6GIUDwg4N50y5227\",timestamp=\"1773602245\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"j7Mt+7Rteuda6CeyzGlmmPGxFCQx5akRLoEuzf5mpZ6tDcA9Y4KLhhTxzrJ66+Qjg45YzIdhc9Zyb6K5JE3z4jh/gjcEPPZpeEUKIsE1lnGr75APclc7sUaWLnUV8Q7vkDVVdXyjax7e9pSqLArShk3uQ2jiPGPF2KqYBbTdKqP06uqdTAQenQktQ/eh+t73Kw3FF91XEepUa0O5vLr5QnI4qBacHCjhvDmRHVFEkUATu4xQ5kQQUE/mLdeZX4az4R36FrONf/bihRSwcfAq1V61cD69nAw/ROcoPpHHp2kDLeBe9hhVwKOFAd0fhpbJTdqmcAlLsdXRq1jQFkVYhg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C58BDCCD0610F90418A3C8C05520ACBA0D289537-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 61b3e9666ab2d2c5e75d449d13219e77\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iw8lY3qG6vULD0/uaZCO6MBMH9YNkmkItPdzVoqI1LHcQgOYPu2OxS7O5IX08SVGJDi7GuoxvMN6w32gkBTWKKSsV83tKbZ1WQ1Capem+tCUkYE5O9Zg1Md1wtNnlO3ZIn6lg+fwkTahFGcrv36tBC6TTC6ZNJLgWZI7cBfPIrmpFESSJlEcDiisogK7PqugfagexWAVn2jKRs/j4ZVZE+k/iy4xVwnNfZTPMB3wKXwk2+487TSmWtpvkwGu/Blpz9w8sRr4cyMw/VZBe3aV4woXKHbBQtuw3eifQXVr11+PYmIzjzN8ykQaF3h3aSiHbG3cKAnO1pf5nni2IqfTNA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602245\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031450914806?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lZLNtzOiFZHAEQI625Apsl57ZXLwQHIu\",timestamp=\"1773602246\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"s77x58rL20ZUPpli65q0OeAevAQcEJASaaIIsghK4/qbykuPkMMHlQnVUPOFQTchiCX0FvKQoMtkszFiEFSeX85IYhxzobj5a5JsFKGsOJ6GwsnhW3Vnewf5fY2ZG3fBtURYaUPV8gMUhENyqQaG1xdcutPoFhK96BeLbSNE6QA7/aGCdOcLh2bhp7btN/HAX0IGE1SPVERHK3+FoZia5/IBUDsSy1gTKhPnnEeJA8VqS3uDzZ1G1o6vci1Nqy+TA8/D5bFkrk8TT8Mju6I/2NQDxsGf4EHsZTK3zTuk544Evx1mJPzP1Q/TOiypSdFtssRYh5fdVznP+Cw4+tHxAw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C68BDCCD0610B20118FBE6F8AF01208AB10E28CF9B01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1cb04268c9520750c42546956e0a9cdf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ez7psqhvip53WSShav2HE2KJQKIDazXFkV5Ddtipw6ztbNDXgtQCRd8zieF5k5PsBddHcvWzD+Ev3t2vDcqF++Cq1c3pNjLpJn0SgeXBJP1FjrflKdMFI3glnAjErqk9RDygcby6cI1Ku5LaqYD6SIoUJ4RUiat5fGn8qtxf1BRn9iWahfQ7JWtU9UoW1ePXxAnuXXrH59sHqHXEyREt2md/Abasg/V3ywueCT2ZMgiJV/4uoIFz1HXrmmZxOKTfe2Fzxr4G57Yy6wen703hqncNg1ocFZe4LyXMOY56130L9uM+Pg2EzEfm+ooBCkbDvJXsSNYg8nfNW9gNoS6HaA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602246\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031450214301?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kiF85Zczq0cQPca1hqzYEOxunDRCWbOz\",timestamp=\"1773602246\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bOlIZhTgCpvOHwjKsZoz0S0vSOyVLrOkxzU3wEeni0l8CtDyyjSOFFUI8I5NTV/lq4172XYqE4/x7rrUvVzlPMOOubr+UOT0Pq2LtM3xd/L90NqTjdOMQsYvFN9aCRu8H90Dz54E0u7ILXkbpzj8eJxtOCoR0HA08p5CEcRcyVmyddc6dl3fyMIgv5DB3h3NixMU2IbO23zSo8JS13V2nqGEr7pf/Riw1W5qCXmiPythGgy7Ni9+V+yJ2xdE3U6WDEE8mr40exiXFYY5KDbA/CnFn5yZ3oASI9G33dSLNEDGYGwoOTCaIYViI5ftgHqjSCpmGYXrZOBFM/xaMrdh5A==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C68BDCCD0610E404188DCAC05520AAD20D28898B05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4da4acb4c1a4d8ea6ac08fa119bb480d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uNwcavt1fvoC5Jr9soaELaQ3MjWbSqm/7IklP1oByOTzLLtGVfKLydWliK/FxB/3A19wbY7tVhJDoR43UhTC5rS+sUUY093ymk/B7/rXjy+S8sLZnCia1JL4vjiD0WquISAFtIXsaIpMVI+VSWwmbkf4FMw9BXADg43ZoUNAXR2/1O/z7GVDhLV0qSqo3ioeAMilMxjI7LzSAqFFZQNOFLikcU46rWbTfyVEyaevJ9ACt8D49Eoq4hvhIK0DsyLo1p7CI9f3mT8DXuHVwGzs9TgKJAO41QQ73MjWqw321AULWZaSv/3TKXU8Ep5CS7f1ojbvLZVy+gy6dN3NJ4lbSA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602246\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031450422381?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lWRch2o6I8v3Fxvl9c2uhgeecqPwvyKE\",timestamp=\"1773602246\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rtTn3HwsqKZhWeTAcacTCu09f7W4bA1m01pT81ARaDTDDkBFBu7WFyDk7WPEFbsqmAy8dDaqruB1XX+fZrpmFjDbapIsfHEXUyh5pt7MOR+ccoEL1Ak1tJiWBMoIbdK8n0pbtn0v5z8yvDBCHpF1vNlDUa9pUw1GOYtQSYCk+r2CSRPyC9YKC9Bng4cOWWSVXBHpKCmvTv4J0qqSDm4pwU6nGUTAmE0AEsnboqWrM0ThiJjUr0F54TCfid1mteMvMmMpkMJxkT/OyVYqnz7hGcaBjR1Fh0i++nmEAQj+bc6G6sTpPh1t6yuImSSkRKqub2P7Gt2G+AcE5oS56fofNQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C78BDCCD06101218AD94F5AF0120A4B81128BC5C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 03b1f988d52428304678bf8b103ddeb8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Tq4uNr7DkgDSwto+7P+uwAR84SzSErqsMMuNfLCumQz9H3Wcmq1GE6WF+E+CtYdfuqt8iLozjWNCL/AyHubCAS9iaYSUdgkthkVXRS6M4/FP4g7viaCvgtcxQTC5XlCqTfEwBPtEood+9O34VCi5wRWlsDWUInfBe9HceYWjvqAIMaroxr/o7n2+7Le/Zz5FoyHO82YXRD5slG721BLESwK9K5pOItx3/fZqx7TxLHsapHNL+RF4qZsOByqRHCFdZRWBVlzvixWIZGxHdigMweQt79Xb7QaqTcqllhAmNbVShxN30nxP0ePvsoXgBIuQINAQxJhr4AUqzyyKcnpmJQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602247\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031451481893?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zEDMgrJ6fZkuhvURqrjbLqBuemSRdmfY\",timestamp=\"1773602247\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XPr6Vp0UGRh5fbH46eUTFMXkjw/nHKdbedcvfh/R1sKJNIgKuEOgBVggWQ9EnalZWCPoiWAk2+sH0VtZGYWhatpQS6vBGLyfo0n7qeLEOv2i4e98fv6Dm+WHDFVoEdd0igsdVf01uqkHoybz3XqQNot8vWgfWAcUAVDSZR3hfgDajBkyBDLSv6xQOrvleM7k8HZZzus645utP9MSNXZEN70MveQQmeWDM56WSiIKID/0Y66JWBkJ3sn15V4l5c7+wLz56Jfv0Lt9S0iSoKQIX/k4IelWhA8RiVTy89iq8RlQEWyWUm0VKs/nwp9h+kchw+uPN+yAvFJ0JX//qoGCfQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C78BDCCD0610A90318C38CA85C20CAA12528B1FF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c4d21154fcf594c303ef8197420c0187\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: a1pxPc/s6FdYLgQ8igpdQQUefRTGU80RsWtVGZC8Z+SlL6TJeQiQxdQcPr4vxJgZeuWyDvGjiKNmTSjY3MEf3oBvuF/o709BP+Jb6W9fBpUa+7BUhnom1ltLGWuzEvIl/C+IZyN85QY47GpPKN/N8LbbyrYzz2TIUMrnptEMr8lMr4CWDdxMEQsNB/nuqip14kD8C6UBpmLaQRtR7+o4mcd0y+CMmiaAXJKQIGlApGYPNQBR9OZnonJ3V+22xnepEZo0/Dm3Rg13YglsCdbXymaBYOjdJqd9eiijYdCltSpOZJW8kddCHud/CN2RjE6Q5U4PFqTe/FOI3PIa06pCHw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602247\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031451572170?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AMjifYIgShI9taXDCyDMHRGTLFvzzVtc\",timestamp=\"1773602247\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bUkD0eK1x3A/9wvBsWNc6Zd7+LjtXRJw6VzEUvH4Kdn6fk2yQU8ozmhv/c+1Jz5NiGbQ8SyK3jSIlEQQkIQqc3G3eYCTt64Jrhs2MO5qOjjdCU7Yitn4quLsNbrie9LlfwM+j61rrrryaGIS8gPfEL6bKnOv71Etj7ROF3nlhEVK0mLAkBYB9uhXIkOl79HP3f7U8y5g/ndAzEbOOlGJFD5jOFl8VeQVqcCNpMMTZ8cZOnsjfJO0YqAOVcSJtfLeH/hbUti0u2rPA0tAgwFYjVJ6nwzzLjk5xtB3aleft/fLUsRxkktL4ow/4LsOs1vk24wVQdWe4NfFkcI0grlR8g==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C78BDCCD0610E30618C395F5AF0120FCB024288AE705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 91db925eef32a7e5625f264699ef2576\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: afeQseWJpExysMy4PFyf67mwtfoxs71OClmNMSaFFERZEyPU95PAi3HgLuZb37eURx3HYn8WerjdsW8VQ2oQnfRumMwQYYV6hdkZ3LtRAGYeubHcVYAJQmB/q95vqJBtmkyJQy5uQhH2UGTrCv7er6ChUZD5pwf92JgPWXpPI+cdzYOmyR07NJAz8ruyOFU9RXdNlwSJv2uComLBasoL0A5+tZ16oaYaYmTQ+uL1ziFPwBTJNqNRV//ML3SCnmj+aEE5Y24hcO0r2zeXnuBcC5bDKXisor1rbG82KvGzFOWQIGszhqSx6drzjnznXrtbmLYQhZ0ukX+FDMnyfeh8OQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602247\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031451734830?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ybW4UDtXQUajrVjvuPWw0nlJSEkCLeV3\",timestamp=\"1773602248\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1KZRXUyXKp6GedxHhvZnXVDZdyvs6X3vkFmJX/ihE872axau7Mzu6P9GdFbHcbFS3XDb/McOY4n9E23tXbmp0Ilo85b50V768elOmFHTL7Gi7rdQP0RCK1OietJWdzowIgraC40kaUKRm+HIS3TqCnqMGx/RbmIgmgGHgskwK2a/xB5NNf4HUt5o0eyZTjDOWkkewWVO/SBYbqRGcYJJmXHEuyo3MTkm3b/GkR9nKmTeZahw0hyqr7V372Gl2RDz2ncAqMoukSV5R2+ApIohmsmY6UpIC8pgpX3Wr1mJgp8aFxsFXPm80JctABEaACgcAQTBNqRZNHvhEw6FAo0hEA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C88BDCCD0610AA0218FBE6F8AF01208AE02028D38105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b961572876e18d56f6b76adebaebb5ed\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QeS45erRscocGStdDnOcSih++lRL0t6hJKvPoOC4CSX7GNfyfvBF76GR1rgK//ct1UPPV8KSRCfnb56Csq6BQmhhiHS8FgByiABDUazEKU53AWfVIUq1nLOzbKcZWpPRLvTSx9owVEUhOx6h6psDBDhy+MBkjUW06Y/9Ig6oL4kk18xIW/3ENAKV7cuVEO1DXtUQpY0TVeCGvOBfowPRuLq23WP3VW/ZFAlsPJ62Iou9unRHH/RvyLU+8+qSx3BZ/Vr1rMppGPzqahCQOzpN2LpO7G3vXjlQWhFTbfmFPB3YfIaTnzaBeAc1ukV3G1nERVaUJWfBRhCok7ssmR6/pg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602248\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031451858018?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tWiEsNdJfXsMevSd8BciIMt1VQ8a4x8y\",timestamp=\"1773602248\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QLxwnxkYp9RBCKKYvdFT6KRGd7YV0XMIm3I60VVf7OBlWiuGqnbw43mA542/Moqe3V6XCznOpGJuhlqDl9EkuPPxj8fgb32gq2zWE4ADdLadd7ebiDkbi87Y81DLCRBbozHqOI7qe4HbAB7Heq0vwFJqSDpAbBN7q/eCpJ/WHwFGc+Lylf1YCLTFfH8dIymGpjqz6Oa8ItHtqiW/W2RYMV15DH3dVWYGg5g/Akx5GZZdy/wdk7bRHWxJaUkjr5uF/bwblvPkQtl7fp0wQhtwfEDkbREDRG7gq9sh5EzVfxGaxDB44P0ps5UPwqVLdCS8eoNb4q0wpCw8eKhY2MKSBA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C88BDCCD0610C70518A4C5C05520BCCB2628BE9001-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 092e9dd4496fb87659d502e02139348e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OQZvJ/Hd7ebDWCDKNY2ryGKIwEZ2GRf5RZsaCmNoA+y8gTSCplCy953sqyllPWkT7UHbGX7o/gILmVHvOqohJl1ahCnzRrkd8nPDQEOwGe5GrudsSLGbYVrA/Tve/G99jaIug5orHNA6UlNoUvcgoHjvquy/L/ywvZBRASZKwvWMYCFB7O1a3g6xj4FyHc0TFpfjbUpyab+AXMgiA60wbE9i0GhVkHB4wdDGZbyn+unm9LCN9N9pDGdtFmXmZOC/P5jkpboR3zwsUS9rDBRY3ArEkkvzM80AKTo4GPMUXUnjY/3HRa+UwcjrKZ05QGSo4soN/wbAxIhAIQw9kgstFg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602248\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031451462586?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XTsL8hxQCgPZwNvyYjDAddlhHYTLlB7C\",timestamp=\"1773602249\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OdfdggMrA0iLmm/OfJjSfG3iVtBTphbQQwPCPnO1FOaChbmXwfr9z5vMOnbSofEa65cIbOtru8RFiMElB0BX8TdBdc7dr/O1pzrUCOa/ZSF8gZMX295FMz3fOdF4orjeo1n/yB5QyDgdX+vW9IFIyLZQjzU9Thvw2/+4U8KF0oHl1nALO0bftLMlVjDyw3QylQ4uyDuQ/RoC3+l5l1r6hHH7VroigDVy0xESoRQWQ5YA9XXsld/BiwjD2bFohD3v/8jKffqu3qRSTeHvf4OzSz/VAIkVvNO4TrIWR9ewSZn61R3xTZ4aMRbifPFlWfroOvLBbfEsHvBkI4PrJFkY7Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C98BDCCD0610A00118D2CD8C5820D6A32328B9FA03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 251810caeae811c6c7df9d5c40295610\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YeWQ+eyfdm1PXeDR6ns39gc9TKnUpeqaGcmdRGZKt21/O2ZJElsaEKC75WuwZh3Njs8JG1/COi8ZreW73IMW9Uw9ohtdzUfBeG3o/L2LXpFRw4hktjjNlKw63XadlPu7AaaSruio+64ItHpVtfshp6d/iJmoyvbSxdmMW7o26cDUW75IRrMv/1QbBaoNoIvuna038U3X2iAZMkfce8hOtuYBLx0aq2MHpIQoAjtfTxiMo5+N7Ki/IDFGXWCdanNroJA348Bd6u4gc6+X/U8QJOynGgBkB+fQyFLY8wLZrjmxa+1d2LM8CS9quKmjggsV9Ma+mAQjFytdi2+O84Ov1g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602249\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031452786282?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CnVwIhgUU35IfMYIB5eXE9GugeyWEgrB\",timestamp=\"1773602249\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"D6iJ7wpQo6aNqAESITTJ4ibOB3FrYQS4q9U1sYNsmFV7xuTQr+n9aiPgmG+3KkIRDXDvtQyyZxLFEsuQE977jqujZ+r3Lmzq6p/B5fzeGgInXPIUtwwhofAatu/g0UdC1SLHPyPyaaFHf5hrwnntii53c4TwIY8J3YAymxAsmrxMDTXBfjeSenH5MmG0mWxkNIXXL8z+9iMrSIZNu5eK/ePAzhgCCaHO1PJshywjTQWngWvlBBJfLABCg9tqzv4vbAnZ/YEykjMo+11EcxcSExV+6FTbHvoQ4Au4+4goYZYeEvV55VjZHTlgUgaDkH4XkWB2qIOoVe2jYXOWflAqyw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C98BDCCD0610E30418B3B1F8AF0120A4AB0A28A2CA03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1d107064e63f65da3050e2fb8d931267\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Jj7k465r8rdxRWf+qobSLWCBw98Vd2SnwoWDuJQvwTb+I/cTAcuJYJy9dCol2EwrjD0Vf+cVEg2tXAb/YTcLg02OyWXwkwG0f2MgWGkHrfXKHNDE+b10eCDIjS2rjXU1rEdxcKCWrMGlBHc1eEVyUtn3IoCDZgEAs5XDnCWDSzeKceDRmRCMPd5gzFTGwdQQYgjsSx22vx1I7ebgNCL+nBW9Ly9zKJduC7e3jvkuwwO65lSmXm6q1/FweeW3+rjpdrWI4GWpZp/uLIM/K3+YN6evRVSlsv1XmwZL2BC44z5uDOfOYODVAv1fbBOcEi3x9NXfLICa2XKRmL9rJYAi5Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602249\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031452344817?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZLRdBJ9RiKgTRswb2pbki5M3U31Lg3Qc\",timestamp=\"1773602249\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CVuaTe5n/TnKv6nZ1tn8+YW1PIrmEyvmu3ux8eqW3HQs2WLXlLX+EcAFrx9aPe9OeMcASfZZ6snVpkvKBt/lYh5JxhlK60xHGMt6/HKCdh6LveqPTOkQmDFLJmV7YejF76CxoRZ0WD7B2hTrlEr3jnZeGsd+OH57DvUtJE1m23DBg2oUOYYj5H8RR4N5EGyNcQXZ1Pxoq0wwiOiI7UHuNaxoSMJxAZw+jjXPFUCC6fJXXQGPoS92H96ZtPJnhjCauqVCD5JK/uUaplbKqpBX/nOnlIGyEOh8/GiiagUJJO1S4QlidB2lkzCTX9LRfQHrvCkizXzIDWlW+kcBiNP4Fg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08C98BDCCD0610E30718AAC6C05520AAB506289E5B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 25cdea56ee9ba2131fca760ae0b8849a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bMrp8ttWIHO5dnFA9Hc4QhVnOLcIhc1dnQ4XXGFOGYfB5ziXaz/zDHwmzaXAhthGN7o9YRv9Frue/rG5IZK+gBrTCZkMf5Q/mlNsVAA+6/uiRVusai7jun9RpVrVXhmE7HPS5guaZj+jreD50pO7vETVSBRznDZd2BAPFaE4yxtG2Dqy2epSi+xPG5SuSQV4OFBc3/EnLFo2750TwKIVakSnwj20JbfPX7ZZVt7fzcUfjIURTHAmNpQ8XlYhQnGxhkv194vIGQ3U0m5xZ/y/2hSl4b71nCClFPfZ4Tn5LJGRMY4WZS10AaTOs8nwXiCKyrQp4lZYXrZnfoxOYZk3wQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602250\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031452843476?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KSILM3MO3tXN9eZd6UAoqWZJPs6VFEJm\",timestamp=\"1773602250\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wgGFpe4twhCQNIsLYgL3RiQymS/TB2mh+TlkyY0LtxK/WO+g3AVARbZSYEAIefLLjkO9xG4WIo8YmRG1AnHYa9fQ6yn2G//0X/rL9I6xtlALM0LoGax5+fXxTBAJR76Sm1jUF9MtavuDpnjQOJ/Ohz8Dqpq2FRio92wr3txJI6ofACE5h19EGqDQdM1HTRrFuBjIYb/59y6rHceUHLTLX6u2PJ8mnT8Z0voD8NfqcXi6S9lkiuX1Sxet+tie1lci7csUdafGbZE0l/QsAO3Bnt+dTm4E7S8vomMfFgcWzUnsz5ZdnFKq1eWSsAYDjFP7O4BW7kyCAyRhcEW0f/JozQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CA8BDCCD061095031893E6F8AF0120ECBA3B2883AA01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d8de5c1a5fbc0cb0d0104ca7380de63b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uukE90sVfrXrv+OrlLfF3WzyqGjAJT6zz8Ki96o8R3rlSzvDOznvlC+3Ro6VoZgv0pl5OqVarP4LuSVgAQVTEYz3i1XR5c9P8f+0jvcnutJjPeadEtj1BjBVXqAB1Y0PmiMbvts94Rzh67QOmJOay/y7XOH9aUZ9PqMfjhIeB3gKRs6y2k2RRrh2cRniJO9X58MEm4ysipV/0nXPj3gfYQcUWSfR8FWmO8w723eWcNMNwddiFq1K10io1mPDY8SoHwD703lcZ5f16tV9OdsY6nCrUrcRrKbQGPwIEp0lcBZNM2GuGWfSTnNl8DV/HEJkIw3OImt4hW/klZ1+WrmEQA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602250\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031453075230?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vfykawWIqHZIRiCwowCfpcyk8XKBfzxZ\",timestamp=\"1773602250\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BtuQb2oUQE7xtwrc/F3y32v0H/qWeGsCq4lsriuFu3Zzd1tDJM9uG3XZuhRy8vkgOUtIFRZiSy6esiTvupoS/bRXQPqdgc/FzPa5zppt/UPKYcrwV0FR2xLbFgDiDWpiAwBLZTF9quD+oK5HwNHGWtqFae5s9WF5wGdZiPbpbtaqRCWJDtgBzsh7VZpzyw74t1gjKgedr7qq/ju7DpJnsyxwuagCxpfSaBHCXfWjxYDe5qPKQtpEB6prWy0YGNWhPdORjJW9GrpLVX19qF+Gs8NNjt+VElTBoCTDqg48PHdY02x2B1ZSSFRi0vGjbThESASruyhHvjwsqSma9enT+A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CA8BDCCD0610AB0618B9B2F8AF0120C8E00328B8BC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f8739f57b1ebddb3b43e7121fd47ca19\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jDSMxhASmsW/BEJ3J1ZMKZzA8iwnVf51fd5AomhZdk44UUU6MRdjT6t+h9A7k39/vBiQJbP2jsq3WY/aUQlcopQr/6+W07ja8ChctUZvW+zd7tQTjlrukEjMBTSdSzSpXtFouxei9LdKj7IbU6UEpNNWNwexAJADtYIdaUAm6YwhMLarOetfbQiXTLFenMbMnEy9RzR9tDaCkWZuG1Xisohvm18FF2QR01n+N0UmG3P9U2fpzon/HtMAvMsqApneBRtPwmhlR+UBXOD7ZcpxiLQEqQ+gi11CNzVjbEE9ivrv/0mhDWw970sRpzneQrkVkHcU1I0D0Gg8n3kVKcIPXw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602250\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031453790242?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7Gil3nIk1cDPP7IaUhMxdWRQdEYT2X3P\",timestamp=\"1773602251\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"x7/nuQeQb/ONKvkOhkPgG8BPFYbyqLB43prYrRs1BWc8MA54My3g1V71wQ29YDm1gER+RRYNgQ407aHbsnHWz9sYBGbkZL7wBGfFzRrCWxwojIyLDqdYLpfU+FF3aRrL4mV+DfSsgnKYF/d3JzGklNkAP8gn5fq0Ns7vsNWmoWoAjulwl0qp9J+J7j5XANi+3/p70KesMoyLev7tUSHVJOmSPsNYngJW6zWYZOjk4RzNVRGsHF8dkotICtIOng4EgzP+ipExLuhNPgqL42sV39kZOIRnBttBjDa/VGO6/MMaKYYIUfhCBFuG/YEN2JREi0ihO9MtvAy3E+dogkDPOQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CB8BDCCD0610F90118B5A7F8AF0120F8D5132885F002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ba7ca2620b42f83c426d1f5a9591664c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EksBnOdftV9zBAqhnKjm5X7tisIckOm2+j4/3aZUhboZqhp1/ukyK6qCSFfbaH479BUbYkWFHfI/2PUj851L+EXacxLulHheX9bqeaT2eBDnzaNYZxamNl0g9UEtgv+tRyGR2gBous3ClOOTTrKyvBh4gmmy0sa1qa30k2giv/eF2wNUtFwTqQYb+j4JLVYTZbLbooCEl9rkUO0wLOps3+84Jf8H+nW0+UDbYS+734eWCG9rk6mShy4fxEVwuB5t8X58rIQf6uVaBhlg6TPu2eB4thh28KX6gp8r4bnQXQtjK3wUAh10dsXb9NBefE5QEmZ3ti0kQfHbcpfwlJu+tQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602251\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031454269333?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WoOBlAUbeaNqiXwUIipVk97PeeApbbYy\",timestamp=\"1773602251\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TJtlOhpFRFvfSOY/iyrbODNAilDzov8rKQpsX0GcybSZ8Fqj+bYdutAqI/ZmniXaBo2H8eyaI2RIa9bgIolrGBaOjvwMXmvowYQLHPuKgpHf3T2xMTGT0RCcSJFk89VAErgOQb/6jB//qfXzzRUJ4Hm1Vi0LDz2o576U/Gk/3m9mgHeZ5+Z9UGR+R1dng8pSatcUa2YUc28yDLYScPavCAnv1jK66zH95PS9mujlOcZA67DDd20UcnMk63SAmE7ro+BPKVsYmP/niV57rhg7msZlf7PUoOE89sGjfAftfpzvnwfFoL2zstC4Ssa2qCbYC43DHouhdMYeRyqkTBoScw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CB8BDCCD0610B80518B1E5F8AF0120C8F81B28AC9F06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 31f0abb3644bb513ba1c871a77477553\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IO1RSZpsz4JYAR21DFXYybP7WaYTIHcWLdU9bjp7YWe3FckzZGuZP9S6GtbFcbNCMPS8r+9DAIb0sKS40SfsN1oJfjg9qvU2IQnVb0SBsvN7F7u7dPN7G5ZGwvkl+4fBFCqRaxZrS1rBj8hDgrkQT23vWZz7vR4A7qpYx12QZd5CxoB0R1yEyr57gCFPZP5uDhKrM7i2G6iNfQBYpNMP3ovcXQctRLZZ1hdyjBE0Xsc7630psR3imAUbS33WvlKYPq+loeASw37YGoC+1N7al+nyYGFq6c2Gb8CP1+8abyDXJFaNZwt6MtgEgVvQ7ojpSshqVz5mqOtd1jLdLx4/xQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602251\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455894691?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cXMSgDOcEHO7XoZvpKbdizLNNJJ8YB0A\",timestamp=\"1773602251\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"T+xfyyrTXaRDmsOKIlLjsLmcB7hE2fcx+aA4a7zOZPkxmHgXevCM0y3wzcDfy9AyGl78/yr5tTWhjGRAWAC6aRKNwvefRJk8t1AzqeIXptTDk+b6tNLvhhUM7kkcX5r4jby2LuZjdcY6LurNtvvZX3sI1TXj2je0BWM6NvbxzMdoCOAGFnAyCN74KVO60u6Re5l56IXqNoE4xtRRuTLdFbN8UkS2aO9gDl0ScchhL1Lf9ukf/GS/UkwOhqyuiUodt85Rkh3fvOWY8b0zYkLwQRZmqclLjBwwtuiC65QC9eYLWhSpn545oVsg4EwO/nhdTyNbAP6DdI80vxIKuhkyHg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CC8BDCCD06106918A3C8C05520A2BC18289DD904-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 274431bdf9f749bd4c4fb3c5e0b0eef4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ULKpHcWq0a/Ae3AGnnNyUhZNzZOaEiLSeRqL7aogWktiwHBDwUctB0Ut8ZN9m4CdOkdOssKclS/uf+bL0Ox0blZ82Ia0tZH2figJnKnCZQ4kb8GIPVWm45GBA5B+fwDWK8p4yYYrbQgH8zmFH9WbHWRMMx1IZGp4K+okETYE8UrcrHBGcgrUHlWFHAp2Im6qj/3Ak238xkvZh1AZ0dpYG/5CwwFvHaAFpeAdYQVSsKClBDIkX42O56qn6bNdKMwepRpkbouMBhzowIKFZPb3jICphQHO8M/dkjIV9HB/jhQiPwnddP0SRUlE2iteTMVFfmmBWqDQpM1OXJfD1f23dw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602252\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455172378?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nb7WZpQw61wJBIE8b92CAB0i3vwvRroZ\",timestamp=\"1773602252\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"A2U49MO/kC3P4fuTaDxywtSS5QQnRGKZMAUiJRugpYHg2V5HltFyOa48x54aOPclSNXm75VxoMIcf3AKXhgSa4+BG21pidWbKxNdzZ/casQcFQK2dHcG/F+845zseBg9PBQ6U5MBp9dINPt7gHUNHRyDZ/n3Ix47zpb6lGj/15aM0w7XoTP9MwQsjGOudF3gla6J9KT/36oXKv+obPrQgEOCmT/O5GinFWz/2IZshf3ffjd58Gs6Ubi1mBh5JHhTv4kKsHdyjN0r8kOsjes+aKSXw5+cVdoKFMyzXrkfEkStYdh0FQ/omwpBG03CRG48DUkfOGgGJJqN1TCGGURi1Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CC8BDCCD0610890418DAD28C582092C44528DE3F-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5fa05a49cb47381a54ca031459c934b9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hPASDc8KHrEW7cB7JYyivWOmVEFmBasXKRlyKOtqmxB78qc/HIfdnRI3ZpF/URFBdJ+JSejYrln2sugAU3+NOvKXmiGfeZimCZ8q05zzNz0w6g2vgU/kZ6Eo1b4gVlmcU+RCFp1LJid8qVZxbRO6aUkeyyt8FVb8MeZbg1yX+zuGrgTXHCNc2S6XnB3D1T//ctCHej6JubeVp/RuaQoYTQmwkXV5qq865UpTPJVBfJz83GpnCMrz/EyZbHUoVXZvuTFMpdoLOkwPjB2nd72dN2oza2ZU7AbBnd00hzdl7p1Lm/0TdEH7FNKjto0/9Lq2TLLU13TStQlO00f9NCGf9Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602252\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455455473?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SvGLFtC9h7LpngToixEeWANYs9wYwcnh\",timestamp=\"1773602252\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6Mp5xAcfrsgUQID94pkfgvq3wYWAJ5CZ1hLwCBl5loYDwoElGs6ezGY8M1DoKWgPz9zuHbrJufJ54fJAT2ewzjT/DeBipoVKZ33n7m/+7ohZpOJ7ZS0LJwX7K4Xc8QLaV3iIOvrV9pJmDnc/Ir20mD/m43CIE3QmVv4JPWjlEghAdvRfBnrrxmkJv+ZGXSPt4r6iBp7ciYy2KXYXckSQMrR4imBPiqWgrvbtlSw7Qft/y8JWKZneMLmGrcY7vAXxJN2jBiTdm0jaBHKjsEgc8uC7JgP+DA0Kt0/dQhvWR0BNngrkpTMOSZIBBOX0HPdbwvxXtDrxYYeIO8uoq4nx5w==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CC8BDCCD06109D07188DC5C05520E4C82B28CBFF04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4d845bc0fc8dd09de214db0a319bb097\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hZwiZlvChurxXlHpir1Z6/89Ygc6tlFNP/UD4praIcuYkr0LGwqzlsFF2+KALACZumCs4spi6ubwTMXWgODxp78EUJtedWi67Du761ESSU8LAFijOyV9zatKGZ15vTjED7u5yXwSjblJHp2fzIU3Vo1qmPCThQJTBYdw3fTRYhr5tIjd3wfXtkzJQZFqXvHAt1G/G7OLLDh7wdi9OSgn2aqr2+JWKpyiMT2+KOc4Vo1o8KnqxeIeW9vIDO4HBVI+Wk9uuYBPcffWOZ3B2BICNBL2kFuNC+KP6brcJNj855tiTkXte2kEJsAcsG3KyY/gcQkuLZM+a+aMbt9vfstneQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602252\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455323751?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YzU1XakviWBQGM4uebEG8RDHzs8KLNqL\",timestamp=\"1773602253\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"G9GEvIMkIQsmK0nTG2ofT+dfIH1OPupy6jXZOiB1MFHWj2nUsy65Tde4cfICRXHk3hTsPwu+dSGgYwhsYytV7GED52ZWvRZQDm/yRes24c7+oE0DAnxkcSvqjOecdqa3PkGEUIlv7+5VWdjcVfqmHc2SC+LTwfF0SSdphPwth5XEW1hMNTsUdeDD27X22qGGCbojLkLuuEFDINvjgqiaOmLdTErUIcmUCMRixCQXRsITAN4eFdF35oUdGtRUHhpyVfVgS5yGMHnrVHpesAsN1XMW5ULECGZHFrEUOY3rJ8iIlFz0KLaQ16FB8fi5AHXg/htsjguEPrrEdDo2yaDy+w==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CD8BDCCD0610DD0218ECB3C05520A0BE0628DD24-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c80dc1c3bf91c04c56a340290cfb341f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: adqKhwUSE+vacY9R+f8MiO6AvGRI5B7mI3j1bd+XHchjj30oruh+UBMmyZD/Dr+o3TZJNEmnlFPDsALNqGaDLK1g4SNE7tUCgNKMl0WI3k2yeZ4gxywt7duBznacIsNmLpsVyNHyVwK/TKKCeDFEocjIqPlU1Gki76VD72mBiAdRq9x1QKOXD1/EeazeaX41ZvSSpOkb4PfRoVjdPASmDY02PwHuzJpSRjnaCne1Oqi+P9ZP5kEayIZK1ay/JMK3PWUJs9A8Qm7G+Dl726ywsrDa3IsrYdgoT5F0YUmHWAPag4oAMpXVLaQR/HZzBqMtPizwUFFqWD4xn+1lib0i6A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602253\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455025092?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7646OhJ8JFtSIPm7LdY6z2H1NIUn0ofy\",timestamp=\"1773602253\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UFjPCOoUBOMMthtLZq4CHAfpJypsWgVpxZ2pmfe2Hc9x/XfMHH63g1R37Jzpf03+/eLHXqNons6Jb27XseivxcPXbVgrYo1tJRzY9gP6YG2lGJ5tN1oWsKLYCbJ+8wwys8IQpcA82XQI3e4BJo+Z1hxG8MkO4OM6jPBWIh6UndK02EBF9+SgFAUWukczrm/juPnPY63IqPoBSuO52N7oBfG0hH1eSlbQjIDwiBVseie7dAAs/fDS59HlKYDnxn7fS+5328NoAjVeP0nCzZaNYQayMqP+qys5b/E16qPJNdJFUxKBCKklM3tyMQAFIhLUKswGlceQdyGxzO99FuL+YA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CD8BDCCD0610E80518AFCBC05520CCA10328FFD902-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d95480f6f1a40f65a6bdd024be680ee9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ww5LBDEox94coXYMRoPwt6mlS9FJybgSxZcnLp7TgRBYU6vFj5m6YwZpo1bQtIdO3zoocivLBKJNWZMggybTmkXDiAbEidAisA1BJTWEINScMWCs1OXpP2E8ZmmWFN7Uczi+pwugmLuJnWm/c6MflJlmpa6Vd6y9Lv6HgHVJZZTLjAFugblhfXvXG2nKgE3wOZdoBTdsPIB/1JU4LOqU4rd/0DdcQMXDoAN+1TB0HkyH24naNtQigJRaHu0+L7crgzbiSeKG7msWpbFNJL22j+HppN4h5OmQbrMW1A7tq+Xh0NeZTVLI2KdgnrF+FRBWPSeM8okjsowdVMYYt53aJA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602253\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455485374?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YpWxgLXB9z1H69SB46pySU19hPXf0gBW\",timestamp=\"1773602254\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Vl9GrtCccpYMshpQ3MkdjiaruwQIB/2UMyvzCYIJVM+kHI+liVFgrNGI7KXA6BGNlHon/KulRlRLd8zshR3IXbdEsyYyZ/jBYC09R6Mzd3E2EC0oMvMR6/Vc6SI3MFc72tYG2XyanUg2uk0IV8g+3jNI/DHO1/dZosjmhVQ1bRO71c5nartjfhST4kjJv7Y7iJ2pYWO1gtHgwSosnppZjkP87CkesYql6dxC7vqb8wNyXv7uJ6O1Wul9Cj1Q9WNmVg/lToC1Z7i7tpOuZf0zX8K7vacEBCWBvbUc7ZitBykHGyYmTlj16fW5ERoph+9qoemOD3i34UPi+U5SscgW2A==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CE8BDCCD06109B0118C4C2F8AF01208CAB1028898C02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3c52e56403ae03074cd09983be85e9c3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: X4DmxBMgaZXXTFXFACY0DO4TvnQD8vCQMIL5XhCFir2TVQGBEF9Tav6ltT+FZNhX53Vh1Cb6JZlMGa58+zJt234MprNpltS6gZYWZDlyXK0QIvV4ZCltRQYH3+T5cmJ871pS5BrOTfoaBuxX/T+nML8gtAal4kuikgXLELouSEw56a1z1V53c/2wBZYANmnL4GvCrek1PhCFbykFqkhNR6QZj5OAgUMhzeLhgC4UeR2dySgdK0+xvAOkF+Boq+Cmh1lOZuPgQ0fFPMKLYXzaTz44OtgGfdcBuXB7NsZ49knBprBCxN/46tdlZdX6VjXRX1DTYs7SOYsWOKYlDZ1MHg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602254\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455048463?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"svcFE3Qel1NTRyesRIn7XKXUXXOJfTZq\",timestamp=\"1773602254\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WwwQA4CAAPD3UGhh7xMQP+CHimUCJL1VsovRCRX3IwK3MxeEYclhZDjzJNUc3TPp30jaRYoPXCExAA5qwr9c28nHvMS35sV1qxDrWcMeQOb5hH2QEMv9yfw7YmhZUzWY95tiGNzvKx/hnejZrNjCCXkUB2+oG3n8OSPE3P2tvOiZXIv8CPBogvlKC6ToYJBym6gnhXSjapSZB/R3VjMvwIyvu9mqXTryq8U02nIHRJ1ty0hpnvyavtZmhSasVbp4TtnPmnMQHKWVwikVcYQCXCEZ3LLCwzPCsetOZHqZcVhcvC012oNnBxuEPB1Xqh9fesUJoCce6uuLTJsBtoqrkQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CE8BDCCD0610C00418C0BB8C5820CADC0628E7DA01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8d03e28071cb9f92f7d18d2dced41686\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dooJxW+AG7k0+M0jOi+t0DlCrZJXYOTXcDB9FIO73mxu5QSmP5vvg2COlWcz9u02s/e47xoh6BY1USrngOJDj5f2RQ/NWfVkfYTSMCPg3dh62E/oxZYWNKy5ReFYh3n3kk1EUglXj3YVRHhkLNoMESUmnELlXJ20P36HdiDYdr6DlQ2gHwdFjrUv6cSB4kwL4nmWs0hMbAJ2tDtaLAlUedYeFeBQ94o+CtHTgCKD6ne+mh8YPJgq9u6KohZ9w5oDucMQAge8b986w4Okv/TzHZ07kYKvT8ZG5fRpZKtLw95Cuox8EdHo7Qd9zLBWc+0F9MfM4YlmLZVYCCOJ0r5WPg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602254\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455322747?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"66Nt56bCuHQsb4VqWWAVNRISBOUElpdl\",timestamp=\"1773602254\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5A+doUS68u7NJCK511lRdaA4XtU+XgXxF1G+d2OvnwcHXNxvXQCWL8QSIBP54bHpFpPrpb52yfeyfnhRmFIzUZOX/1XXaB30edygl1Z6Sk0gpNKbxeEnIwcXLjP2rBFE8JhVzrXT5cHzK41ae7JWVEbVFehFUhv5vI+JoZwHrxEysks/Kw+TlOVu+uNBACLapX3+V+vs7uR1htryJ/vmHVK5tM3GoFyRX6chuRsFshtMz3ZTayzLXUGE3tut2zGc+H1ZSS8noaW5RXw9SlPPHLhtmYAEHJm8Pm18GrSMMKg266luxcS15nMRxTouLpk2gu2zxGLvQ6W97u5+4l1NiA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CF8BDCCD06101218AEB2C05520EEAD2128CFDF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3108796b1d99005729867f0504ebc3c4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: I++V6xDIDPiTEvr7m+MhFZVoH9r/WyNaxjFTUKTGDZ42Ps53Y6QUtVgofnxuUIv+iWUX8J3V57vrknNSyxJzvSIWkusmy2z0JJ5gNhzeRvaa1SBSEKQpxQWeVOGcYf5XucDO+Qzq7VRNY5GCYj5XNS5b6EfybyA72WYZxmkiF0shbhwOQdxDcHXkQA5dQNBiYFxz0SR/59dPUPJjJRLI6MWXl4jSxDw+SZWxtS+RnEAHOsrAQlvG93DHYr3da4126MGhq01l6wU8eKoXtWXwxf4tyIGDusekqBLJohUW9DwcyfcSutDgtY0usn71kwbdD0LrAG8B618JGRu2zYK9cA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602255\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031455459103?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FtaTmzOCE7KhQkGIBHKJUwgTAmGN5u5k\",timestamp=\"1773602255\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"obhzxStrKXeRC9jfIdQs4cntDZZ8x7ZT0yOUXhGknVvy7OUSpq7JyyKK7R5D9Xo1cTAw3mKcgYT6Aewh2M/GqaQZCPHw2co11WnBJY6TPF8ErD/HmlpBpWlRH0TS1fP/pBjcAItRjxDDjR0xR1mO5yYkfuCWaPoxssMEicZnfsI0x8h0VEYaanDnqYTlk9cX/sHe/O9Em0A860eUmdBIT/PmfXCrutirRUSfuFECDFG+X/nyRSdXyN4XVv8lbifGaA+TsW0uJxqblah5qpXfsE7oy9BAkwdaAMi/OEmfo11RUMV3Tgj2XIanHPP1pEQe4MApGAlt2hhykBfnD1jEEg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CF8BDCCD0610C70318BC9885AB0120C6CA2128E69003-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9fe938a76555dad4b12a0786b7f66f6f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WnXlRxzY30Npfx3ak+nVxMgY0s/+pI++cLmtC5mIAX15rPpF/xc/t32mWdkM9vDz8KF+z+lgrATsjcaO4yGJx96zG4R9m9b0WI+gpDTz1QwxzVaLM3FuVoIXfTvzZmBcX1zPGtwnwGPDmroArAKo+Qhxp82yuyPVHS1VyJYS9JTjH++0ccfs4IMeX/Zm5rwVwjk9hcMkzqbgHnnSD9wf+7P9s3vUygL+1thILv60tljHr6g7nw1tWY71Ra21LbRpwCy2pg9/pHNHCtxefsu45Ku8o7WIM2GRWUeyXEKUNnYCUZVN5P1zy7RyuHZta+zWDnFgcy5LsMGmcSRy6NH3gg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602255\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031456644486?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0VaZho4XyYAVQW0MsgX5tVfLgcI3nNp1\",timestamp=\"1773602255\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pTjM5NZf8QTsyVCvkplObEpkaJta1/l4Q4xwhQb4GBXY1mGTowilQ3CU/UuHgd9Y3Mw2JJdTnGu3UqE3LxgVW5Tyx1+moFxUCXbznBKRnmr7XLy3z2/mGkk8Her7VrFMp7+CYiLBchvD5OpurCkHFY2GcEye2QCpm2PScGjqlcHVSNpUOM9DImb3Avxp+GApcbs01o5fxsqoloQ4413SqVN4YQECnhjRSld9BUbEjXL0jMS0oG2T1vIgJWGJ61/eab0lf/hhN89YRucJNl4niRlb7uvdBeHVRyCET1xE0q9HwcLp4gHJYQhP0GRHmtf96Rp1E3mjKT4ozPISPGEQXw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08CF8BDCCD0610F9061885FECBF50120F0F91028C28A04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c41cc29101efc97b044f8b3a7b401597\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Q9D/i+OiC2em+oHHriNkROKoEj/m2T4ZNsj6r8IldeAH2IJJT1S+bf0f/H/LJBoNwVEztNPt3tYqDWeA3ZYq31uvGRFolXogwjKrJj7lIV3OfhwWXEZbptiV5UbENr16EAbjpWEsMzHfgXO5ZGnKfLnSA26TAe1DAvHYoxdAXwUm6IRDHkYOVX53IM6SrpnlVyLxeVTgOAVypaNUBYnf0eAf2bj0cDK6OXJJZhlrGjl/oEgXCXE3T/pZ+DOEiLmeKbANCAqCgMg5hNI+O7QgiuQgo7ASp9Nzxv1CDqd/88U0b9sJUtxSz6rShfqZj8vRx1TjaN53eB6/nJZ1dku/XQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602255\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031457426978?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"isQKGemTN0dlYe1Cj63ixhmyx7R8tRdR\",timestamp=\"1773602256\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2kkgVhGS55PmteZ/x98/O8rgMVjGx7ufq4aaEMCNmLWxEHPk84mlo1ZngOp5dJmLTyLM9uqNhaAGpXpcn2HAO/0RbYB4dm37AD702Con3iYSno/NLmH4Pna4+jhKnB7WdcIDlK2zF+Ky8nGn6iGUCGSJhPEyqIOF3CXoo8WA5CMHJn6CyHge9XEQqNsa6UpB7uPZ8nAnkSK8K5eS+kkSxNjZzkZDhuLIlrbDR4oDf6aETLDpPez5G3dOa7qUpnWaN5RNAAdfNW+RElDl4ADk1jQV46UqyKFePmt1bpHIPWvpI6ixFFbggnw5Yfh8keygaeqSv6ZK5MZb2kFajmYzlQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D08BDCCD0610A70218DD9F85AB0120B4DF0528EBE202-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1f58e594c035b20da829c9471e71d897\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Lh/tNQvURNhIxyemF33cFhCc8Pk5tRJdTC42EUqvgTMuACy2f9+ewukZ/vOJR1BbiSHtZZuhoeyShFEOX9CPjqlA0sVazNfDkRdEpbixT2ckXQLn6GfDRv/C++K7jtbuJ2m8BVm4yF6mybzKUDHYRwnmyWJtjCWeVke7TjYke3Zusa4FEgv3MHnHn87nXnjEGRbkNmOkKlu5AXtfZxwBv5N6xKij7tlXMm4DIBH+dhh6xIqJnF3u6pxQdsvVWTkcMBXphegFDu1uhRgs+C2ZLN1hOvnRywKrfsm9xToWvV+medHCgdMfZeImChUX0jpAPkSMunrNB+OY3bB+PyL30Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602256\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031457818807?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eKtseifzo6oXtVWbI1GOO1g784b4fPud\",timestamp=\"1773602256\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gnu1Cf4VyefrW9zpBNqy7Luem9jDI99vnCbUnjVOxBNG15tUTJWY8GyLdU6YDxuTfHEagQ7URLomK/TIfg1LjGgo3y88hxyXWR89CUliDeNVgBVq+V6Q1G8HubPRXHC/zSEH6+2GdRvvaPGYyID2oXhnh2Kp+yy27pnQD/JMTXWEa9uVZ3ZdafRjZjNeWAoYUsFvVjE1BTDoR3eKzeHoGNZHcD3nC7VGO2DgP5PnnZFgS/mDKO4h7H8dMmbRr4QsvOZerfQh0x1XoHpfF1EAE1Pv4IGUXiRXHH766FHf2M2MKYXsjSb067XWSiLKbeJvfva2uKcbTSHhDhZtYwpz9w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D08BDCCD0610BF0518C2A9C0552086DF0828C48F01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ceb7a736fdbbbcad42c496a3953fc326\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gXDkNPgprEap2ZT8d2rIJMj8qevve7fb/NgrB8VDTGUvLY6T0ZIXPCcvdEUx6hZFGNSCOdyYoyu6RTuRpgoL1a1y5uTh/sdb+GOGPrEIncbA12PfH6boWJF+jj+5+bI/jgtbhUXTYA/GSp1MlnaZV8fcXLNbsglB1FJuJKc42IVPuclNXmUGtG9mZu3u0s0UAmv4OaZg1ocS1k/MvceiBL/2X+Z/r1JM/1AsB9BYm0RsZVb8up0dax7m9f2K/IDx3UWkf3vbjQ/Ba2UgE2lHpwd0A5epjVEcrp1Y9ATdnZcsJpSShOU6uCv/HEZHfOuO3aJ4lTau9jIfd1h24OmBAg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602256\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031458806370?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LInMyV0DbUuF5rMJ4qG7enL298RwWy1i\",timestamp=\"1773602256\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"akNy5MeswsIcyvNbgVHIAg8+tQxY1b1YXgoszL3j5H31v1JxZ8orF6HeNf/Eejxd+eVSfyizfIxi809L0Wk9pmaQbFSYgfmbUmqrAdpkVr1uwmErCdSHt9GiyLfvZGOQQdCYa+Zvki0CoL+hAG4G7b5BU2tEyYelXs8ZN5weJIn1Hufh18ibhYgnqIJwLFGwiC3fb2sqzFzqyseqYZzy05WccOtCWHpxfD3wW3qFZkZydu30u+TamFIn4YyJ3KDdjP2or55Sz27BaXkoqv3t6bu7UhAOuyrjP6HXldgbhD+T4Y24MUH2ymAf5r5YS0g/j7BJQ5+NSBlRu0nmRR/8xw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18BDCCD06107818FEB5F8AF0120EA970C28F09605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: bc8bd46e611693ef81eddffd466378c9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: V2NRw3WtKzqQxDM1sw4YrMDqG9an9WzvYFmbyOdY758K1uia4XK1q3ZuijgCUB/ySKpPHXTUNYovGmAR+/rtMHeSgbX+2wBqRBTbVBRtkO1p/5AHfMvmDNs2p/3EjTdRIsNqpmS5C16nl4VyY74wqmFuf40v5drpphtGBrCt6qGfhqKwpLJWpkuGXoWCjVr9vS6H7kiENgfAOppyL9fU/rTVtx+eYtItZSdFyZoc7lwCvwGWj3jOJ4J/driGaBafSErezHY+8ow3u9QXH8CQDE9Gk553QJBrck0CnN9YA5oCrluRfokPxz3bFM7r0xasr+4v0CNFkF/nyahgOpdAjQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602257\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031458275015?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"llDToEwfqQhaNMTZd0f6A112GKA7DMiF\",timestamp=\"1773602257\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Q3TJ49JHpm01VvEG9Vz6VaX3OCsVFQ0kRBwA2Uu1N1E+nWCde80FssIr3pYDQKcKWHGw3fqkF+zul0Fg9Zw0mohQElaK1vQSUwPVrMWt7z/+ef2NwKPUEsHYsh4ItgBm2CPQzU362sQjcUaYdwO7SS7QLyYnDjgRW+N81/ncFp2hy72LbaWJMON1m5/rG+VFqSenvBv4CR4oBFL9mne3BBMIFRj0XP7UeUoIsAwfd8b+JEngMsZVhHt6oFhjZara2UhwDw3khNnrbOuu+99l2XpA7tcaB7rBEksbQaPfcYFm1vHOky70KaVZ/NgyHxN+nyR8khuKnSiailr/FuAFwA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18BDCCD0610FB0318F6E4F8AF0120BCFC0A28BCCE04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 79f1c7c0bf203068242d43f1aa1ee327\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FIUdNzMafIoz7Snljaj9g75Ab1nEz5qQ4AjRbJNw+/NqznpROecO7GVnOgs5S3UBy1Fp4ehFMIC6BoNXItUX1X2oc9g12rqmh+AjDzFPIWjo3shTa5AoOOHq/icBiwH/JXepsfBf9ctuXTKpw89AJqYTR+L8k8Q/Wl/wjG6uRyXb3xo7ECendw2xOvxk1m1gNl8vdR1/vP3nCN7L5ZSSaNP3/eM0sTZIwoQtcFkVjNWoZcq7Anv0w4LCcZIxbQ1oM0eBTSsW6YOsOxbL/mzn4USym3/0SMc7Q7vOAnlEDEUhyDkE1Nhq1xx2QlL6Ua/3QBl3//BnfPv6tcNVfJfLiA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602257\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031459056597?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Uu0aynxjnZfioBtLLBtlyoZlGrbJkjjV\",timestamp=\"1773602257\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NoXmAOMwXkjex7/uzLwlI5KwVsCCiz2IaFRAuXDAIabluQYWXTyNCRRnx36Xfl6tVDI63FV+uj1qGySDnDMTN10t5WpTuqvtEhf+1R3swn+pOYCqPZlCob6CWDgGzH9Kkkl0cGlm8Vw7TkjfaPWJSCMNCH0YQk3LpaaqU+Pe+oPQnM1UGQsWgkPSnw/Feb4huJTP2AKzNv3Q4YSvi6c1xCgFtN5GyMixjhxGy0ZH2wsvT76EnRuCfwUMQZaIBxGNGQiahiVZkdjmyCccHs1E5OUhtTCwulL1Uq+239khqY2xOBewaM4VrPXdobDHVQiwPeZoenvNZ2FZhZHqeWg9bw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18BDCCD0610B10718AEB2F8AF012080C73428B3FA01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c4dd57def2df98be0b81d50caa2a8028\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: B6LzZr0TG0zdds77olmbJMcOf681LBh0neKA7bCWhVONG2bX7r0B5L/nA9R6uS8FfGDZj445cje9Brn35pld+79422ZWkpsnr4brGzjI6t96+zugAR8urS2+4WamV0omQsDn1jhzcHTBrwYMYdEh+YWguTSieWWbes8eGUFhXp9C9T3IlKLTzXqMMa8udlYTQmXSisFNTwX8MFB2kjzheFljTWkZB6jRd9da3/IKVnUkPi6X9l8Efoy/rHRux8mQZhMEPqNZ7oQF/YUVboALL6H2E91Uq9XAt+aqq6Pe2Mz3irHyn2lmvmNe9pkLLnwUKfr0Y9BSyhzQPzjZLKBPWA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602258\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031459871713?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"c4tKtUDj0kvOVli1DpIZc6DXjoNitTJN\",timestamp=\"1773602258\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"p2VeysNI9VZkHnV4WiuMwWQkkcRJzR0/URTLhaPLWJA/4j4+o7U6jwbtv2cS0lbN59/3v/Xm1fWZLDohqJ1BVsLv20nCNXJ/dOBAtbLPIZxiFLNgq9MQ2GR37KaSBmYj+E6YDKL4CgX1YTTVBkJY31ktaasG4FDHOXcfXHcQZKjqERE0PvPY6f8vuUgoSFte6ahh7IPVGOFm5YEKzm2KDmg+uu0aACMML805ozuM/tyzE4v5pmRrsNIx9C9sX3E7epQakK7oK5fEtgxtDBGLGOcGr/ZEufKQYRMkd1HacSFeyWqCpykLdRk2N85yNxt1CU4DVRQVSzjkcKuvk4anLg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D28BDCCD0610860318A8C6C05520A2EA11289BFC01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7a0ec269c5f7a64172990c17a5b16300\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jTvFiGO5xHkPNE4ORtJPdnon5CTBeQDBJE+PQONvwnqLi5s4pXHFqxxjSuthkIbAopazxEuWBo19vYxQatH6SBukHoLP9rU2GWQh1ZSiyvyyORq6eXTi3TsG2/7ZD179m/4/b7VD1eNdn2oUw/s6T30arZSrwDN3tzduazDKB8CZR8aYkO0gdsX/9LU3JekFNcpcNy3bCqkZyBCp7Z6FAoFbNm4fTbGl0HaMDEpgAFNXqAYGvcP5ZOui791k0TJv2ejV6bgHbSFJEqmHuJl0RN1oKRtEZ/TxRukIErVi5ypbbs3N/nr0k15Clw3yBNrAnBDZxgTjVKCCQsjyXL473A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602258\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031459317552?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"25MJrAgBSQSm8ThnJi9omPvmn2YFsKCy\",timestamp=\"1773602258\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"To/pJLaZh9Mfc47H4J1Q0qYVGqv9im7vBbFmMzafJo3WZuP7MXPNSC1mDKTHF+xBKbYy9eYdf7xN/o0MxF0uE/Kxr6otiSy3xZjb30akmKI9kDeRPaGOk2AffaMPyWPIP6412XsRXvoUzyZ2EQjyZEuLt68HDrz3/wctv2k7S7nw2JQA8GKlZ7urlZpfsgc/08+CX0FjLRDNUCQu9VaEokXW8tHDTgeqDslVeoJisa5983fSgCrpYFwgZADqESXuaNvoy4u+a1y9vDfecQxfRANSxLgohWkQJWl3X9oTpuliF1bbD9lsDfKVIlQ81rqWVVCY5gzwnaNN/CuFKXxnQw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D28BDCCD0610FD0518F281ECAE0120C6AD0A28ACCC01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a02a83706e60248774d82a296176d026\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: X/1Z09Z3Fci0kHiYrgvWfs61FYZ04ReyxZPtRcWaVc0pSDVkVQXXISqA/wxQUt/OISRqgYWnSci/I2Ch4wor0erzvpZ+W5KymfyEKwwQ2HBhDK0ADYffuOr/DEz+3gYlaLs3qwXhCAgstljswEg4WehZxK9zzkTdZnrVoUqdPmyBn5Dcs/qWRz/QMI2EpK4yiO1qScFgEeZFk/Q4rcMxLdYw6qmKzrKBTZr9tQ3GfN77zkNwGI9qxtN0BVhFoDh4E0BdIcvVZl+txCfLSa6WpKRLYNP9d9VQmlrHPOMcNJ71O2WWcxC6JViIz/EXKQ/ey1tlbbc8IqRvxaAsh/8zzA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602258\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031500747381?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4J4bgKmFbI9VEUxzZ993cCxeliOCkaMx\",timestamp=\"1773602259\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DqlKHh9WabQOxoKwO1QZ4Uq+5Bu6+k4LdqbdsNhJPMkEThQBglXPmm3/OqS50Z2PAtABulC6wKwahb8uld6TS4Ue8rAa4hP8lWHwGd1yPrZq8tTXjIuiXWX4a518BE8+k1CrH3F7bXuDgD+TiUP+xcqBVufsKt5Sa6soOzaPnz98+3izrxWShaVaCo9r4+97IcSdGSW9zGH+dQJtsskzskYvlICz6AX+n2OTwBKTqAE2R84nbMguVkzlZeQvFOV5py+cKpAQGDycmr51rlLB2/+6Pb+o1xo4Hvt7Tt8AMk5lBRfk1nI/3dzmAAgw3QWsNbh1rZ9ae7ailfDmpnUvFQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D38BDCCD06109E011882E6F8AF0120C298252895B702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9a5880a6b5c246c6a47fdae6895126af\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ky5+vRW6Tegf9RehrbkWclzv9yyj1d+diU8Jk1/ABrlODhy+4iYqmuZiMbV6X3/kODJ4lmRKFOSBAd5FUH2Fn42EKBSFqH+TxN08mkMpOcGIz10NGumzdCxR+adFzjgt/LW9KR1Xz766g2hYULFCsDae9rfXhZpZ0w7C8u8429PtO/1zh9Yf16y9+7MZLtGf0e5x9wlzXGdGIETALDwCpHYoSZNMVLyHLjvuE2FeUZmJ9zeyiPp8567k/Chq7ZqBZiGbSSeJYqYd7QDTjBv+jBnR6dcg3jQYbcVzBw0wmRrpZoocZJ8nlhPAOI7b2JKv5VEdxviIRy2MPrgrr/+hlg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602259\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031500011149?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"axrwFWMBTeRPV9KdCYtXKNxd3wuIN3OV\",timestamp=\"1773602259\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qmQ8hu7xdEf1whXGf2v02nMhHsnCAyNNpUY+6rgFHGQTQomvwYc9Rsxwtsp+FyYMcJs4RHWlugkzbc5mywv88XSUWc7mKD1VLk51GjJ9C1tSLY6/ayjJo+S2Zw6gPGPY7wd65v9bQGqzHZOVW5iBSvO7Ic6YGOWfQvffVO3M+8vuvcG7NLspStBRCjPFZ38swtHCK7SCPW4bkJGWlM0GrCrQW4y+RwYY3uGKLGTl0KXFGLasH3QP0YkquBbW4AUr5VFLf8dN0e/jCA4Ngviih4CJqooU2dgqOP+sYPBxKZfsEX2mLoZWxv8AGAN6gst4HdfMHC/yeV8HhBHxcpQMAg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D38BDCCD0610C904189BBEC05520E097032885D005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f8b9baa864272790ede262545bfdd4e0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sxap+5d64G0YWrvYPKpCJMlWlRew6YFEsXAHi+5BTS9iZPXisAQsO0K3b1CSVGWM9NgSQmIldxIePqZKY+NcyIZB8tM8bu+Jaj2/Cltt9OUG25EtamZH4YoPU1q4gHH6cSxVWQuemfyzf4zOeX7FVBOAkUVtBIM8y3BU2mKA7C9g5MpYiF8TBto3LbmFSwJVH6t7MnwwSI/V0t8AmbUUnhSjDP5V0dMBGbHSj3bq19PTS8LZGILELKUnG70s0fJCMCj2xioryt/nDnQXKVpqtLg0rpQfsnX3BNE+emlCpo3l7+4oIVPZ9zXQ3FbxJkORhqe4gK5GX431Cwubi/VgtA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602259\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031500316481?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"382qV0qFkvPyo6NZR2eUu53DkiEMty7E\",timestamp=\"1773602259\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YHjb+KMBg3UnrITGxJ0Mdb/TtWK5OC0GhpEUYO/2YCrItQ3fy2cPX8lLQN7smeLF9XUxG4MLNnjGtrWWJhhgRSHe+2zqHdAYwhIaM6/R9wmTJ0KjRX9nJ7+Qg2FDN4hLaWSd8t250Fjp8COu07vPw4ttv8KgcOekuV65istVY+/QhgqpjuuQNh0DS66KSOqODyXs0SxEAFw/mqtgDfkdH8SypVGsfx6jOdw11ZZHyxE1LDnuL5H+tC9ZcHn2oAcI787NrC1KGMjrgRyHwj9skLX+W4Ftv0AMUg5YmL+g1nPP5itUuhiuV4ssC6Kx8Yf0ga+vMHOue3T6Llxgnguxpw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D48BDCCD0610131894C78C58208EC81E28B17B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d54a2a2f896e5a6c05a1c797f57fc8f0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BgXOD638rZcaHq/ZwQbIODrBnsgwiwXDKMe+NA+9nY78Cl1Wxih98s4pHJs6cf48F6RxR/F6CmKwNC52ak5ZE7NypfnIUMS5Zj6aL+EkcbLZCTK0mMWURxZdNy94HJvErYolDmbpRhjAh/0Rp35g+X5hoTH0e4hdDW32g54VFwGKD7MBBhX7Odw5xbUmsq1gH0+R81FRBmINYSP6/l1ayrJO2cAnEtD8UT9dGH1THpF3ZdBON+Rt6ZoeV4iONqmkedO49jl18CV6GY2JzZSoPkc/SrMByFGtE3LrCF3FB2eQcAq9XOmBCvjlbtfi3nH7eTwAhpuUMcBsn8eO2tyuuA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602260\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031501705341?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RKH07E35YbBSQ5Gf3A0p2argDEuDbbdU\",timestamp=\"1773602260\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"MVvezHgFVy407h6BwpSs7Qp4+RY26rqgIDPjEfFu7kFSqDR+BXuKWNouq1WQeiVrQI5R35erHhLcZF8ONite+o4btqxOheuCnbjxhsRnJp+aKuhYlrgSxOL/nxGnJgmXzvEPyvpVLYrtfTXGdi6f5yl1E3tuGrUEwjZD3onyg5EgXCpcx60Joi1fODf/Wxc0zXp0ytWIYrPiY2oPFWY0ogYH/aYRP5Z3dP7RLuZZRBmw3LliBwzGhfBOn+zGxhL04hBnBOr6ykoUbayvXXObJkMvkrGdZ2dtAAE6m6fOGBijh6e/qDfDbY3aURunSo8zaynMQFdaXXgMQD8LjsmV2w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D48BDCCD0610A40318A294F5AF0120F89C032891C401-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b7c52d5c8c4c846644a289634a518e1f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VNAlIn+7pVmDpbS9l3Jzf6cTjobrKrrKy8nNa+USMwE29KEkilij2USEmGlHCHvUDuNHc15SnjMYtFVi4yHEqsio8vGv9AFupsjAutuYxdlZdc+W0bx1UZ6Tza/5ME6gUWongxZJ3DOeRihParwIWx69JWn7aUArwQOysk3ouCMbP8AZUqy8717KacX/hrKHm1AB8LJ/l3bvlzyDhuiSUNtQ0Dx9ETkZFqxUdl8d+TCtzCNhjZQbzPe5oXv929A+XYGUoX6fGZA8S92FvHKmFfOITbXqaVX241FID6ep+8RcwDVWxp8NQIUUK/HtIRq03dZiaXbXoxl44l8VDNTFDQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602260\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031501484669?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"J9tLebrafFjQ0a0SKvz6BBKiclOoqITI\",timestamp=\"1773602260\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ndErxU4k93UKiAXtmXvDAJ8ao6vCg6lDDCkGJYEzjNXuH3mkHy5cOxJw8+ZC2JAOILWntPmzAXDLgSyzWTnUltWwKvN6m5ytIlG3DrZ9ms+9Dd3SR2UEaiXaH+8La7PtfElGsvJ7BRmf89SrwlY+cOil6b977cRCUXj3a3HKfEvDVWYTRMjfFguHKmxNM+XGLxDO801zD+cgnbx34vP4ZHyHuDZ3sLS+v0rKOi1/j5ZRMuj48sGOtNUD9CwyhlFnLJQu/FdtWYz8oihJ+s0PCcbGGTZBUGbbfvuRPDsB9Vdwxl5j2jt9cOOXzitLJtf9JUs7mx0Nvxt0Uk32B3zNAg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D48BDCCD0610C90618C395F5AF0120CA8C1028A9E204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 30526338f9bedcd20371d53d534a4c4f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VzoN/8E91vakP1Ehw1tystMZezskOkVBOgiqCk+437OvsVKxbEZFtlaGU9skoDr7xYJaBKczeNcGjpkCySu6RaoCPL1Hgui047QXbjS8SZrq8goY0n7SmtNp3f4xaiZKmCks9KeBZ5vIZeHeVIiFPm/fX8qwSXI81/QFFTajfn9u12Fd3d5VKrmj0EriB23+Eg4J94lNS9GyOW/ciagCn66tiGzfLjp8Y1IQAsPol+cuCzE6x70dgQt2IGmWlOPCN7P2PBNlRdzsObMUyGPtDjhnyMg53MObm6Glf+NHIkVFAmH1ytBJ46ftMlvS37oZ6uEr3MZhdHPSHnBwM2OEWQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602260\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031501378400?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nE75qVdKOZTEX31DcCXwdES4qBcuIIl6\",timestamp=\"1773602261\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HJFbHcxEohUVkJTHJH3wFCykL0sSnkitLcG9qmNlx+Ri7hC9BUXc6AYK/8d7MS2DvEZG9tAqx9lm01HlEIGXKiIHHu4m4OA4/I8eJP6B1JELAERLVrArNkgUDGYkut8bWMrQn2lEsS8s2Re1EMCuN2xvO93TLkP2TxlyEu02WH3prdPa2UG6Z0MmT7gaCV5kHHUGYkDbvWjm+2lzGujXOQb18iOqiXis8Omsih1xoO6JpHYbHCLPEuqx73kmYMADOFrYUwAl8eHuACD86pLOFtdqOglmAXg33P+AqY6f7Va50wNKbWYWgVdHjwIA2Pp/EhOphUVj/X9WbLe3yxKSyw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D58BDCCD0610AA0218A8ACC055208EE11028ADBD01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 836396284f0592f58f195b8d07b5ecd5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: duJPHFaC/P14uyulomLtVVzKRfLYdCbF0uZB+iy+pMkyKXUeRc2izikP30Y5H4Q4M1vaBDLA2d9J/J+rOgCdrEA0neZbZ/P8BadwKXE37eJw6tC8q0Ofyk8Ia9U2EESaoCYL88wvSj1wzAtySHaKvpxTDqUzzTKFT8O0ORu4qINQ2zEJ3j6+MCK8/+2iSJN11MPFsYcxUFMk4RD8W8mafv6hUZfzkAeehVdNOCDAcQSArPoT6AIsZTn1EhsHOcnbOoWb7a5M21nUNENYfZ72aV2H2tdsPBMk4c4zE1VohmiDeZfpc6XBwT3UmBE+TtX5V/6oDu9v8s2RQrCtgCDINg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602261\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031502958652?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SEsF4xsVTERvke2pMB5NcvxYy6T0Zorr\",timestamp=\"1773602261\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rXL5Ht6gU7QYHgnuLGaVw7kgAme63mb6wDh85R5eH0cdIrLjTtfsKJt3x20ijJ02LtkTW/oSZ8du8wU4QL2+cImmQqpQzhyIYZ1PGkAQGzGIY+d2oPiUm4W3GYIOIZmDAc26M2aWGoIh8wQ0PzGByh0AminHvQqTaRBUZwGq3np7N47qOwlWnKDdqV/z1o14bHa6dA/hEPdIxZ2ql1sVTM1zs5wYqWbKVicZbhY7Xqa8fSrIaEPP9vtoA3ZmemNBGf5q09kp3vSN0SGLvhQy7HLtFv7x504k65O48C7T0fpmEV3/6Suc9678Qfm0SUew/fF9+PwuZ1zyiX9pjbRHfQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D58BDCCD0610BF0518F6E4F8AF0120E8B01C28DCA301-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 29d84e73260ca1276a23f5092f7de820\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lwKCfoNL+Jl5T2fduYHKAstN/gBWlmwVs0+5QAZ4xAQEyYe6tkJ5zBF9d05nbCicu7JgPNKFvTnxUZ13L32BsKh3BimVeMd+e8uIXzTN0Ug5OxPjD1fUcUKzFxUVqhM95zmpscxzGkkLpc2Ug5UIy3nWdwRjF7Z4JUoz+rQZM6tZw1fJNQfpxq3pmKjn9ZV+50BlB/69noRoP1lENYx2rLHFasKPyVnHHfIRcuuzXBNNDSIYjFqYK2Bc2d6IMuQcT9he5AMCPULFBTC9V9nQIfoHI8Sw9grvPT4Zv4n08WgradkmRuta5f8+hrMT6TA+vx7luSuFAprjWpXRVuyolw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602261\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031502007020?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PFRxgqbKEURdgbljzdOG1YwLNLqE2Kv3\",timestamp=\"1773602262\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xoAmu8iMVxMt+SgojdgHGvKxZxdXubG3AIFiuJHiM0wO7Nb1nN/fhvpgjHkDwOFfmIm3mLbbWXhe9bslh3xRUHx2Q0Ui/cjQc3IXQZ3nUbZZiWhzYii3Fy0blS1ZMd85gdf8bgLEkJjVdnMSoKmdHBAaT7LWFOspTi9yrhN94CFZgDi504RSgXRRdcTOa7OKHHdDl1Npq/Z2VPP7dGN75NoqFxjWshce/vPWbukLiUA0abVme4E4v6ildGXwOgQAep3lr5r6AiI1czV67tz5qKORoH46FldTv8Ba9gaH/kS56XrY20ft3ifq+nQWp7Ce+ci7juhL3P1gHHDEqpSwoQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D68BDCCD06108601189EB3F8AF01209AAF2B28CB9B03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0c566f9a34bec5350e5c3abe9d5a15fe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zBU9WPl3i54bIZ2qph0FXPUD5F/6ZzVcZQFf4cc/YIJYNDKvfQ4Tc8i4CDzAvFBTy+tmIDeLTKhcqyObxeXoaMnQbTs+bHaC6N/5i4GInyXKXQ9UPkQOcKWd/hIvREZpdduZnzzfJeJqv8UzS1XHylFZIv6/F6nBapP+821PV2cRE9ZPyPl7cSvn4AraSTpB38U1nGkPxQ6hTOu6nR8BvGrdpuo5nqia5BQZDNT8JD9SSTb+3JBZoME72JqBHveH2E+io8P+ZnkznTysbNAx/huUeLaSmAH3cwdP2ezPs9E9nlrPhmI4HcnHYNQoSEegBBOUGL4cBYakP8jweawVQQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602262\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031502806277?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ytyfyBmDXO6aiOhk5IJRfUJ8RpyrsFcM\",timestamp=\"1773602262\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fr1BYbuUOtb5OFT7q9YvkiIrzCfgUT6EFN+HfUBZCfSzUwD0KJRYZBO6U/ew8TZoSRRfeIlKjlpb4rsE4t2ZW88l5U0uceo4hFe/3+PQe1qNifq5gZ9AIDauBlhwtXtCvi1ydLx/e1ifBJAJI/qR7Xr6aJmptXbS2FkS+yo7ofjUWrEbO2UUg+HcS3hTaEI2GzqH7sc1S0T+9dbBBNvewd63MR+efMTiq8NuxI80UjsTf+nER1oQnTCrvuv3gwD09qzvmiHJwAMHTncZHHAwGjZJtjd5WZIzl+eagJmqmpI5afcMa+06wbkiRWPdYbR+wVuO09ggVQBEE/jYnyY5Zg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D68BDCCD0610CE0418A299F5AF01208CEC2728C5C605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 06ff049ae10abcb6f76869557e3c7159\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d35/8CNWT8dJuW6mg/6WxSTwcTi8gDHRv8cEXtxFGeffVXi/NzNKxSthJJcXBTmp4tcDu7Q/EH0n+Y94yYB+bWClBve+hpPml51eh7ueSUy2SWh3mn9592lJtkN5D5KxrE85YtJdcFD7AFMiUFAufyKteQK4eraumV5UGEnNId0eZFIlj4QfIevxuhDXzlLjfDwX747vTf7Qw/QTvUVsFS3OgsQbXw7okyGHVVPowmV4Ng4Gs7B4kZWt3Zrjo9sjHqYL2xYCUbgxJKWe1dQCKsf7CFR/l12UtGJXBHPonPgqnGIsLCd2fy/pJdO8bMSHYTz5yTweAEyc3G5OnFGfdw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602262\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031503456487?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RqzOoEATF5WnR7auB99dLULZLoMFBcg9\",timestamp=\"1773602262\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hP7xk0WVkkaUm3siMhjSJBHpj3l6RAW2CkfVFDt+6E1ooUiRrpNmgELoBZX0myz+VVg61jjK4boMd3KIx/QbSfKNDyoXA6WmpwIFQvvhW052cWelIIMm2QQKa8SsZPZ3oQWmLlzZBbx3DyWqm/NtXNRum70GqSHss5V09+JASMiudxWpbzQagcnayc40xu+ZCci5H/YXYIMO+iviBwpPvJa7xK1vh/OYVTC2vs6u77mBrlbO0s75J8cAdCLw49ztf+9QsDxb/9U367/zhqKHNwapg2OmgsbX+EOQtd1Yrh4Jq03eRC7gSSOeri7ntC8u6xaayyRx3NhgDLzfHGTtrg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D78BDCCD06100118B7D28C5820848E3D28D80C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3b3e6b13f57be0462c1638baae54b97c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hGhuUVSNrw/yJSa1XPr08Kvx6tE3e92mRtznFP6gwZ8JE1JlD4GtBRhh+MO2II8KQFM+DNdOC8KzhuZufR0iCBgwewoEzUrPRIEyrXAdzktoTTtZpDXJ07/eQ0HNaF7HmVudANe/Oe2hIHQH9T+y8HpgghnrP9S9AaPjF1RCr5UBWJsQV9ibOEM6akKowspn1gvH8Af3vV8jSJw0B9x3VuuiSoTcTwHRYdaxuLA5HFYgVeqzkZ/Plsr8nSvH9QKbRezXNjzkiwHZug9IKIN0PZuDRv224Aw81Nfy+maNXmlIHy/Gl5jP70+f9Ow3z3g6kvp07Ls7NdBN/r/reKWtuQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602263\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031503477011?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mU9CyUlgbY1m6qFJ9ptAwLMR5x6iYSoy\",timestamp=\"1773602263\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"z/s3CvWGGs24xxFkymlETEjgBnX7EQl5dHEUhV+PXBm2dRGfbP3tMEL2k3O9o0syoNOERxQV5lkKoS8+26RMCxegrvGvwzlDmJ/rDbZ6wH54+DkaTBDfgiXBd4AwWo01cOmZBAF+sFqG5+93fm2PUselIRLf2KW0vzUWHy1fN1GCm7PeSs/FAEAElqqfocUOtkii2gOhuWm8bcFLaUu5nTwarA7lZ6GzhZHRqKK3fOgQBMlHTbcVh6z/mQ06ed7DCQNWWyRAKhj9/f8QpQeYPooRRNyHZ+jm2JHQynjISlWNkDXIov8E/0zwEtrgKtYv1xkIZ5nukyW8xFs4aJd30g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D78BDCCD06109E031896CD8C5820E4E51928F29201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: bd662597f36197876050b4543e320521\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lQxyr8mp1TXaQCYiAVxRy09um1cy8KFZdLx1UcGMjH05CuTBxzho/OQE4dG3JS5t3Boq8lYnwUNttZSC0obK/KVjd4/s+lin939Lut9MgYrKyplpYXovQnG8rotuOr7ZSuQxvST+cVQ5gw7McSctShVO+a6wzxguIKKO3G+nLDm9ZAbwqsc58cYEUOU+IBLl0gl+onDURJ8KplsSssuhDMnpeT0zOUTB0CBIp6UnIj09NrXFV/EbuZxNa22J/Ff1YHK9jfQmaLy/StrIAB8tK1D/d7uF0JW5gfxdbIWMkdS8hKRoFnl6XmuwGmt4FN4b9i6EGB+pi/dF+Lo0Ap/Qxw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602263\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031503538133?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DChKU17i4r8jhIbv5u04EUgnJJYQNesn\",timestamp=\"1773602263\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Rl/I2OgYlBVLDyBOuSCQNpjCdFK/a3QstNslm0UM286vMFCVpPLWrsvAf6fXxsoTZsdcq7esY1La8ibxK17+tBfomP05MTan9wkht0nTXYw1vOPcvdQHa3XWlrO6QUOfz+C2/s3N+eCbNflWaKqJU8gtqB92p/s48/I+1ytGbVJwQhRSw7ONER1SiC5cL/F0Of1OD8pmcKFlXQZ2rZSTwzC+5Poh9MnvlFqqzD7TIgGPhYM3M/+eksoDdrYlJ/3eaaDDKibFKV3E3nrRBOaTCMevDyV+jo0MbsNColovWGXLuEPszFgBuYfZqwelPIWt+AW66dsJYCZkrSUU2ccgsQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D78BDCCD0610BD061894CDC05520F4930528FBFF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 298b3bf78ba8b2da847d842564061f84\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Jgu0gd12B1nt+WoQMlnXv7i5RkHzSJ/o/wRh1aM9E0G4o6VrZ9lp4LtVL6lBuHJl9BcoTjXpoBhZntMLf2h5hyttkPoBbbCKSN+7odRUCwmEQy+HtNN6wJ2uvG9uDoP7VIoMnuBorhdDfswbKoeyOESioYRQcIwAP6La7HNGBei4uZ9m050fYy9G2RkOYpH4ZTKcsivPyPmwYuWqj84doicdYOfBoYSeeGyUVv4ssoV33J+u7VGtUk8B7RsrwLioLcjIhQIGfL8Fv9d0n2oxilV0RLM0nks2EucHq1KaO6yDyxkhE/3zAg4+64xM4QyUEtzj0197sOgMzETw6GPoOQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602263\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031504326725?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"08x7SBmjVULJSuCKn1r3SWWra7YAEfDD\",timestamp=\"1773602264\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"U03TO/lUtEmefmihb+7fcHYxNhIhd3vP2W6pb+yt4E8bYdWw8jNi59Ob7AvgDgKf1PqO8BWZyG2AvKbL9WSEpKooh9/8k5NfzRc1Ey8qJ8wU3cwaNW8dulWhRW89aof9CRcC0RcPdmGqrNNyDRx4vtjh3p0cXdEM6gw3AEOl2FrLdSwuPTDKwuc8UCkrGVxxOUrcMjz2nycij5dDPqQZfR5ozUxt/oS4t+L6NQ4bPUG4s7nOwLxbTww9L5x7PpmAdM/pqyy6vRZD9qsmVa5w3phCo1VDOQfegWO1KWf6AQcvTA8Zo3JiQNMsW6OiHkzxfrP9tCkOy3kMBim9Pld1fA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D88BDCCD0610F20118FACDC05520C8ED2C28D49005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7efbddfa301cb6b69294678ef94d4102\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: C+H3/vi6F2gxEmPVRFnP+httOmdiIyiPxRx8LKGaipNMKOYlRQrwVwwDlhAoN544PSSQBblP/f23FO2HbMd6TFjzH4Q67/IM+0WFtTPahXMY6VVcEHGhD3Oq1JxpqHxJGm1+lTloIxN4AOIwTOCyZK+m9bfGxXZwdcJHu+QeY5ZK5fXiX6yBNhzHQG5vNDbeC0jatyxQe9A7X8rj4ZLHn6KCqkSIG/km5acegsAG0rhTgXY34RPC936wmYRIYSgpGA5JVpLgAQG/6HPAXLdrQVwJRPoFiPBYYysxPyZVUYIWxo4fyMi+6+9SQyU5pDNY/K4otDU92/CyHAzH71A1OQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602264\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031504456097?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rHsrAYEmOJS9NTyntXFQYIEeoVbh9yHi\",timestamp=\"1773602264\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kl92XdE0084p482GOuxwmQxR5EVQQ0v11FJzhfQwK4SmEStDJQpXbAYpprttFzvyY0Urdh6+GjiMaUH1nHMn4sHhLn3lVtzR14hkcLaNXcV1T6PING6NdoNM6EdZNzAMCOrXPuF2ql92JGeM1IoEynCdkGrHZ5WyoDM6wTUKAH84GBU9v/oQEum1MbJNOysI7gVOxmneuR7n0N4Ikn/BUn+5GR/0DqD9RqCr3Ec7GRzk+pVjBx64gWBIv2WA7HCeCA+nUTXhnRfo9UURG0wF7KRLM56NF75U9I8qM8bTP88q4i5PJ6iU30CPZhQ/xvk1BXxvwD+MHp5s5BZitiysUA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D88BDCCD06109F0518AC94FAAB0120F2EE0828F2D002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d95825b106e3607dfe6101009356531a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yCg8VWVRzopXF/xNiJBPqZVkKFxSyPrp04mstv8AP1uSkmV1xu3LU0jClJKHT+uo2LYG1n3TMJsVAdGe+it7pQ8UlzFZuGnkWg/n7GppRoQ36UU+y3xEJjA7D0t9OSqxPPy26x/ufjRcucAdyAiEE+of13LLii1iRenuNweZdhYR/L0p+9W1UMgvs3IEYQuAl9ITlk8duDf65RB5tzjpylcaiRnp3dxLk4Qzy8Ly38Lf/5yjQADuq5hBTmxjiPbnIUnTQ778ssLn2LpgJWnATqryyfIysFojQymQguE8BGFK9xwx/Up7YziCRkewED0u8l4zjSIIFOmWnruZ7Jz7zQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602264\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031505900597?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aZquDrQcNuwAV1MOzVZvUAAINJo31On4\",timestamp=\"1773602264\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"A8se4XguWZ1e5w2KBGrfJuD3uwY+lokGtd/iTBGpg3wsOGbjJV0pm8NVU04obQkMTHm39uSRKxqKcNjYXviyYE+oPre+b9G/vUnXwXYciAUPAh/5Y9Qq5GY62x9Fw2i/MDbfwgmyJQmRf9zppnHI94DPafN0/sfKyifLss8RWGneclI6CdUhXHsGutH2bPU9cwBUnNQKThqaNgwxXphhfb96/HysWPsfhamI7TaAYHNZj8Qfd45m/uidDZi8H1hVI00OANvH/wF+E0shmPwKDuGm981wFIIAbFPVCkL8eN9wZOqK+WHObm22avLKufEMXaBrwLR6oiQ9bEPczZZH2w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D98BDCCD06105318C6CEC05520D6951D2882F002-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6180a76aed80d9f7e6b88a2644a595d7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: i9rxioWUmfDpxZlFysOSaX78tjgqTxq4IXXQ6ek6DVq5v+u3KmMoqw/YyWSw7OR8jiQ70HcCxq7K3/Kqyn0x6lS2UykloxeBsANIUGWdNj3KgtsjM3LcWIIsrhHxm4cx7ZyC4Xdd7m0eJej0/kR8JvZeA8A4mBkowcplU1OJByOul9FjfGspkbrUuP9TJ/dU8lNHYjmAUR49ZYLCAt6j2sH7IKjX3IvX4BvZpvZw2Gw4LiIKXC/Pa+mHVYR1O8tWhAXficAJ1bg0/pxK6v7Rywsr0iVcfE2/EScJcqza1mbSMjXZ50NR8HQ9kt3tcZwFPOA0LXgTOC5OGCIbS6Tijw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602265\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031505928184?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UOMahxfqPJIL11JVPh4JPvYlORGEXe8p\",timestamp=\"1773602265\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2U/mn8uvLVgV2O2jomvopsP+lWQ9U37tzWoMUnTZZAeb/YXoK1eN2qB8DGwe7pIU/wZrrqdWvEs3+8Dv39WA+cSEJi0/HIfeUiREy2gtJy1hSorCjz0PGFJezgK8Ugu42IMfVi5CbVHdKYP+uHKF3AGbaYTNM2IKUhmck6/psRIIWcZ7ogUWR0Cww3LItxh9aW3Vl1v0mdfGttm3BK5u2XWGY9ENw99KO06L4+9n3wy1NLseu56zD/geoRBONcfgFgPxFNVjzSLZkwsqNF6X3M0mrHk3xYVZentBjvs3QqreqESCHHfPC7IB776vOFIdWRWajzZEnSitUs1SDENS9w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D98BDCCD0610E70318C2E7F8AF0120FE890A28F206-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 14910153920e096cf8e417c8e912ccec\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jzRSSr3ntt7m/o173ulHDPS2Vm89K6VHMn4VrbBtDO5DmzBAP00Ej2qN/f2OtIrP9qwvGg1Abx5kqKwVCdXBuknFrcJf/zZGHNpXIF+6pTYTCH3cSuVvDRRl0q5QV1KcfaDx7etpAJemMqYNuFvgpuci012ZFV0cl7dqvuEMCafgwIkiQcwwDpUUny0b3VwV1hC0a69TjqNK8R7kn3V9boOnphFUkQfQTQXeHJkWOv2ZNMNrjhkS6QOJOMWBtOwgf+fdDQIyMak0lfHWoXTPzwjCEw8fIytVO2oVgg9X0AEOcIoUfcRN2F3NJ5Eqy+CKEUj7e3DP3oaY5J4FUWtYEQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602265\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031505981069?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lBN10nnfN60lD3wTnEOu8jffxrr0o5Zd\",timestamp=\"1773602265\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KH2jzQNWGfEiZtFQg3JQXEhxR00KU28U6rFOwJ0OlmcisxQOh6l3s53tWbzTb60J11rI4UF98QB63pm+ufaM0eosqWFqC/5BJAoXmLPwqCBn8AnAwda9JsQnEWfdp9pOxvWkRc2Fvfu5fFkbP5V/CT51IcwG+Fi2s47ALvSseXw8Plg+BrIAnJpje/bIjnDZTtTWzbzTRYdT8KTV0jXm902NsLhAUFuwwkKz17Ndf4cBzitimnoE8/i0fEiJbdMxHksGLNy0IyzEAx+6xubntsjykEH3J7SXNFvEMca2XikUyPSEEOXOd9rr4Xzt7KdQoH5zdHiEfx4aSpJZt2sDvA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D98BDCCD0610E8061885C68C5820DABA1C28E8B201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 896f56d8ab4646ee5517199ce0f4ffbb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yTxvmTPrs8aYVmtvglIC8BkZrJFJzXMhzp1czlxPX9/hfN+M4QWyOWzWr6iCrpD5d0gXU3asVA5HtyAIhwCsUNEyrUKIJG3a6ZYzN7TKoNFA5G9Gn2+E0cSNl3PeiQsMkgwPu4WWPclQZM9PL7pjytdqmAokN+BHdO1gxmgKlZ6dnuA1R/W7xA4etRl7GxrCb9hCVmY/y7upv+8p6j2p9lMITBTCYhH2CvAXDYfFFK1W9VxgWBLuwjuHzeIxOhPeuMT2u7DsoGzkgZrG1j2Iq+AAs6mgxcmMLVM1mx+wrhj+olpCGjrfxURe4LbbU0HsoIwjZf63/qz5dr1ImE67lA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602265\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031506147626?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZbCJ5ofR3C0FLYtT0QTv57mTQE629DHU\",timestamp=\"1773602266\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Z1Ew+77BQlYCkms7NjNSX/2n3Z7heM3gTo7vr3xavLb+TS0zsmPZPLN9Kr5wBOEblm0AdIeU0RdLhyF/bC8N/sqdDWE5ftej9hSoUUaswnlHK9lrACOOlE6x7rdXSOtwc83e30aKakww/X8VzX6ELRxm31+rNKikFc5LvTw6MWop6AGcvwxUaMMktlz4MO0xrbfaOWfMy/g2Bki3/Y1mEqTlx+GQy5ZcBLxsr9o5Zcsf1lRL9Yonl9E/05Hp912Q0SsrdPMqy/04qJYjA5qWJg5L1VLzUG5UZmGn5RjxRK6TOq5FtCM/wtzEkA+0RExAaShTZVWkDRMWid9J7CfeUA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DA8BDCCD06108C0218A0E7F8AF0120A6DB2328C68806-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 15b21a57efb84c694bdfe2042e76045b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Dozhy5TmVzv82PvdAy6DXj+2kJOShA9dA/630RcbnE0/xgw5PqbkFRUiJrcJBOg9e4R7FUeyZErB/OSs77Lgy0/H1Ra3xPMTxFURL+wUoT/vqHAcfWAGAy7fq6tgq4U+zRjlTEOpb3k0+DnZYdj5ziTOutwQ8wws/WtX5ORNcc0PD3DXlZiko8jw9nnET22iL6cx0HHTyIEfJbJqP90yboUuPojY9GsyOVM1cxcGBi1IMjnEtLhs8xlPSRoidgO0K0YtczWo8/7JDLks6f7NmDHc8XLUVhD4+M+codJKjkSLLwJP5z5rodNwYuVjUKz+NOtUxwg4XCmgtC7RYKawPQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602266\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031506933171?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fkNzJGtcgZVd3f2vXzN9i9WoZM6FGQE6\",timestamp=\"1773602266\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4b0BM1gkR2B8QS3kCIXYQsBGjNou4509ikBXjhgzmaGjL7sm6sCO7GFEpPrCwYErHZAH33tBfv30o1uUsoZGv7jvlWIFE2H2c/KIz5rIqB7c4khlXbzCmt9Wo1o6Fn9/Bs70rroifMFwr6L7/LSMvsxIswFkXyfSa1KKZK/cnWDTUhQc9qi9Zr9MNpyYF9LW2Z8eKEo3z1N8tPn2OPJTrT4T+3MtVjuJpLb+bXyr+9fFBlGTWw0BHaL+rsTNboRLeWiUwSuJhAz8NrnbjZKRD/iQJ8jrkzs+O1bYvmuoQA1MpblBI32ZOrvwalGJv2O2zxkEPFzHO/wO6nK+KHvdLg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DA8BDCCD0610C60518D3CD81F50120B8F81F288BB004-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fec9318276f5317f408d3c245134db31\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: m64rkMwJaE/hztLBz+nihJi5uKUYiUgen2aN9BUw5ASclw+YMMVO46qiEpq1VZIcCAaFPlX/OmbJx4Ie3N5VisHU8WlhFomYJIYDD6d0ma6MbOJdv6P9c29hBl0Iw0RM3spE1lTyVQlyLWBQPlYpvyx67/bYXYXk7qvaCX1wmiIhAJtd9auFHjI7bX4dmHV9Sg5FsOlAnC41QO2/qbHBTYGOOPqETNCJXypoTBeqFD8CSJZn25LgxLRzW5CcM6ky2J75XRH3IoSm6v/7JHTrj4EboY/Vc795QTLSW/9ovL1KZmRXhXyE0I3alyJU/TanAow56CNvvjgqgosavjZ5Xw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602266\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031506787242?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kxQO2ZGS31AfhPJOYXW6mMOzTauEQyqF\",timestamp=\"1773602266\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4J7mrZEXpigJBi5XwauHg8vFxR2uyENf0X0BslUisdIweilDZwcaA1o0EXJ3G2QtsNYgywsqnbfw4Ta7cOfVSazhZRw1KbfveiTCN3u4OuwdlMXXmkjHB/cCf0KsYqfYuVhT4B8nilnL96ZF3nS+Q9DBkGUtAxuuJujj3HJedplgBV829M5ZomEPnDXgwIXo7YzKHIT+QsFGMX3CDqAAppMGyjCFL9NOSZaqFsNrTYyjKdQNn+8ydARVwkeGpPJjbHFVRIld3qY6xlaUJusJ5Op/QU/82X6K574w/kPe8bpo+5kzsJvSAuP+eBmxLzTO72rEasrtG2gL9UhIN6/eUQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DB8BDCCD06105D18EEB1F8AF012090192883F605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9420216353d6a63bcb2e8aa30a7b353f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UjRyk5M/5JBeStjQfGm3qqnRBx0gFeBu2eESpbOesRlewAeJWa5tJJSeuA/9vFfsIWsvy7hZQkn4D48wlFFeEGQT8DudCjvPKLo4A4r5Qp9tp3WN5ENJEzkAdXwzInfciUdzrdRo62Y8I7ZMrTX8jPz756fzMmiQjs8ZfoXwbhMtfEStqesnqBBMaRHSfuAABBovIicFCR07Edjp6C5NhiFzWGFcfAQOlQ2HrWHcPeCh0YimGfw4PoIjyiTNTG77eTWoM+w6gnaBr8azrRpBwGDJjVULO2XvUX70EQwWoKbWkt0j6EzxKYDYlApW/phYrUNS9CSb7KD0LTk+L+7sKA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602267\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031507273638?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1lT7h08JauNBNuGgHeerJ7LXb9t7IPM2\",timestamp=\"1773602267\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ol3Pp55VADrYXH5fo4F5kWfxY+vtBPsjd6VG5NOWcInLXYUcKtLn5RL26DaOaalXBsnjOBi2DjDLGbI5/dDCxq0NQV/b/pXFxhkHYSsAJgKyW9/VG+22Ftjx8sQsGv1M0oA63P0DnAW3+YxF4Ml0tDPlmJuZJ+OJFopkZ6Ig1yEW08GzXHzjXis030CFzkAfA1ha7ZA8RpV+Q962qePGqHjSRQ/In9h3V7hMOG+wZUaXRfmYquttpsiYETLMU19wJw0OlCXbk7QY4BRcIoUsrbhQB1X0Z5VORCvkKUH7efgLZo5ThZeelwqooi4Kk1YwK5R7Ue2i5D88BH0kxP8Ubw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DB8BDCCD0610FE0318BBABC05520A6E42E2889FA05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cdbb22bf8cf35aaf57f844919ac8522c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ePyFUY51MOsd8MrG+vJvOMil2dH2HdLqAEtI8KgO7wXxqHZUV8h5vpLj7a3C+Rg+ow/RQ8xWNTsVLwGX9zljvDPOn2Eoa2Je/k7msTuSEh9FvAAWFPzJXr1M8XczLliY4Rbg6eJWPca1tu13oCR535K96ADxA3wqSbOM1y8rv2qwXpIMEsWlrENy6EtxH3rp2d/MmHfeZcUyw8Kd53Fg+pE2fHNQKVw7GNRbz7j2wwWSI7UFUcPqs6YVt/e+VIjQqDYS2Dp7ZUJSc9myscjh1HUIlZf2Hksq324QtS27kI+8ojo5okv0hh4HLc8Ac/3Dx3nwocMFTmJaezgY1XSaHw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602267\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031508744666?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Z29lgVCe10UyPdEptQPGIDLq0eRx9Gdk\",timestamp=\"1773602267\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fVqLUXpXOSXUdbb3zvY2clGD+R3u4NNFoZFUlDqchuams/MbD4oUfxOW49U19uOCb3OFepRT7ZKBcNPMXhkQiEgjwcMmRhG3j8zwTz8V3SxGzdyPtHI5FNbdyuYutTB70nJDrPEdpJi/soVFZN266WMBYwu8yX+KlnLTlXbNMZ4+z30ieMfmtEh/1AkBoDjxUuWlS23dfLglNRPF4RIq4+uB/YbdWOh9W4DyHUWuaE199DU/2+VHdn3y5i2Pw5IZfxTzAbiFwSCqpDR23FluHSzBIbMFFrLFdLvW2rW+cazMxztduW9HPL17rWY9DASd0NQ1tRMGTg0uBXtJobDQXA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DB8BDCCD06109C07189082F8AF0120D8B20528FC31-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e5284d8c1050eb975d49f51ff394d4bd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Fmb3mHxZmzNw3Ojru17BZgv106V6bQ/LL8RZmRDWfPPA1TDRCeriKU/x63eVeLRJcfC+m/ysPHgarhiSSuFhFB+WK4XNFGmUVXSbAU+VZrZ4XS4D+WN+J9mzne9BDTPpeK9AOP4agn//k/qMPRgud0BFwwPiBB9/ki36sh68ZBlHeVONIXM1SoXbu0GVgKymGH/GA817c3Jo9jfjhH0p5z4rKzXIC3PsUmoHqrm2INFt+TVI73q4w7RfqA9IC+2hHN6tFGaNUBdQg4bZwNWuGkGuyd95Fw0kBQ55tTDKDXTl2xG2ruYd4UXsuZ/gyVm59rsQYcQlwac07uSjPmPahw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602267\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031509186408?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ejYRi0HmqXD6pBamrVDeWJe2PwStYcFL\",timestamp=\"1773602268\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vJivhbcpbU70Qu3WXTXb6LXvY24+5bjbvKuDDduSZtoJ4vR9eofqD77JVSROYY4ZsYzSi0rZQCeSoPwE7dBxenkxki39GKg0UE1p7hTIaxBfUGeaTlA323VCzhOP4dBzsIvzGlAGrtUa+ot7WF5d8y86pbFYjhdOWGxwZiKwvbtADGoXBZ35HHDdhM6wS/TnY5zZEEOe0xWg177g1D/t2L6fOAIlSsXpDzCZZHfz3xV7jDjvj2tg9Z2QhXYkiYSHjEKFPowoBh1NnH0Ll9YHxHUo/DupEirh9vQpuvIV2g5HJ3npYJjsoRDt9PdMVfGhLWGklaV3bXsxkWbEdwCLeA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DC8BDCCD0610D20218E19D85AB0120E8C51328E69302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 37bb328f7d498ab41c38eb69ce700a17\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pAmfKOj4TFUOq0PIE7bawuFDXUgqtT1SR1h/Pkj4rqKignmDXzBrw819KiaanL37nMngnyYz9yU1sTF8y16SQ4WG7DWaErAvpLqOpKiPEhsMZVwKRklVLt9kGYu+um2Y66cZKFUiKz3iEUhGpZwnbVzbl4l0T8FgJPRisMiIhog5npMuKcZWvD0V+CnGjh1NjWIvvc7Lq1Q+b5WmfVu+aDS6dZj8QOYjl2WCDImxSm3x5Dht5b3+dJIbhZN/6LL3BxHWJMvIi0ckzU83hzuLbvGztAqj+4cmBd2ZQgZIHqlgi0JIaGILndRDM/cnGP9GIUXJ4FhgpeBjqapjMTghyA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602268\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031509027611?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KO3aOKuWDzKCvNZzZ8SErSA7nxNC6XBT\",timestamp=\"1773602268\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"S0c3jn7fd7+08WPA/NQnZjgcsz8Mc1g9wfGwRA/lVVo4O+iCx1Bo3E8AuvT9kQB72rCyJlaHnzccPwQ5VozfUBA7ZCKpNAkAPL8ZZ2GPM3kaxfA5xOdRNO33j+3wOK0RfMLnbvBBcz2DQUKp8P+i8MM/Bf+70srgEzeRLrHO5yFaBjRct6qvtGvaCOvz8APQb4f8P1qA8PFTzsm7wUKtcd6aUS/BEZ9eWu5HHrwKAuU+URoY6q9NJzpPpOg4qWRpU1aejQsj95CYNyM7L+B4NylpB8nXjFcgcVxyoJj1dFWgWxbYgU9DY0Wp+yRZnWJQMYdzli2CYDcynw8uSfSRXQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DD8BDCCD06100118FE8CEEAB012098C31428FDD403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 40723c58f5a4c489d56f08262a08e589\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JflGKkyL2ycsNQfZklcIX8JMEpWUsFi2z+8Qyu40s6joE9n8vo556WHNUuaN29cHj6DkgTsIx5KyfbkYFQYwlIhoRGgVbdu9/Ox2FqMcViHs55y0KG2aHfzTMDnrKEqE0bcZi/zYLb1SAq9faP95XDq3dcfBz+hpIPrq94e/VHaoj3aDG+GrM3ntIXWSlzPiPxxCNe9iXxqtkdVULzTr9QuIU2vZkgd7pedfeAH4/On6FINZUQ1MRuAQxeXrgAc8tyL/vkSBg6DXaNpX+24LxnyNNsUwDC8yscbafQ/5dphaJuveLlVWsONALi40z6Jp14qDz7HkT0c+Mzi67wXKtQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602269\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031509322421?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"koFIzo2t4eiodKVnCL8TTXSeVcb1dNSo\",timestamp=\"1773602269\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"im1GgmBXl879IyE9O0mg9Pv5RQ4OYbQX7UsmveLBJitNpD2z76CcxrkgyZnM7zuaXFfgveywguWmllMdHB7gjaeRoMxCGz+KxFoZwXBAxJJkxBCYNBHn5qhtYWxruAbiGVVt/sAbrsgkr4zzo8VKoqnyKeAZKatiq4aDBwkJDgkJC+ZKnQQdSuHl4zUHPOM9hcgXnZVJj8Rp73piZ3FgBkwcGhtNl95Zg+t8rJ2Sxhc2M4Jf6LgoEjhg15BDAWe4q7OCdI5u0zGfUqddtIK0qVB1/Kt3KpdDAlwo4AB0sZq3+KU4y/bBgrA7hbpGPsTvfxdxfcuO4GH/nPMspNhYzA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DD8BDCCD06108E031891B4F8AF01208ACA2F28AF9C04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 19351a779a73426a452b8afcca398837\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oDjaIxVtr426HbuTKsfr6tffWgFWEojJIFIcSR5IoA8o3SfSdp7fqytov3p5oyiqh4kUWSr7SrhylZQJ6c7ewQiXiMSh9SfwmQgGsCy2Ik1InwsJGbQBlQuQf90J71FCADlpiu1jyGYW2OB7eFM4r1Dq4T+kBzSBZTw13XgmTnCjxZLZK23aDdAIIuA2Zhsj1SPG/as8EjtTndBzGI0JBoNznFp3ImFBCH/PbwpPqQ10Xi34IieR0jzM4e/BM8WQM/yFCIEZWjpGYt/V12aUuuJLWRUfqFZbidmMd8p1FJoF17PmNXzHXJcVsIaIJQQu+yT3HL1AKD0AoAK+LBYPFQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602269\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031509111138?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rfsch8paH5GttcbUO7EG0dHshq0wnvLM\",timestamp=\"1773602269\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4P1284QiFArtMmwLIUO656KWAZtu2jqHaDY4NH3Iy8ftUjsARqAougXjQe1YP5SJdNg1+aNOlELwvsPsnVYu8ztM30qSGvHVwsOjmhoatdtd2jwT6dVccsovwPRPgONuMxKehS/8DAX12IIqaY3IfsrPaMU4SEqI88w+l6ev+y/F9ylWa2o3W+uoi/YvXI78dMFkq5cmxJOFLwqO0B5FzeWETGpoPf9WpYI/a/31XSI2NvC4vamMdFovAkxKyWtQEzcFmKzU44BPoT64Pi9/Iu99pqiI/ZTXGJ8RmAhb1ssB3zbGqtIUXfGLqQMaj+Grr8inyHkWh/BleARb8/uQoQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DD8BDCCD0610FE0518DAD28C5820D2BE1B28A98F02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b4440bbf7b3defcffac96e890f48d522\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aA0l/VIyoiW2Am8b8EEolM8gKm2dUyil900wGepqUV9bqG9wDn8XqzwZ4VoIgkc6pq3hwu4A87oqDfDcB01XTFdW/TEMOqLHjuwNMObicVZDFX1bawRVHe2Y7n+3WQx1Sv0ZsATaw1R+z7Nl2txicZnDbeMoWiRGs/UIL30aOtHX+E5dHd3MEmU+BWjOVBJRSnCzSRTvKZftNDW/xPTMOr1cpwOf/+g2cl9RUQGTLRvDSN8p/qa4WmP7aANPWlkpq59SfAOrxV48hc0Va7uZ/SnDf4RW45bP2RwcUf+nFhf4zST3UEv6vR6dqM4y21FmGqsqXHOVh2oJJSrC2pVP3A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602269\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031509635076?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6YCiEKlyYwf0RS2hLHXE6ax18lqWqJod\",timestamp=\"1773602270\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"L0P1XKN4RTF/OtVnmPDG4RCYSEhNunrasNRTVO80++6TQrJNzc9lD+/nP8Q6QPPeunNpOZt1tNwzwMOthRB8DnpNDsxwRsUBpO9dryEdofObqwWKkeJpeERYC6yPNU5dcFGVs3t/O+7k5wFk0nkNOjn05sDooYud0l//IyDwvqCaadU+m0Ra3YW/6hJD6zrNXGR462q7mZWSk1EYgHnberxHqZwKP1YGwMI1DR+h55Abytf2EfxEn4SJXSdTClYGLO41+vYuouwPfEVhFF9skE5vRDeVUJ4PPU7S24U0xWhCIWeakLYRqJtlXAWFO6dO9okH9iIaIMAmLMJQ7u50TA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DE8BDCCD0610930118F5B2F8AF0120A28F2928BCBC03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 355b030576a42c21e61daf04520d11ea\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Hqo5ngplxIy4iFVj2hlur7PA9T4Yfh3SL0w1ENkX634Prsou6we//bYniC7GWOmHdDZ7uh96qzp+Yzoe4wtF/r2KExf3dwWeM81+6UD/J+3c80zG6O4/YqtM7lY2IeuqnZ9eK9AoleTvnG5eChB3JawpKXFj/lghR2snXFXGAxk4GY9PaLFEsp4LrqrnWydkQ1aDC5qT5s12+LiwMsHaTNo/nhbX4FNeY+ZDiqvbwdVrFe7jLFpwZAmIFs48HaSV+TjBqDm1y2CVjgwcLV3bG8JACSdvB41C1nEBZ9Ypjbhl1w4+ZVwmNflBUDxaV4RvYy5b7LhnVQcZ++KhLeDCUg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602270\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031510037581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xLXpKm1kTPtnVWa4e93F38ZWARr6wN4w\",timestamp=\"1773602270\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Xjafq/WvCA7bhwb1GVzch/wbm7aWeMPeMZ901luPdIwzhDrcAdIQImE2pgE2klMWT4hbWZTSc+fj5BCyPALBMQYuJH5lad9Zk7BPAfiQ9eZbo/LC6H7eTBwJa0RQs/kigT/bwi9pl3toXr5EEKxlKWqgaj12J88FpyWwH8j3ymUKqjmws0LCZc495k4pXiT3osRV9XchO5y36GRz++HmDFIGEpuVPszz9XXd7n+wOA8Hn1Zdgf532LKHrJDVX/uRbEFq3aDvmAH/Vc0mmVyAC2Ww/1nFMeO0XKrNxhGoUQvxd9mN8sHrL6/wfZO1udv+GRdWxElBwCyu21xxIW8dkg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DE8BDCCD0610A3041886CFC6AF0120809A3C28BEF905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 30d9a628a727b09de906819ac3cbc1e4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: O1pKna9dmDIErhUglOqiowALSrKTKwkAJIYuIxfakgdtmnxWZqbPVkTv8uYf8BgF1jpkLNs20L7MO7LEKV0lnf7V8BVLHvOB6ys7sJWWotU5C90ZFE2fwKRAiDLI4hMhyyKoDiLzwhBaP9PH3dw/1psXtAvHWlH3VQL/RHIrCiz9i0oL3otJAVGZjPrCvjX1+cXWYIYhTgBTGO3s/2aMAqJ27RWTt9Obd5JS4pK5R5TWImT6QnLgxh22bfWR9dF0tvor/XlvQUzQEG+YBxWkIv+LoaZUVqobFxPb8iSOgxc3awkpW+6BKFmqEwbJ9mRK1w6EofWahhTPU3487+uoPg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602270\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031510651048?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HjFzBd5v11WVRA3IOC3F1aKOACae1SzH\",timestamp=\"1773602270\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CpR6nDlUP5pq6SnOOVzAmNdCgV6M40AICE/1nlC86z8vTsa3MhlXVUPsFBwCQhAyA64ptBi9So6pEuGPXPfnClOt0SQKX7TQefCZMn7lUtfjYZqZAVL10+2U6RQ5wzg3xnqu3IafMju3exZYoquceUjuAgB4qqCK+qatMVKqJhy4Sf1f11L4vlaDBIR2kNgAgZJenXVIchq72m5eZmnSJEwS+on3htR+29Up0DfJ8vhV70w3zNgxqx5/UNXpXSZdnxkEfAvjZpixpV9G+foz/K62T7eiLiMUYIFjDQEB1kYlxM2KDJKC/IBrAe7DNjXnVqOgm7iOedwQqSwqOmS1WQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DE8BDCCD0610B60718BD90F5AF0120DCB90F28E5A505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a958d267521a82d443797321470bb65b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ywov80JUAjlsFEdIcAkPq5CE2eLrKYpR7sFY9mquhqNunCwpLFao0lYphXOVgTY8r9LfEFnPH0wASUIviJGPJpks/Hr89UIIfKQCKW67SrCsdtYmAxkEyip8OkvGQ4Z5F3bpzSR5fXc+9bolevg2FUAishr5gZloyZDEYULn3oyf3RPD5OXNJb0IolX7PYSsdJGh8NI3z7kLgp1xYzZDZ2cZQuvW0JQ5JmLjsG3IqKhacI0gpFpBnYm1zHmCZVASW5KXyC99OjqT5dDKzq/Z87tqVlNRU3AkO69I14TCicDMZf1+uqPjPzt0ugs3pF4tIPPJD8hqaFQ/OWzoOOmnzQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602271\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031510687126?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aE9VhUz4tfpbtqPGAhZHRLv4QK0rmJqL\",timestamp=\"1773602271\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"w8mXLUFeV4m+TGStP4X3OcDvOKMdZetDrnZLoaoLYUYz7F0B4wKj6dGBqJG4MKbuJrTruzU7Lkoz6xwUMQdBi7dH/V2z8aey2mV1JYBd4hyD/dV47Gzd7YTmUblK8c6Xzm41YphMCU14g28yXB33vBmI68IJjRNSm8JtBZuXd1ywTdT312yReN+oDH/25bcsNoQrbRQXVyyoPgcAPDTDy5WisEA3u9IcKfNxYIa9wiusLWHe+AEFZKTAD7+cbtSmmvDK8Tbq3lTPZ1Rc5Q4PJmLFCVIsM3OtdO5U18E/6Xad4p2KY+LEoOTkSJRZPnu/WvfBh3IGCf7fG2OaeHpDBQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DF8BDCCD0610EE0218CDD1C6AF0120F8B81828F3B804-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 89419f9ffaf66f13978aa1dcbf5926e5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gBrW8NSDaRhbmpZyzp/F7TQP7kTafW7kK+mnOj4O6iTPcid9R55ZnCu5JIdVGEvo9a6BjhAL8NKelp/hI8XbPe8iVQ/KylGewG+9Ns9s1JqIngpPd+/1OIEMoiWtUwNLWMLKyg6zTwDN3n6pE6o5OMuRfRDr/+EfPWVl6biwGQcPKs+zLsbzgqGsHyBT5jmKa4FZq5evMttLtStPRV/iKz+LwryMPhW3Nro8GOrhlxe1HsPqDo5wpHiXUkJU+QNHbIbynLsSkJIFhfGaj9DbacvIHijFAENT2mtZnLGK9yNaxXwzf5Vw8sWU+luHiW0f5aUZlSz7syWNdxwlc7xccA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602271\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031510057879?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qoyT0gQ3zz6JjhglQeOLRso3oOGfItAr\",timestamp=\"1773602271\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xRUd3GNDVRUBQbaN1SkeTVSVws9tAZEg5XBlW4RdeQN/KsyDEhQ8tw1ZNpQNQEQd3g/2xnNcXdbIElAQpxWKMxeVEZrnf7ELsQsz8zcLETzSezvgqyaSMgOnkR/QGkvG77k+v5Q7HaWBMGaW9sQb1ONUSvDFXj5zPClJotZ8i4s09JQvAltjRPVEAQj7STjYLHEIKEiReslgSvLfr/ox5PO/D8vZAFhUNN+nzSbPBS6SwZrUCRduKckijk4S+faFDo+Tod7MnxaURoevX50njNEZfIId4VBHf92W3D0svsOncuTkk1JlDJa0BiCws85FHCU8T6tC9k+MBDMD/MB/tw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DF8BDCCD0610F80518EFDB8C5820B8D02228B3BD04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4a46aa732b12868e35c203df53376baf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Jumr4769+5mJMSzIDpOChcqsYwoWQ+If4duuuk6kp/mI+LUjxLcjgWjrwPEXuCvgzglk+RUeW26Yrr//3XuvZhQ9gw0SnNdbhTWHYkdNiHCsZncrWoKZo4rpmv8tBp8LV4TfCUyORAUL+tapCGpS7AbvqvbQuTaK6soQfO+PmIWEL+jvMY/jdpIgKqVgLr6VERZDyQjsjXYZNN2wQ0/38KT9La2v52/ojFSiqLmVzVwIodJXuj3iJ3s3G8fpr/XA8wh62foLG4yN4IyHeUvzjs5pNsopNHJU4cWPwoVbiCH2OrEKvajWTHvih91dihzU1EfqRQg6PZmoWR8iV1ZtcQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602271\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031511858097?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"FdtafPI7fn8rJZBGxMhIsW1QuXl3tG6Y\",timestamp=\"1773602272\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Tpw61zu908PZ5DpJNSRj/X2VYHMxePtdEwo5EF70vz/zvha7NrcYnOLTwGGvrcT+1CFgJ1P9aJHw9pAK7TFZ/Y+GPMiMj6xfsHaP34C0KCazFvZ1SyUN31bFDTN6nvgA93KHx6TrUf+QQ0+UtjTr4nh4aK0C/wRT+h1sBUeMqDgNp1Zu21bM3pmH1oVJHHJn9tJrwQDfZV2VLGd+b+Mwqu35ADS6caoI7drhCDihOeAXiaDs5G3CALQF0mkXyeZL71snksgsAX1zyPheK7PKxZUgTSLPhoNYafD6NAupfASF4X1rQ5lfR6i3Pc4Z/2/rQhqoJbaYG2BRoMCWA1TbNw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E08BDCCD0610C5011890B5F8AF0120E6BB0128B78F04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d551c813545534a63d977a9c55f73585\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: U19qAxvOf4CXgw4my+Fu9Oij46nahsw1bdmP2yvHgcee9bfIq9gfn0y1qajgqKTU3PKkSoeMogujCYjoMrcJb/ZzbvwWVgUL0k9dWg+MwDrYVkiz4GWZJrBgQ727O+dBJDGM/SbdZQ/qr3UGw1wwuoByhQWgDtgZ542dCsokhdqZ6qkuT+shS1vJV2M315+FGyEdK6CX3pgQt27JaKSXUHOlsfzwHl1+qLv9m69WnsaRNMuHjl77Kv1r01LvlOstrL/zOwey/nOEXigUPoFzqbolp5ke6vVUyOSYXZaf4EXvgnfvDag77/8M8pOaxelLErUq4CLImLF6OzHUOUqNAw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602272\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031511312256?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2F0OSQhS2K1pMTAdoVvyJY9JbmVmmT0O\",timestamp=\"1773602272\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NGzhKH7UbhkD9YMDBTf8638aki3UF0HDojXsGFTdFLC5Kh3CLyAB2Ij7AOuDXsS73rslMEoa5jKRjbjGE1vCKNNAnSS60Reu3UmR38Uglqd9lmoPMtDvuiX1Wb77c0jaEWles4d/Odtk0DeFCoXgF2n9Is6g7aoU5iLnBBMt3kGh72Pqs9RFN9mvEEYiT/7aByKrr/W742e1cjwd3whgOlWKZAFhXR5u8dZsdopBkf3ytE8rTtKjri55NsBet9Sdl8O36YOHQpiBj0JREtQzbIYWckmj5fcLIXIIj0JXQTP/wjpXsUtR9nE/hwKR61rIIM8FY35tvRkcXHx4YXw4Ng==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E08BDCCD0610DE0418E5A9C0552080820628D49804-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e6f9738697cf8e77bd9ebec9bddd6abd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SUzLRH4gwIxvOoMAY/IZGTLmtcs+uUpCUE2GsxjEZ0wl6rhAOHuOmbencJZFWywrkjWDh3W/2Kby48BO9FCdjMxOWJzv/vMu294/e1stpiGxtfeWxs5qcnJjdB/eB1+YqS5Be9uaHzh22l0KvwZWB0DFxY/rlCM0rFmcxIx88jci90enm2EpoYqWammbeP7ONL9L41oFRc4fKdDDaa1blEp3DYJnjV2+LxjKXmaMv7lbGaGDYCJzNyITx0VnmjjzXi5k9hu28VaCAaMbPn4Qag0c8Y4nj0AVbJ2l/PipwDySj7Ca4QS8BCB0M7jUnEeJ1+9BN5QJG31Ap30OUkE5YQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602272\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031511081828?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XMRZ6qU19iU3j4f89wVhCfJYE9GMqHQl\",timestamp=\"1773602272\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Qme1XExqfZjJ1O5yE2lYGeiiSWddxrlMu5ksaqRWoEQD/F/doovXrlm/fRKucgQpQydgbdsEY7+FNbS0V3K7eW3ydSLvtlwlVD4K3l4oArDD5I8mGYCyN4XI5r04RsCVlLaDgcpjKldRgXVc++AFMwGFvWU8dU+ZfAr7P56mCnuXccJBZ3oR4Hg12S/3k5536uRSVCtZZmh3s8wdMatPi6bfckBunWdKLVZBBx7v54k5gEUzx8H4VM1e3Sre7FIFglK7VwETCVYrv7R9C8nk4/WiFdrlGPjQCUU2pQAEWM8Va0ak44agHvzsWIendOZt7DoTWMa/qZd1oB5A3BHt7Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E08BDCCD0610E6071897CBC05520B4930F28B09603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3d89ecb3dfa9af08cf0d727b11df0fd5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hEuNC4PESmeDmoC+EqCAZJYVii3bfKw/IOLE65ifRXocNOeO/K2bJAAytg3hJsOionWmupuP9T2TbEBUqDw1A+Drnyi0R3ztqBwYa3eia0I6Qp5NlOatoe5Rhy8613KCQ07O3ldqZj7p1zDrsZoybEzQwuDVsMTJtFDusoSpnh36lfurzeYfQK5XvWI/Y4BqCizXvp8vj3hiAG5pp5BTMMVTzvjAgvX+ePnC8AkFa9Pe37RftXdbBfl5XUTQSxSh98jeZWI7uUuP89u/BzcCeJdLDw4nZIPVJU2+LTzH2JFR5Ubn3cIUDONEZ5ziGfEaR+b/KeSxISEB5PH17cb9Ew==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602273\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512614212?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qWvlUAvJkFV4ToTC45xTPWZOlCKZEeVL\",timestamp=\"1773602273\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yhYPJvNup8lg8oEE8rFQVYv0aQM9NrapxFbg/Jq007DE8sog9eLbxtoa2Zj8tJqaDpBfs2awI+wG2UcTsb8D5xTNXKdrG6C1yaaPe94g+nWnotowLbsQtoqAGGLleOOdD6QYaDb9tasJQ+fRtoDlVtZMqxbTqRNmLfPVlvbljMI3OP7v28uaWUg01/bbd8vW/uiFVSN58UYKDADQ25mbZrBzyem8uRO+XI61ASO/sj2q9TWtsogbGDp9eYjhc23s9fgTTDPBO+KBJV/inCbki4uz/Qna2IDij/obWiF1q8BqBeyU9cbMuzJiLLuE9OyjrgypVuJLxVii9zgIiZGW0A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E18BDCCD06108903188982F8AF0120E6B91628FF8301-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 165439d58cc8e5e993d1619befa6b7d9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mVH+MIm9FLR6nS+Svtrx8p0d5T96r8Jl8h+X9Hy91Rku/E9FomwgwUE5jRaESGLB1o0s6mX60trzFU2YxB5Yrz7pWPL1v32wUNutJ3+HeMGCQpKYYnRtBfqq2s+Eafy1OSCnq5Lieto81G/OUTuBZMOV36NE9kE350jEotIlQSyLGO6Lg/dyzXVguTMdEPiHujjRQqye5yWH1vxZUTkHz/tJSfv+U4VS4ymh949VXYxdD66VqiGavOUHaV4fZ6dq19vz0bVxMSrdTmTqe+kqzeIL5Leo1CcU6xD7hIf+7AJvOR922JOH2H/unsOYTMZO/Gm601gwIOemah4hMLNQHA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602273\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512158498?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JLjQM0GgockkobX5TOmZrgm92S0EJ1uW\",timestamp=\"1773602273\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uX13SJtjoaY4qUymZ8Yfdp//GDWePZ/qj8dY3j4/Ny8+GVdmmTwZKMtYY5JjGZW/6UFf651dWv7EfGeUCvPVxrLWP/0+Y813NiXRDin3FKlr7Lvo8KAT+RD9QHOB2cibiODiO6YdVyyLav8lmNzvYYQTUFEi1xueX93gyeghTXQG0cytnvWp0dA8MWY7kRyX7ZKqlFPz2z3tnzt/ihv9McwS8DcWCJJv5M+411mvYSgcoHBNBOAAqpCxaE2JFLQe8nabWvZ/co6kXadV9aHyXaGWcAnTOWXcyvVQCd58dpBpdSA8pkN3Cd4nNY0EeQRHv/FBc7E38kogiIE/cHV7VA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E18BDCCD0610A70618B39DECF50120A6F62B28DA9D06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e75492680a613b7c88f1c253763d1e78\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bEL6PHMuUNbL7kWgbQbsrIp6iraD77tOAby2B9JzxQM5Xjy7kB1rcLQoPzIPkhjfgWjILR/vam0Vl1Dk+9rbouJ7iNBHDPJcFuFS73hst7EPGQ9Wuk9s+ehKcvigzDAjXzaFKshivyOr84NiX+bByws0osjoyapJN6wSWQKmf78FBa1/UtfoqB+Wd63P7kC2lnYLs8lKHk9AVsRg52pDrCey9SN1fVsU5vutcYivXyzyVJ3bfIeaFLUYRndT4W9n6b5AoOc1JFTkksWijYslFR7zyQUfeJDTMhdd5vFAST2aFbmEJ0sa2/CT9NCQUWW7PhMKdtxuW4w1GyR09cVsOA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602273\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512833781?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"krDaYMzrYCImjr8PXh6yL6k0MbemXQvX\",timestamp=\"1773602274\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qzCqlhmx9PUqMdc4j6rxJp0RR4/Tja+ANJgD8Kf2Rqvrme7p820FDltbko/wgTPQ1IvqE4v9uEWkpatc+eydssWTbJnisurX16um4EYcu6qqNSRYa312Nl3lsxv5EVHSADkY7Sb9OMK8uGwJnWuIDb9I8CnMmmwa1ecCHI4jWD9AG7nWP4fgW4Sn2ulCzEe5zHP3mBID+dpTQ8vP+c72Xqs029Ch5StvtFUFQX6MKn11z5RaLKcJGNrGbz9kOl6L6Pp/u8rtqOmGQiHo4ekT+fEoaL5YEFBXSyWfsfRa6xNh4e/GJQAG8cf23C3rnugBY36poQEwVku3v9eA4b9JGg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E28BDCCD0610C3011894CE8C5820BCB42728E68702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9912974f9705208658cd0fda2bf860b2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: E2nfM4pkLsQZq4VqUgvGUHYcUzkperRIlyNt0lwArNCnE3lmZBGWWdckENlCVGOvQ5yTGo64/W/ODxiMEmTV6DrP0/mX/+k/8svg+dW9lANoMaVT3SidMeviqpIgWs1Jdcku+iRJUQMgddAUYXVL1+NgRr6w7zGJ9Ta3SpxuOq1p46tbfqwZy7MOrLXoNYAoIzInzJWd2p17eVUsnssBnrQ6rin4oCLJVH0Z0InBpGZQrk9z5yjA8+W5QwhGIAT+azAjfwvZqyIOhfoN8S0FaDz3tM7WMT11RfMLOOzJvtp3Lb94fYzC8mmudvhEshIH5m9xU17/dOKnqlNwdX5A9Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602274\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512499325?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uO2iIXHT9lPAq3wFkcX6FmXMGFu0hDhi\",timestamp=\"1773602274\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Why3Oiti4RdacrvtKATwrXQJwgk7Kja+ZaXZmYpLWc0KPP1DGR6i/WxmfNNmdqaX4eRKlsooJ5KPjAorGHydLUOk9zx00EQ97iDWGZIxGhiM+J0/Xqft/vmKFRA0lGAnnghuuRRSOfqzjhugYl6wvJcTb2TUuIpkasQ/Ik9gKKBR1Tz+kLLtyLWqOl6wOmrusATtvLhmXWZavPtdyAtQD6jynRTtYs9VyDui3bp+M/9ItxgqlwX77NZcwchgAud0l7mStRHwByQVoRZ5dnIlvN0ppz+SoyOFdwWSCGLunOfFmoBvsesYkVxNRmVp3C0sIU5i1TctymvjgkY9Bk3rog==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E28BDCCD0610B504188F82ECAE0120DECD3028DDDC01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1e2971c68402228f3f081ab4f284858f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: q5UpJHil2K8Fa0iWL9a+ddRY7wXtzs/r4eO0nUWeOtN32pl0VjyQMkaQ4OY6a6W1cCBSiIGigXYmlEeJ35t6vGNuznCP+LP5LHi6xFMUySvKDmFGADye89uPV0G5xZkfx7G+XIFiyQ3gzSKvkH616vyS5w/eqT8PV+WMCGjhNzDOuxdf//0+SleX/hlDCd+VLMlH/mcoVVxgnstCcmcl4JK1KUkTANZ3nfL+J1xGIpYGBZBNe13g59wxyJbLK2ApvHg2Qstnw88a76Yp0rWvp0ZqnMQlsOncumjhiVJF+uvEuDU1VmQN9T4AiKIv2jH/y7liLVPz6oJZrCYNvlnbVQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602274\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512877873?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5waHkvV3ehPxXYrAcTJUDzCLtAz5oqWw\",timestamp=\"1773602274\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fJsCgfboQhq2ijkdAO/RplUlSh7qYioNuxNNdr/y8YL+b+G3zy7+oISYl0CkHEfkrAiiJNMhq5kWTo3CBaeKNkZMF8YxHeEt4aPksAu+XHk17DjUVNF+jlvLIFq/2J9s4hHAFwm9Dz4rRhTkPqwju/j4wiyJ6bntw1Rl6DF4kx8ubpUhoeiVfZKjvzyznnhuSo90euAfRCOC75MExu6tXVgXYE0FCqa70qX5n2FVeu3IAQTExurvOSD/2rNU1T9J8tu3KbCp10PKVf4EunEJCuGShccLpkvNIhvi16+ow2kPfD0RmoRjgkOe8Ep1uBwsWZ+fDqdvHkXMK85e1dvWkQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E28BDCCD0610A50718B4C68C582088DB3328B1D504-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b66882d711f9e7cf529befa85b1b3021\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xTy5SFIFWB0xcLZc5IPjJHiXXRO/JYEkGJ6rw1FDiHISXUykKlUfdaxRiV3TMxs2ZrMk/qiiT478butD0V7564Xl4Ln65BKTXs25F0HkzM5dDx009qZrHk28g2TKk1sqfTX24hfyn9Wk0f5l7W88sgYGd0HBO5IB0yJumDXTJNA+OYfDnLuhNqDlP5B00wMdbZaGt7OUbf+JNa7REz9WQu3yuBPWjyqtWdvDNmYD62olhVJC+BSkWpzu8uYGWLZu2V3mmZZhJG0oGGNH4J0V2vDvhdC+u6jSFc0ifa7kybB4VEU580tZbLic6jG8aOEfwwvUAftm3z+ktfiAjbrc/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602275\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512127286?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PLjQWnhbYsI8aSfbkcgZLNsoSfu7nvXt\",timestamp=\"1773602275\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VbTVz6lZsmssqKlSrK37NjwaGCuT7dPA+fGab9KNRswNYw1qVp9g7v8mry39Vj0M65foTFBT2q+SqKzr58wsRShnJW5rhQsJpt/Q9uB4Xx9w326o01EXxC4wfLg+dMGNcTPCG+4bsFOAuo0TqaZFvtfqNMantRbHGjnJfzGwwvvdWYyIgq78D6PgWmO/TE91QTs3WC+KJrQfG+HziTmF22qEvyIOu3qpmMpgIPdGenf5s8gOg9Oxn49nJjkm5Fw2r1jpE+rEmJuz4U//sBP61MW84qbvE4bRGp0XHglvA1cB8IJyaok93jYK/UuJSCxXUqBhmiVDL4lq82I1QnhNyQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E38BDCCD0610A003189580F9AD0120D6832A28929802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 22300824848a26f298af6f8e84f662f9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LSzWMQlmT48ERFgQYXVFwCAnOrpqjKrF52lVreonn5oHWKrrGnMtAeYh/i/sRseBchZ0H/KxVYujEcZHSL8fS969j2la3uSuUqiIFhGMNhuFgk4MqgOFIcAsTQum6juUAbY2ext6XrRekn/NQsf+wJt3YiFCxpJYweRrZ4AqstUF2lRFShlSVIZ+Vnq80rUMyVXniz4HDH7rQG9fMtWSg8j8s2cj6TyYRiDeJf5GDNVu9I0s0XIZWUTv9d/IVwob4ctWGFD4Gi2IABE9E/8iLFyeU3ABEqfMJPdGCKHHUczEGWH03Gm0lFxFLWKnKVh/kLkNv/S79EomrziYyusl7Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602275\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512785220?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cEXwukkJV1SzNBrfMosMeZUbBIdporv8\",timestamp=\"1773602275\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tV1e9tlgPuTDC4CCltHQBWdBdWeZXdz2L0a3Aokf6Tq+mXgsOXSEl+wUbeLek/bci2O3mlnU3XRvqSKJ8IG/oay2BIXYJ0Y4xp1ZzXkyllIpsShw2UoQ8G1sWSYihVpVG9F/aapuDvn9QDuLBIRDPDwN24R8Fc6Jz+s2SfNP20E36giLSk+Hxc/G3jC+PYato+bv68Z0h2HKe+weE5JTIfYkYQhxyHL5CUmtzeg87PJeqO1xxdecBR7qacI/7MuKOl4Yprvu+5YuHkHteR+eh9IRdy3dNK6AvFpU9YUCrSzWcMoHyO+snfFMHBZsoSj2BKdWkLchfCFgvbdKeuTCYA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E38BDCCD0610B10618C7BA8C5820D2D60228D6BD05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 59191458f9df1a4957d9becb2ad03d07\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d1JFq6+lId2QxZ/lCM5gDBLCDymg1Do57Y1qsTSlFlPdexJtDouiYk7auFCAK/vDKA07MHuti4UV+27XYCBxJDoRHks7nOWSfFqCwhvl2pybq/Jy4BY2qXHMVym/4+DFO4LGd244VAjulD9Qj5olDuu/jDPgVOT9qImiOEhiZZZg2zusCKzEHRjgP60qOpjxeNczkGZHg4FEXf5axNyC4MF5xgAVBCjc8rey12lOMkbx9MIy2YqFNQKfgcCQ9L/S2E/Scdh3F3N8UOG8Yj9ZMqBnqbCYeTvsI2ZC1VpdsNlcsubWMWIUdlIDzAFaEGn+Ui7Y6pVr24LuP5l54FLwOA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602275\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512398446?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vFijW6NF7XPxqBDi0GWgZ0yeHBvIlzXM\",timestamp=\"1773602276\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TpKkIAFd9WcXE/hZkgusrpaQLV2cyWYAJbVDsvvMi/NDWTDK3wY1SjapSnNuKj8pwIvWYMpHsQSCPxIcFzefSbRFa1hqz4NR0bXJKQWEAP5gTEHYq7McO/SAM5TKrRFnYZOK9UlBN9AhGHXVHePYACYlZTe2par31BdEFZNbQ/3nGJ+CnaUXeduHNPYjNfOi8TxqyqgCbYaP8vzwpTj5jpVPHor1ynInPRbwx8AezMWX/XhjVlKQKNCoubUwsqP3VvBvrWilYBh1Ku/KBMDz489HTYwcyJLnH/1/yomf4XWvAnoq2FXw5/pjbcMOK4NpuAuXCA7smm1fb9Mb/7QKUg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E48BDCCD0610B201189EC98C5820BCD02F28CFA504-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e2e3a256e6ef006552220c2dcb6a304b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aObtdQFVVK8ZZZrXvTIV6cGA+gHjOHdzeCuxDVTRwcmJnIlBvF/cLUnIqkTGRl4V+nGIMrnrLSEMyKh2bWbboHANgRdx6iD61QqxsfxeHE9lxUIYoGa1v9P/xEqBfu2nkq9pdfHIDAirtsiDLcbvHEE8NkPjYXuVeopx3FSv2VclOAl8stkcwhPknUHrdpmA7N8oVoWs/BbA2JO4/4XJj+iTTmI3SlxL80ZAg/TPbOgG2Z+I3Rbl7SVEf6hPtx9ynxVjSs+Vz21k4o3V8TAjvwZ0rYF3Va+tl2cMu6zBFooARy2MvG9ydjSpW5NJnZw3iXNiuT9GpD8SDC/s2ZXRTw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602276\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031512585319?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"s3Ar8MAeE8W1siM6YRRujQBNeb2ZlE3d\",timestamp=\"1773602276\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"416mOCR9XdHgVI7Qb9BJ8X3KuicU2iJxkrjpnG9hi5P2GZh87LgLOeRC2VYvf/jxHHkiqi8ikSMXGyE7reAVzPRcfons4uMO7uLC5RHA177QGS0VxYR7KGIPAb35G2uQushUjjoACHIAUFMia5LPStZZAQqkcERYHNuDYDBd1nuTuyFqDVofVF4gcSvv9TVZ0DjkT2RUXOi8FejecV5QfL2Of8lN1qgeVCmMHlvgsDakjjmyTqyX0cT2Cbo+Gc3FTGJ74J10wFh5/MjyYmH4X9fuoKPYLJ/kWINe5um/HxtCFEVSQMEnn2XKVudLK+XYxSelHKLBrkL4J8PATfbJ/Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E48BDCCD06109F0418ADC18C5820A0E2332896C404-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3aee12689c3e035b56738e21a69615e3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: udj+o7rmedZpjXTRtHthHzm1YnhqOIjmy4WNV95WGUWOKuItX777dwG6BH1pwx5G066/Nc7Vs9Rac4oi71h0AX/QIAG+d1LqzxTYJgXGDNR5C0cPCvUZ071fjJzFrWMCwSE4EOlMh9az7S/qj2ChYFqeZGMEtVnOU+jKrYAs41DJdU5psvozlNSDaRJPoBQj7HfYX0acqgxPqzDLC1zOSP8lKGXyj1g1it1sdd2gKipWwCxKFfqfqD+4yVcxw1KGTbZ1KFEjxbDafWSUN3IY4e3k7+MGSVQgtvMBqYGdeUI4zAVgmMhZ0gFg3ILGrz9uuxsvLvnA0P09bXUzUCeTYQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602276\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031513601520?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DWY8muebo0QWlTx1xYELLY0YzllTNHDJ\",timestamp=\"1773602276\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kAj/aDQmnMICMqXww2WLs3UXE0APPcEZdu2RRj7PKmudEnyavZZ2dmK4CMsYHfVP7FFsg1dfXUAD0Kl2e30NDBSME+sLODGINJh7WYAUnaGjB1584eRkproYWg8bR6P4LvSyjEWx1ciBaa5O5rF1ND2lXgKueP0oM/uroCfkJg/08RJ2CDKrayuPpOwAs4+qLLOCslDEHZeM4QPmF99BfdTX1CxKmFFZ8RfU6/+QHUOOUc/LGYBGtg+dfFa9KM9hEIJ0Ts9oYLSzGVfGXtMJ6yun5e58AU5hlhCKD+fbRfcFIGrpHMa20nZuBhWjQXgV6U6CbRGkrooV7gxuI/mz8Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E48BDCCD0610C2071892E7F8AF0120B2AB0428BCEE05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e4a31ba1615af3c1281869cd515cd017\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: H/BSPQutFUiuceuWDpEOXECsere/1DwYU2+i6ZF2yJh4h+uc2/lyQ5+W9wkmm2T3k+IkAlWSb0TkafeX/OhluXZoInSBQLqS4eHWWomBggKHekHAHlT9mfOHhmta0CAPYtryY8JNhueVnpgO+NcADG7no5BGAAR9baLOgMxF6kxjraD/aEc72rGJHU9Hr9PU6oYPaarzXfCuJZkmtZGg8mNfyhFyKAz1rpB4boprvEvH8kcyllKwW8SgHvcE+Hi+KJLPwZtUI/hFnZfDcl878XVw/5RvG17qg6InWtG+ddrZ7EQcOAarFsFFZyAqMwZ4PtpHCzpRiyQZR6B77D8H/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602277\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031513956621?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NpAzzp3hPZlTIKpCB9rtkAwoKmclXimC\",timestamp=\"1773602277\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NKjaUEtzEt4w8lpPk5GI80q5W71S/cxoTyek0XtUjS0i2PuBDBtah8ECgeE7du9CamdacFr8gPdDOieQXzvfs28cUgORMnBQEhYJ8ingG0TFeY/4IyYlhKGhBqDOE4CCFQEa/+Cl52j9T857N3VRjgGwhQoVbUuDVaAa5Uiu/tfu5ilkB/IO7bUes6GGe4raqMlKxvR6Px3MmoDYsFjSrRZTAiQ1srzX5aVGBJL+OoV+SxHT38A5W4PTOOOBZV174uoWr9HPDUml8jVuS4IuWMbRLvh7lv5JhQ66zzJLi3KxfkeG3uebg/+ZEL1V9EuNoB2l9rCvRT4YTh94wiHbjQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E58BDCCD0610EE021893E6F8AF0120CAD51828FB5D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 69dae56af2de0d1d60abffa3d22af49d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eO/+DnH0RGPHsNl31sd78uOGLiPQ9SYYL7VJwP+2WCNprDNnijhcu4hScq2upkMeUD2Seb3KPPSLxBVfDtqEINIVXZApEJl3qQm4t1KU6Z1MzbPDX9+RbsfF5JUeEVnwuTV8x25FeWxiqAZHaGGHKnbBb7+05AFSTnShBJycqjm8gJ/iIt0VamAopo0rz7VQIxeT66k5C6reyubr3CDkjZzoaYmZ6bGc6mLue0iX2cgfzkx2RwKdYBIXrUj6xBKtThkAZZiaZSqmb7GkzrDY9alzQPQDeqV51Tyxq/S293m88fl6lMHfFUPBPcdYl6qI+Ukc2oBxfPHQxZrQlaYUrA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602277\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031513158558?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wBVWyUrl2RY8Li1kOXoT1o9McdqWCIZU\",timestamp=\"1773602277\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"l1vLE3cqTEcusKjXu9qb9MWpaldfbA0hjoeYtnbobtqWOWcgp/MMA8ZhPiTNgm+l+o4J9Tz0sAZhIG7OxiOgO7zGe5Oc/lzZBhdmZbGPwGHYFd4Viig6YKsWx5xM+Kr968LiMf1Lbb2AWLWq3TKGevn4XGVjENbzugJWE1Y834WP7I5TtmilF7bJ8NuK/VnpMFN+SLHX3uIpOmEB5hUP/WCacebScgDRNTeLNx+w4k3t72KYELg1QWoZ7n9qYyTEQeeE8cDKwVbg7zSg0WqsydruBA1aG4GGu/jUT/kh+qHc6eRF+U85/i/zIv95CmxZIsNrUY/0i71CqvV35rKfCA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E58BDCCD0610D20518B19885AB0120C4E90F28C0D605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5b7ebee0d42fd8922bf689eab10ed41e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: plDGZhqAP9FfxfRiPx1W+ummIl5P01MRRdVQ71aGXsuDmn071ctouUiW+4ZB0BZS/PzJFZUsaRZbYzOu7ql50iIJiaikWd2eiva9kEagXn6A06g2ANL8MOmBQEmpAnodDjosTQVXQE++3KD6EkhWuG+1yLAme0EMZsQbVkxOEvadkJ0yb2pa86xVUy3GQFJ1AuyQAcr8z708xJRLd1NvkCloakz2rY2OAyx+HBmA+UhIbKRbRpGCmvM69az6giWjCeaUpMvfQ68dwdMy8kaUl7PMcAICM8HOgZijZaBJaR7c/7Mq1UdK0LfNvYVxf32u/g3bU5BjBRPBNMwxEZ6xFQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602277\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031514467014?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KLcm0mphic0tCW7Y6K9tZ5VH8ZckGflA\",timestamp=\"1773602278\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xkWHp5gGiLN367nWRg6Dzz0iWxck3TfkXIH82dPtMKgC1uDcUUAB8GdwwH8uLJ/WgJTERzY6SCpFg+SMcH4w77vlrhe9+OFFIh4NuJKV88kc8hhOceh0Sa3jStUsWHQb/ihv2JaeWwK6ci9rTVHdYPgGqLuM1Hya+1fpggyaNzmP4aCYnJfI846jwwdL+En3ZEfQ9NUc9iEAW7Pm9Xc/ZRuIsbg+VtOyHBWgTSR9ejJKaoTj+PI0STmD9uj2CzZzkTrFeaz17h256r5vIz568BAW0vEYPiS3LvqUNXlXsWxt42syVWFtIvdJsFYye37BxL23IRffdhRbaHY4b0mBJQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E68BDCCD0610B20218AEBA8C5820B6BA192896FF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 797e7404316d54b2c35e476f102ecfe3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: f2xIAEZ+m00qnWLrv+ICsvkv9xs8aA76mfcCnqHig/P/KjWJsgz3SQ+fzP9LyB2950gTvJYCF1SbHU+wcE+0CHYAiWzcPcUjLl2VMYDvye1wCn/SZTgyYwV25rFpJCahzFpLvoIUoBY7CsvMAL1X4j0ew/3lsF+sWsN+6a7St25J/wrXCmPdsT/PWdfwRUb1ykpkuc4002tPHSS0Za1vtIOijjV+R3b4TGUwMNFKqRsB3UqIy80+XxVRckHLnzkZDvtodrpbN7jP6QNndtA+fru6L4dd38+KDz2vmHAaSJU7DuYoCYBOqxC0Bs/IqY8sbNoKpXKjqrEAGBJySgubyA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602278\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031514793652?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"V8MI3UZYmXUtCkyKBQJ3RQPO5dVzeOq9\",timestamp=\"1773602278\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yItR5ZAS9lyovcDSC9HK+L2lnoyRBCc5QCGCx0M7MnPhXgjzm5W+L/n9/VyKPHRg6hKX+t0je6s6Du6o+aPKsZH2SNFZTqVdQ/ktC/2WpziAyzjcK3GdT85phwUk8viMHTNsv1kPmmvyM44uRyYe9yXb7vHPwba9Hy3sbm1ytZ5yIrd3B05Ovz49bVQ3/SXQQFG4kRyjAZRpfTW+mnWhpdn/vhTYMxm2EkaQ0lenvXO57QVjhLQscMhLCzLIAVW/ufPxDiE14X4/t7Kn7sUZsmLhhijRyW0tJzl5ta5ihiEuukmKx9m8OgqtqG0y8tH3Blw1sIOo9tBTn//GBgLoKA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E68BDCCD06109D05188AE7F8AF0120CEB90628AE8F04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cbe431da955607fb2b72050c9f8c7477\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: GmR4q39X8uSYWpvEpYAHa+RgZkHzoMBDh5bro+MMnaS/adx71i29Y1xl/1YFzWq/wM3dvVZWa9WA1sk+E8nE3WBFDdZitjsWthuVjRJ3iPKqeiBq8hO+N0D1vNlF1CLfHX61sX9rt6YeAxGJl79Z1uLo8PMg8P3ralYHdjpU6rLNcIcZwSMc3OXihzUyyWdkGpsTqkRMIiAuk2JAsl9o9grlHd0M9QUbMOtx886t6W2omPwysSStPOxBC63tkqdkEaCMSgXuUQ07/PaCwSy34i5A/9SNWbAfXx5E44ubr6J4UheOLufTXbwy93uiE57hAqecR2JJEU5iPR9LNGUg/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602278\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031514492067?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mZlgXbrQKdTJSre1kCD7OqKhaHDXRYwY\",timestamp=\"1773602278\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yaMwSBlqYEvScG/zISpsfix7xZnDl3uIuRwyo0k12+nvgIb8jX/iJ3G7hSaSpYK3IJ0w1tbJuJffeRPzWJy6l0OFRFFCyoMwAfD3k95EWd+UDzZamwA+y7IMg8U1rUaz7KfdpcXZ2H2nWap5Q9nf9fV3STDCXaQPX6r1fux4EEb9cZwQRW0e2Zbb+/gZWr4SFABjqMBr7qKIeA9fWvkwWTKAM95E85nr9QxTwrtf+H4Q2nDUEIPLCgInFoMPrRdNHPFVlxEwqxPSQBRwa91WRUMbvErqq1FVs+vRjEiRPEVI8fl9Ur9P3ofkqZJzLua+AitlWGyDI7xlroBw+OGO2A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E78BDCCD06103118E5C0EDF50120A0831528A5A205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cfd022eeffaf5564d3b01fa25379dacc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tk3wDoXTQMwuyFc+yqjSbdNjR59sQFP0ahEEocUWNMaNiFKzYUlUcrfJ1jsPbpmCq51s9Tf5KD3Rp3+b0K0Rz7qELWruD+3USysV72K73+I4bDWQJGQI6wVOyYdqPbmJSO7dHRTb2AYysD8Weqh0wRb66dIPyCYA8Ma7ZxyuT/bPYEKDJLmLFVMw+zchKaCnWqYREAH0dTq2d/SSaw3Pf36XoEz71QwZ2zZhuwLSIeDmtJzGR/IsTK3csXH6EW57dfrNCVgp9wnWAy9aW5SBgPefFjyOIH6aV6JNHDXN7n1D9Ia0SS+nFADAaCvuP67pDDx0s0sZJzb/IlPkZ/KO/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602279\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031515762669?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"s3Gcah6g4YFp0CIvP4LBfLfKRRaZJnSC\",timestamp=\"1773602279\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"SWPCR5YZVi6lQmQPMDk1sjn7oUJVtIMfbwtHyC20kgSrK3fNHl3lOnzaD6HFoIft9JGUkhg5hweHzjnObHEWSfiNv+tLf0X86G9uXUyUYayOz0tR1CBg50+Ilpyv+CSnyCBKNFquKYS+oRU6I03IHG4TIVW4b7DwEmVd0tIHCoJXNVl4zNg2cRmN/z3MX2vQYBfEqGF0ALoFs+qM/uEObRenTyMu/KHb9V9DDvuQjJTqi7vOmEkNtYPoNVlaEBHqYGZvp1RWmo8MR1f0/a6l0Xp49XaP41wFMzp3qJP4ruXCVSCvqq4Ha7cunUGnTMy6EEbjNPu5WwcDGZtTSAzItw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E78BDCCD0610D103189EB3F8AF0120F0E03B28C0C905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3a18c86d3d3318f7aa78a403ea59b11b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vg65vdmrI1H5q6uUZAkbS5tnm1kS4lbmjTsfpIu5Zm+uKgb/TZXGAauQPiy2CSwZepRKJwwioOSuP57EA/mEiZjvYY6jDvIVX4pbyVauCO0ptbAYaVfcLRfbUnZumG5KrZfMoChE42ENubmnppeTrAtEeWcpBZg1SAdePvcnpc4p369uGtlLsonTXoSx/xEndd/R6B/ToBFjCPNobLa5ctGjQFg8skZ9jLbzoAXEC9OfvWywUiq9TtW2vFnnpnoshh8Qrwdy/oOwHD8YvwptCnDGHUSzOLpPyr6+I9MmCogUbNAehdat+X+ZiWo1ZVxIhbkRiWvUgkHfM3qX6nURmg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602279\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:17:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031515185359?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Mwsk5QBxspbV5nvjdFXA8J28NGIAxlmW\",timestamp=\"1773602279\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uFNyBYYQr/i93f784XX/omxZDbj4Gm/hJ4UXy/L88dodRB1J+hqEFAffHGKxcTSBg6AWwyucnKZgw+bzNWdj4y0vipw8N6d9nYr6sbRsQjtElx8N1fies7o7F+9gfH7UU1itj5nFdmEEKck8vDLj4yVdFzXF2h0DFXDQrdhFAPbKuLWs/8MmCYQb4M6TWLmxYqg61gz1bkRMzVkOpJo9sfmeNzYOmiyt/UUdi3uyZt72AOlJKMRYeYzAPPpwEEOT90g+qwNikqScI2lrJV0SMjMMNNVWLNN0kkfRdIM0E10BywOk9NkQiKyoXphkLQ4u3leO3ZPQ3VT7uqmwqH1d8A==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:17:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:17:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E78BDCCD0610CA0618D198F5AF0120D6F40128D58A05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 009552bc17d20d0a27956af3fcf74eb1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sbUeUBJd7pPIf35VfckfXMjf190jESkV1De1tZ1z07dvKYACmC9cU5e8wVfjvUOO2r/OeF9HwLSZX9BCUhOJuihcVAez31WsOxUKsB2SkYbminOae3dfEPQvOoZh6cwnQvFkXYeV4CPyZPsJDOQ3730tAX4PNnSvKQlKeeYwor2Z4j7C44UOjboduGuIZcGA50QJNfaaMZI8yyjC480VC3+TeYE11Wf/v16JuwrefzQYGpl5yEub2oRZIUATe+EEaZXi/GjcTKxjS9xhq7SSuVlBJVkQm9IilMFhCF25pKIwu/Vbk7cjvHMCUEwv7QCekXlhi2e9TF1LedYz7jnMiw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602279\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031516269276?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EvOVkIT8GAHAhqqsfUy2do5wGIyZhWxP\",timestamp=\"1773602280\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"U02RDnQZ97hNBuxdqRP6m1CyOpmfcPx20drEOvfldnBq1gXSAaObNaXfEHWwEdVNVIbcDtl90QIIdF/xd5NbTWd8zRRtPgrrWyD5YHwKTpaDMlTP9Vb395fKfZrklVZjruNIqfGK1s/8RKR8slzcDxW8udBw9nMLOCUQAG6WUy0GRBThBV5lc7nYbDOF015AYGoDMxHD21PdLZV5bAuWM/849AU0jV1hp0pxcPtVyEQe6i9InwxtIDiGqOa2n+Zt/M+Zfb7FZ3aBFIBrs1BGFJ9v7UcCg0cWYkluzOp9LdeEuzahS91X/cp4mt/1AEL9LE+JB7L/KxwHwUuyWtHCjA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E88BDCCD06109F0218BD90F5AF01208ABA292882C505-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f97e6dd2add8c90b1e1fe9fda8084bcd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pQf2yd9A86w+XryT1zoFzWHy29SNpuESxBz1bRm2vFG9xe7tfzE9RLIlu2ULeRnlbF19sttsYM62nGlAxeFP/R69D8zMf47Ac/V81Nsasa37h2eViGEfGbbIEFocKb8L987UQicln92WL6ztuNKT/Nowlu1LXg/EcZDeBFJWeXClCwBBnorxhheBXRQQ/HKUordWoKiH5MIt9wpl4Fl36Im3TjJvp0EpAWY3RMjfI3ajTMiBDzbNDF/otQ1xVpxzEdpzdk/Bw2SWuJ7ET2kFemP3lBSD61RZN6gNST4yFUo+NRe8OzO/k10qeNE2Qt5lV2wal62LCIbRBennFXZeIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602280\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031516673508?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fQeb8lKuGDBWGH96lE5ckmTpkyZMiHaq\",timestamp=\"1773602280\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0Gwphq38KQeDeZB1oMK2lwJ04cZN5HqV3+QSfD2MAFc1P9sJ5X9e5xiAxUY4HJ4f1EYgH6u9gfulpM5rdspKYt/9tMxZ2E/nARgLxtVYd85XIT+l7ZmCOn+VrpX7e1XEKNTRTj1ZiWDZ3vvVK+t0AtgIwVjIDYMYnRCYS3cUzeBrnPtmBBl0u0M5VVZSz5GmPEBHxSvxefkq6spoLFFpFRJ9FrP/f9qFR2l/S7Ib5A4UYFck0z12vujJxzRo2repGEeR3V9aaooQ1pNh1Et6kQ3CJsISCV4a9y6gliyNM3/HRKTkAigNSleAvBs0dxTwC+5FzHDUGvrB5vGBL510iA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E98BDCCD06106E18AAB6C05520F6C52728DAA503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 85602155437d34c0278db3ac618b9709\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RqyV3Vin1mHBbXBkTKGHfXQ4OKaqhh8Cebs33gdtzzNqe2SiJWwdhKDpRpPGZ4OJlS0cccRs+hjtvOTdpy0ag0DS8chpxcmD2icAGoL4F2W7Gnp22zRZI+wVy6c0nB8LJF5w5bWnpZsD6pRK1T50vB4hw3ERA7j+G8Qzhd/ZwzFOYat1cGD23xVVeA3fvQTjuaTRwp3mA1LBfHLu54LzUUT8Xa5GRWoy0OSP0zL0wO6+M/6Iyu7jD+oaN9VlMZGE5dTdJ40NuNYvrF4lvbENpMe3uWY4sZ9ulfNuJf1Hl+Yt0rlbWBIyusLxJqRgWF8bGdyDa9RVPGKXIvQCWHMDog==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602281\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031516482731?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9NLQyO4FwrrsGRQPZfEpAcNMp6aKqs1N\",timestamp=\"1773602281\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bcRXcKvjzI8aEcFJgbvZMsMUDhO3QN3SkIk5F9OPivGX0qs84+6UfWd2G9Yru/lG9fBLqL1ZngU6kW3PEZ/SminwW+WRdydIalvxnythEsm1rQadBsChMVTPtZLhmc6oy0nWH7+k/FZU4e9yZ5AXpjqtd3xEWP6qyH9S55z3mXOyMknU5QiBWcAFCW9qhE4GyyvSUGc/s/tjpo1q8gQkTJGDp2cwIyN8DcbEJGkR5TkOa5V4ZRzP/8xWiTjtTK428ULfFPPrYN5b+IACGsaQos5kTcaayuyJqBOVrTVGaCyi7PYdHqNA371WZqAVenfond5rQPNy8uTdo7cwIAbzVw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E98BDCCD0610DC031894FFCBF50120D0FC0928C6B301-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 613518e89c06cd0b4730875fb91f9dd3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BO4H158s+/uWMiJVTGCl0mY/UGTmyi/dfTPgb28VO/fJhbJt+8v/ECcdS/Dc+/M1FgBLeOEa2aOZRZPDLhIKtrZ6cos/Bn1aB0fgBxcKwzzcDPD9mbR9zHaMqC3OBCHnXn9xTL4WnVZRVw6c6QJL27Z7C2Qeg3nNcYu++6C0nTYRcBIcTPmpHi/9lA3pTsxCOSHsNFAjoIRrFk76oLOLlLwtoDssSflejP+kOa8VSij73baKyMxaRQXZo6M9wKfZVJwuGob+fnk0isT3tOruI0ci4dvXs5zbM+zMC+T2RiLCL5uNkawMTMUbGx1pbFllA33WloAqTiV7JqVpt6swow==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602281\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031517195213?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6GKVHrhPPjcErxqHVV07tbVz9LtNMVIv\",timestamp=\"1773602281\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Dxc3JeAFY0atHlXiEsMHWYltQpDXG7pGUZQQEqt6NnunXiIg/LTofzBAoswQ/LDvWQ79S9vGSF8MryBloQNsIhm397BPAWdclcPrjldGm2I5myBuZ53ZnZceYLZwxoc5BHeOY9/gKcdhJEdZNTGphtft65b1IdeQa5WuIfkzaQ+HdsX51ZEYMtHcC2dn6Nm1PuoqKOjmfVxMNoIrw8NSuSl33SANec69K9LsBO2CwfFuYMxYp41KpUWyM4slwV54FlZaFnVYwqfN0dHn+GVjbKWAuN12AAbqDIitCkAmJOK+iDfL1dy0XM1o66xvWK4EVpwEoIH5FED0fN/qreQOEw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08E98BDCCD0610EB06189EB3F8AF0120C4D52B28C0B705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 037271bd93175b1552ed968925810faf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Nn3XClZEG8mZL0BCDB5zhGdEsKIGRuhBNJILpb8n5JvJNB43BF+7LTfh96UI2pt0kkldPg2mjtuxyVjj6vCf9VumqXxUACdF2a+F7g2EK9G1uri+aj/eu0Q4i9dbMptz8IXVQrlBsjpaPIeeb6DSrr+1cZKwCJtpm+X2ZjyLPrFuFmiXqT+d1TVBsV9dcbAKk4n8VPjewIhNUJA+m7CzUC5biysLcH6C9J1InT3ljiK3djhAEp2zaJ1g4yNsiOdl7OMHXICO2EskBauoFhaxCRgeOVKybMbeFfUZIkm90iH+M3f0PteR8oorftw/NHGC5z6/AMx73Y6+EUGLQkmjLg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602281\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031517997738?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"l3rGmtJK2W1D0BtU8BRxPiA9JO5xVaa6\",timestamp=\"1773602282\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yNKdVCyL7/4K66x2s5WecYR18xSMXxqyXsrc4TcT/UkbDmMkdW9BVkwx+Z7VGFx3+Id0Dx1BHnAJjAgqZN/oKIjh6gAwWeMUVLuNYWpHtwN1r5YNJet41UNHMWHnpBp7cprU2CHhs8qjljdwV+O+OMRh/su6nKauY4xha3NsNIF6MsVFUM1wVGKBmV075xrf3xn1pbWS1TkGrq5iW7Z3y5tM9impDGdfMHQVbll3b44wN0YC2jqbTRZqH8aCf3Mm+o2Ll7NtbTkb0OqdKTIWuDF3vHh3mjhA9Ka2DTs1QYN9Il6XsR3npJzWIxRg300F+rXVwnDOyM+HqfAAIiWFDA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EA8BDCCD0610EB0118E7B7C05520A4B61128F4BF02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6de11518a8424f247f5ff750ff542484\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eYN2YThv038vV2bU2WT7n2B+7ms6Fd1YoaOE14M61S+zbh+bXxnG0YHWJ26Od19K8TfuFn2BV7SfGKt4ug1mP+35/qD+lxKGHneeAaeq56cSCcjElQH3XmjWQYvSwCBo3MpTz0a9pOdk3pta/nbTZYijG7dBS83abx0ZucbrmAFq9TnQclhE0g9/cQBiwb63s0u6YpOMOJn2PXp6xHeH0Vuzw1+SzqWcDyrGpXaoJy0EeR2tc5c4BbzSdzaQGWa5z7jeCrpSdj8wM9/grpltpunzkBMvA9e3kmKVO/ezmslfaREOw2uJtA8UfhX5ZdTONw1snxMGeWxBx30WVDyisg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602282\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031517042157?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YsSZg4UtouVZx9kvM7xr5vK6pQkQNKHo\",timestamp=\"1773602282\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"b81ZXruJeGdBIv/PUtotZa/KUtiwL6CWAq/ctpqbr9yFMh1VLXxNkYuFwMrbizsafLveAkmsfcCSWEyt+6KK0wd3oGLGh7OYVmdv7Eyg4vYKEqLVl7Hp12msAE1M9zI59lQLlqDDKOnhLbKil7FmCTAawNRxWXRmEyF6z2dKN6zOzHI68sB/dZg/xBiWUGa6tscl078/DrLm6egUhkadc1wJkTSYEKC0M5WYLlsVxeImLLlrRjc3HcjYx28UhT5hqosPC30vYm1EodH62auqbjVs/Fr98N+DQ7SR1z4IoMYMpYEuo+QUI9RagAJaUSCSbbi/dGNMQQVUII6Ws8Zvaw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EA8BDCCD06108405188FAAC05520BAF41828C78A02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 41e904c89dfa75b1a08e82040a300190\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vPvAbbs6Yf3is8iAw7NEzeC9NKFxLRojcoHYJeB58sQzGsQGa4RZmeDViPw6p3W95JcSZ7uwKORcJG3rBIQ4LfpVG5McYY3Fo1WpDmmNn8Ilw6kry9utj8xa9RHrkvadvg8ZewgLw+uRF+hm5lFVkiJw02zUh1TeyjV9Bq/vzVG6xtLTDWhQ3JHfAaICTMXVbz0epg8BvNF2czmfA/dSlR4e960v/qTSIJ3zphjOMgOowMmyAvlAxrilMzjfv+ERfcD4FN/FSHSt0yq/cFzY//Dui4hat0L883TnTRPWaFHZFt1rkRNKtSjvq9oQWdMhXGNryEMpMLm4B4inrnRzjw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602282\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031517113054?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"a47sBcnGmsvFT5HeevxWTKl4e7WyB1wL\",timestamp=\"1773602282\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TpzMA3sqpWjX0l1MgLhG2FIJ/Lt+xpwl5YhexfDwaW4VbLsT222USQiBDF7U/veS10t40hY+2qIYKTMEq3z9k/ro0aqOU7MWjkpAgqFcGrQsduMnLp9Mujc1IEGdzb4UCS9WdKwugWRAMNHfTtOpkRM19QTBZg5tE3FZqNJZtEn8BMaeXybc2rKP1YfmzctNxJvDDAJYmdA5/b0qjAE3MQ288LFkRY2mztiDbCxZTgw7eSuq7qWRpdw1P6qAXIoJC0GO1/21haNsZ1p9sda6ltY2MoRZ/q5cZL5/CSBDXoTUuvn7GwFrve4mxgbzMLDx2XU3zo5ld1g1GyYC5GPGWg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EB8BDCCD06102E18B9B2F8AF0120D4CF4028DA9305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 41490963156dc66c27b86b4ec4288d8e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qYFMEseXg6KS5XvksmlNVUnmCTFkNXWkGu0XxNSbr1KaG0GjSd7qUG/oglwtNVPvsLlEBSnKlOyt02RgEQRRYImoPMLSbzzsztgQ3EchFsNgPNHOwgFyBBi24i6d56hxe+bnfiHYXcaCDqvziY07GADoe3S7gQ6w/AOdZMZ85F/X+qxU+2R4m5Z+I0w6DQ4jPGyUClvMenm4vsv4vj64BsBuXFWW5WbVSxgAi28C9c+WCceAqbqJGqpWne05cVIMWg3RDiKT/kpXaE3yNqfGyrWfNoUlfpnr5jNnNYz7CApL8uIFC+yF7sX/b9uVlqRuPRCdzExFcsdQM825ifaCuA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602283\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031518358188?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tZ7l8Ataz6rxyX1JmC58OS930RQOpC09\",timestamp=\"1773602283\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wnFRHnT/bTyCMOvmK5YWeMkhG8zJGtfYJ9jUSBYn/sxen2xiUHhkVknopRzZbujz+27Pd+tTS4r1nYncbAhlCv8aAZ37f520i+3AGuHNci3GxhrEsMjsu80ukKauZMcgLvOWfVgWsQZSjgCCCLUa6NLsLQAqVw1mxnQ0V7S30BkulGveQ86iPRIuqllQ4DIChStKCYbVklRJ3oDBB91k9qxv/bz/NrHh14oRiwjlKSD+jL1rRzyXFeEyFjCPT4AUfxkN/x7XhkEJy2kwrn/TEmJ14/LqL991FsGS/BScDyiWtuChPgXQc5ZZMqWN70Qsm+npDbpiftHkeNR+FW6dcA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EB8BDCCD0610D40318F2ADF8AF01208A9D2128EEF403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ae55c822d8e4c7d905c4469296146f38\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MDtAkGLVkytFiN0vigsQu0+jaqr3zm8ScW3zlzP26CcwfTWnwsykepV805DQBhjlu3WNnB4CqnYPCbPMRMZScFjpPmzHC7BKISEAVXj87JhheqNpTITTRvd+7aWpz7TEmVwjunGY9oXRejKcUWfy4ZLrInh6aJnXnOgW7zeCj+20rzMVI6PWr9W+VAsK8NXg8cCsGdXu++Ua21eNe/Sf0mch73PIB1TuSNoBdP7OoePKqDanLE+PgLz4bLvrQQPhmJsQq/6wNf0079rSIQaOoY1pBSRxcfrMV18xEb474myfg7fApvFVH8qwCmyHOvJilN63vttl0W0P7IXSVy0X3g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602283\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:03+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031518525099?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kIgs5vMPiQ0Rv4mBObbUf868GNjs9l5C\",timestamp=\"1773602283\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YgRaV4aFoiiqGh/Jtzo1wmvhFwB1tU6NUfLcfBTYWKfpNfONVLPkM9GjH3jlEENb8hlSWDjvqU9j3/6vRybdL2zhvRKE+/gc1S9Tu6XTRHSF5pus+w+m2mguJt3/yMESKCBO0T2O8rHagqTJiWdUGaXXO97PRO5NzLYB8fvb79ysNbfuu95P9a0NfTpmDQtAQiUGeo06fTnek/lnB8QJaFHIhYtllh+OTn3vqVTgi4eXNVwqSfJVrt7DEOPMKMSlcuN/y4gGObyo6m8UtzrAS8D9sSdrRcbBM2yE8VRln9ipRHLrMelYCGiU+Vhr7l3svkzPV7tK44IsX7GW6aAlxg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:03+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:03 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EB8BDCCD0610E20618D294F5AF0120BAC83028B2E402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ea0f4afd19a5cfc29a501519c434fc12\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iRgiiymcXEwxBmDdfFYbgPFNdqHDrufW9uuFYfWk9LT7INNQbcUPeEgWOgW12T+CBwNsXMZpXAobrmMUkfFfKoUDUpwGS+fM6iwXdk+eOOyZgxp/T1WxqwviJj/tCG4Fl7cDGgckow5qfp35o7rBqJrhwhgRrTK/reuCCyXexxcP3z7gK2I7N/MvwryEAlq5a749spi5Jvm1LJbDlCssRSB0P52D5Heg/dNYK0DtIsF3LCcDvt6tcx1gzNwmV+inONuSnPYE1cEQ5GOaMkrf209TwU7K8V4Efvdjkbzz/4upHF1gNv3D7su+oAor3JAsuVTeaQckTZscpgn41qWA1A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602283\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031518869426?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZIlhvEZUxXYwm6h2pviGBZeKkFcEHHIL\",timestamp=\"1773602284\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rP+k8MvTUrzzjIozw7toJ33+bIbIe1VhZoZro9HyGidLO4UZvklZeip+NQEu7uOHzB03Qvm3Zk+kI6IJo3tCsjAAplFB0Mhy7uFjZ+eR2LKINA7RF1JTQijpopfdqswClYzqpiZEHPbEDttqBviswZv7x5DRXj84aoCTfVfGMZ6gB1T13JTWk8CV5IkvQKwzJyvnYoKMZN+hXfmgHIGvSsVfkuRVvaiyCZljMYlxLjD6vxrXA1E3KEgbEwm38Nu6jajqKCue2pMesqQvEj5NeuAJLAw/pB+cwWq5tlv47b5Cbr3qAQNj8aTWWBq8VMoih0zQw3tZw6LPOkumnzBlBQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EC8BDCCD0610F70118E19D85AB0120A6B30E28C68F03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c2755363840ebc98c362f0b95baa7270\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kb809OzF9g8vLChwJ0x+5oEbrv/kzYUYnvhWW/eeXhV0cI7eWRXz9fN1xzITfquLfuGJKTUq37cg54GkiIAq0zqnKjMEYo+lFmmWEkyhXLngy7dQvovO261jwQ05SvuolHd/tiWZWdJ6S3ruEFJQWnjuGN8mAxIFZcjlMoU+n84nAXGO5uP4gCRNPRLuCwELq9NbZWka9SMV3kAk1xqrCwQ027Y8REdviaUB92jsHgpPe1nuZPtoKouUAKhoUaI1GwGE4Pb1x0KdDKqxYUlveDoyKOm5XqGBFSuoFlFKSfCbNEQTdf9wtMYLObRsM0tRbC7vkSvhd0QCeIrqHFzqzg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602284\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:04+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031518497012?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MGHn1SZm8YAo7ZyWJc6mVcSvSRU5EJiw\",timestamp=\"1773602284\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"r3+Y8td0BAsTZHWDc8yu0Ll81QAyBNWSYl5za8MA/4gq+TxmXpz6H8epXRJnSDYION37pP8qIO/p0frjKTRJwYTHvksRRePfHaCzjge8e0lDqIGYnffwjxHyncS3slRjHS7iO/uy5cGgGd1ZQqiTFpMEImur2iHl/r92hhNYPTkywf6REee6+Ivs1o8LVJgw8qrGVQlAfF/eV/Xe00kfcpMusulAKgBw3VepIbT55VdDYqc+jufTIVrArG0gbCQl1iw70v/4CFKNELBr+hP4QXmofSCKPmFYTCysBdneLwz9g7sMjocuZB+ZVkCNE4Ej+57rJmwfWHhj2+zJyWHyag==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:04+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:04 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EC8BDCCD0610980518F1B2C05520A00628A4F702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4eedf15eb7830822802c858bddad78b9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EkHZPZ2Qv9hohgHX/UvskNuDZwUE1tNpFUUrSOC7rbZ68LPGMYZwHXmKz9MxGdsfgSbaFEH0NvvyzEnkMM4Qa32H6ekZlL63k5DSzcvkm8WRVJB9vp3sDo1/fLqENSsUKDu2MwdWFxhWzqbVAmjJYrF9tsj7jPaqybQurfiKM8WPTwUIOBLHPMx3Wd0DrDGQ868FdfS4kIAmBzpyj+ouBMHQieUhTN9uPIDO3OqpjkMIm5VWJVHD6NJ4vrg9KS7hw18rX4msGsKai1so7+BUE8Ty8S6sqK4Ax1VkmCtr94Q2EvwYrPTpRK/Tjow/LboqpiQWwjPVxHhOCxjIwbaruw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602284\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031519992256?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uQXDOrPknEmAZtcy5FPxEE0C0bPit8F4\",timestamp=\"1773602284\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LrUUZmzQOo1rC2qEJ18usDn3ucZdbYNsxcuz2tME/dHjLZD/Ue0XGuaIBR0Dg7oNQUAI9KtmQqVrc8fqrhEau+x3ljpLrN/0+1b9kVE+ylrZMKA3kgtK1fNs8rEor3F6oyylmSndNwIW3QqpqXhfQr3vLTBmyNnO2lQP4a+JD/433OzskInacZUjWSbBZQzajSGkWcRcAZ7lRqXcSbs3hU6aFykLZ0GL7zpVv5jsCuq32S2H+1zKqzm5aMwsMaD73wIugm4H7+WnPBH3MGAQm9wHw/MubdDl2PsxqPoSCIeBAWdSrkOSEyChPduSJqGv7z6XIH8Q4iUEATmtUbjRDw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:05 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ED8BDCCD06101B18F7E6F8AF0120ECFC2F28879802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2f665258ccaf0974d0d431d101c8b5d5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: m0M1NMvdS/yzpyPbcBxmG9/2C4m5vfyngHhUDUO/EXGR+3FgbNCKXh2PDfXi/olRdUxJXAPmrj/1L4meh/IVb3888ShNIeqSNdFxZufRTLwcWt+qWrQvXaMW0p4n3DbOOrbyx7oCjtVYyK27BSmb2ZGaMWX5/8bMYLPwl4hMxglAuvifY4o7V0Rs77OrHD2k+hPkjYqWeJiMCkdOlisydXaiO6PltD1pnrjyqIJOKOteb/B83IQojSQjiNTK9SyWzlDaseZbqyRbXDd8idaQxyeqt7GYvubVR+OuUbZv71EqXKB5R+LX4azJUAKe5axdhMOo9MfNnWvNKWRRoGF/mw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602285\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031521313585?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CPp7XyLHfMIQXzK09hATXkfYXngxFbSE\",timestamp=\"1773602285\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lFS1s/u8jvphWcUpqYak8TMOIxdn4dVTLnQzATO7lNChlfMfS4qNpDmlOibDW6jk07VcXoIsT5RN0VJhL5LXTTIU6DeAZg4LDmtGJLjJrv2meLwujHQBhjcfn1xG8yc4c0DpGt/kmp15FclwGweJBedsrkZFcXzZvTFEs6gdnJF5I1bnuTXbkvDSRt5nBs5SN1D7uM8J7Ran8r63Ny8463sCs+hkVNwF2DIATYPSLI/Hfk3WUs771AJcANu2gxBp6T4PHWpL0jwLTTT+MdPBcXlQv7Kpa0EjXqny/bwcGw+gigy49b7dtsrlmIuMAcj2sekP9H/+a+LGrJP7H/elPQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:05 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ED8BDCCD0610960318D3B4F8AF0120A4941A28F50D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9da338a9920c3cbaacf077885236392b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kTwEC3GCs8gXK291XEESUnRus0ZOZKZWvGo8a5yuK7soUJb/8N4oB+jpzPxX9la3L33MQHGxWHQ78yKW89jUTBZhYwB/6Pe3QRvPcb/WrJjkAZQDlO7WSzvgX+2SIRbjmATBywQKuKkHuax+eqH4yUt1g2dKgC150CFf3gwZ6JZVKR299GMP7y3waB/NPfu9Db0M/3ycNEs6qhbr+U7ol3uh1K1CAwHqJ76mvO8sx50S/qLmVLswW2LhWP760Ie4q+ozelP5f1B7u+hIks8v1188jFAx3f+g6yqPx9jdofQZ0M2oqvjeFUas7DXT12qljnRRnOsKdtfKPjuAS3dxNw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602285\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:05+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031521874479?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pwkx9u6r6zh7DUZUdP3AHPIAvW88w2Cx\",timestamp=\"1773602285\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fPbdJs1npUHpqpJnrKuuzxeXjqfsYwNuedhgZXfI0Kmw9QRaJ0QBVd49hU0DEZdwaLeXk0buaSzbGRZLayPk9CazZMwDDtgjC5EhYkvHlBX07NbOd1NU6Fzf8nJ0l+/xcOxKImXhFjpJHadPzzXjPvAls34kRZzRtGNidezhAKE0MkilCSZQlv+J528IfHzdEfiB01tIvWVTsE/DvqZ6PZXciwvuwfe1p5Dex99nhpfwb0y5tK4EUl8VzvEk1KGvlzGkb+B+rCgGE23Aa+QzpoQDM6FVOLT0AlsSNCM6tlTuIoZ2D9NP8zee9qPETqkGlgGfJ5NufrMpJMCmJY+tGA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:05+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:05 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08ED8BDCCD06109C0618C3DB8C5820D08E0128BF4B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d5ee0f57eb381f4d40aaf958c7e8f0b7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: EqlEXn5J4EEkHoO2M+jHGwxhgsng3IhQicfIZ+PuQT8TxvXOqiTcx1YldU8j7eMWwev8Dl+c9CgXCOpAYCA7LPgYltCwnVOKUxN5SF19pSeHzb9mKSGtQ1yaVttGd1qnM8VjgDthIGD/FMlklkhvHIRBsc9iwp8JaqOHy4tJoNBx41a3pxXs82zVikjQ1yfilryJ+ROmM+tbRnuWOKxxcHkUfFpnrUW/Qku7u+d/hS0jxyad9xBwYXGa+WCleQGEerLYvpyOaZBPBHLZ3ZF6Ueg8wj9RXxRoaaf5nIY8P/XRgTgyFeVFY4BibELgJqMsgIzJ00kntEbA2ufysQo2oA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602285\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:06+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031521707374?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yl81aDpOee3MOeWvfwbGKWToOZpTcAlS\",timestamp=\"1773602286\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jiDrzBfEBNIqPuMniZ14LxJcjWGSTKrTotCutafO48gi3sVNuKBa9jy5lZygaFh3II6BOc4xTD2wddnmrVX6YUvSR+MpGUzPRXwro+VbJ9m6yfS4/Uqkvf+zQh/8DLol0r3MpZOictSGeVebX+Shgv7r88FYjBe6tGVOZ8P12PqeTZJGiOm6Lh8egYTzaoOmSMwen4uOP95V0+nEkPEHcucBU4b2OvSC2h1bxynPJNeX0fWNZ3WpfO97cd9s8wx/ZsT6SWY1KI1fHye2bRdD4zdFVQyHmIn0LDk2Xf3Nm7pqsxliVOXVBQK77/48jNZ4Vcrzb7Ojg9Fr48oEjVlsFg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:06+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:06 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EE8BDCCD0610AD0118FACDC05520A4A62F28A7BC05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b26e7c09b37e52c7a3d3857a7d78255f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cggOeTZSvbo/1j9fQ7GQguovQrLeEB0MwrqrfQ/eA3JfiySbaBuhrJi4R78tEVYBQba3ueNrhhtmg/FUHLVt1JLmbbVnN7yV4JB6CtQDDXZDNttcqAuLTtzgekE3oXCTLFgGmE9XWLOYMy310009vKtP7+UCLLux7dSK1cAyv6Z44rZaXxyo1/LauX7ZdEiLevJOQYtjF2sJL+h05p5LLvXSd3xJP0FQAuPhs+E02Rvy2pu7q5dkEzrPfEsyC4g+1KaCpDaHDdKksQiBw+KyUeVGGCCWFoNK2EhIS+Yu57DXYoj7Lbzm2Ruz5W/YVKdra5ss97sEbHR7WGKdf/GUcQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602286\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:06+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031521529542?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"r5b75URqS0cr2k7Q2y33YU6gNAgpB88Z\",timestamp=\"1773602286\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"AEV/GaYR0Oatq0LBWfNBYN0IUFlRWGSKXBHb5nCg4cnhxnIq5O+NwO5q02cBUjifqobxhbMrGsD0DBP4a8PHnfO1eEkU1i2QHV+GAgTnzpVjPricZYalXood7vAUiTNhhAjYJqDWsZ8zWBIPCpoRS2AI6hxqdxA7TLgEb0KdmS6lku2udlBJyr7e5o5h8p4F5i3Ay0LqLWD7oFftTC1c9Z9c9YA3aQc+ptKq9FFbTlrHc6fpiKHWfh43pMvhbddosIe28wkxcbtoit8F8ffFdfmv5VPLGK/AoIg4nJp/j5fC+oCMZhO2CfaCkQD2jQq3S4EIf8+XuwHCHw4Y/1ksYw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:06+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:06 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EE8BDCCD0610B30418C5B1F8AF0120968A2128805B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 77c02717375ec1ad037155d752f4356e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DsWt5MQBmtoWahzV18t2R9kOU6vTl6uN3wGQd8XRSJsngilED/MBinZP+9HIYHAtgt27L+/zs65GIK2LuPCRoPrUXzmxU/vpnE9qRYu4ojliqEKkQ8oLsRMEk/gtY8AViNmli2SVzvDridjEKAMar2jOR16no2jUEOz2tZzIMvHoeOAlyEIdXMdbi25Qq7U6sSNIfVvtDUKGBZsITaVWQ5yCtRW4Mp8pKvuigimzbw7OTsb5renrme0d+iFZqDnYumUWltAUT8RnS6huQTtxgYGld6k7JASUqU+8GKIdYuLRpUzF7VqHCYrQODjVwBXKo1sb3BZ6DGb0pJ9J9PJn6Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602286\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:06+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031521453325?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AltFVgeaEPM2Ueg2EZR5YXt24w5AXa0q\",timestamp=\"1773602286\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"AzUjbfjA66koFpqGADvik7IxjoSWGs+WOS1lJ5p5FfqXwOAoe6Z+UDGqPIHXf9mJEZXrAnjvy6eBCnWuT89qc/BheKQQ9pcA5EP3Aaf2pBgmRtJILFiPRwmN8IIY8gVipXsGe4oWyjItthNbgBTzinu/kh1Iyermgu9N49/DPYsbhOHk0L5GVSmuJeV+q7n9DAIkemPlje3kdC5CB/LQIVi/J9LBHt0Snlj2ic5vGDRhtEi3dtihxk2XcLCWiXn/jEYAFTPrXawWQwkTjEgaMheM5qyyCPvnc/Sg7EACcDKM1ZxvkzHAxRcexbIhaYHPja6GbI9Kp37hVRI3kM1gAQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:06+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EE8BDCCD0610B20718E5C5C05520AA8B3128F8D104-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b1e640e8ff28aac9002e900435503397\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZcegqGkVuszVGTfz1iMrmrXA3g9YewQem9GB5ppAver3VuQConvYWkXSaAqMcO6vQoOeU/zhJHya339kucwyY0Or8/CxwD9MYprATQl3vcU2fdR3hq6uu/mF8Q+I4mP7HEbeoRldNkMlMwcpefa2r+lTwIsbXowjZNvl2CDi+Yoinv84ruMHLOgusDjSTo2D8WjGPOolSFGq7jLwPEhe/JcHZ0FsDFJlSK8CMAXbIpY25SRIl2UHrX88v1qzlmS5eS3H7uaKJFvm1ezvdP0oXULBeJnq90asCq7GtR49b+To0eCvFIvdLA2DJE40g6PJFiP6IVawVH8T1JCv7RsX5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602287\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031522693817?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3CJBKeFhfLrr8os7s9IQxhpKeUd0DEr0\",timestamp=\"1773602287\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xqSj1NGf7vuAAcf3TxofObR+ZZBpvcrm9nG87P7OVc02ZB46YF8CTxv3+N2ywM4oBIkbgSFREMTYqig5Bh/KtKdT24k8Q86PrsC8jtCAxIUGEuBZyYoS95HjIzyNL/4HybkwrNDi1eVORY2zTOCc6+VXmh782usJ/P0y/NN449sZKPzwiZKj5wGew02ga1E2oNF1FpnwpMU0ziMWoOM2X7kVIHDqrC7cOhuJ5Elwzz3EzRFh8XzkjTrfFban3frXmuBy7eQZNNqmU97mED2wHU/TB8cXJEHJBU/sbOtFqzPR7sSOQrfgCkAiCaFli80fw2Vla66HX2fCwc1Avb7iPA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EF8BDCCD0610B80218F1B2C05520FE5728BBFA02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6be554b2b25826766be0809421aef031\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IxW04s7aIPth9nTitJYSynQry3Km/jLb3ju1Wpqig1alijpfNOi+81SmqNMbgpfjMP91JOYT5+UyCC8UsoJ/DvYAuIHn1wNuZwHIN/aOkRpGzcmnfF2XSD/s41QBgNI8r2D8EEIEB+i8CuiBEXSt2JDgDX4PxAw0DqY+Xxlu9rgMFbZLYVXfy3TFissaYjrZXSWGO3hBoc+HgwvejsGqiaUOhs9RHxh72Te+L2BtIWJdSAsod7ZXb79B3ExyrRQdABCxudcU0Mvcj3NU7TG+XIRyoUzn1yjSbeeKFhADE6Gq+3e3gySsk+/wY9/4VsnK3uEp5JW5GUE2Ycq2VG/bDg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602287\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:07+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031522264778?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"OaDizuQynqk7JvxD0A82uEIomwM8g1SX\",timestamp=\"1773602287\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dY7Tc2+KaBdYil17jLmJZVguEBEJYRJMuNNTWUBQGV+JPH3pzB5zClm1BH2ouzRYJINvD9g+j5V6b4W+cg8XAygZ0/9y0c+V3nnascMMRpiueTO5nUVRSsS2NMTu3WxvX91wNTCA/249bhuZuTcOq2Mj4Yr4tMjgZfaJxz86pRwVf5RyQypgxWhu7NmU0u7KpUzEdlNhCtSz9Xg1snY/WLr2qKuNp/VKQTq5HdqaQlmm2eBadXEG6ll2r2TodaqjZ9WvgFoMSTgz3llpsoga48CNHhRjQdzbIg+hVbPCs9oXRft8owwB+NzQl7AmpGP1HyIujePgSNq1ZsH2VGrV8A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:07+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:07 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08EF8BDCCD0610DB051892C28C582084D51E288E9F02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aa06101bd5443b0dd9d5700315e649f8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: n9Hwh1FF/djaQlUK4pDu1JBu9YBJeNmsex9iFqXJd/ZEsh6tyKPIoCRt48RzH3AmwZ8jeycpwSkAbAPrfOTvyYKMZ+k6DOpLsYZYoWB7+DCvN6a5iYuk/IUjqbJYEnvtE6xgrHDjij+M2H9nRok/YYhcEBC2KjksURUQvw3HVktF2gtyzWys01LjKQJDNHXD8M/2w3O91wO4lVlU3FL37Qp3sGvXyQiM6jcdyQb0nH6CCS4kIda8WJG7pqGOqDY4CQwCKf67YBQY9o+XuZFHwYhOZq8yqwnBbh/r/PnKjtArRVKAey4/XHfnwyVDBi8hVEYj+ANETbt+veLludbpDw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602287\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:08+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031522627741?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IFKJZA50dBLN6znVoID4v8pLM3y38uS7\",timestamp=\"1773602287\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"W0azFLIhb1wmVMxMoq1IZPogUxN7lXHq3+ZtFnG0M8s4kOSMUAOIl/QxYqxgROQSBwwqxagppCjY4vm6UvuW3cCU0hyftkxgWYW1bo0ATE2i8bj5UKhDiEgMCXTaoQdSSan88DURl5Md7D8myows0wIhaek4W3ixh+9Z05nhCjWD72K3TeGvJOQ00qZAcR4ybuMmoPjJ6+9jmNs619ruZ/zifmOl2KqtOc12N756rvj/gQdlDvH8kSvnGatE3+C/NV2LBckEqL/oNxitN4oiFtM++LK5jkaKWR/Exc2AqnvpaZhlRg4mviR57Ccv74y6eJlOEY17316R6G+yVkPcqw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:08+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F08BDCCD06108A011882E6F8AF0120E6EA1B28A08D03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fd9acfb9488db91e873fe8b73fabe2ce\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CR8lRlVKFbD+5mK10R2S4oUifdD05PbKzF0UxhwnFyF2pFSnNEERSBD+ceAcPqcNC6qiEPXgMQQEp4cnSvUfcypEYLu1vtt3UNBNkYaKybISQULRJv6EzNdtEDDCVJsj5iNHdEUP23zaKPgVjUND/0mlV606SOhsTNJ9U78brG3Z/fYZg5uqhywQfBi5PkpeeyHgJQSjDfyacM9pJYTW/oWt9nWZbnhs9tOhREbwo57+NEVpA+QH20y3O77UncHETm27K3lfw3WK7U6m13H80eWF2JM7ApKjPJRSOP2c49bdEAYQ+DQVKpXrIkzyqqmxcK/J3aZM6ttgxDu3YvJS1g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602288\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:08+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031522857817?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4eZ5RGf2j9hYISWtRZNWOf2gh0khhwrR\",timestamp=\"1773602288\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VGxD1kX1w7iXGA9eI6VRfQZ+EnLKthpnj/HcipqmMloGCrq9hsmSYwk/Hqym8+JSO4ShW7rI3UDcjtb//NLSk+XWyzfRwqQu7YG8Y+53wN8x0qk/BEw5uht6c4afVqarz/TxQqDSyqWhDoov6jcADelYo90WsohVpTW3Twk9J0DduxN6q0g9ZN6RFtaE0NMf528LWuuI263PEFgmTv5hPQb1r1fJHuK1WziGeaKG8siM0Zns6RZC48gzLxWJg1AJCMIKY2xq7QgMtrMX9axfxX+wubxJkQ/bkCM5is8XvzTjS/UeYfVGOhicqFQrmnlkn/igFvkpQZo20Q5W/Y/cFQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:08+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:08 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F08BDCCD0610A50418DD9F85AB012096943028A39C06-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b8f227f06187e88484172f9fa8f9ddc9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: g4NO4nGu7eHAWyNF0njFaaMoqpbWlTWbn13mTE8o01oUG074DK0RWTSNTvg2sEKn4mqn+PHC2sDQUiEWIGa1UQp4KMEn2e3LA6H6kZTBkfLarFdkKho5uVw88xbOtjR+0j2qulwMx1E1gfZHaOMa/59T08eLPu50/64fVa4xeO9Cyx74/vAr25DG7j//WfiZJpSiETFYIqoz9L0qTA7E4oXYUmr6fkFTBbv2ve8M841ZHqViT5KWsIUafyB4HUo8JXUo2z/AJKop1R++cEE4V7ZZOl9f7oY4xM5Th58VTA6pboJRwj89aluib2IzwEd0lie1n6r15MkC6aA3dEsAjw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602288\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:08+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031523685199?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"OcdnvsyIrGUFQEeqmYaDMT8ddxiyuuPV\",timestamp=\"1773602288\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YUSv4c/z7/DBjsrHzJW+iuuelfu5AXp7wNmV0kMMSxSRhCJILuU7lUCdeYeAXzYl3pUqji2297k1mCL7Rx5szzoeboQSfu2oGelwsOCfyruZFDUf20SKDH5OAWYwGe+QGzIMZt+UWuukriV31uDhLd+lnnRExmrggeVH37nhzF3iFFscETfEgln9qqgg8+w0wMi4xDMGM3S63RChlYaIF65UvE50pAjiOdI6AXPHRxPBlLgRmjxXWtmmT/e2jPbbOk+IRpYoENspDeVmZ7H8EmN5mY5zzi8AcL790Fv5yiKOSEipLThxwl2t9iL6WvZEF1P4KpkgSriivuZK4gSLaQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:08+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F08BDCCD0610B40718DB9985AB0120A0B41D2891E905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1399fc644131494e5d7875115300aeac\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yUDLQE1zrvMzQ5okNrqLeodh6tjAN25gZJuTHzD0CJT+vQl89KNwgAG6ktGKNjsZr84Qjk4wEH4Z/xsjW7Pi8Oz/p5xNmEtRjfwvduWdpNaiikUlwN9aFuF+38CR5VhTQsM4EztrBHVRASo13DEiKcAHON+O0bA+hz7JLMd2u4KB1KPM/UTXG/Z3joTLskQMHO1U928NvsBLGSGeL9c/aVKRqIJwdSmR5hfkJzSVT+qDh7gVGaKVPZgHWmSTijh2GHo2Q3JgHP06BZ24Yn40TYlF2eZk9QREqcOBRG81jAae8vH2vA9XKzE9RKSD4ma1sAFAklwztpcoZCDR6YIwZg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602289\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031523539527?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lMVvIWNejmOVMowNlLIeiYrZyIjQzd05\",timestamp=\"1773602289\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"oA2Jz1A3rIGD3zbxgxV1F4C+Y2JkldWL5BoiR/8/VObMijyZZHxeC/TXY44rgRSewUqOb+Pi4T0tPQl3ZnYWUw5JIrozmBqu/gmUqhDBOc0gfJhYz1SCf6PhYzAEyfnGqgamOnmzUZJM3UILZvOyX/ItaDWKCloeEvkcjfVDVkq0wISpluA04z3zW2P3lF9whPkPF7FR3xRMVLiQiCKUPlSvvj+h8Msx90VRSxG3LYQotGeGqCA922FrKr0NUSO6YFaPAXJFpNcMyxUBQfMCUWPJLLMoNASOWcYDZxFxOgbdLp+t35A3RhCg2KyCkEpxC3qc8BwSocc19kCU8qKejQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F18BDCCD0610CE0218BBC38C5820E897282881B202-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7b1220ba4b2e97e3f12841465da93fdb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Y6pqAx4LaWdDTNNvbSXm+dBeXHj/PucwS5isrGPYkgW3GGOOlIYjY7G1zPp+JMLyX5kyCwus57NXaEovsUIvRKxkOMSuftvb+FoGflRzBRhmepTvBNme9iWLtH+vd9tjizXmybYn9Mb6Vre9BLt7MoiskW/kcAUBU21LkCyVs+vmqtbfAcyZEe5o7Ag/Ubyij+bcHdTFV4pJ1632+L4XGC7ujGYXW8z1ONl/TYYDKJiuM8h6lkqgiBFFm8JlIT80GOoXPZR8cNQANbdiFtmDryzmzYazLZ8BndgUg9sE4Z8fpuiP7xjmuNSs9a+4J6LnGsqD/diHToezS38hq00QeQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602289\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:09+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031524476129?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"66Hk9xpjx0zpPkefyTpsyIgiMCLPiDg8\",timestamp=\"1773602289\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ix4uz2qPyjgPh/Zse0/zQR3yrdm6M8KLQ0Ci1dL8kbP0JgSWMf6U3aYlxiE9Z/jkaQJvYPsvFh61rVldNMhvdeE0ypATXBY8D2ZfAUbx8NqzGseiOcomAx0QCj8mMQppR7AZn6fEyeGucTQjv+TrYU+Q9F3PuKhbUW664TrmSVP2+Kq/UCsYYDsRPa3aZ/ugoneCDGoRNDcAlo2CtLPfgbJvHbjTecLf2HVpPT0FSJG+FjbNoTbW+k7AQeybUGs0KWAW6izVBZdif2yFOaDfYyf6PAQaJ91PX6EDk4858OA6hcuG+EBx1m0GIbT6fIMy3+bHhk2INV9BreysX3R2yA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:09+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:09 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F18BDCCD0610DC0618DCE6F8AF012092974228B34C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a71dae57622f58e1c76abfb9fae4510b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AkUv5+hcfNHz73h05/o5aRbOrGcJ4+4v5gpxl+/M/MZ1Elv9VauMJMfwQtrBVJEqTVlDBQfmkOQwsY1sDsFcXR2gODqKTVvPhlT8vFEEex8gKd6a7Zu5DttW++aj3Jl8Cxjc33ld7qL88dE1ISS6P3ckWHMd3GTLgKCiNyvjaKKnb6cnvwzWRe2ow6ZNvsOXl3trP2TrsU4LyGbnD/rBocuoKnQy+qdAs7pb4XaPwt5AIGiygjWkuqpuetT/icAf6b/kkbSmwhOzo6bg9u3cH8z2DaGAsdBE7KbzvbCrOqexRpUubsVBidzsYFwT41kNWqxRbZl3P/J2bl+nSewxTQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602289\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031524580810?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hMalOoHHk4jhgnQLw1ZZkhlcGDUUL5v7\",timestamp=\"1773602290\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JAlqsHXMfPsYOvSRk4hAxRWXbPis0cpPZygeY0e3wBVZYCwYnUoPyQT0sQpzVCUz1L49C+jDRUUFo+xZXWSFiJ0pR3c1aFv7tFF8KMLZWtQxx2PP9QyA8LgoVEdf80XHl+dIHJKy3KtFin3D1l0ZEHXWLmj7JRFCeDfUPZDoTIIejBizuo5oi7Yu71If+QN17vIJ358oQqV6XgtTFeu3GQ4+oxNWMhih9pZtxvLo1gPWCTdeokJb5nGrTvuDUblNEBpMco91o6SnRujocwFctXKoAFFEr5S0i7UhqtsKWLwCMjT0Vmht4I/bkN7wHO8kOdv028jPwN+H9g0X3MAQUQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F28BDCCD0610890218A7C8C05520C0E61828A9CB05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4b61980a3fa803f0b19da5ab98a29306\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JFwen8sgebnzmL84HzZe3/nWFBqE71WvndZU1i8ptrJMTk9/zu1CkVrLNEd/JhLnLIZ1d8MYmD5WFpCLNaMS3t4WFG+NNT9i78lHNsa10Qokc4DGSKppXAFyZnsmzW1BIV3rJNYZ6XjfaxY1mGdL+/TiqVTY2cygnQhcHOdMAIwZNsxANpzaPKzGuKFG93nQ64xjt7FRXqQHUcQ/1unfXRge2JBiQ1XHsY6X+GN4O/e78MUHjRG8+BNB61J2Uyx1nyNrHiJCSCzHgOEGp8XpESreZ/ca+LEd6CGAP0kGjHfrLUTEqbvb8NBUKehbV/BlR2sNRBQ0sHv1CMtDxfgvhw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602290\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:10+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031524501203?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ILw0j9BB6ljAzztJOEhSwkoAtE4xydbx\",timestamp=\"1773602290\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yexA/8+zSLuXjclYwYSzfy2K1qTAuAr8n2vK0ItgL34OgRwl+9YpubKzhRQYW/G4JeJo8NAyPjk1vAmTxJ4DiLyfkb3jWuZM+DkPF+ENzD7mpCzjjRNNPiiGlzyyvApZC9hN3aPTwt5588hZX/xQBNsBIry7Gf6RVv3mAx/dp43FqU9RFoJBcX01EmF6floPj1FhEgRzy/RfMF8+LA20tbJsxghXMHOziCuM740CszF+NztD6skowYITFKiXJIZvga+PeZG9hJvDtecHsllPIZupHDZgMirPdPnJt3mdOMwpc1JJ7BirKY1SewQGfQf+PHXQYy0L9nLm/4bxCXIc2Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:10+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:10 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F28BDCCD0610C20518D4B1F8AF0120F6F20828C68501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 18d3fcf23278bc86635a7d52a4970f0e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WS6mjDO09TyzcXJQlT9CJjFIJE/FY3a9l453CKPaSxN+Gq8RjF2Zc7gcHCjygJfA7nFt0x6Q6XbwkWujxxNI1IJPmwKZWEyyvVfGtF+ytQQXzyhvA3laPBeJN2GQE3gtpjBx/pIbdV2Auh8bsw3tyde5/dimAYqCnsNkd6Op/PrLm0L6UmoYVFnrjZL8FYjmqRmMT6hKIOcW9qk2kfIopOOoy21+y880VyHF98ZEOfIyglkOAasNkdfIyHV3fQnpPAKva484jCYpiBxwmRrdgb455z9c5te8fg3dNfPdgdQ5BJWnaBykcwdP935r4HuWV7q6dPikUhrlnRWM51zl4w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602290\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031524631079?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Tvy7Y04UKdL1KJK7KzmziM4yWjumtVDO\",timestamp=\"1773602290\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EVB/WF3B/LJCVQ8wCVTbTeBnsH1LHEseavfVehUcykB1Xne3A15LxdJI1MXI3lwzuUXUprN4okZacJTC+v4l0LY2gFugqUq+vvvIhDJaBqokfmOKM4ACfffN6R8dVgJ5Uxte5fQFDWSV/jLEKh/E5NiiACB4Md4D7VQSxonIkhqk9Qsat4Qi8s5cqfUolHOZ7Ea5e0MMRdvy+81Il95bMcCWdLrSAD2cJXXV8LgMzRbMRjddnat7ozmmrwCvwMU9DvxJo3b8fLz7BqcCRg8t9uMot5o50URSntBz4uI0VOtrONZ/Z2MNdkbp5qseqa/lcS11jXSwZTsxNW+lV5iWsg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F38BDCCD06106218D0BCF8AF012096AB1028D30C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b1d965bab675169dba329a4cae2fdaee\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TaU/2kPJ7OFGzJOebRJtXTe7A2knTQNkT4tovtxFFL7ypsFz4ZbEfmlSM90aD/1QnYY6FTNxPJ4ia+A+5sb4LIz5scp0qt27VvqbMDnViXELnxpHh7wkgBfHITtNPUZjaFNf9nMJJKAYb9owSkbQGntpPdSoAVCjc1Zci0KmyKqk1pBrj/Ez1bmc+Elyfo5Si45Q3B8q7Cb1PpnvMxKe5+hThoPQWbmCbOLLomYKUoyiITt1KDt3KYvlvDvXq4chBzM0aFJo8QJkELbFUSzbm2j4qqde3VRdQZtjXKeBBLGnQl+Tatw/yWw36qZMMNpzJFHNginLeKQk8ZDxKnAILw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602291\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031524031120?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Uw0cbyutFk9CqZuZ2nq7lMBpKn55ZQA1\",timestamp=\"1773602291\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mKoMRNCrbZWGoSzVr6UtZ9V+1QWmqsTI/D4FPbmm1pqKDNqW3mKOEjoRJDYgbNTtC4S0bybBvatTgilGtUX/1FG4g09xyq6R68mUCoN73lg1mLGJei/k31VMi4QzfSKcJ4u9j2nIqGoIHp3ixgniUqWY6g6qZ3XX/h2TBJVJD+UvtVegCtFoON6MZ44RHTwkpXKpMNNkPDv0z5HqSHVf/JJb8vFIfZoH5RbKaKlsgAAG+onzATzS7qy6zJWkleTcxGdp41jrn7hfEhDEaUM/8hheD+Lcq6AeKESoEFi9YKjN8tpfVGzq67Ub7Sth4xW/25GzxwqAv/VpfpLKDoCQ+A==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F38BDCCD0610DA0318E7B7C05520F0EC1D2888E605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d0ff39602ef57bce81cec92ad172fc03\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: asiA8zBYFhpjl7iYm13HHnLZvhs1FZZ4K2LkRV3prMLSvxZsCNzCwooqnK2K64O68Lb2r78mZCZ/p2FFE7N5IEoOXLkAvviRT+d3dfoM6Jatw9FGVvWbx9UeA23kOpnmLwFrqhAGoDUot+ZWHZIsdGQw/85JSICJuENUQX/zp5LQqgC9eyknVWzxC/8JAzbiw6BWLEyf1rzFLXOXo3n0BuhhXUja1Uggadm+4H+6DGRBojLjURSBZkhhzokEI0/ckhruPhd7PxcQMpysE4Uh78ROUeiJLCByVw+WrXpDQH4uwth5CfUajDSGBU5Ox0/NAnD6W3hXHHJDmjaIbfOUSA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602291\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:11+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031524990751?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VUgUKEk6PNxptxOUCDhZ4AXF9PTtB5ZD\",timestamp=\"1773602291\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Db/MditW7HsJmQwca9DvSnknxz/ylXJfRB6zx/xyxLrP+O2z5tfWb39QPtPxJaeyWbZwZKExQCBNQYmqvPMal2MA8elTVw1OewgQ3zLiVxsTQLjrP0ckk04PtiZzS2g8mfzFaYZoiHBY5t1cIw/ujwgiL9RmJw4Og37mq6PBHV68OLm8nPj+7bdfe1wo3GYcX/ngscsI4Z2uFLI3gHWkprqgS/ol4wOfzkgJ3Ebjhrq+sLJuH0rssGMxxavlUJexM/90E5Wq2P/rEeCuC3fSWp9wfEJLrH1RjEFspczxBtrAefa7S9qN7RbfzOgJpqrifHZ07GwEonCorGUh7sD2Tw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:11+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:11 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F38BDCCD0610DD061889CD8C582082A72B28992-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a22cd37f0b0ddbbb097a7ae577df6acb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rMCU0G9Piag5DZscA9g5RyQLxDnvLQ+s8FR5yrjfqrX47p1zfut3uZscXUIVDPV8/v2RygdvUvIezh+ee5Os6v8gl++ozTXlyzfgEqhiclYqUSl2JWjaP4xXeXUj5BTEpDXBuHjLDFQ5OCK+Pe7GLBi+fKVqbSwz55dtPAWhdGVpwPqCkdEneP2R8HFOuBNAZJnpptww1HlQlgmyYJlssvrRoIRLT3MbVJEltfajzDktCumFStiBloJ2tSIr305JZ3b1tiQ/F7kq63zaX8o+heW0j0ffgkvX/2CsIYMcPZgCK9PwhRRJXejgm5915yeCD51L2xf7qFyQhy23GUx/Cg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602291\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031524661941?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9NlKky7XFiDvDqt2hGunDNbAqrJiAjP7\",timestamp=\"1773602292\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cAQ+XGy/UwFd1LYe5TUpl76E7d0nPmoTZV9ZQgJDNGlh8ChIJdeIxLulZtYFgrKOIeph1WFKiHBr55XYW3Dxd35/OJFwgunTjhPr3jewUNZMSzxCE3EUZSdSD5Cwlpf8WuvkvLCqcFWLRhuUso8S1Uytcd6lnsveBUvRjF3NitTfeCig6c4oHN5QcRcDRmGN8+Mm6Kl1uIZ0sofLzdM5bzhWDHTK/0nm/gTyrKHjy4n5bI3lPlWJLxqRZtGFsr9ODE2/+W+6HNM1asd0ZNmEmv4JRqJ7+zgisZ2FiCAo4R5qGC+IKxtfTWP/LzmSGJ81AxMaL9CD1OzIo5vgZizR4g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F48BDCCD0610EA0118B981ECAE0120C2A33328AFC203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c17ba8a50fb2370bc7fe010f861016cb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: y8jOspkFBm9QMXFLD5kAcuoc8piqxzUUdmqoPuFSvtODUQ9r8otwsC5usKF6MC9pkT003kf/fIeW/x8eGNzCk8/O9jCIJqraOi0F/KJyRlrzaKYlViq01C5tYrevbV9uRjc/2i9EKgbRbCKNC9yYXGWszKkGWrnP6Oy+0WZtkJRXCt8F6VQ7nQ1XJrnt1b6sQ69sGr5/pwJv+6Og5KtJ1881jM4hhE+/FSoXh4iSP3UDxorLQlUDvUJlrpjZle57yZ51SxffBGQqkg9rYzhFENTTKevzHAWT70MXenUptqRna+4VTwSouzOMaZQsvl9jVfb6nIp8sRFgAfaly/WyEA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602292\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:12+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031525211003?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Rstwuxopvsbq2YSxZEoOGHiN28fU3qhX\",timestamp=\"1773602292\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RB5Li2e4O+bG1iOXuHqO50ngeTg47aG4aAUQX3snsHJJRrH5QfqfWmfPcsXlR2Y8E7r5OwWMrC38fFTgeCHnNBFpUgLxZwb6qQGs9qCcD7cCVVn0QcaGNdQoJNPH4gUDaeT8jNmFnSQgsIVO3XVQxnOmT3hYs+fE7vyriev+q7FHbB2uFHG5+Qft5DlP+D5zKrEQ6eq4NeGHzXNwx8lQo2i8RwK+hyRwvsgH36tKC+L71n0UHehKE5uc/wY+qM5WihXjEUbkuS6ddT+E4S3T7mnrsfC/so4axDU19W8WPBHq40MMBKwPhBq2e3vKLW43LpPtI8R85F1vtIWs4TU88w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:12+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:12 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F48BDCCD0610DB0418BBABC05520E4F320289677-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8cf7b260b62c6c92f16c436a39298c05\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JRSWkxaJlSK8EW6YrwKrgVanfXiY6OFa3LPg5ycBy010U5SbdS+FHNvr9iIqAhKB/5odsOSfQnx1GpkH1ONEj8ep3rDZbtV3WI1nVodcZCK6avJ+Kdj2ueg0OBne58QOM25s3f9t5vfo/8bZDhU1QcqCgjYawj7BtQRBh9amYPJNJzPfcM/iPEDdxfMZDAfuKYmFI1mhAzIR5y1KIKBgPI1D2+7dyjvJQGmxZmFfkuOi8xQ6Q0UJcmhSI5BzHfLlsZrjkfX7dOauxboN3fRzbSF+AMYs9njDo7YbMuarYnGwv7rSM0kD4UoohHDksjpCVRiwrXqfPPLMhFeGvBxrAg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602292\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031525544273?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5tRjtA9T4FhUZ4IJYi5SGihb4Vl8nQgb\",timestamp=\"1773602292\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cfY7nEyNVZN6pN9lP/017xX6LOt43zCwCmuzLv6OX299g3aZZJkwft/cY6a/F5t/jwxWLbNkXCLBGGjmMwgrNeA8Hv8Qxaw5qgWO6GcL65Vei5w9r2BB+a3wuS5aJsi9ry9VF6M8Y8J2qUF7YgMDKImzdEPlM9RgKN3LNRNidX0Di77cRUeiPF38fBb0mBvH2wlIm3oDMoTpM6xj1SEfFJzQdhi8G/Lw9YqMBEasy/Nm27WVzER26WsYqPTTnaCNDoryisVYTHPKbjh5tGLuEKso66PdoCJz3X7Ih7hSxGHGW7LNxoDxYu3FejZzbTOjz7Egt3jxNlJCOfjfyKnvWg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F58BDCCD06100618F3CDC0552080892C28EFF305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f4e87e9052fa861e9c06cc1bb438b1b6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZfgDvOSn5KOtOXMvFKc5Mq7YTGIF3ug9dAZ4Wb9K7s93xEYYwTkUfJcqMmbhbqxumvlfYXfuBc1Lj3ZOXDUj3+4V4nh1u7npDx29qoSj/5x1BzAf4FMdikomScl6Cqsy2li4eOobWzweLo75PETI6ApJ+GV26fU10wJEZJzdI1C/FNgbtluhUp99HbABgsmnFHTmQ3tFvL9z5qiMWPCmB/MW/umQ/HGbCuQX+aYqjNJQq+WPVanaotPjpHs3XPPxq4vBvLanqhlXYjp9LsGPKVTlxXMAoXuCZfHMSBF7Tyto2VOvxi5bHLOiJZHaZgsJc9I2UpIIqtYoRbOTSmAYig==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602293\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031525488223?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XZM80mJvb4OnCMRDCDkvA0OzNkga2tW6\",timestamp=\"1773602293\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DJggsNjmQaS7MG0daH1eNMySmKp6qceZOnh2pBEn/tAhJEsc4hSYYsjyHUxfHxhMt0KrncbrqNeN8rOFX3PnBr/YQFE6YoAJ6x/4JDmOvFDBTPY7WaDejKlsJbjp5vHbAprwAMUd9fYeehAUP7QopgpttZ453/31gRjQcEXbxBZTmucptsY2/xVqo0sf3s4Qhjn0YIhBzqiFIC4WstQKx95KupyWsTxo+ClEbNWNjklT74MmQHrer3b5Zsd3QcVGdOIOWz975u/Sv7ouZekMAIqaw8az5WRQUUIuqVo4Nf3OeAZxEzN1l1x+TyEacrvt6okMByJOncniLRI7+SVTBg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F58BDCCD0610960318B6DA8C58208CA01D28F4C705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 773dbf83671136275669aa1f1a1bbfc8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uFs5TzYA65e5D1xjwUE7vp8CBckBPofhch/UwG+85jyHGh/7pVCgYoLOb8Dz+ZnIkibmv7DoeeEWdclGjqM95DhkAjUevhFfnBDLlSeKIWCKmBnlZspSp0TxLRPDGhFeYXp9rbwqViWN6VdMcSuuH38o3hDKqhpVM1u16Y8L7hNN/6TE6jaM0T9Q2ej4OhhLkhnJ8llhBKf/tylj/vxmTcG3hIeYkM5Cn1iRhKQIdazqssMrex3oxPEHEyK8fF/CvV+kv5qEpj8lzJblYuRlRtzY+0EMsmYEMJUbvpXyS8GNz+1tjhq4deps2PSyg+Kh2rY+8shcbXU3ZHx2Q9TeUw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602293\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:13+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031525558343?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Okhw4FeoNWqaYbLAEZcmWmqOknNW0z7t\",timestamp=\"1773602293\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HrNSFF2unE3viZGjcVZ1mOwZd3acSUpKY7s5UqjEI4LqcSn0mf3+7ih5tIHqYR+ZOGihCisYnoQHISHmOpC2gaTqzC5m5gVQueiQNPhNDhl9dPy1nwfrgO9v6eb5wwtAlGWPzFBqpaxdlLJOt68cETxLxL9ahx8L7XFy3R65MAam8tGUCafaQkn9kn9KG2y4DFJXdB0sCM1Vh2IXmkHL0nfjihZ1vZ0Ugd/ihaKq/Zq6uxpQ1vJcAhVBIVsC1g98zD4O6LoaTXtnbMiEMtjiHiJ+ofhqDBptY3At70kKIFNAVjMWlSy3yuyVs3DSxa1UeSs85PwV9hMHSA5IPLHKzg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:13+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:13 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F58BDCCD0610A806188CAAC05520BEF80D28A1AC02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0381f6d7483aec30897e082586636aed\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Onqs6lTTCu4Ga51FwTPfqNVpem0yj6fDn7Vk6v3eDkfEhpIZOSy1Q5yzyUChEERqbPfj0FJo5cf8y0LzhmA0siLzhvLXi6raPxTg2FZ4aUITaDQgYbmzBEwV8F2swQwBPmJbqWIlaDHmevNKrNC/eouzWAA4iS0Xp8sALBMkH27A8eg3oFPtDlMxyXf1w3ox3KYyu15ev3BVkaytqq11KviiczqBHNcX88RDHm9rAKEyHBHOOZ3F4TLIWniWMUBFgxubuacfejJDzYNf+0QulwOjl/qbPF1Upuh+gniQ1csHgs7iKJ2XI4kPG/m1KqhJs++hN1kZf14XL2pnfPVGkQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602293\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031525901247?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"C96Yfl7aD9JtrT8YfCBUxK8rQWBsZ9Bj\",timestamp=\"1773602294\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"yPHQh+dtrvU+zm7mfZqtSMSIA5uCHIiylx8qvuoTDLa5asvi8NUhRc8pfW+97MZyFjoRRBg7o4tSDs/wEiUEsHNJ1GJOUS0mWc9SRR1SbyL24ReDGXVpoYodzqgdPv9bNPZmH9LyFWPnYIKWaRzdgkJEs+QuDcb8Q4bojfG9O15vT24QvzNKpqJIgwtKuW0+0F6LHMt9OUPCfgbZtnWNarOxmz1vcBsMPnAMKqkRPVObvUY74RNKyIJPKqBqWO7zzZr85InZYXN7C+Jti3mojihNc/M2y5RqbHO/8zsj/48CEzQs/0i8eqpvD73DhdOsD3C8H8K69SfeB5b/LCIaJA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F68BDCCD0610D0011882E6F8AF0120F2811C28E9C701-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 14183fe6c77d47c3639a75e7b5eece49\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VIKS9nb6Nc2AVx22oxyDPNuXKQe1yVSjj6vqKjguUn3uNMsfb9bq8uqkTquRJB6kgBjBoRrGE/G07WV7VtoCeF3ZPsLt1G14p3R2xtcixa+7fsz9OBxxR43rBmJlK2xyYMrcxxzQk0ZE5y1In3YvlmuCtpKMrR2ZEmSfdeUI1ml8PpMBW+AN5qiN2V0aYsP4e/UywC5fFPYOspuGZNGg4+Mwo+Y3Sn+uteyTf4DtylF3OY2JBhHbhVHyaA0FW9+zg4DTDQtkufYj9+qBYkdOIFBVGw8NFSZGmznfqP/HM4avUJV55Y+aRverTuTBCrM4R/Qt2bjVhbSIcRvTYfwgmw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602294\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:14+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031525032618?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PrKqx9uj03ohTgNU8U0AfKTsXUXIupGr\",timestamp=\"1773602294\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QOg+kmuedGcDqjiBSrG6495SRHErQYPY3gf84h4Viz9oKsJiObDpxQK3rbeZg3ahRj7UrSBc2hpuDPbpRfnhgKCVn90LoCzqaXMRI4KT0VFmtXKKEsIjD6O3UyGIyY7Z2HZuT98jeUnvM0g7Nf9uAPF1S88PJU/FXgwDnEGbuN0PJKssVfRmh85hEuzNIS8yBSol/ZGFBGRlUiyu79JilgtsjelxjBRjDhEscBjiqVZ7+xCND9QeIqPGoZ2zUvRs+9BKQODbbZhRpHo6LX+wHZqxxTFawAgqFI9TbHAU8/dZZu6R0vYeLdDc+hEKyPj/3FvJIYzjD5ANX3cXom23Hg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:14+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:14 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F68BDCCD0610ED04188FBDC05520E8B33028F215-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2468dfe8977f63dea8a9a94e4f7be2f6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NOY9R9SqpOgqWBtJtdYyBfHUrgBQ95Uv2k/RLZ2oIfxkYPIH7NqcqOYBYbz5qhxMnSkgCkzTs7nHWlFYM6Q2VtH3xZj5l76S1CvuS/pJGoky8PR4/bd8VEi1u6RMFgKSolG9WTpFV1IX1gYu/ZSoXCHdTorbCicux1OVWXxUGsS4D7ws5b+a0i7DU7V3vbUfxqdhbqUIasemuq5DxX1sZGSa7xX83YMfWeIUXRdKg/s7/qK4y2/5g7OmHBzzxsH1ILkU6p/+U59II69Nmoa9H5lqr/j8h0rR8dMF2GDPjbZC47z6nipOE1Wzayer/VSTtwMfMRDHh1EKPbB4I+aqAg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602294\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031525676762?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CZbWnEBIRjmhXSH1idNTEaG7xqk24vCf\",timestamp=\"1773602294\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tShg21oWiAJ4//KhG1GmXhj0Oy/3QDGnpJE0QvLTk25YugP4d+BSVyjXwKh6U08Cf47anxRyhmuVCzZd+UgJypvoNPMIGtspbpsPbBd11g7kSe3HELW2AFMqlEmM8Xj9xLp8m6SPxnj+96/CN8drrL3+VsbUjzDko0X3+kJMy0evU/hN6AGxaXZEfhQ/YF04K4wLRGZ+RV37DWJEK2vY5GAAehDreRgWvBPbRCDBoZlCa4gZPmmfMCleEfQp899bEbwm739nW8yM0LN8fJ7yYdg/LCz6BG/PSChxeFq/imAoPbEMqZLkww5QjlyTjjtdPK3s/zZyE/SiNUSZtVDbVw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F68BDCCD0610DC0718F29D85AB0120AAD30928818506-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8b88f82869b7dc03f7d9713e77cb4663\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mFZZpynQKLv3wN/rZZpxvunmrNZVJ+ztj3aQB8NHqdH3Rpck+Cv5ke6296E0B1Ay9GanbFBkv8bVVM7AJ1S9zAnsFeqjVnsLnFsPQReb5I/ic3/vtw4J00Zss+xOBInBbCjbGz8Yd0QgJZgT6lSDulAZlVkxrkyjcQt/x6ophCXkwPTOmKqR3g7mH43itTjcZrRNoa+nkdYLuT6fW80HbxBSl27ek3A4PxKnw4nTHPgAcKb0Gb1mDvLHLAEBHYvhVOyWJfb3Dyl5NeXXMZOkhpEdX6D36fh4PxbxiA4u352zGFrTFzpZl47chTmFRJ/EtFZO4TZPm5mVGd30E0bPiA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602295\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031525490452?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PmqtuajwGFQjj12TjvcnQWw4UTv9X7lI\",timestamp=\"1773602295\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3UEfow2xBWd8NyZqe4muQpUfL8Wsuilb3xj8sjeclK6cP62iMkDiFYc0UaGsPPV7JGohBiaa5K5kslOLQCAtIvEtyig7m+vZ3isaX01tpbsWM0cAHu17k0jdOnUEdinEwhZsJhUwevTcL0nzOesooSh3sooCB1g3PcjVyvSFT8jqDF37SN6WibVd9YJBzR2L2t1CYZbQcZvVPq9vzR2G/ZKftNTgsQsBkjZwCit5LPVqtUrGGpnGDEOKYWln5Fku1h9kr6guJ1zPc8tVqMARApuwJmiFYXgM38NotRTlQ6tM3zFXT18tmUU9zzOq75+AB3n2qb8HczMyUXR3UXp84A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F78BDCCD0610FE0218D4B1F8AF012082F30828C68501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7f49c2729e61f9b42e6f6310884d0173\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mqGYouut+0UzChnDvB82V+i18wGab1cnEAbXJ6yFCwTEBUIDtBH7Kccz5pWNmZahpmCEwqEE7x1ARjoG/Y91okjBCIOg15WGptYR+8UHwhbZudU8a8951pXcub5VXTl2ENoelGxFKAbC5ChedyZ/qnlnIoQF59EgkazZ1zg6D45mbtGIzT0u4pUAMfMTD12QH9cyiLi9oQTMkUAMgQBgby1+8MqxBXyzRk6cQE5JAaSIZPa+kauXf50qln3gBDVt2tygb7LxWciXphu10leqsdKGjLmcosPAHos3/3//aVRhwMd6qOARKocYNAL46iTp8XSIB6wjbhWLjYt7acmSxg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602295\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:15+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031526785987?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7R03zZJd9OH4LUdJ55eKnvbujM1BSVOF\",timestamp=\"1773602295\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sY6+61W3R/prDfjsf9XIZl6Y6QpjMihPd4peFbS0ghhdLoEDodHx49E0iE95ngo9k8S+sQgU1Vmjc2VjafO3UN6LW4kVnc/MvVU7acKeKEdPMY8ZVyIsoDr9eDVNF5VLsHNNPyjAdKLsyriNlB5NQxYzWnYBhSXaJBbB7C0CkY/kgVEq5RPqxEYzhcgP10guocB0zuwe7LUaMCjcSHAm3c2Ud5xudnIlbLMaP7y+o6MNV5vN0UbdH6OqmJQT57h7h9REvNkkYqW1aE7MFko6sbIMkIy8PpC8d9BeQ6PrDfSQVQbmX4n6fQSAeU4flV/BAsBpLrjW8zhGgu+f2rhxiQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:15+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:15 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F78BDCCD0610FC0518FACDC05520A2EE2C28D49005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b49d90cae44a37d7df59d84f995aa8c2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oUpatprxEaZNn6TAz/uyE0eKHD9/cFdp9kc/yER9Zxh9sRn/NkOdhabK7lSltBp9s1geKuguUuPBHtASvkaNV6Xp86bi4vdqeDnSljbn5xmf9Ht1SKEHh6Qf1UbNcxmXdU3hEjCi740n0PuvRb6b2IZbCTQFe0iuaZLoGbjE2poN2xPMOXd6ObLZ1GoO5VBuJuaRRZoFe6em2PWOFkrMnlA/ptMAopys9psNmBK5+4gVY/nvdJ1Nhd+iJEjfgsaRAExoIBDDPSigOjUifd/2HJpwZjDIcDdSnaRNhnaWZXtlFA3s3nG6J/kM5E5cDVZarpz2t77Aolznl60DkEm8Gg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602295\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031526871357?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3sEssQvIKYJUQzp6gmHHziUrkINtjpC2\",timestamp=\"1773602296\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Z1Xq2Lf1vBYsALAG8E9+ZorJ865fYtsbaxJ6eZmpPvTmDePZ8G8SjtkbvTbDSCX49wezzxoGPd5piv7Eo7+2oxPH2iS/keJS6cL2cGjNUfxqiP7FFja0VDpZ7AIVws60IiW9CcoJ+UVdopigO8wHsGYXPkevATlLP7NLB2IyQrFVGkv68Q0fe55R4s3Pyhrq4vrbX0OVVQBY7FwvixEgga9UB9Jbio+VmUl4FeASR+oaN28H/gp+tFZiJjs0gfdqR0l/4b1R+eGkc5+lkJMAqTqggwzByclk7FmEg4QHTCF4frENiEmoZmaqAa3TPnacqzKDeunX/EGzYClG/UV+/Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F88BDCCD06109F011884C98C5820A6981328FFA504-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5a1a010977fce84b8fa1e25f72ab3a2f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NMn4Rn3ixSzIA93S3x42cOzKWVRDL4yfRVX5IlZ8Cpbvm66xmcZW+97ITyaUdQ+JisuDmwsf0oKjFoH0MYXxKKDBq3A0WFSNvNp2UYyHJH6//CUXdTzTp+Z4TkFgTPdLxlgGwcngXNDDwR1KZ6aSPfJzeEHJYVDbsUglhQWzhUBXwPC8RIJu3tK1KkGlQeBp2jV5yNSzyRdFtHvy4QMZovZUtlqY1SQKiOaKuTUiB4h3AIuPqTpkvzZeTLiceMJLmij+0be4qTDVOEAgo8JKwGi//Hhb4u72sHYpR3Tb3wIjaDwTYwwh4gHNoR4wLaP3CtH+MqIg9QgZwXHFlOTAKw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602296\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:16+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031526583457?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wVJeYcQLMw4cFk4ojslSMKL5kqDiirhX\",timestamp=\"1773602296\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FWT7BvqbiT8vsI2lWmaedm4EXEiLw+ekbioO4Eg14AmwFEsJZRIVNLBJL/vfcIyNlEVjBtKAOpIyaiVE122T31nvERraNb38X1OvOzebTFwBnGIvEjB1gD4XW3vXBKgl0iRhGV5lvRHmWgqZ6hJCnrFIiQXJZx4s2g7Tu4+A0BVjPbTEzKtwQq20bMTgSdHFCaqHAwTP+MyDRjhWs1d6j3Lu8Z6NenNCwY5A3z81P4i+3r92cPi+nr/7TFgTSuZeTsTXBjPK6ztoiUsIUww6fTl/u4Ze/c1kR/dcDh6QnZskhpo7U2lKHN7jHUlmuC59HRDl+Z9aakiRfQ9H9Q0hqA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:16+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:16 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F88BDCCD0610BF04188FBDC05520BE91032896D102-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 729066b1a48a5ac96ba78553f67bcd5f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rcRAk7LDNZinE/dNvl+sw18C+NVBzASKaSX3qn+t0V4dd5yBIl0Lj88x3QSrFw0b3Kcrnmv9L4Vl+VAYN9xP2wzj6+xXtwsP2ppWO2KTrNeZmU8d6wUgOMjGaAtm8SZHJt/+XOJnwtLMfVf46rcWjJop5kmZrNLesaS9cHBgs5AUV0mkwlinNKCszlyhBxJF6WopmGZHGLJ7dpG1xeziMPOnscTz92QmnyNAJ1bY9W6DF+Wq48Ea/mjaGaPXJ1SxmiZGEJZopKbLzFK8Y9LLjR/Sgu0UVYskhnoyKnWLFcAQS4g6/KH2RSwkyzonG/2IDZ40EQmtfnGdGY+oQsFPEQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602296\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031527971461?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WhRYLLyjR4eMIjYgBv2bkCtLgh7kV4O0\",timestamp=\"1773602296\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"of8m84mrLHwq5aPpfuI5C/4rXVjI/k9O/0Enz7d9bxFe7+utbgbV4pNsdHridtc7RA2ve87lO/QRplMRo4SKL0HTKTmpY6kAqYmT9ijlGVLj2VzAhu1WFEzYuNmgAKkWzKU7lrWntLtY/W946JQ7VE0sATBwqviqz7/TAFCcnLRu9aH1sTGD/gd0HzF9hdvbh4U04RKlWnZKbdBNbN5r89PKyUDnAgBdrMaP9WbD+PabjIKr+rXpxPB7DHZSWtl8pSYpC/CElNykZan9P4HMls+jDtvzBY+41W20lT5HoRv5xe64v0dYCSg+SsvBylp8mXSkUZC5HYSO+rJbIyauoA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F88BDCCD0610BA0718F3CEC6AF0120928F1A28999A04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 106bfe2d0be38295dc7b80f3cd5f8378\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: n8YT2csKWlozcLCSQkrGTe6Zlm/JTSX+0vYDNS7a8QAhR31YrA6U5zoAwCt3DmZXxYihrQuOIYDK0wa5wFj81NYJMuuapfPSX9tNGWCslz24LU0oxI/QMGxoImb+lKfMOq7inpnbxgXmdxDkoRkYJzBxxklPPLkddDR9pfPlInYytkStmr/mh+JAizhAViES9cryTO/mtg5wRha/b4uJpARy8n0XqlhbCCO9PsBUTP2zWwULh5cTGXKnicyOjltYeh0wk6h5bTsvxBMWVe0xOoJ3eH/iQwrKPi+GJx2yr505luQ6ZqldiGZB9+8XlcfL5cqfHqb3FnHdZIwPznaLog==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602297\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031527061265?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"h4FMY38tR6BDRV1xwxHrEKQN8uksduNd\",timestamp=\"1773602297\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"V0g9Tr9YlupVeMdMDntLlhu2tZWbbY29sETKxhRlt4rr5nrZjWNBJX3VcJA9ZsFNK7K5hsrHDd9Y8uzb2w3pWHiLG7BOn4UetgfOnnX9OdHjMTBPjltj+RhIrREkCjxboObM/AsUU1t7RJupGlwrRf9KoPo2njccJO23S2VaB09+1OF3xuVWX8SIrP6vl8VKqV3kfABtvxZ79sHp62hUhQi4zViy1zl4Ud+AtRJU+acfgV3IytA4xdkzfFcYU+RUtvxMt8kYT11ZlpHNlaxS1bJG1BwuR5mqUE9p0ZK22dFPglchllysNQtfATuDsGkT5MdQQP7tgrqAHZ6pXH3OzQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F98BDCCD0610870318F3CEC6AF012086980F28F6F605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ea9d2eb5426d4aec6777bce291675d42\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: avKwz8SbPsOv8ci8GBIPFaB0/GxVp+xIQaD5t300PRqdHYkKYL4FkZ57it6W5HMWX58RIR0ULPJNsnTZKodwPqIA3T03sfvXJIhjDL8jHuLreZeC41fiur1sGUyJeqQ/tI+5hf0NX51uPTcLcPO7i9GLm2OuM8TbYpUh2aGWSph3D4koj2rCWlEKtzZ5DwyljODeZpXtkNsa5U5QTgu7n4L4L2EFd9UGlME4xiMHiYtWEhGqXz1+xPCYg57pFcexHL/vDT7B21G6jl8zxGwrZ4DZWwhjw3y0RHE9dTwTRFn4LTuhnWkmA3y81riwfDQ/bB0PmSRM+sOpJXqPhIcZeA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602297\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:17+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031527385877?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5k78j0Q47shemDQJ46u2ucYPSekUfLFN\",timestamp=\"1773602297\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vOlz1UAmB9GrKQKwbzyEwaqc2myCILlg2u+FR7Dus/cTGsm/+tzvhgR/hRYPUfzoI/Xc/5Pghect8i5HYwHy6JixV5zXHV2Pj9SZCk9+BrhZWxzrntjR1sCVs25H2WTu2RgNcs+dNkWjdDyK9LzHtl8hqUotm9HYFW6dFsehy943AxHqbPc7jWgABHe39BKPLm0WEiL0PtQfSmZgsoa3W/xfkY6uq2DIdb+qRXNkXxR5XEDLd36p/ehJOTrmX42Gd1lM95rtXwPIeWU5/D4qd4302wNYWDvbgKMOWVTre4wuZHnkgAufSMmnup4CG6ikMCzb+U3ZwWSM63Tojs3Lhg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:17+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:17 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08F98BDCCD0610970618A181ECAE0120A6822728E105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 657a71e69b057cec2eff07b8eca502b1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VIC8c3f13L4K1l6fGiC2dEn+N8a0b06wX/zxMUl0kU+kHfqMY+3zJ9O+83ZFSZFnlhWxnDRAy3PSGTjS89tFBV9722gl5vMnOUbHakpAiHNdlLiGF3GHOfKGCC17Wj0VLaublKJmetNhxDa3Gz9vFn8nfG3op9AZgJjGBp2aVzs/exYzb+u/pv0iB1qQtzJiCgY8AP4yUl6Sx8XYZzkCToD5v61EqnevGpKceIM2UfsLbYl32RZ/geqzwy163Pcgh/E55nSfQEvaLj8ag+cCGOMT3vTux6ZsCaYlQW2e3bFyLC2wM3waIzzO/AWD/di35+IALN9zlnGEZf+pr1vpTQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602297\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031528860879?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"p2LfIvXIK0mndit7PICX9RiFPqxDNVLn\",timestamp=\"1773602298\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0YBqCN+2RDVMWvp0WmORDCq8uocXOC2+kwRHraGIr0v2Cfz0Og7ctfFDJNhJFjrV8skLl0NsLp1Nr6L9RNhOnUG/OLGxB6g6UwXD4pk7V91aMh4H4bNeQHQjgvkpX7EFh7g+dyUH3au+MOfLpTym/l1cenqFBWVrFQ2wPF2M4xkBslEaPs250oqbC7eqer+vtrXhHgzUIffNivUG6nFnu6IO5LYMskBhoPblkd2V8fmEYYfzZFbphgkyzy+4p8FRlLbmqn3olvoamY625zSNJWHMi4knLorHO3zHEkP7Yip9qS3Pt/KLGuCm07sAfOBW4PNMVQ4bK//32nMuTEO39Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FA8BDCCD06108902189C82F8AF012080D93228B4E603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e6a794533a8843595c46c653a819a512\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: u1WlgoFLEMZ6tAp0URBVsAVGSDbRFYx6YjzoBBvC6NYQfgEwBiCJSH0jGxhAljugL2Z4nqGHT7IuKZ0bZMVP9G2U1B/MgwWIhmOcPG8MpbA1sqyvSAtYNdusHpoa39BcBdZKZf/I2Ha5oc5eziswTX+7Y5q8YB43XrnrRzSJlvv3v5ZK7Vzsn2Ef67toCP1ba6v7yeT6NQMKoobImaJxOk5dRpzzEoIOa7zYERn6BLHCLvUCeM7xm9CHTnlhwPxCwHnNBx7mm29WkwfbZITo1d1zWML09YWUJ1xdZUcw52VvSzQYEDZueBD8BIBvGFYoA9L1iKL6mMzuTEkhqMaz7w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602298\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:18+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031529109266?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EPKplPrwzGR6AhZzQvnBpwTiWOZlrKwP\",timestamp=\"1773602298\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PP/U1wbRWGNQRIQVGEuOISEYN7KpY/eNYxBgikQrOICwqi31OLGbL5ukxlnu3ag5hB+AqApktI6boPk5P/g5bDfS7x/KQOIB+oPoJjTw4kSwZQQlQ+vQojJ2dw8TUchs9pjZMTJDzVfaU5sBt4bHomBv5eNzlsDdo+f2Nx9vR0tJHB5ctC9GEx/H26aLXLl/2u6ux5Ku+ER5RLGiI63v6c2P/dxY/B4ZhqMAofsw9jpmhoSbmkSi+5Kr3Hp8GtsHwYPfeELHjQImVwhFZF4QPO4dTN52vL7eKS9dqFgAuBh+zYg595Z6sv87mN5QGgu5VFMBGiqrw3/YPlbCAtF0rA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:18+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:18 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FA8BDCCD0610870518F7B2F8AF0120C2CA1028BAED04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cefc5c2adcc0e1123c45d9619251a257\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wvR1mX8Yxz6/Bf3NfZAEGTb87pPt50jOCFJm3zLDETaFFKiRItNHwT9PYB+70Q0bB0ZAPTPPzJ6rEn7Tl8j6Tfacl+7F7bg8M14YbgaEWMUxmSgwZ9h8mo2zKvUrPFai5ABqIIUaVeA/AJP6t0+Gmx43hfLzjHspyBmoI1EvQVLXNWxxXDt4Z3Utv1GzK2U3P4UvR2yrlq6DshWbzAFq3ooZKW45FGc5377HkwoEku6/rbBCZ9HVBkxaI9QBrqn4f5bB2fXvyAnOkI3er7XDRIMjG7CH3x9ndFOGeUL/b6ypTBmfeGJuH+8Bp2itd5HW23xyKxXi4Umu0IrQmkL0Jw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602298\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031530821831?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7m0wLYh6pHjyGXt1GU6hKYpL5hqFeJkA\",timestamp=\"1773602298\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pdyEiyyUQ1lxr4DZ0L+5al3Cra6CwfrULxNkpF76ikLeSbZu6O9leKvSnVWz42MbJqabkQ+73gfd7VSa7EqFX25f+bNTHvVFO7FR6WsYQJFlcICewJFTBmVrxsltKETtzNiDfK2xsryPpAN90PAQx4WvCesr0Q5msrdr3BJZnwqs4N2yoYySvA7xzLMim9bouEWxbNUzNi4hzw7wf5HGfzGQOtCdKwNDb+ZJ6Gf/xBiKNslrQolVEem8CN9s/I1DYtqkacBUs4sB96yxBDCGUoo1EqEPCRdVUuE6C7KZw81cUuyxY5Qia4jfz5Yip2UJcJfWXkOfeYn8MguTxlPhBA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FB8BDCCD06102518C3B9F8AF0120CE8A0D2888A401-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2e2050f05fdf5be2bb8a902f1241889a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nlIjOyZA8VTUY2rdsSUa9tVEVtE/WLq4fo4qVmFIhxYPwe4OY9Im5jVkfG/DgvCwBtre6qGLecgUfnAGUOGs/ikphZO0NdIi7j9W9JyC9WnRXS2gxmmnD3SnSB5kwmDpFsQsIqOGb2sCeZiGiP7V6GHJ6RI9vj7cN0IGqnQ6PLS6egBwCdA5CV9nvzEZLiY6mul/3TkqIPmAasbPc/illb+Wq734VKnz9PfK6rlEHLkdQg6tr/1DqF0oblzllHLDIF4Txh0egiJEi/bPAslWhRlQjP0fcNq888baB3soEKTFMVsYYFN59U0KrxHyhgbYOjsReGDYx89sNZR1vEYgnA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602299\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031531575986?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"I3HLvYLIMlIgjYkr3y7AAEAMO0jimelz\",timestamp=\"1773602299\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Bkh4O8duyCcYiqDBqbh0pGQAx41zTL/Ddk1bK+iGTWhiaQUo3FV9wZ/JCKGMdRQbiX5qEtUMXftl0mLqiZ1UqRGtEvPDwz2e/OVrvc+9DH4DN68wzRiz7gP87I8S2BUuPuu0uI5F5tjPLUw2srqyvwJt6SDrKZE5oKNuMOzqNlG5wul36a/RTl4aqPm7j63pidqREx4lkS9v4FLfEC3JDPo3+8/M3w2TIdY4P7tZ1NnqxdBVN0T4d4l4cV+Fp7JBhD2cSd3CXQFu6ffcKErtM6zOOniO0SMpLXPzaXoUVyt8IJuM58P/ZxKLtdRcaUBIqQVsraikNh7q1FlaiYSU8A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FB8BDCCD0610A60318CBC0C05520A2D71828E5DF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: ef6dd33f346aab3f40610df2b613e420\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AmzFI1d1ZsYNEHh/2f2M+MUQHUDqWWZgWsEuKgB7mGlTDlvoqsVL7ELTRbj8jaJMJu18eUqvVUrjGaIwdKMIWb9a/ehf2rOojTDImBf89ucRIniBdRbBHlvvChcfgY449r3AbrXZhQtmvCcMIj5OX13aKK2WIbKcFjsPJQgdPah5JHGsqg8Fasbe6fXFtTl1ZSO1m/t3ROGVbRnOuFVbYbm/inGerKHCXz4X+EC987/C3ZEuJXxb4fQ5GhhxIbrITEKJaAqoUv/WBSkA0jD2RnXJvh5kl9k7N3RXii5gzixxugbfudogI6B5wj4z040lJGiKr3SzCpeV4TOq3VNAZw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602299\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:19+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031531728995?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"umA4SnjsRNOW4LC49ZgroYHDAuq1AT4M\",timestamp=\"1773602299\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BQ1bN4vtk5P+y05bGCRT+qe2lAktxlMpYKieszEWxxya3fC4XoXQQlzdAKPghuMlabCuN/G3g0rVboyK0KYNeDf/ZmOVmHAwmvxxaSyvfed19/xPLArOQB2lsv3uTxIQHpLXUC5rPTIsDW3hKk1JZy8GSM7wPN350gz9IM5t4eSSdJvQqQs3OJR1APiuUB389NhaSxj/MunbRZGshxDG2irontLDhBGjofcpOKFYUJF3u9ThE6fMJjnZSd3cwPZlGOJ2Q6Xou1AG6OjY9z2GXB14yk3yLiCXQ/u53XbJibnbHzAX6J8VMTf3CZNOzRrIvbtxfwOgMUz93ip+pV9dlA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:19+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:19 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FB8BDCCD0610A506189C83ECAE0120C6C71F28FCA605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e9daba003c7f2c66da6eeb76eccabbad\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jMIdNa/Q3tXJQ3jBogtnA8+z5ztLGxJaDVhsekPOOFj+IefQwcXrMEZDB1TjszXVo/xbvnBXwSQcrjDi85+eEnI8WJ1H1txqJlLJVP90HLJ96X/U2Kx1RMDV7/yfRkIh0y6t7pcPo2fUjQMQdSQkzPjaDA0ovfnINOZSl4OMHjSv83daNX80EzxdO/ifWvSyNWjwH2GUJ3RLtuHppQVNaC7xpZ/4Cqydu76wfEjjfZA//2M7Yr6s25qXjtWHlv2nSDgVqjGD1RubUJRn+VEv37ooFyChR4PKky/proYQXM/lkxOlwLtfYgnb8K1SxocyAzV2uUm+65iTfF5Q84Qmgw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602299\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031531004009?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SrVXrrCTlj45vgcehhGqFlIx3RXRNlYO\",timestamp=\"1773602300\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QwARXnxoJA2uglLWPosPSmT1EF/KHetgEnS4LvSAcJBdv4osDbzi3SL8yMydBbU15megR41YXHtzkPOmzlECOfvpkCE/QG0i9eJX/g4buhfFU0yF5Wd+ARGSQRs6keojr7aifBDges1MnOEOiKFnM1ssO7REP5GY0WZUihgZVnhNcX4NdXA9FF8kYZreKI7wVb4zkN+BeKxwCToyUTSjYrK2cQCjMSdjBrKgr+ExAsh/0YVgkF1ZjVeY/+rkanYo23Hp241tNdXP7am31gQJC9gh9hmua3pvORddsQoFCpivkkiqJUQAMbATKSi0JsYeaH55hSl7dH9zE9J1FAGBAw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FC8BDCCD0610D70118A49DECF50120D88C0E28B4DA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2eb96b6c7a22015ec5e5a6215373d9cd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qd3kcRiVnglu5LgRLo4DzwSw0wNlrrlwwgi6YBml4Pp5DQrnHikXqiGr3UWI+w0SAblZCy8ZWdJgMDlb0aGCP+mteFgk6Ib55EuiSEcWUv/ngQnw1wBmX6CuMFHY0q5IEbiP6nU9JkLuikvYwWhWWrjH3WyoBiCbM6nkizjLWOcWkgAWV3C5It/sJz7POXiuDEqJrnPoPS6ECeFWi9GeicyTBag8UMVXv1ZshiAijCW7duCBbjPv/dYKB96A07F/nwYzpFvYqqs/ePvym7ICoKjG8b7LY0K0nn/BDHSxuz1e1NuECPUYQtYid6+KGYe6Fhm09bRXRZj2k+l46oz/5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602300\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:20+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031532413410?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NkuRC1YZGZ1OcwtP4Gwg9hoCXFrauJBb\",timestamp=\"1773602300\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tck2L3wJgBo6S6+RaarZGQUlHjlrCnj7R6Vf3Cp73NHQMlFWfqpUfmWkzyCz1uXEBnhcQgvhLtxvyVE6r9BPKeYhAXR8s+RE40EyRNCpUCt5+UIEW9UC6ZF9ygta7/qzS9vuxTr+pmbzC9fazu4Q9U5lcQWYyxUCriPwVZiLOeFR1wNMX9g5/UlfQ128Tt1/heFNxUmtPWdtS6s26hZN+e60i1WrejOD6Wqjni21i17MfG8dPdY6YoEXw6vE6Ks3TuSq/nzv7oxOaJVUkqUaXa8q8iY5qtEof3OUGlyLuN3djZnTXrANylwXmZ0AncakBFM97DN1E0lGM5UAlYYyzg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:20+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:20 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FC8BDCCD0610F00418B1E5F8AF0120EAE41828859903-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 489d729ea961809f6baa41c6c0886606\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: i1vtxDDEkZK1I7DTHihTcMX1SR5pm0l1pjY1YU1XGaCQKiJvkKLtdl3knnnljRL0jFpQ4x1eot4Vlt4lXFmk3ypSuatMBPUsXsetFkHrF9lkQXGgpQBuHAC7q1f2Ey1QZe+fCNAAbtgO+yaM0zUHacl+6SdmnqVBKP+2cq0QddtMJTsxr3Akcw+L1gehsiADnjmzJ9t5MY+XMurEijOjeLX2PyhbjhupWKfAWHyD7WI2Rx9AVc+A+WZlurAq/S6sEJz/VEJ3WrM5C1lsHsug3kpli/D9tg6BpX/s7JHJKltiGGx2pJTHnyrIeHpMYoUbA/VPj7wef5jOB5Nctn103g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602300\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031532089215?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MyXmdVb53sUOfYLJZyf56l5AslKvRbYq\",timestamp=\"1773602300\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cvQM8tyx04/FVLQpoaynb+ZxQsCgxH19igiTjayPJMZKboDpYpudovtrjwYBDqTwLpHHkO3/sMwpCq77kfXbTFUFSs1b2FnHeWHlSUHOPvSgFnu27KJni0/C8IhW9pjdqrZXZgD1MEPah+XXPNPvQXdW4d1IHX0YRRsDujya4/O6hUunCH4kWX83+J4EsBlAfjktiJAjXyhIWLJjf8r64hMymEdkfJvcQvsdC3NJoiOmJ4zKbhErNRg8I5so/C9ny2xb7cpH7c0a30SCBLkHVMYe7O95Ho3GA3Z4xA3hrjB3z12AYFqPMLSu3mAb45x7hPHNVnFUU/nYpRrn0A5s1g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FC8BDCCD0610DA0718A6B7C0552092963828E79E02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e9c004bbf3cd4ddc7376972b749efc97\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: P7JFMSALnpggZ+06ebo2PFj20BGg2aCco8y1WfqsfHZUjo3xTlKkZXZCtZpGzSU6QUE4PGIUu5FvEF2XQlDIhBEbcEpX272HGQXe7JULLu5WjIKqkGkZ2zeGBhR1de5NXij/v5mHNwYosWPWy0U4WnlmxMjAE9KfCvrBzbIxlsoFezQmIwq0Kb776edDgwq+HfJZlxjip8odIRilxzAhl8MiIZK9Z/1QEhuZ5AQcHlRQPRV5hXhU3owQfFz6fPBOjVegqrJx39U+Jq35w5okIwjJf481+pGFY2Iy/N+RnZd27uSPDL62p+lz5nOQnhtFYgh2wT+pRqFkomUReSSwtQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602301\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031532643042?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Q7yaD3FPBF19eYIfBNKrJaCAW4ZUQb2s\",timestamp=\"1773602301\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WEMxHYYl5Yqe40JleU4PVkdxOnm7ULdZ5+sd9eV43wGDtLOFJmTrPYXEGotclcsD5tJUkVl2kJ4gJBmWPi208uyroM6o73Kq4CqgUCe8UoC3/3yvJ3UiLX2a5Q3hWNVyg9NIL+WwXLg4hd+Soxcq8ur28IGCfstWhGrMGy6pGWY5Tr5HCbaOn9MN20ulY0j0FZav9mxx5JTxPnKU8FqOqfuWg4EN1uQ6S7pQ0i26V7DfZV/phRTH+NFH8uv1Os9AMtHW+k/72nK+7cPrnxMZrRGvC/+yPlBHFHCSZ3o1VagobT0uagWKl6ZdM0EYWrH06DS/BP+zishBPI4pelJSWw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FD8BDCCD0610F402189EB3F8AF0120EA8A1528BCE701-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3e3b7821daebff40475666ddf3efbaa2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kVFebg7old1UPytoPg5BHKTB35joBbwG23Bt7zzpZ6vgYbQmm+koUR3pMbTRPUSx/uKvh4M3B8Ivi3n34KipN4U4VLhOEK+qOBkp4q4MrYpzBwOa7S4E+ll/LR8Mz9xX5hAmaGEMHLh2OzGMvbI7Zlxq8sWfHN0F0urSWzM1Mn3alkeochGPxUnWS734Kf4jxh7In61jqYRQtitebcgSLs4092nBYTuD0AXIiR+CzM4UdHr62HH64JWXkJ207n1cdCMenGXyDljK6ATts1Tv7cXEBUsH0sNhzjXaMrujPhJ4k0i2JAwvCcWsT5Rhpj0j/2v7T60LuQks9Qt/a1rUhQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602301\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:21+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031533175903?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LVCRBulEH7TrghaaezhbJNVa3QZOYYBe\",timestamp=\"1773602301\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cCUIPOIN/aBbHuWsC+6l9oNJFw3UkS37xFGMt52O2rXmbNCjLBTP5XcWJTShTNMhtRAtroKK2618/wP7N8joxFk35DSwnppTNNAnMcP841YApmkozsZbzV/vMU8yWf3xnOH57/+T+D77YRMx9VW5icA3pQr4rGqfSly0FFjDdk2rrspWeP4Bzc1i9SFR7P0y2xPyAGE1YAUpcjq7STPF21CoDPbfkv8O+EaktbFym8IQYexd4cPLb0eW1DHPQQ1ktlGibr+j7mOEdZsxrBUtuOziBYrLFVzk0rDoS1CiiXawbawxIj54VGx4ZQf13B7xXuaPAfSj62T40BVqglC2AA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:21+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:21 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FD8BDCCD0610F00518B396F5AF01208CF70C28BD4-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aa22afda7cc0bdec8db3944c6ad45739\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: s3d4jxJNMBKMxxYY5NBAeeiC7wnY9ejnCagelBK6a2puhj4w7yKNXEniYwttZA8S6bISqb/ZwsnZzfea2sI4GKyXzbEDJ5o/y4EUzdZYSRpcCe7NWZx4OlnNp9yk78ZFo/Ey2wCsHJaS+rbhs+vIyt0eNv0LRlTw0eo9MfdslTuBQlBEld4xwmOTbqnwS7LorTKF5cR/7kJK3GqjKaPsW0wldBRteyIoWMq+Pb4TccvUBMaHklBZB3x16T8S6TlRzrG8cw54gPoBAMhNBqTJIcnncNm5fe2wsJBqQvXzOfkmZTmekz0qA3xHaTGdJplpd+g9ZLLR+5r9eVkJsOv95w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602301\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031533498642?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NbmwCQmdzSJXdSj7Q5nVwGXblbTdi1QJ\",timestamp=\"1773602302\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"m3Pc4E0b+6xeqMkVmX7hLTACUAw6EuT0oxcWlEzmlxb7vvZt4fh849mM3SxDTPracPc6ZV3BlufmxTRnlumlP/s+d/misVi42nH31gEGVeEjLTJeLNy+7CDtvtoOuSthsMRN0pu5csGTbT9+fRHIvgt8oENdQU7wx/UFmN+CuZae/srk5DRUsh1olzQHzgjvU/4AFn4fcNbYve1eZY7cpyPjUnJJztHyPz9pGfHncOEp4HHGCzDWXkIzehA2tsda/CrbPXKnuE2ruP2bDxbweaIUB04GhVN9RvMF7AgLTzSkMXV+PkGItEMpDaqLuP1bOnRr3oxqv83hW+0h7kp2dQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FE8BDCCD06108C0118F9C6C055209CE42928DE1C-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 24df26ac8a37577ec582d3b0de6b4db5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ryQaBi6NyrneAtwOnj9zJf/jUJ8tK33agA4V0ZYqgqVLcFbbSef4vjhXsL4cWwu/MiMbECohwVaNt3a1GnnRk8Ytuy7FKeNDdgyBKc7G8B90T+RWAHxjd9uxFOLjsp98Xe6TNm5BB33Es6Rg04JZ3YZWt+3N64LPDyBnHgVHne6XhnRe4anO9gvejJXgl8Jtcjw6LJ+53McD3nTcqvSlmtFjouKJHBDhmfGAOjP1iyIrx5nv+VqmKcUSVI7RvBOTX5WKyiIYfqEZ9m7oNTxNA5qi2g8H2hkHFHRzawEgWHUwZ3BicsYN+LqssJnPn6FkGZfFwqF3/gll1exigSRnTQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602302\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031533210065?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2Iwjw5sOa32SCfXnWDCCsplj0zbeGcZg\",timestamp=\"1773602302\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"icAocKQ3hkotSSsN8wRaKngCEHc8v2du+9KDeY5HpxREAVxvJkRL2BBnaKyhfm5NCdnurJ54A+zP+viEC8MCNRm/YAm2DtwpQ31F+5JwTU+DM0WID1L0DnlJ/t59O7cTmvZg8MGuzg0IDEn+rLbsNaSt/aLvqGklLe7uj+73iJkQlvMjXbxtDmvS6i+oUauSHTX4AZ/l+twP/1bSBZX2/Y/LuKEbeg1LLufL3Oc4o/22+AtnwqLDcCXnBPt7JW7KSQ+NJ5XbXc6Lo1+5ks7D7uRw2Sm207cd3/yp2UBvNsMnGR0uQPVNwbbrEmeWsgtk+EmPkZv57JNoQiP/tYS7OQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:22 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FE8BDCCD06108B04188DC5C05520C2C9082897B203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c9c2a932167a5607e50c227299ebc2c9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: G5Z+46cc5JOa4oPxEh3g5NKrQkUS9/D2PYr7f1sCwFFZ9Icxgaev44S5UEc9V3kSCc9Uc4BYhS6X68udIao6Ei7nVABCrInbbUSS/TRSEZaj75JFORQVu4ssjfXB0W/vEPslUIn+wOPGNlmfUxT+ix3rsUr1a6uCh1qVlLaaxk8zS+Y66q3Zku7iPP7EcWbC/AGCXvfDjz12UA+7QjJLl24qm6O5ZLNywDl7eaW8Wz5zgAjXX3BOAwdamAoCCgThMfEWY6pKSV+a++7hQuDhOtXW1aKbQXNCIcSMW8B2JCBFmO+CXAfRRY75JRpqiZGW2d9wOB5ePmYpl76r83/Ztw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602302\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:22+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031534612923?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"cC6UhRaDJETt4AoJ8EmQSe3jfu9qZB6a\",timestamp=\"1773602302\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uD2AOsdFOTDa46956yxWNrPM6e6vKI1uONl0DRAJlPRrZPN5CVlLvQrMsG3mOl7Sd+fn61yGx8hv5bvVbDYlYR1O/YK2PlKX4FpHaMyCIp46P/nXXMz4ULud8yrYiCJkLyvHWff9tA6CtAszFLrAxPJp4XjtNX7KOHINcw3u6wLPH2bq+fSmBH0puDocN3m4jHN4ZyEtvakaGYek/7hsuVfOni0+xx51eBodajaczvNP5k+bOZqmRXftUoAp3ntoxjJSGI6ulCAI3ZsTMhVr9Fevb+6Fct5ISNpsx0NGhi7Tv6adnzckyr6eBpIfapBSoynOOeq+nhIckir2QvU7lg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:22+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FE8BDCCD0610F50618DD9C85AB0120CED01E28D99203-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9ce12685dbcb119b71add9506230a098\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gSv54QlpKw70PvJX5YBw4TaE/OjWXr5mTk2cpcZWx6MTHWPYjFSqOlxdaeM6bJ6d3K5NdY/rimBvNxqcC5F+ier2fKEfnZDv9D0b/ayt/QpQlBVdyaTJoIp0RjGnuzFKpmTLpRKEGLo/TtWpqp1HsiZfHcpoZFZBEz4Ci8XzSQS2vhbE8tW+mu+dW7IqPo2IYcvXDlMcqH05stFid4AisA6igkp2LrreUs7NXp1ZDOWLrEST4ETzT16I7j7XquGYvzNU6T5ZrMgxQ5+ZtKr9JHzCPVB7XZNiMv1kUlThSWAMwU6qZjp+R+HAgSHzXZSetuMflE+znfY/4RkhpVA9KQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602302\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031535264304?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aPiA1mg6Pk2F12QjHbVWjBPK3vFwis5W\",timestamp=\"1773602303\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"TJaTTisDAFKXCrmNB/ptlGzSDhfo19qCtHJRQXa4dFNRyml0INk5GCOeo9yu5FKbfx+svQemAkc6bwloi1NpNz/Qchoi268CBf/nqi0BZl7iTZJDsWMmv9pBwsBGjM60eRPQIfrF6MN+1jl6nXwHAmP7DdlAeq1j7IG3mcGrX/hxiVkAlyLCr/ZMri6SgxzXPhm4ns5jAVydbm4UfgnPAuCi2JolwGHOvIdh9MaHqE8oihxuJCSEkq4UDnizYQK/G7/L4AIfBhpKfUvy+fH/fnTszmCz4wPUcIZZBYVPL72ulwKjn3qxAKxu8oi8LiABGdc7m5krU41nn+TwScSoJQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FF8BDCCD0610C50218A9B1F8AF0120A68D0A2887F005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9996bcb9b6543b4e3f36392cc89ef028\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YVQB6QnLS1TBg0Pcrjz6NwEz21vUbD/rwMXLEIQRVK0KXe4rXhrMU4fbjWOVGwnlzl2ME9WQ3r67f2HWvph0QCXHMhk+6UJxpZEgXKatcmdbFUJTrWvGB08aPAV5T5tTR09Z7zEPFNLZAMxdSnqYjwQG3dXxVXlctRphGYoCZ8YBAnsGxQggopqaSnES8JAGKbTDcpVpbigv5RFDGx1iqPDDk4iVANBRtOsMAG0I0GmZrSWNEl0yJ0r5nMo12Z6TuJQ+NJmHufpOTC4ud0GWKBNd4IemrZVDsS3R/nMy9C7pPz9VZqySXhR6BiyXvWghC02GAmABygoyjtuKeRXt1w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602303\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:23+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031535510295?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9Ig9XiPuMzNWTvm2S3MBcJHzCdyR3G3f\",timestamp=\"1773602303\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ayx1xkA46TKLVjeCpCVuRkbitid8jpFB8ZaTHbVJgagEr7MA+Pr9XUkFWFvnF7Wn0+JF4ht3UNPwIXJCsRa340ZhodMC4r8ErugC4Y1z6E/feGrv4q4sCWdFD6hj4rAnNyh5mhJsjW49+pbJwFR027+AaKXtuSAB/h1EDWha++SyDrt6/M1HNsaQJpLReX1sUQLKdDcilhkFYu3dX1ZRej1NniNTQTmtI3/6CLf5pRnz/JHR3klvhOffvdQtLMtZRTrodTEQBvjiAYX3/oLYcPaHe+SilNh8L4seI2bT9acPUGAyMHPdLa7j5A19uT+YE5kR8QE+iU0DcgmWlbmR9w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:23+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:23 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FF8BDCCD0610D00518B8BBC05520C6B50828A9E804-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e973992a5a5c91d54e48583915544afb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: WDLviN5El/S9iVZtvntJvl5qhgOv5rIPmSSxeRE4uOQs0/Yg/KDpACpx2AKvxDiBk7IhIz8npgxtWSGqU6zhKESVP85GdZrjeuhVytCySlVT4milvqSl6WLgvfJma8lq2XooOi/d9z6QNMkVIuZ+idPGpH8Cvec7TOeR9R8y37HD0E0Ild5I+vuLnlh11vx5n3JIKUjAs97N27vvmNXh8kZacFOgMWq+yyd6spdHq4fajXZx5v++s+39yFsMWu4K9YjMvC5PnyhM3bNY8/91NOvCch06RcskkRCSpZ9YLLf9W3D0fBKrOl8VwGv0rEl9sjoLfwuMFPjVj9tQFsgdpw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602303\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031535500458?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nDdY0tnaZYlElmnlrtFl2tBModv3TxNa\",timestamp=\"1773602303\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Tr+veRtOzbudQdjRTHxTdJyLVv/m7Vm11j0ft1ytPHKQcSS+uiM3OUvsWoLMsTXkfxl6sMyRmccHgS3mW9VHD4GT1YqLClPMiyoN0myop7W+dR17y+flSwcNENzr3I8QyQtBTqHGK0hG1OTmhJ8rVQcOW0cMr8FPD2OR2Sgw/76nTdHJW4AMs/RKSZgCkqnPle7GHjV9Pvc+2g1+/iCLbFaXZRNwuNBUL/IdC2ktDwetKuv1d2q7IOnRVFp1f3qIfqCQdraMAS/szrw85EiEVYiUwgqK2KTiEDOmWLXI0/rp1QZVUvm9sbWCdu8ydBqUImYzizOdtKQvS7eRBkDVrg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08808CDCCD06106418C39F85AB0120DED126288E33-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 48c6c13682fbb7415b283ddf2cb1353e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NkG9IeG+9j5TNWApq44Ih1dSmJafHQV/tcjsH1Ha2SCisbi2m4j8rr2d2FwIxs0ERGtIwvI8X4DJrm9b8I9oLTJzI5TZf2Zth2Sv641yzU2MOeMCU4UTZWbE32fWMpksNbWqBpiOIQwHuQ6zHeEFcunS31YoUDL2XxXduM8274EhsbGo26KcCDQUXqX6uho5moQpWIxWfirev3yTXtnMYyZva1zFz+S2lQFGZ6IQDJPDwt6ome0s5GFde/Owr0bVu10Q01wKMmnC3VOl8E9XHv2EB1j2qkm9r3Ag7rZBRIqyPGPrssL6QRRjNziI0K8hAIWom4OjBbroXmp2nJ0IHA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602304\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031536385054?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lfICnKFu4TUST7xXc6FD9NULdBOHGK1j\",timestamp=\"1773602304\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"X9MbnKy9ysz5G2D/mpMBSxBi3EoHjGXrx+I6s/3zkq+0ajNuIIeQ7s5wov31SKQ4XAVkEi5uXQIFJEw04nBytoRbiILseHezuL+0/M+xluSW3wMZ5dKAzUYPnDE7yOh3NyMRQypYKuU09EK2ke2oAkD7dllEvP1f7YnNoJfLNLpfTI0qJwrCr7R5nkOHF/8HAnJshx8j2OEul+FRLMWqWjP1Ax0h/Xj3wNcCl8p1vS//FeO95rOQOXPjNCobc+ZpNE2Bm3idfig3d/V0BJC5Fya+e5fQi/x3wjcADBijEQZ22wPKJnpGGgSEE1qV7cnSziXqLfO5b+Wqr865V9gnpQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08808CDCCD0610E70318A49DECF501208CC90228BBD801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: db3e2271f31d09a52ec6d7f5b7008042\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: c4LD6T8Xo4CQmz9pKLUTI8CPa0lOrktmsDnxKlAB0zb1YX1sR7WYadSbGllgdTKc4Ors9R7/TT1y+wXANXcrLmXFrIjxMv6HaZmytcRCBp2PIKm39xHXPCNEJPDuO9+vJpu3gAvZELlCpHPhoUzstdJYYyYMh1piCxsuhnDFU+AvFUpuuWpTmAwAnSPop/ETNXdl9DcO5rIayq0HqlUFoaaeEuUoLF4ncsxniEQJZsuihtZpUUhSIeyy93okSBTvf3IsftwMs9kOErYI0o5/pc02AEjXMGhvkxZ8RoP93Mxpx9YC7i15Bq3s3EiD9wO6lvAGFlTx5BC2OoLaIRjW7Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602304\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:24+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031536875392?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kD0YNvWw8953zzCx1SbI1AQ2hnf9aFjO\",timestamp=\"1773602304\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gXlfbPoIbhYPiRAom6ST9Z7netC5deSSEnIzTdBSIGwQZOPsWPoaNTTUi8yKLasyR53mQz4snf5zxBr06jTdN7ZeRkROy55T0DE3mM4dWb7FskrGMgoZx1T7poWanEF3b1eHKisr69HtcW66hCoie+PAR/ST2P5baWy61tkb/y5KP4dHi8SkwkwtCVfyRMpHDe4Go5v3DIy97Kgu/DmkU7lDVw6Gjr3hp/COWjgPHv/cRz7B0Qqt5w3P3Z4MNeV0pMCrYe2ea9LYZ1jGUEVNF7ZNcn1JxSvBEkizBxrSCNRDRYOb4bOCKk3BSXtX2vcKYPoAkeb8Bb/P2S6KJrWL1g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:24+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:24 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08808CDCCD0610C50618A2DB8C5820E2ED0428F7C401-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 55129cfcf2c577ef4006177462d971e6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PSUPVaUic4vUagecH/QD1o9Leq6IhpNyPHJf8XOwLu6UCN80Ulwh7Nvg1ZVbPwr/LWoRhUTERdsBawDZOcvJNPxw9xCDU+LQauWL5OgSuYpRxvIOE7rmb9+qxBVlirhbkGBAqpEFUCRU7a8ln0vpJS104mM9eNk4pXTKVWFfO6XCMsGmrj8YlZ4aBC8wKjP8hPcrYEt+Lp3OB1v5VIT32V3d5w0IFijGBXkyblMGPSaPYSZhFKhJS8sSuV8t0Gw7IjbZ51HBYuXdM47RxlILgmf2mRXC6ncDmC1nZjZKCiA9pZ7UdxvXBgDSPeAMYqsstZZ5g98dBxkw3JPqUWbjoA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602304\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031537559280?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QLCR9qzvOsQtF6vdP1yKS3nQN1OEc1Xb\",timestamp=\"1773602305\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"26+u8YzvAhon6sRJpr5Ejp93K2daxlbsON2js/EJf8FYHIaEL9zx8iEoJr4sz+xjNZccy8hSE3M/fyewut2adhw71QAaMwt0SSyKTefPp2lPCkYNGbf3bvloPc7ar9V3xPbyO0/Ya86ULcVV628HOQDcf7/Z+lDTmfKpBKd5odR5vty5Wpeybv2Tp3smCDFGAQsFEoAPp7T6IVQXRZ9D065s4yFnb2nLhLZBEbCMDwKoWgYK7L6/SlgAimgyQ4fDtcGveM7bTlgMlbA8dJZeqBSonVzzeV3X+tHo2GU15QRHLzrtXlbB4MG6DUDZ0trbvke0NJv2IA5JCisZuwSNZQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08818CDCCD0610F70118FBDBDD5C20C6C71F28D2FD05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3a5290fe8725a9fd5ab454a98054d615\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wrIlPWbHib5HA5TT8Zc5HyNk+LReHeDIIYuGJGN/6VtwxXQTW9tCS8QYox7aO7CDvhRHbKTHtfrc7N0KTG85G5dUTcPAq20uv+x9SbPe1pEZ2IRXvV48fXXMJPLDr2Du2L+Voj4SmSfT2Zz+w/eQPQMeIp0ge4K4991TsT+FNXJn9rwVJAZy1+3Xau8vkzXaPHb4fnuOTgZ2qThj6vn2qi6Tp1VXUaaEKNzbePl0sa72A4cmNjypQ+e3MXnfma+ZIha3sRO1LnhDieHHLnSLiAkPf/1X8hbogVDrm516H91+VR6iBLXsuOt8bWBitu4TnYv1ceOvCPWqG2nC4cRWrQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602305\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:25+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031537496362?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Nv2etk91NnGwhqsjUHYSNPJ99K5Z616L\",timestamp=\"1773602305\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"x1tHhIor28rZDDYbOWuJckKKfK9TZ8O8bJyo5e0PlkcZn8fs7GPHlo62v+RPugRdsF1Z5BN3pQ2yta7sF6vw/Ns1mN70+9+6TEIeO5ftqogMtli+KuMXb4BN2+aaB0tNzA/5q9V4h2uO3LYeuDYOkKM5n/deVNEvgqe+2UJ3RIoxPOwVNEOku/AAfIM4GzI6MNOMzsVVx4NjK13UYR+lVJdlQw19RDTTsG+8qkL+G8PHA57Gl4/UbqhobLRHM9CdlGi3odYlmLSeaWSkZsdeoxBjd+jnO+3AWEC/8DHPEFZ7LuAYPCDrz5+mQBH6Tl8jfhCPlfUGVCXHZMIt8BDk0A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:25+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:25 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08818CDCCD06109605188DC68C5820E4D1052891FA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5b4e6174a48d7fd862319261dbb79dfe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: saahjYWpY0V+6aG4BbNLxccOfNS5psmH1cl+mRnEViBU//ncO1IrMbKuVaPIgluFN5S2Mhsqk6LpeDKMkQswLfrr/9NPVU0Tq4cteCHbP1uTooMtBXOiq/JM9HG1ZrcAsTNb4KkYFPKleGBmiidXcUETYnzRxHHuuLnXGTfy1sulxclgoYMYbKTsjLBitj92U0p/Oe+mVerRoudIYboQPMXMElYKm6l4ZUek/1YJxEmJBQoJwSaqgAgDjlZSFL/DS5chKVkoy2qbOn0ssdVGYaClH0/YQP8NZZC98/1DgYYJoXgP+sN9HDTIb3DEHmtfb7N0Qdi5nQA7qZWnK/b8vw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602305\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031537819682?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wOIgMlvFRtKCOYUuC3B3e6EnJur3yqyZ\",timestamp=\"1773602305\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rT8pfNbxVAeHHMTxMq6L4KComeN/Jgq6emdgq4dh9rnrwXDRGB4ZCumJ+UHIbE8yXCFCuWyUiy6ORJJ3hlUtUohT7282vxhx6hu532S8M9Ep7/m64nEEK4xu5NMZ/hrnyjf9sHfxDxK+ZBxAQSHBM/dAcsNqDgj+snyJOajZw+T9XpS2dKgMK02Ejnxxv5De+f4lW8prR0PKkdEIq856eqSJ3tiw1yFgWh4ttBhlderFjmEv0KH8719c0I7v+fg3aKGooz9BGnT1U3FWMoRVSmExQ0ED6tuGg8HmlC1xK06+i019uTCrCuDMKfS4R9gJu4EzfDiuGG3wBklQzcJ0oA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08828CDCCD06105E18C681ECAE0120B4AA2528E9A103-268512771\r\nServer: nginx\r\nWechatpay-Nonce: aa32516be09c2da8ffd200fba891d12b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Pt70OtoL9gF8k7P2XikU0e2srqVuP1tnUCAOe7vzldrFEEPQFuoUqWxRJeHxhI7dwjZvrCKf4VkzS2mRS99oi6+0s3HnvZLUlqhUseRRaz0nFJgjMBFh5+x3lxLyVc/Xr/3WLMpgOeICFd+J5JGN439wLl8pqR77U9b8cROeGIT4qB3ntee0MzkZtV83JybAWoj9RcXvWWNGxjZYX1aR9FBkf43Hve1VC4SjbrO1tFnDLkrou74Ma78Y4wEFN66F+dyE3gribK8I7ftBt7dtwnYMVphxlBHBjZeRi0SCnSdTeAPL4prWYCdOUjALPsAAwRWiMAR/nHdpa1tysZnnwA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602306\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031537636310?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Kir6ngO2aR4SDwby219qJO7vWNey89yR\",timestamp=\"1773602306\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kCwX4pVhoYKX6B1qbd0MRhqRGceZUZDfwjvPGEsk/5yY34jv3VymspYQ6CoRyHHjteLGNSFwaihiM+3n4yXP/enhOTVFD4L6iVL/fmccY9xogmqYpkuCMwq2AX71p/rQRFAqO9s+KIRcx7rDW9/8BnZedtBXHxOorTTHagoi3NB9JytsN0w09hN59tBxg+MRdJ8bQVE08tiPwMt0xna+xQGrHK+VgerqpvkORRekWV4P63JLP4VUeDE4AL14UACMfgI6D0RRM0Jm2g4+vOX7qgouqeUvS5W+n1YR4nqTReXokrZSKqKt4LS66G8wJbd4ldRjq5UlioVt+penIRya2A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:26 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08828CDCCD0610870418B3C78C582082F41728B2A205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8e21695c1d530995cb7d55366c98716f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ox6ivHlWntbo8r/cpJoIRH/PRMSn+fBO5E2Pfi7TRg/WibaA3sE6clHKZm/hvQ9GBxecibPAg1wNSHWRW6RLtiQ8cjxCv+mHbu+1wtFh/fmG2Hned5G5LhAtOwdH40hwcR2QUylfubEP56f8Q0YGOnwzygZx0/0TTUafuiqAuRCLT1U1q8scSACr9fjN3J+yHr11o5cpuok0Xq+6xzy3UBo4bdn4TFQrPPEEzd9xkscTV3VO1mMrKCFmpwS7Qe7V4xlSe5CEKNyBgvTbpgDxVvUBTfaPC+YBcCHrsWjp7Ql3kIaPto3mc4jXsQ7mWCeRDP1cdj7OfwZyimOW9PMdnw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602306\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:26+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031538076033?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Hn3DedLROlq8kKjYS6IsMex85KvtwHF0\",timestamp=\"1773602306\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YjZNDFd8412UY8M/esGCj99VqYZ2x1RgJjMR49lAX3kSaNwB2C6RBhIMtYAz9Q+V5UPvAeqvua93nJZ0dDpM4WdycgaRFKrEa6Q4T+blKy++UbF2wXH8CiKDTB4qo4o8YG1RQSn4hKM+iDLb/O6cPoR4nlXfcGOR6uhgCYuUSpVXNFDvNPb/z9ql6Px54Ynpm9s1+JX9PzUR9cxDk8Ww8+b/LbyPdflbhSvxI+/UaNayzudyBlEcnT6BbNSYXECb7WMeYpWZT78c7VFD0236di9CXOZcxhCTMB821uhsYoxG9Lj+UJSc+GowJAXFJbgjjd2p/48OIT09Geq3YWtc7w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:26+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08828CDCCD0610860718BDADDD5C2090C61128B8D702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 1787779affb9b7874dc88758caefd66b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: COHKw4SjYnxhy58SCgaYxUfx6E2zdh4qhw3I4UlBJ3ghrVy5TSt+Fv4KNWJLXoUE4xa5MhZWr4m0eR7JG1pk0+HT8KNcV5axxr702oG4q+e4HkDyVYZCuloGtNuY43kwAw/8bxBmE0vtP3OrkS+fGEn7/gOVGBkH+4nt3FjV3jaIJ+RerhS0ITYCCYZNvqKAWPVSFJv4BAHK5cwMBE+02XLCgogcFZ970zsyzMwjRf+8Li9JHPm2ssaHPDwaQOTSqSxq1qZUft1VEuhCZD3JfmEgPRyiz6cDDPej50hp8zfLyGAT2AliYESfDFitQFkVXfVm+a6O1+DjGigGRkTFYg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602306\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031538962594?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ErXkrNRQ07P253xSQfOByJibcm8dDX4j\",timestamp=\"1773602307\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"q4AxNNnbAzLWjZ3lkl4xKF8lT0G3Fh6Ugl9tTUQxCVNY2hNM5VhA5XwVVOnM6sZV+V1YXytpg8+87tsGh/+sTjHdhR8OLpXwaxodIEOjA7BBwHtpLxY/afzlmemVBjvn9D8VgJqQCFTO9NtvZvb2/YYF3/HDfcJ3xa0C0MqVsnxsvMVDjJEYu4ymvx5gWcEJXWwcx/YA6tuBmxos2g4srqAv6WVIEYXuLCIQfQVuLt+yitHUhFJ1fqLvQyJ4vxOlK6Tyg8LjLptD6dfhUqTXl8ecOMUScET9jz5xHPG6CJFVRIhRgWll0mOijoOm9qAHQsKF/tBWXEjVYCxR+0kG2Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08838CDCCD0610A50218C8ACC05520ECB50E288D9B02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 42c12ab8fed46d89d87751e8455c3022\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Vnfy2CgXkg9IhN2Dk0y/3X8d29AUiF17rzfPa05Te3J/BT4hZfuNQkbc4lNM904qE3z9uma46NqEKbIr6+qsxSPQFYMN1dEgQ+Qb/tZoCWP1kY3feE5ijgAEm65lt3zKAiNaPImL2c4Wgwxq8lUHm4pTs9tqme/fWHjFAdFgSWNTmA9/ov0YXyb1JIwgO+c8Qvki40rreq5d8X+QcBoyTOctp8sQBJlb6r3PepWmyt9VtQUub1SjIWnO5XodIn/sdPkjJzrQ8t2V4Ruua+qCK2zE8Qv7UQ34F3PMMv185fick3FhQZipv78pyjY1mOa30m8uMHwjTdwq+USSzYTnSg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602307\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:27+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031539723065?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"k6L73AzHf3h7fp2QQvjl6Anqexkv6WHU\",timestamp=\"1773602307\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eRzH3m+5xLFOfcaFLwAD0vmC6tB9/aSByfAzAtQFAaY5owKM6V4I4bB4XyGMX+8oKW/TE6lyc5/QLj8GxHZOrIyyyIodn9evvF3ubEecyF2VZY0CfyOs3bgkKBoq64kLPFN/4uy0rNz01HFFgn9bANG/Jz7fIzs9FablZ+NlS0ER/TaG4XhidXhHwV4Kz/WyTVKY4V1IBZ1HDjqOga/gpzT+6xmpYxtYhH8SQWX8d/IZ06LW3T3/OLbBl6+lFs09+UXPHhMaUWXeXAV3aWtXaLvftYKQAlTC+vCnMn/ocZq9eqKqQPO+ah3x6D+cZdo4xQn0Wki0Pyy9587DI3Twkg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:27+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:27 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08838CDCCD0610BE0518EDBC8C5820D8811B28989204-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 62dd3c1286b54fd6bb62f9542eb34569\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MgARPPOg381Q8KfGBJjOvqCMwrhD1Ywp91s9jp5+blP4gRe+w4+dINBTEbktCMSGmdp9bHDi/CJqHPGoQypuTWJw2S9hDZbaRICYib9K0EI2lBiNMw7XTeOrUbnUEQMrg12PEei9JWDIXSELRBdDPKE20h4aAe3+G8waVHOZHBZL9x9GRSL240VVCED7oAAFT6V8JK6GzqsTk5k1yJSXcRVhYDfU/aKOLmNrI3ug5ioPrGfF7pPTBbyq4y5TC/eHETe96nsLP2ZEDv58xHveqGH3ctv/bSgCxCjQoC2AeK1ECVKYigMrqOhL5cVFYzJS7E2M79xpSzjNFUzgq3qAYQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602307\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031539028200?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"L5zKRrcBq7HCjkGIKtN80md2ltc0zqGS\",timestamp=\"1773602307\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"R6InMuYCvS/2ZbBnJo+AN9fveM6m2EGrCX/LYHvmDBBU0yD//eF12ZmtUn+UZEe1+UY1Blx5dVcPtU9U6CLIUA+uKrgLBdqa+0SFBo2BPmp/Sh0S/fedsKlc02Jel8W8aCPZMASpLRLPA98/qz8BZyv5sj9yUkIc6jzjA+VAcRSIgb0Z57Y8ZwXqRtd8RjASs/PjiHfh+k9fesvoVqpVe9TvhPjHwJqUAeizM3HknmBLorJpZAdeyQeINptWdNTpm/J9en9MF38G/mbhoepImphuhzmjkxBt+ucUccPsKHb4pYMrkMucJMUM6Za6aNtKwiaWyTGdK09iZ5z214XCMA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08848CDCCD06107318B4C68C5820A6C90728DA5A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 59ae92b7208e385398f99a6692a0ede2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d0Fbdgj19EpxtrRfRNJbZg9KIjFF889yxzZEmv//KGiMZpvSWYFqR+Ehk/tPJ9EoXQJEGGXvvmIiB0Kqe9PgZylin5QRrM20bv1aZG3FbdTv4PNoJe/qrqaOXLvIm+78v9qBughZ5Fi0rIqMUHu2rQ8YMywEzKQ/BeBrCjbY03JDdlGcLSRf1oXgWQVDJy63ChpJVR2fCCeV3SsbbWJZ9MYkh1QNqTmWR/IE49tcnmmROKEtyQcZnvsxYNXREI7HwFqoUWPZuykRgVFcvanGPHMHjTytHvrSTTy+ZF+CQui6zon1BMyjA1RjlcmGdQNL+0FNr8x6izn4EqmCocZQEw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602308\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031540287393?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"leTxKpe5GLkQ4rbqW5AOaReWjiiEHTKN\",timestamp=\"1773602308\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VtXK42P0HO4g0Tpp7Z0JxNK0QdPPUOS+QMATbkhfXP3OHM0iHIcIDCcLptp4EIjiS7n8+gjuHxq+nJOjjcf2oGi8lgRj3sRZ2yGVdxttollUerrjGbPZU7HQA+cluieEDS65ifqhpZX/CiaV7/Rh1f4s38DGrodqXH5Q1eA1i9hZKkf/LPaFRU1M0DMR+4cf14yvLJMDwByZtmyxL+9Fh43MZoIb+dbpm0TAMXXloCJprQGerKRz5KssSxo5lQb2vTSV2/JHp1kJWwDhdIaWhNBXF7Q8NmuslzlVvCNrL3Ealuco8c8Lj68S7JifPhacc1R2zARviQtdUmuz//qX6Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:28 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08848CDCCD06108C0418E0CFC05520B0BA0428B88205-268512771\r\nServer: nginx\r\nWechatpay-Nonce: fd6b99ad03ddd281db69aa1bde1b3a7f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SlUBLwRqAFMWAXK+e++7/WH75Rx43RHRr8NzMNTz7zHD0Tza83PBDw1XpKtPRjMBSCT16JSzhkDGgBWq4HzvNTWpOsFcWEVy8f394oRMihbkqUatWfaeMmTuxkWI/mKS+9PrB3QFhvMdOVlBI6F98MSqpwTyJsrK7/DPR0enYBO/YMYEqKnN0gsqtBVeZnrVYu4eY/2MbYc2Ela31dQ7TPhsi8djOLZEjydkH/09wsKCJiN8Btoeg01Ndenu+hE83Vcd49cHbmPGqjAbmZgBqm/ygnW+rXNyOvWKJB0jbpUmo7/94z37BgRQCa5Z3fuZEuH3V0UOthy3LCblymtYXw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602308\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:28+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031540403909?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sOHUITi3ACX1E3e3qs9n4QUtkpefcxbn\",timestamp=\"1773602308\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fgnfKhXBMD8qVlE0Q2wvHLPfnBQ9v1RnYnv2/c4RTK3hegO3Cy7OQSavt4EM1xv7mK54FbjB/Klw8krM4kmt8Kuxo3C1S4+nupioVNg1ug7iDZZ+qi7N04kCfzuP/knCE8oxzucnLJMvIJT8SfLQ5qT4/j/v9iK+ZrloiHc/3hU72Vmsn/Fc+DA7rv5cFX7b4hG5imMZpsNLEXM3nt6CmCAQHDZCXBO2Uo1v0nmiXSsPy5GMXMtrvaSQmZNWQC8hlPgNgain2ogTrVncZX0t0BdNgEoOy4PCaSMxNo1q1GOs7mwJbBR9DMHM2+l4hxt867IQqSiqMVdBVBylv58PMQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:28+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08848CDCCD06108A0718C2A9C05520ACC42428CCF201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 563ffc919c0f99e9ebb5111a173ca9a7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FOhobXVr7rMCogWO6aMhmzUzkgKiZrvDd8c3aG/1iymSmykW5WD/l+xOWPHxypPJ+odgunAlPnH5gEOuAjJuioYbKstYtcLHPDbKHOSDQkYgB8dkL/tbNy2xrzSyuBUtc1BwNqpS2KgZny8FZMZzpyeGpaMewqym4asSm06d0gQae6cYacGtmn/09owc8PJaMuR8RNHD09abopE3rFqH+4SU3MyH19Z5PtfBDVobUc00uGbvaXeRSNK+jN+9VJmRFcff2Otu30mq+nGAh7AjovYYIkyNQFpwwZkepoMi5EuXRvND+VeclN1r97HzJFE0LqTdyyLIdJCmNkA4Ta/s7Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602308\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031540232305?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1Ks0APrIolo2NPgYJI8mmq7dxf5v9Dnt\",timestamp=\"1773602309\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XIDhhEDKLS3bKrDuNVDNaho0fEQbMk3CoUmNu7rtpaTU7HVGRIjU5nRlmi908jF9LjUNGyhy6i+e7kZHUnzaL7Bd3xNKWkGnahhZnO8RQyIaej1PK68KTssSWzrp48xCXkgFHQoPAgnY5c9kViv56i//4aZDVJ6ow9dpNWK09nhk7c/K6RpgUux3S4hmtav+zLyUzNSI3Dksua2pavr3vT/8ICtJqMycsS8b1YlAIC4oSd2OjI6fdun2FVqoOFT4QVSQ3mEc8TzWiNoKzRTULz49gGPUS14KOzVTd3XPpcm6yKKYEfWgHf4MRseTRPdLm2nxPRk8G5pdgj/5uYXOPQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08858CDCCD0610B40218A7CCC055208A892528E0BC04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 5935b8a0d8b038d588a257ab999f431a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: G2cdhvK8yxSyAAj1RN3G7636HrlEF09hrW9wTpXtYKMYS6fZTODCD9QPmR+HmhK5dYrzNxH/H+LqeOJy+LKIqpc/hFfVuxDCyfAtIEssdJVoSkiUjtZ8t550OA8h/pQp+HNgRjuzkvSjSUxdMlwZF/LHMO6xF4zysCZL9mvoTzC3U1LLaJZAYui7FCqqC+mGAwosUNhAS2fpIvgJOm4gibpvjW8yq3TcTxXLQzMIpyQ/rnVGhSt/JznpJqh/fflxgKzD4qiehbud1RT+WQrGH0+C03wd4kKEwZ8cBsbxFiDGzOoVz8oz/dFwf7hAEtpL/SifAqRb/t31TGYHeaxMBw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602309\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:29+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031541841992?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"m6UdDCM0QWlasPegjANWtS8cSbVsqxvS\",timestamp=\"1773602309\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EUnh0WrqkUB88WQZ0g78Hq5fPO3j23Gr4HSInAtYrWcs5aV8dHOV/vAtryVQtpejHACGXnJ5/Fc+ecf0TBi/6t21Pu22mcBkBnBlHbXVE4L9vR91bYXYTR7v97/zC7cXnQ7lZuNpb27KbkhbxPate67CUYMjtlytbCR2S9yoSjJ3zitix9bIK9g6oCB5VNycBBZ7XI71ezoC54N4xH9BfBZvIx5TdEGoG3PHdnRTXBDCJnLgLdmWXbhGoUfjfv2GvNSLu5HjjuyMPnca89nKG9fomARGkiNMxWpvoXNe6Tpk7XlExnYAEgD4uydiUCImt+BI5HlzCBxunM1MSjyXlg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:29+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:29 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08858CDCCD0610C305188AE7F8AF0120B6D0152896A603-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 86e47a960196d471469ece5311c7cbec\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HE9fa53kHe5Vuk4v8D2cgAWY73DNe8B+jS1TP94MHySfFjYx90fGejJ0+xY1qgExP1Zx/U/lzojvRTZHBpULkuR0mzd9P277RGBcQKl/a2hOzPU4pfqvh+sjSR32kn2vp9T8pEEEfjfcludSmEUhLDuLov7rjqMUiyz2L+0oPIV9zWfXs5pa5Jhl1+kFVYSgNmRE/UYOe5upS/sQxwrVIGdUiV6Vh72lzrwO4MOCxkFf+PB/MX58yHJ2/THs3yF9TCXAlgf+AipsSXWcODcREEfqQkVcdAKmL/IRmHy7keXi2jPxkepBWbITcVA8W0MusZdO6fKDC9Uu8htragd34Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602309\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031542818918?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lJMHIaM8FcDqcTH6PSCs2j0a8aYJ81gk\",timestamp=\"1773602309\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XwhQ1KTaeQixrPrr89XKS/e+5+SG0bBtcQaPd9T9PvNuWtky4wselB+Vbt3Lu6EwgE3FFx/0Ib1ARdu4lTH/wOwmPDnYyq0y2iZQjo9UoQcfx0jb2HShdsx0gp73vrUZoNTnWKc/CFUG9NY/LntNVIllFIupfCrZ8gFH53Whacg2PIMKodmsC6j4qK2Kv3fDPAFI+zQ8PVB7WqVJItXDQ4RV/UNy5RiUdilcO1pW18WEOgi3VDg1ISngs1u3d84+8g0AS0F9kC/NJgmPvPN/R9PxkTRpX2sCrpNitoXuz9kUXN/1oxZTHVd2jeqrG6VJAQJGBrbUShPU1hR70+yp+g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08868CDCCD06104C18D198F5AF0120A88202289AE202-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7d118b515e0a1ad4e6f2d8c2e4ee6f74\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ag0Yc05aZHT0NRZIGuyOrHWLgM60ayWbkV1rKq/w1TfaR+yvxB6mrpkz1G4ZV9GteG2UqWx373Q3mG+GgD1YK7OdOZHZLbewqSAfym5v7VBCilmjLZHoqFQXLNxBu0ulTFkxVc0NqFUqlg1dZv6cGBVo/IQu3jAb88nwMQrBXUmn1ELvuIRTlD1gVFn6YQ1oIcjBgyVaNR254+UBGe3o8vLmY6Idp/oi7YQRSglCHS3C0GT145QD9YyCjTXNmmywrtfT2jbmUiqHI3tSRYk0NRSfhbqOJ83JYJk/ZP1vUf1KJcqyyddrbvs4S02Kw2M7YoLctrORNPXV+k6ITsAIDQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602310\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031542023010?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9d4K0YdvGrIT9HCpt2Zlm81lgxM6DPEh\",timestamp=\"1773602310\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5KPEGovTWthxD5U7p5R2jEDXxtwXVxyEjHCCUxDoXdYwTKkPKCVHAIS9bFvIeitPgBknCN9LKaCP6YpCyh3zqZ+tBW1wvl5Q/RYksWV0upyv/ufDY8xHUIs+NIvfDVA+UShkFicMPEorjJDVITQkJT4SVt7lAvSjekkrV6Gf9SKbZg4mzhXE7IBOt3dcthCjFIWMmlO1ToptlOuv61xuiFWJAbRHKd0Ta3ITuyThC+yBKhH608KRl8DhNwMvTaE4iqvOiaNdnitmvN3nGB039tlYzOvzp2QIoqYdebBt6oBHfGUz929YPtsLWOAFieOmDJHt0vkjP2QA3psb6KVgeA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08868CDCCD0610D103189FCBC055209CB60D28EECC01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 041820c3459b867e14e9e4e2a1d388c5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: O9FGwPE2+t7JojOhQGpecDg6vWybdtM3oIuaPSKv+tFZSss183Jb+dKt+FhiD5Q/pILW31d5bc8aDRVZRZVtXJFjZcN8n+JwJ0TZhbBXtinQM7s7TfdF0tiRIXfSfrbPOY1cdb/V3IH+7nJOSltiBcE2hIi0AJ4herGXFshkgAtwJjazyL7NvGzA8TfWmhvY0p9TkYZ0SFOnfqRDW6rPhJCXQuTXeK1jZfekS4Dc9KmWv5OTN5K01NNz+aCWWSXWFQzVd08SgtqiKyXvt3zC2rnnQTflT7OCwMS4bTRZ6RgSAwxJn9yRNviqOCwbfC6M/9iUkJ0ia7AV9V4wmiDc2A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602310\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:30+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031542954369?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hNgvQUKVvWA92CfzvQbpUBVQck3MbKXM\",timestamp=\"1773602310\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"T2auJWWk2PBjTCSHif5JfXDBIv4B1q6JXGbh8cd692e6Ap2y3QrtdbfrizWv1H4pXwfFfsoGgJQCEHIo3fGJM/Qak4s7X4vGhoqkb4LiYyV6VvBaSToqnJ5xcbLgFT9g4ZVXMYbkSADyio2jwBWP24LagLD2sgeP7R9bjWRYUHYptDRrflOiZBPp9vp7flTYjf461UCENjcYTqUebuM+eJvmEG9ob6DvZKK1GPmiz8+/JvF3PURnexqY/JVAWlR9sV5J9r2E/89VVlROwbbYelrslIT7KeA9HLbGJ785lXI7AKA09evRdHAEouqogc5UvKAMw6DZWJCSFJQ49YeAwQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:30+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:30 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08868CDCCD0610CE0618C9E3F8AF0120E6DA0D289346-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a4a553ff0522ebbe9c463e4b325948ff\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZbQ9YtXydGXlDxopxtEisghq3ZXAQSTXGA2Bd15YNcabSwCHeeY1LFCSu5iL4R3acvzjxRCtdG9BjEaDizEgwj6Er/JDgbwe5SxEap2Rk47cYLWVoh+7hQjDbMk6I7Z8gy4ST0+TOfjIE2kZ5Wk65rv5Jeq6HO5m40VwCqeXYm26rBF5cxaTqBnLOu3OqVsLBOI+cvYaWqOBRK/7OmpOHYBuYw5h4rY5KjeBGUazrQEebglxerH3v5EuEHnwmGgpOgyRqj675nH+Z3bsvTNbHgqDZhyq9nYK8TWN1L0T/ihB1F1OywgtCMsFNIkOb9aKEBeYYuolivdyg0U3ilh2eg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602310\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031542183404?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ZZ6abja3ezN687nB107mrvlIsxZnK9pz\",timestamp=\"1773602311\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"APHxnrh9ugSuoCmsiT/eHUCeSjH/vIvXxH5r7/2o2Wr997LBAjMV7GcbJk/417/E4muxQ4ZeH9YIhgKtHrJFwcAHYcPqqcIbw37/8hJSMx07b0ZVPWgb23YL+d3XfSBcY1oVpc37Ms1lYGtRIs20Hj2fkorTZF/sX+wdABHY8y1slIL28t1r3QBuhYR1ge6CeIJhUQelJMvqApn97zQiGCtrSmmLL06KHujeQ+qfI3PCs9WnVJRBvTIKbymxZF2pu5HCZ6mm+eC+DtC3FKGSwlRnHkKSOGvBhQnJ1Seoddt9fbSQ1waENh2ab0MpBzeJ3VU+J3bptqTHy/B5VeYy/w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08878CDCCD0610EB0118D0BB8C5820B2C53B2881BC05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 585d179ecc0cafd1fab804c91b129963\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ckj6OWk+q+ubGX2Tf881agN03UdFZpwOr0nzlwz0yJSeSF6h427I/J/IW7aAGH3a1meqmNg3xy09mKo8yQsZYFYCLai/LoP+IRevLzVH6cb6LGRooYdeZ2ecnXfyB6siymKdSwgIdg+OVxlnQkI7DVtfaqDe51bwjEPcpP49UfPkgzTkh7DTfUiRPNfHe13r4x2E9TmXt2LgBUPwQswaztwA7vdbdWZauN8oW34Gckyzhe6CF/qEjyhvQdPYw/QxplqsrgB82Rr6UntXtMqiHYvudanLODkV2GBWefACFBiiFkaZPxIr/Hj09oTZGOwSz02R+DennHL/0AZRSneR6w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602311\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:31+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031543334060?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MoxGT5xSMEjYvGktYGbmv57Qrk5xVMxM\",timestamp=\"1773602311\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"luMhrmX/hr0NTlLfAQ2ZJ12HNVIOwwPYdk/ABZGLY+JrBAmYwdJbg4AOxMTceCdT37sd0VMLwa0VACehuWzpX7gr6SFt/soBDYlLzicJsdeZ3Vm8YmIvjlWxXvYvmepFtW0bBEj5T2GAM+Pv1lfsZlErY/YvZzWhtDjZHZxC9bNksIFiJpHu2bw9swrWIXC74OoeUwKawx0XWn3Y/lH1FweHyedljjd4xrxpxpOyZYMIaCy4hGsWxCRjY/m/g5IvE7fU2F7+4b3gy3Tv90dgusrQBrnx+4Gh1E0PAafwKHmEVw6h0kmjP/NaDdmfGPiB4Kfuc2RmMnW1uy6CV07RBw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:31+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:31 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08878CDCCD0610820518A699F5AF0120D2DC0E28A63F-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f9daa825fb33115d4ba05287039ab21e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VQbHtTTr9tWgVrKINMQgZU1NXxsRoZW85HzoO1phSuIlk8bGfaD9FbyR6ivY0WHFpDKJrViD/LTThaG4GlIWl0CSmeJNTpTjtEDP2Tk/rttB5II8SCl0VQc4srRdCVpilS5sl4zVtfya0UpzvUgPHRaT6sCu8SN7Y6KbsGnCvqCpG3bVTH2halfzxtT2FK0+hIrex140uFalVoLKj+adxV14V/FVTdypGfRRsAO5XifWn7OrLtvFOlbfLknA8kEYq3tJOLPm3ydQ/ToW/TMTyEOh45WyhDbC1z/zjzguiLb6TZR2lbvct/uyqDekXrE0+Amt1dCjBRPO9AKp40Vq3w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602311\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031543062608?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rqH7aPD9yPGfEbwvnjXi1c7C2HgMjDP1\",timestamp=\"1773602311\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VPrbWz/pJJ4PGqWRI676XnpCJBDDvqvBKijBXLPcxS2DDwhmVWofAlTDeYe83F1ANY8QtrWa053HwaYCHh+pf7TGS1xvDehs6j6nlX8Kbcqk9NWV2ukA+RMED2bLoW7NFeCV0+ItXK/0aRCF1Px4VWoPFlC5EUQCVJi1YU1baksr+WvNGdQfduDQ7y7Xr+4np9NwEMmmQclAoNbOG9fTxzX3TzSdNi7ZjSnO2ABiQ2VC69s2UKQOJ4YmQU2MOl4f38j/jW3uG6fSxJ5ZusPGlSGt3lcpS6YKlHtv4D8ceclrD8Uyh4vokBSM2dbKfXTcWGD4iET/Ig0JRjvtiZArvg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08888CDCCD06100518F29D85AB0120D6940F288F56-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a2883db51e8e936f0c7ee57ba052be61\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jS76li2ohssFosZQtbwvT5qlHX4P2Q+URiBlEy8kAXo++C63tkeg7JzsalBV/A7hFiqz68J//pQtKdHavMgIec6UNjyji0WvhhFf8AqM3a3ueQnA0CpvIOdS2zFMudwYMQJxvPqK/0k4R2Fp2N3L4EE9pPD2ss59DOQ5570zj4eJwe7TgpYK94bxHMJAlDt7SWZy2L3Y0yNf4J367D1EJThd54FUEtPUqys9pdpVStVpdvAcWs6EUClwL/MuCVfkNe3Mk4Fuy8h6yXtUm0qM4JvD2e2K7Aba6qXS8qot14f+5ePDenOrAPHEtECfWgtWm+H1DloJEVtSX5vVTFG16Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602312\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031544596663?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4cAf9gChVWdaIhZSqW64fUbq1iofa1hp\",timestamp=\"1773602312\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0y1LHkM+msXsnq+vd1lFtWULPQZ5370tzOTNWgcd3udLLzZ/TKaTNA3xoL+I0mz8sFP+oU7G64uK/Y5SNvc5QvfyB9kN3koAFOoS38K67k4mGxMMfur4UJPxW1US4cnLsXgFHCLm9caihSHBBVdDMUaF07l3oiaUKAYsmA49sXxWY3rRuIoH9Dj+x0L+yhGVrZK3WmrZE1l4SSvcl6Ng6AZdTaEP7bOAF28Cv11kPVekDaVDQ06qD/+HhOaZpyKxWoBijML87hMySBuqf6eA/MdIHOK4WRMDn89ow3vQ/KpZ7YbnBfZzyV0qUUEcWY5VVlxR8fyvhwYJztZTYS8qJw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08888CDCCD0610810318CECC8C5820CCBE23288AD503-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2725146f099c4ab1982cc7db1a332ffb\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: C+M7XMDh1T11gqdP1CRrY4CpVyAvv0EHEEvSKeYgYPA+skYqm8ZJo7DBd6zwiJasQdtEomj2/vpOxWkRY/gK7OlqfO7+A5TLhPUQqghaoAXkfsJLteya96euQagLQg6ByvJee/2XgahG++7hW78hr4kYl3fIRGqEFGrAA5tq635VnCryHcDQM3igUXDiYMvqYQIzHx8i5lq1F1AEGmgi4VKXQ65plMIRxZb8lPJ7MZD3bglTsYIaF2TP7ZAm+J9gS0xE12zPYr6jKAhNKzQEGe6ZYnUZkdZtA7mnQOxIdVSU2TVG7EeT8OyAERknc8wpLsFjVfyn5RpE1/QI3605rg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602312\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:32+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031544248461?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SiJF3MU1zKSEPnuI3RjoXrRkXuam4Sui\",timestamp=\"1773602312\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ws6NoazJ8pi0dDjphFl3ZrUW8kt4s1Lh4o707KWe4nZlEDqZXH6GZTO5DC0mngmZn84cu4+u+ytGG2iXiCGCtBh5W3tSRaC6mIO+k9nCuK/hpsa4BVtKxBnM/4W9W+d+tFuBH3eddRtqjNcSj9Xj3OOLfGEg5sW9qsPE/YUBJfvbP733wnnS/9UmTWYO/v07GpiWh98dlOvrsrSHlJv7RfIKb19IhcQw4ezE0xiLDiBnlvxNCZfG+n2FXOauifu4UB0YBmWsrCjFX8Iuuinw9dzy4oba1plrOMhjjJNWul9FdaZr2QyKru0R4MVIa9YCDlii9BDbxKnJTZh/kGryJw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:32+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:32 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08888CDCCD0610A20618EDCEC6AF012098E60B28FC51-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 0ebe60a8640747507c3b02a82ae0bd49\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CGJHT4rd+VFWOdWx/YLvhhl9UG6vbP/ko6ozVgriixwY8Kdkx3oOkls6g5Aeiq3h/glv00L3x2ITJW+eMiXN3BcQUQI9FahqHflD9LCs+ZNaVZ9D+tcQjz20MQwWtwtOZN7RkcTkz3jPmDdkKxnuJNCMsc58W1qvuMrOYKXDsR7D9kZ3288hYA1EHjJaYeeZdVqO4E4mcwVwqwto/FZdUEFORHb60aidBFt/gah5K6dArYqdHGY5Y+tswVisCkGBiOiAK9riTrcxqEF5SveJdeO3IE8lmGxgySnmLjKl+k9ZOn/5jhwDyUmi1kY4FghGb8nwtEBBVu4YZHnjTk4P5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602312\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031544653694?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"e0UYkgljfdfUl1r0EspSMODd66ZxbNKg\",timestamp=\"1773602313\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rcpGZrXU5bEpIBaFldclzzLpZBgkR3LhhjSqAeFcE6jecol71i/DAXKluPUxqpjQYRmwnJltezeBrBk2jhau7iHBuxgcnVvaaOUheqR8ina9nzx2wiGLcFBh5sd4GKiPnbqAojTd9vDYT0IOK8b7j+NQTWyCxYtV5Qn4WIKIvG7R6K059hm30UvabdP+w9Rvmwb3pwi/JYuPYutW9XA7AoLDUdwG6Kt6NPquYHXQ4529QDygCE5i8kLoaREEm/tqEyUHTiTmebo2IQk/AtVdbtBJnOirVYUk7bPHQIRTnVczYFrknlmT4o2dOv1HVFVYbaddmdJRM6aXHMQnsq27bg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08898CDCCD0610E80118D1D28C5820B2BD262887C604-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d3b66d925005e72749b5895d18a03313\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZExtjKfPvnmoM+y7RnEJapfzXTeWNdr7ccPBsHCgn5OJfh775zJ+I7fluanups7WROl7VzgeYJrMnFvzh5lEsePhyobFvf7Ts5otC1YMvVDbQc1gXYrm8302tciJeek+KK4V1atLRkhWu8YN/aegg8w5SR+H99WwBe3z83ljjHEHIi6WFPJTWxXgy88sapU8CES4neIqNw+f4MWw/opkUkFwM4uawkRYqmKi8+ypKLYIPfh6LaMBK5lh/hfnxhJsmmmMqgZjR9c5ND1jWriAkzsY//mNZVlOab3y854egCOGJ5tzuFsr1EaYKMrZ/fFUdIs25FR8pYCyBntzF0HCXg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602313\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:33+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031545840666?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eFPmIW9vBwjWsOObRl1x9nYIraf0o5Km\",timestamp=\"1773602313\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GQuXidlnQ2yCoSksYv6o/T0O7mvshe9UyU+NrvGa8w2/cLy+2dAjS6bBhENZwGsqEPXsmZ40RlQR0pLpsQibUJcUT2A0B8K8QqlNvPLlSHHALLG5wRlYnZLNoLeDk0fElRbt6E9S9LIdJLEGrbU5QEcOfPAXB1OFUG2b4EFvsj3JYb/DCZ4p4xTas2otsA/off8kH+RXzTkcKE8CMW1+C+iL7ntIskLMXHJR0Vr3g9IqTMaBrnVvvaDLWOoSOHELnCMjVinnpnIoA9Hy/Gc0pKB3pJExbiZaxeZSa2VnIbnJFNET6+3D7f240cdQ09tpl10KXhqiO2Lxs+3snntr+Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:33+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:33 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08898CDCCD0610FB0418AAC6C055208CBB1B28C6BF05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: a5cb9947202abd011621f71fd0d8e946\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AJ/ZY3F1gZV+Fl2iOTP3MSUDtpKWpqSRZ8NwQwKN6pBQ4YRrqfnDi+NZ60Vxui0zMWTfTKTwoxdlMMmgSYrITGYZvIZQPP09F0gKH3tBxrbg4ArTgUslZ6i3j1avPrmc7s1Tci7+HzGsFm7oZdb9FaioR4ApTbn3V4iNLUzuZW+X7u/GLtL9Q+E2HCGF8YnGj4zN//WpiZXmvH6gP5frXdTzoG8lv/McU/sxKc4gwB/1dpPX3EsEjB3onnnEasDmEAsQj1wIfXXWF1itQXLWEGI/Tq09ZVvL/AVonZYo7pdsxfeNPP4Jl399uXFNl0tX2Uzb4Oy5LRa2xdu24Pf6qA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602313\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031545037547?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"aQwzzT97erDCJOVh4YrXHxUtnUJuMZBk\",timestamp=\"1773602313\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XTrhRhIGU6GyiU53tlOqsOgx/1CdYWoJUjSZ16n8Lm8lqykhaUjrkrnv7UmJLraq+2rbTLQYm6mbGmcqKbkjXtz2eSfJJ19Bu4pg8pz3QKOBe8xzjh3219WCg68lLrWjXLYO69c5OidhHh6wA0xjv0D0gIeTZjvcbxvI8ziZ/Z7FcIRAKyfE/vGNokfsAeT0WHyCiRHQbARsT36ecScIG3Z6dGHLRGyq41mf0WGy4wpEKenvkQnhCne2z1tUXPflRFkWd4YvcHjvu3SMBxT4Oe4lv3IswuVU3PdumR76qJCecw1wa82m3cjzn/f4llCrQdB4ozRpJXtmQ76slPMRvQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088A8CDCCD06102618F6DB8C5820A8A73828C48303-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 153d0993fa56113fc76e998fe757dc56\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: l3/l2YoV+DDgxjCddebYYPfVIRba77eVwZuCglhW/tOeKFO4MNf+gd6ssMPopOwU7NzrU6n5D3GuDJ2NZ3J3Z2F+MMU6Tyz15C2tYGHYrlU8wsvEGr8u9mtsvRrZf2uosPCLg7M66Xr1UPILTeJABD/IiCHwb3IFzqgVi2JGy3nmcuP40jAL+zWnviWLG7Hrtv0MRoWWTEYZQyVV/GQ7n8KgHBMtXwX5Qsu335rAlRhAX7q8DdZNTYsR+izvu9+6lQPj2n5mytvg9cCefpeM3Pm7+3ck5G1lUZ7/ocKurNGk/yxM1gp1B3RsAcEJGpRAVbXRIu+oh35Ky0GlFUFJtA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602314\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031545999243?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XsccnERyibk9c704SHq1TabCRC47MUMf\",timestamp=\"1773602314\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rcXe6/hgQ6N2HRUDuq87wo2zVmynLrqlcxj/KxqnlSuGWtSx31hjG8RAzz6+AxEcFUI6A8ZZb2p5BW6dozJQfQpNa1iTpAbHWdZ2gTIzLXkwIstZLRpr31GsserZp4xbnVO5hIPc2fVVmg8G3gIgkL5XiwcHEhfH7BhcXJ0oDRslBwjZjpb8uCshacqc5crJNkH9xVMI9WON0STARBK0D1TfrtrpP11w5iK2EzP3jsJwAP5nPghYr5FaxrJsK2mBgbuhBxU/oDeujfC7L44AXKEfLH/WMLWhrKmXohzI06D1a7SaGb3DjV8cHwfi2ldkWXMIQM2rGYYUtPGRzQxBXg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088A8CDCCD0610BF0318E0B1F8AF0120DCF92428C20D-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2bdc41fe88e0705f59136366330bd246\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xRSGTq53NTkrZxBv2K3EQlzGm85ttwsH3kJPv62UYop2YiokhOL4HMt1F9HLAMT/+dkqdvI5U5rVe+4vwBEMUFzIjKtB3g1C2wu9pNj6VHjKPEEUmKtmLHZwic6Cghe3hJK+vt6SLDS4TU9Fcfyu7HkcryxO9X6reDtAQZmD8bEw/PI+YJwSK4fjuNVbQfiggXSevvsWjcXG9dyyvD9ftoH35b92/lotW6uGS3EeezKYkSyCFg5jAEqxr6pC4CMLUEYoCarhgKsNL3q1luJEIYHNgw6J2Uu8SJCAY3TmGX+uY0PAmO/VMYNK5F0Q4RTF3dkt5M119vBkXcJ+WxpL/A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602314\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:34+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031546728740?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BM7v0ciNqcB68SyEhIW9JO9yrUZAYgVb\",timestamp=\"1773602314\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FV9BlndcOHZbCQmVWnfFZ6lIrp9+9kHZ4L3Z0BmYQne/Wi5tIhLavNzzCqI4isymLuELc7bf9shSnVvWFwC/hUmrpm9ji9KAAt0DkO2buS/glweknkXatHnEU0WYlIZOTrLzAqCy/VfCORKMVccImddyPhYFHHg785SvYMw20vsw+fcuWTIaVxIeN7ZoqCXfjCzMhoNa3/L//ubkPzbYsMQ7DSGhViflbMFGHGsQcpbrvKjABo9CW91H180bLGW11tdtmtvTMIiyahgGbubtw9gFJ1IjC6oOw2VaYnNMX71gdnphT9CXoVRtRsPff6/vdqv3BQ+DzFCl8F71APSRgQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:34+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:34 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088A8CDCCD0610BD0618C6D3C6AF012092C51B28FB9106-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 50c9372ee70af0bfc7a47b0e0d2aba32\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qATDVx9qEfm4PauiksGbnFvp54J6mg/0r5gH0rkOEWkYp5D96q9krVjNjfGNhQtfsivQYV97HKdBD7zxLLGEiH4M2w41h0jjgC1zruCcbzff8qIei3PTD9Pk/elZuoYpcgJmfxftLDR1i6iVD8Ivewl0c/gYEzW5zOvbqXYHR53d+p831ZZcKv8Dj6yiTKFSFS2JlQFrUmYgzU1uYhQMsw58sCMAVTohMk7LohI/rw+b4cdtxil7hvhN8StK4jKIQai3hqEkd9Zi9deFvz4CFGe9Z8sqk235otvbM6s/cATjUhzTzOUAcA/q/jnfaJoc+L4gigXgU0clczU1q6BBPQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602314\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031547706464?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UnKDv84ZYl6Img7GnpQ1hx3MPxj5T7bk\",timestamp=\"1773602315\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Aehq3jHZKqEiDThdYpz2msEZ2WdgOhPxCHnlIr2ydTbsUIpunlPaVfy1YuaYO9snUxkmc8sYyKeW51JF20riWFx4MlCYnuYDoopdJjtxNkTr+AFcLtvIqlkJgOFjXpPE5ELMhFzj91s/bRy/TbstfD6Jt6JocnTUvC6iQCllINYhtFeZ9a5dfKNpjO7ym/bwU7yLX8bm/BU62Nl2Lmm1kXXVjn4q2XILkLM2rLDc4UUHGd3lfrkxzI4hPe/N357o778Ny7EE3FBqevJo8oNwqvHH/IgllPujeDtQk0rdqW1w3nte0zqrQK+mU1dQKzopPRntwSsi+9Pq2A2pr+0CzA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088B8CDCCD0610E10118E981ECAE0120C6BF0D28A966-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9ba7cd72ea3e14f9836f6b0c6f7d41de\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: pVkYCSkPsz8Xu0bzf3dZHmjMh2jjAb/MJNGZeunDWey+3ksdTNw8xzdiltwPPq6wJPHTRFDPLORvkepEAfDjplYsgZqW3ueuegzQcbnTiDNQWke/6OXW3n471EZ3ktrtyA+Xb1CqJpVqUJMpynCO0UFxFWRqL0fC+2SVrsiM79c8CxtMIKaut/yEVS1FgISC9qr0A23j/ip+K5dvwc0Cvbe7mcxb7ZQeIEXHLLiO/Ceu9veZ/ccS4S4vIoLhW2EtOjKln7spkcDjBPoim1nAbWfWsbtyD8uqvBxeN+BWZMjip+n2GIHpt+qVqJC1h8ujJ36/TuvCXe2puLP/csZUhw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602315\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:35+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031548492970?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"e1bHTd4cmyqs6knA4urQ3tZ5YgvdWCDP\",timestamp=\"1773602315\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PMbE+VlKQqRrYbHoGX6wIyOjYz7pe90iiHu0+ubpAA7RtV6mllqGs9d5ARP3wesBwVAME1T4reDZ0mZWx5sWWUfzYN5SUumusKBKsEbWf9ixbNa5d3Lr9gy5tU2HUiwWq1vUj5UjIgxaxH/uB9J07pkuM75utSeb4hUm8jQQPOF9/TzDEMTqbNNDR7plsoDbgZClLP+v8GT8ZUMzCnmvO+1zjw/j57fT5Isi34rwKc4A1/r67foQNmgAqX5pxsLV2UxqzosptOwdBxr3+qKR+kCSrirXD46aFwOTPTXOAKNwjsDqcLKn3pYQw/jfFlXCDZOdWelcw4Tn8FzBjddEyg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:35+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:35 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088B8CDCCD0610EE0418EDCEC6AF012088A73328EA6B-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 03e6107c6d52f5fee9231aaa0118d22c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VE7bqdIEyJNCb1sV38GqhwRMx8zyFA4Msbd6uEa9uiHJvAKtUbPc/XQk1LFIOl3vlOuiwrnIgwJg0dwpqyuzbORyZyCRpvh+HZ/IL9RITuoD810Tk3ltK6u9k3YomGcm0EE8oGQTcWoD2ih+Ox8vNGLMyMEBvk2CIqFeDDWgcMmli95DJviWDoV5ENlfNWhzVhBt9lsspddkQVqyJ82Dgz9tHukySQQSz5OZhIZoS12ITvhY//zKxYaKIO66OaRARH/sTLm3/QKej0BJSQSIImHoPHN+fn+zH3KWysaKScEW+VY9qdhHBge4jAQzFPZEVFawBACzTJC7tmOfPxXyEQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602315\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031548127816?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XiOGCwJT4k63TJRoEzn32lGt2WK9eyEM\",timestamp=\"1773602315\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cNiSFbD+XbWDVE24wIUQYFnTeTBtSq2C0X2cPctMzh3rcolPJxTNXxN7ZwYDqMlKmvqun9Av6UM3DJ9VQheHCmvHVDPQs/gnHSho0BBcaV3nopk/Y3s4QZqSd/z/ZWuHOd8KiqZsggKh/uzYTc4c8T4LcOL13D7i6gUrFXuDHf7sMbbK8ByoTIhtyGEqoAR3i3ILQL/vmC0S+WNmKDyMF97zMbwrIdUOmLGn9f2yQ3m/o/ff9GyP8Ltnr73Dj8rZvHCLgEqoMBCT37QrfyCYMbhrD12JswTSeviHFoNAc7j9ck6nv3Zbqg0zPi9WFWi/77zzZbdfJ6uiq7s3iO6xkg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088C8CDCCD06101D18F3B5F8AF0120F0D52128B3F005-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e216e43458fab7b1834507dc321c3818\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kXEzGXO6hcigI/zwYDlQVkOa7PjW8jA2RJr7VhNSKJyb8PEm0jiev/LwgMjbrTYiDLYlH8qmCWaCgaqR51eNrHe5NnO9vnHl+vJkRWhz3NBJRUfu9kj4SEujCvZkRZpumyg5Pvxfh6I1cfhk+sjQQmAftgFRcd0+NyUX0HWo4wXsoj1y8iqKPUdK0R0xeSDv59+9IqQauhDdT12ddHjLTqqc/upfD2RLBtjM5kN8TfEfnV9/9oK/1/dWIuGJNUS9WRuweArDRb+BLwKxlU6XLxonEfhQilGcta4ZevIXwT/66TouMOHkEVs9P4vi7Texw41VrgX+N/RNoPRPL8HL8w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602316\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031549433575?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"c19Hsp7qSHg5eumrh5DBLKrAL6F6ptWE\",timestamp=\"1773602316\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Oa0jbW9AFlsuP06a1W3K9JMzn20A4rBM+Az74XK55eCGURiDABkq/KWsV/ZGGubeT8BZ7cvIniqTFIVzf+sT8dy0WWqw55dBYHIZQExDiJbUU13XmFuNLV6ALr8WbKu8rgWQfc/vMeEi7VrzcPi4m5uc9ONpE20lEaWO9esScU2kfeEVRzij1vFJ6JQH1QtBvIv+S5ABXANMVQpgLBKj5jTcNqW0raLGSteMHZt9ogsW0wMo3AtNflGKmrO1cQUpq22c/hIKJLNAKAdn24VqxWlVOtvVkxuiYJ9fgLXQaEg0lXtMz+cUZvqPn/pbejQUaChhdwDcDT3VzGxnTh3/og==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088C8CDCCD0610950318B8CBC05520B4892328FA9406-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c2b3090153b54cd55c795289ac47ba04\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xDuOONRJOEMMtcgzCTQ7HQX3d70+ZJ+pkEEcvGv+Fec86K39sXgpBneE6Y6R8Oi6TyBxaLXxVlg6XKrj75ptGGDseFt1Y8qDySV++jpS0WAGtaMpz80sarusDO1dnDPNmvkUQArulgUKRhrp3lTdProTxV87BUXM2FRUYQUuIc/VC+G0TTqwJ2fPVMcu0pSjhpEcZAx8ORROuD5bZoH+dMZw5HemcfHSPrVSwMsqF1DAHEiASK9pg/Miks4BsiL+Yna78ShEpkhKnBVsStiAE3C2C0JQwAmLkTs5It3iUNuno7PrllckCDaTrVYNz5QaudW59f/yVn3znhn9A1WFIw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602316\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:36+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031549013260?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qAxyeQc6lBC60RftPcDTARuhV3tPBVH2\",timestamp=\"1773602316\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"x9Bm1JeX0FNZ8PveueGiHGg+s1dT7PQr6CB2PlTaIy6BlSdKdrwHE/VkWtoeWlHkT2D6QSbC/opvpGqPG28iZM9kn8e9elYd4H+Kapbb6qUGtfaIT0kOTYetbw4trNI7OuqefS3IGi5Ejh/qGU5KsQS/CbcRhrsuTR8e+cROQC+/KSYFNtMvwnbi8KO/RWhohfU10UNs5AMcQon07DHnUphcw9Ar85pVF0KRQslY4kDTC2A8VNRJ5ne1ECdTEe0tHtrYknpIbfHDo2BCFYDYnNlJ43QsZyzdlRII86/xGg3H2E5g7CkhqaoJbzh/q0su2Xx6hUdwdr0BsBgTLJW2/A==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:36+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:36 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088C8CDCCD06108B061884C48C582094C10628F912-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 26cc2e01778a0c5da26ea9f89428b1d9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: H2IoWTRFagUdnArJrxmXmixgWNtwWeYDCMzqXq3KqPNzhI18slPBLx17fC48LxMegIzBX26LHETEX7QQofNYxTzV0jHnMha0RhRB9RglUlR+mASTMZsEDk6oWJ8bcZs1u0iLoFRP7hsm3/tFes9sLaLRaZrt0RJp3I+/3UudQZkds/Nt5Q53m5gfh4S1eppvkGPxgPI7rC+7WZDV42YKbTv7EvSlzM7C2JSBbW/THrC4BBTslaLQk1bVZIjNR6tsVveNyUS+kMe/HLFaI5DbfAa2jsrAspiVTyArrDVLgGYqqTw4JqeE02UIvh5aWk7j1zPaa96iPdOR5dw6cimrvw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602316\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031549153589?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pcn5lTb0VKcE6o9wsg11QdsbBb0XOkKU\",timestamp=\"1773602317\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VC1hGEZ9MvnSU7nSX+PCocNvUXGZuuW0QYiwPh1WX7NXVcI+6obxdgsEKSlyH+lQG9EuvPJoijWC002FQpAPBjREHltxsqExwyo9JS8La2mD02QJsYK98H1EJF1XcBYyxOEh6mmdCdNqbGwtHJQ9ZAiDFULdc5G+pEwgB+VUt5mS5hKke9Dlyf6hg6tG6x+vQxtull7wdOG1bALeSoUh52eO+4LJifikWDmtB74osL3XNAgatVAQJw1hQwdbu86+RLen4q4PsPhHD29Dy8ymn3dn1aDBFWUqqGKyt56URDqAneR1GRYyjh/RuGhBCZinJ9gJxzOoTUpaEQ2/yGTILg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088D8CDCCD0610B40118B1AEB1A8012090950928CAD804-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 343ca517c831c18b0d25f113424e9a0a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jR1i7OYuTVv+whhUtoq2y9qsoNCjGam52eaBCOYcx5X2eO2ycZ9Srz8P6afNUxY2pNa0fAeQ9HQWfMbEQH9Og6GbQprDKmsXvLtW2rWB0q7lcry9vAWtWoqH6yE9VmCnPyz8zJ/PgtWld/RRjpNLrjM7r+Vhz1v0CnnO6WDa72hkpiQZsiPHLNhqq0BpZLYEUNt/rnMg4zJaMgwxp2woGYDWaoWevX8Kp9o5q/tNcGIaotA3GAdmcDMeMISR6cs6ZzWw+DjJ9TTcdTmtrRLiiLyCBVzpb2Wv2zuY7Q3QwScdOHCE9LXDfKXe+fR5AfZ9HkuzDPkc8+CWMSwoA9c/Og==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602317\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:37+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031550933192?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dCJShTmyq7e4NR97MqNptpT3zEfN6slE\",timestamp=\"1773602317\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EbNRax3eR/qKOIPZUP3p/k+TBSa9GlUA8mCJp1nzEBkxYgBy58U+AA6yiXgbd+HPqxjVvfBQcpPgHDpJ1UZo+3N2Q15ERjLx7ZbGxE/rN/FxdheX7qoZZQhCEVoDGLN+2pcK8H4anCu7v0kKtx3+psyHIO1uM/ouw+qOJATxzo2JYYZzlRnd7CirdQmZxLYyVDheTUhNNc59MyswU3V+Jijef7YSf/Ed+m4m9/n82u3g/GRpphKcZtIj7lvELcgirmTCc4v5KWZ9s9RCKxdp5MyZ785G0RHMREFXW/7EOEGpnr5z1ouoeRlIK/v7033b4+CZn2qlDB/+z8n+AqMQVw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:37+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:37 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088D8CDCCD0610CC0418F2ADF8AF0120B08F2B2880D201-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 017874048e707ef94aa8f6bf475bba39\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: k90cqM75jyqAb+u1uJ23eyjFGT3vHcBq6q9PQn43QVBeLGv5W1hGfJfQlGZzcDSrE0p6xmdTBECcKCO4iPIZuRvMYLorsiWn8wKfG610mleGqTX06yZBlDBz6fw617lIy+Vj9DyMKWVK4ZTNplrxvCBa20gjgRYriJOrg7b1t4xJKWHUXv/XQeSWoU2Yc9KOK6p6STJM/JAnHM2Cw9jTmbjiB7mU5DzvnvuvDiHJn4+1pPZyYbqS+uV23xzXEwPufzqsxct+k1q3+TLSvgcoAKt20otcPRvll//DLC+QI2Fui3mjzVqV/AC05vNS41wrx8PJPCvFlHsjuaG+v6V/vw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602317\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:38+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031550798070?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NpsMPT3WCkDVXl8wzPxuzyeseRbb7XH0\",timestamp=\"1773602317\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"o5bYg+eqxJsfGLjnyGOqfbsov8FpHNSOlmV0sqF9ZozFYRhbbLCbdFaKBEq7QVUfyZMrpedPAblE8rwxek5EOCEtK4FXfz+aRUDC9ajrpmFTCi1qWPyLpDwRFIHFbXM8fftjVaXqwvX+RcaLsiwkPkolXoh+XeDc01wV8Is1QrlloTX2so4EsnI3/okPvNotpVPdDBSjhrt4q3pysnhkfL3VWD85VP5yo02iiRbWg7EtaKE2isYF9yKKGvpb7jyhXZizaZFDCh9MSnEGrpX7RvMzG5SOBsNZ/b61LTtnj2qLW655cz/IT5nUphccO3UQ+co86mltx+yWF1TYuwiHew==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:38+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:38 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088E8CDCCD06101A18D0BB8C5820BE9D2A2892AC05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e5c5c7aeae14a22327fe95201b791b5a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: A2zNZmkZmec8hbs4+/snJ2IqnJpT2QrjX0911/HPHg//RPjwPIh8YM0GcVCBrGYYOS8X3s0fc6SgCp4eSLMZsq0Rhzd7SAlfA1VmITyIeKZW21sIz420qBzBUkOUVe4/PvEerFiHpruzNLQIWTfE6aXD+d4FE0u3CGH8oCbGM2wDVxd13EajyJBNxBc4Jdsig7JAjpxKdIOCm5DE4ZXQOadSGbYoZwECfyFUA0h1kfp0pxdjcz4STO5Gfqn9z03BwYJCzljOIpGCu9nFM2wQ8G2cxzHNTQWzwliHv/myCLK9nWlxW0uQkk4MyiDvnYLchPbUNuGRNyfDwUeLjVt9qA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602318\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031550750600?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"24TZWXuvEdShAo38HBQbW082GFFE71O5\",timestamp=\"1773602318\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ItOp11Vapk5WORO6SFnIv23o692qUfsh1VP8ANAB/K2NmT/uEARIW2dLrb8X+FNUceBez2GJ7S6kEBLfOPwWZtMlzIkw2+CDNXws/xoaB9+Sc4u38rW/dS7QbrOgw2JqX6L9BTjlEmze6v3a02F7gqr8q65YqdOf3F1x2dZHchmsS4hZZ9h4gItOInmz/To6+xXhwDrgTasm9SAkl0F6/P6YwN+Bo9xjr+a2QpUR63U8GjWMDwIjckzqNFivrUclhnDvLyrxAd7O++zZQPmw4ikJh7yMkZF7V/DhG5peBpgsloLpsGwVdl2jb53s3SPrO+BtdOFdzSwDjfQub9qmcA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088E8CDCCD0610A80718B4C18C5820A49C2628A7B103-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 81d0c5f245d693ea231f6a78bfc9b6e0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sWIyxghMtqgMgjhRtluEBDH6dBc3GBws+Ey+Sl3k/SWqy3B8z2IxAWiGWOTDHHGz2sl5ZLNzEOpZbac8ypTVikF/b/RD7L23z88AvcNLgQeb6ndOb1bEr2EpcF54N9z94MnjTsL9+es+6yhwiyRa2DYxjzNj5FsHRwyxQG/+xqUhtdUX3MqRyIsUxM4q4+m+4P4b3UsW9cb2pENl1qDvSTEH1rIrWE1BpvfttcHQvbjSn1VUv6WiLuHGynuSk2RlB8NVLycLGtzKnFmQpCc1rNzh+GNBXGnYBwPsQa91fI+W1/PSdMnARSX7HZrr5v1Mjbn83JpPzMg0eGmYmdJQhQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602319\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:39+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031551019473?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gIhslKiSDmZ04zcRRD46shFc5jUvHUJL\",timestamp=\"1773602319\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0LwIsPIX/1Ya+zbZbO/n6XV5+kcLdCBsb7Ke/rGxjbZEjLpFqNUz7GNIn6qLLUNEvqGE76vexyqbuvjFy4LhLwxsiJHGHLYxe63x7CjRhFHce/dPQXntaKB1B4V1otu1emo/j4vqPC7q7U6rpx14TtFiyqZR89Yc0fGXraQZk52Nw0f8OEh4IrhEOZlWZe/zDNGpqP8rfhFMZq1MCJYvIZwHn3NBscSLgHHf4HIgoB7j+w/SSrczzZUew1wY4OWZF5c1yItkntSLF5I2JTt+ZtrDjuQQVOQuZoBpzD53tb4Y+RFJZBAcpzBiVqnQBtV2jA4QmJ+jEsKGjft/OEInJA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:39+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:39 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088F8CDCCD0610E20418EB9EECF5012094C52B28BEE102-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 244e631b904eee922d09b2cd4be061ef\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iZwaKLdNIi36UvP9i4SSjgUxjU4gGUxvrAKhwArzqCOCDr/icX9NryO/rjK2lLoMEZVHUs+e/NS0mxGLAj+JnSznCVzbXeTwGR3VimNP+6YUyty7Gn0TBBJVBbu5eeIzXKgNKp92FVkNsa9HhQYXVKUjB3zXmksr/IKwUKEP5YDGANqVKoBEsj1ROJDidiG/GgKHHZ1Dy4bG0MYV+cS6fYD+dxDhiB7wdqDIGwrsN+uGIMIwzUibC+bxu7xsn79yfxms4CPsksPdSeKMX32ryKtuxhJXii390jMa3FCWZKD8JlU8DNnUgtlhqHGW1IBIw8oV7sxGUBpYZUBk5eQqCg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602319\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031551096506?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kBt7MQxArf2BtNIBQXF6C3VJwHjhSexd\",timestamp=\"1773602319\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LSOZqtqEcQ0rbuACV9qWwouj06XjSJd+Ve7K/kz3l1GBHLMF7GH385MSYe28mOW9w1riMeYzxddD3kUzij5G8VT4yDBPRIZnOEmaOM+PGILlkMJJIW3lkmGOWC8V3nGQYjJXEYpNepdA6p+Jji8CcP+3HC4YMKmixTSMljbHc9hY6MtTEg+drjnVAdgotiwE0suZ/ponlijGkqgqNwQsHacFpYD6E2MBSIXYa5ID+oVCpof1g3htqQNSCkYnfnXvQVWCj7NIETmMe9L+pJ/q64VpLf44B235sluSgGpWxCAiOWBwGB14Mpfx9f5hCBnL0pN+/3ZCFKxy1Jsm+y5Ocg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088F8CDCCD0610E60718C3B9F8AF0120E0FF2828A035-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 87d9e05c64b8bdd625eb468d0fce716d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gYDqRu/jymjHwX1ZUEuXQBlb3PdrS3eeWkDC20ZI/LGVh6Pt6yFzMkHKLEPMj3MNfgbzchXsQf0CxMYmt5snQxf3tAWkAcZSny6zjwK8ajKqj6xmCknaolLKyEvu6tYS7BSxjJ/a2rgsxgs6pbfoxkoO5IGvrtsL3BMD5BFEKmOSvuk3g3BUjKzLL0mZa3v59YamILGy0HN/cG9AN3HGLLIzXsap27BJVg4PG4rwCAFOkXhR0CwU5keglH6PUV/NzZ9eLRSCOxmzrNsXyGQbgF6NhgW+X1UxIWTonlK4oAD53DAF8EvdbiS4h3m1k8rBrQBlC57donH8/kQrK7ZmOg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602320\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552228563?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"km0neP4q5Kz8dTc7NDVaGRj2rJ84JQGI\",timestamp=\"1773602320\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4a3hO0m2/a85Fxq3/U0XrFGIrFROYuNHbhKi911ueBgMMjT/H4agtv28RzeoGBo4wvQkGHlnPxJ3nL+k0CO2y9HJJXBcJNvU8/KK/4BPKESxgQwW7EBodFD/KEYC18GP9MHwhc6oE0HEpbzLHJfX+MPKEwMC/K3eD5MmNxD5H9h1Y773hQW5zju8ieuaCPt68djBT0NpBvwJrBIFnt1Qxn9qBr0cLONra9GfH1bqHzTi0ZpzFBCKPRGOvD0e4hCFfg6av8mVf53un1AHffmIUagduq8bHQ+J1myOY4lg8KXQOGSOdZH1EqrQuEO48xnsPaGc1BOMf9AO3zc/6mhslw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08908CDCCD0610F70218B7E7F8AF0120CAB70F28A058-268512771\r\nServer: nginx\r\nWechatpay-Nonce: d4d8fa4522cf91f8f3fc6c33d0dbb327\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ArP5oY55UUYxrqaAVNC2vm8YsgrFQM23rxoL/X4qH6cyUnFN20OwzP6WiD74oDIm+g8yxa76mV4w8FMWhhkCexFxFOd7fgjGF+Zd4GotT4UJQl5/ioquSnLOro+/ZKeBDkYDqBANWu5J2ceGJ9O81I60e7NwsdVW9jwUDl5uw9hHKbfNF8VBKn9nvN4QT8QCvPXtw9PuzYIQQIgI66LviDuNVpg33d+fdfYRpvF9DR3ECKYuaYqSOnO91qoJO+Yd7nFW8E72ky9d6M8o9hjvnCNsqyIpHSjYrTix3WFV+B5dAsc1PFHqLWfjlJy9C0dvyCV+lbIRjXyf+v+kEy8ciA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602320\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:40+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552254971?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LVFXp6ou1ZAmAMvqBM8sVkaTV1nEBsDM\",timestamp=\"1773602320\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"V0h97tWG+7ap1hVj0npDTlGR3gY1rZwJcZINhdH1UroO+jBfKOgsuN2Z3FLbPCXzsLH8W7AysJJDCzxBDQUGnWZZyqt5bn0ADOEynv07Jb++B1BchbqaXrkOQZjJrlcTqZrzxeu9DsCaHKW7WS6wVJ0cef3V3evsZb3OaSM4yOfnujUIX0+N1joDL9gGoTU0oZP4IVBwVibKkDFHjCm3cG+1UAg9Nz7gVXd8d88KauQRAd149UUUkf6klMTc6iE0ntQDSpciX6owgcL/Sw6rcPkOsePJcRMoDB6y30z8skdh+ohxZ5EFaQ0mDVLsBbF1PB6O3tunjPVx/G/QJbq/cA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:40+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:40 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08908CDCCD0610EE0518B19885AB012088950428A68701-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cc4388f41a341bbe6f706aa8256ff442\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YNsiJCng9njYFMCc1AtEX9mfdxYKoROjOztDW3Yp6NWaDokyhcLpZe06Q2Pntup8vZ8ivaYGPvSzSnvOU+gG+axi+FdzETNShnr3wsbdoouEoYDpgTPFlXMutiHNRRFlAmjH8bJHrE+YF6xzuf+GjLry+xBO9tLwEGxkCDexKVZd1Lgs/yGjJpwyqKTCB3DUiJq+yy5hZngbkswmQRwiqaTIciQw4slxQ2OnM0RfTi4ULRwuJ0Fn9yrsVdtzY0sJpvhQmelua9/m8FqOoIzANY8wvonB499JICtp0u/aDxdxsjnzed3z9p8sHYaZkGNtx1tycS0okwnFFHxE9+w0WA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602320\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552642255?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0L4knrgugUJUddgc1IMEiIkNtZot19ML\",timestamp=\"1773602321\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vdwREPNTl2OSdp/21LYJxl6lhJjbZV7Q1qUi5Wf9QMfhF2sgBRT0lcbGHDs8jzvJGZB8q3AY6BJ8dHoX8/my66iZp0OhJO94LW8zvp4wkEkeCZ1EAMJwppDhZ80pQJzSmeMbu34fVlmlTNdgr9a+/gcThmh9mpim7xY3mp94KX0TN8i+eemXMcVDIG5D2HLS4pkQyHTrnA4ZzCiXJtuFbhiNR8kefaohdsu2zh51nIqv4vcNOvhE1IozTbuQbGIHUnRb8ldBfPIpZ4OKk7gY+omnXhYXLrJhlK2M1TwdM6ex3rcBgXY/vb/9K7eeWj4Ns+IvD6usiMWTfDDb/lntOg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08918CDCCD0610A90118BABC8C5820F4FC1C28D68F01-0\r\nServer: nginx\r\nWechatpay-Nonce: fe11266e55ae3e2fd8f9bf040838fcea\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sQvuz/eT8E0DjMepJSgV5ANeKAeWSbZxH6XSKazR27ZTTsvuCfJ5qlp+r2WUq3xNp7EvYZDQzR86zblRxtPI8VXQVIvvOO8D3yjoHRVoTejLvcz3l5hNicl0NBErwHfetmNsEu4xvv/J4puRx3hTOAsjwK0QEC+GwzskCs25iL35lL7CwUxOswi+dm5qZSRwZ69X3fL3kHcuEsnI9oeEqnTx0FYGSOHeRa2uyS2qBQ1tbMq1BALdxojIsPc6pZf2PylUVbeNzJFjRiQMdJeoBRAaFynbPEquPtLH0KOoGwj0gSDYK/FuQirG60Vhu1ig2+pPvI7oY+b74eo7kSYZwg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602321\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031552642255\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031553155352?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PwyLQAO2RAJyu5diqcVnslTqwLExWNA1\",timestamp=\"1773602321\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"J7X/f2akuGu15BS/uwRQ0nbzpefLDwShUm5UH+pIv1PyKa4C+lsgyas0YWmCVWVgm6qWhGAjt85p2pZOaHHIzkRW9VzaDUn8Az0Pu9k52Jf5REa2ckKzyRmGOkiJRqTexstrGA+sUEnxjusjQzjAft4pE/yRjKfCm1Lx/DGuJ+hUGQU+KzXc8sOQ7ONQdacCjR6yS4f9g34LQBt4Yj5kLLPlfsIR3OtrRzGPH3vfb4ALnu+MK3Z1P/7qS2gbbUpZyhQiS90YRVpTTezGUpDrTg1k3nVjl5TanGjl4nU/sfXJI8vnmqMzBA5udIu/iUFsRaYWaJfv8ViQHCo91hYHoQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08918CDCCD0610CC0218F3B5F8AF012086BD1B289A8F04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 83003251ddf35b346ceb86a4661db62d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iUJl1MIbI8v9FvzTjkvoAyppVncr3S4qeznvvyaJaTVrXxw12So0zvpZc1jJKexFAAxVYD+3w3T1e82MlNrzGGoH1g2VV3We4I9xThtbsOc9ry8RhEr2+A/D8kibBBd+nVfp9nDodW/vKGK0o2lwv9xoV0oJpPd8UZsLp/P4uelhNg9cDwD1J5cqNrmYJbwu6n0koQW7W06ICrFPq0lR2wZ+gk2pIyrKV6Hcct26EY5ioVSKoqHKBRG/IgTGO+87ywOLGVRpZIFE4xUlAgHc1QiL+6aMuo15SCnXTxh40tHt4QPTAFT4Rf4B/Q99Kpt98/qTDvnSpKN0N/SAufeNHA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602321\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031553556581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"STxRrmMWvriN9L9scLoRlI7iBXjIxYpu\",timestamp=\"1773602321\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"K5fWlGoh/RxRUUmsZoEEFrHFOU1qJFa2CaPRxMXKhgccf9z4XYX2t4g/cQxIl1NXb5sNvgiae81HPtliOvo32jPk3ZjscPF9JfgUSurSjRFfbnRpTfsxKigqsLkeHok5TiH1JMFGMZkt+vGkduwXZjWt8CjcAZX2ZIUWFFShrP0KHZs4rjBew1w14dC8+hEmOBLa70CFBNFAC+wbQUVex8Hbtj3ypQbjpwzwKTfRBb/+/V8YhmtS9qus5PqqDEGM5sbuGmyiwHjTA3daI+pEp8SardlQXjEY72h14cUMAQIRy465USS3JfmkTzNg6H9998h+ZyCIBXB6uK3SWW4Kcw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08918CDCCD0610C60518EBD48C5820D2C01428C1A502-0\r\nServer: nginx\r\nWechatpay-Nonce: b83211470bf783d128ac3abe7ef22fe8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KcMwh4pSr9GEnAXFShGo/vtZ5Kd9JRfJgPuIjS7j2ePlJxPEa9TR5/2TSWkBMNZ2httRx1n6Z9GM1GSLmVAdKyoeUE30wxC5zsYARxlVzEO+eOT6GAPoKsOuN3MKyCwG2rOyzy71IhVYnYccmAgmmUbM1ciPOpTmvTFmlWTw81eaR1w5F3GqPTH4I98YZkYOWAweA6T4nGbFaz/u8LZr0WvP1tIjPEi+hgGYmdIH/3opBZshv1UK9adKS8MHjjO8qrc2ezKzMC2bCVwUuwv0OLz4rCG+Ys2UazzwaHng59swHBTDWTkEM0dO6HCsC/YDLyArwkftgzgr2DRnZMrqnQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602321\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031553556581\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:41+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031554327422?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jg6eNS6Zl1Zze2zgVLEhjVlDXEWQG9hJ\",timestamp=\"1773602321\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2Aa4C+lRM0Gpwg0HUzwtc5iH905m0bF7+DxxUu1XiZgIL/WO00+T3EMnJQsR+b0sIvq61tdeCWiuWvWW/TiKQwuGvFmSwEtBNs+/M4HRyb7qz2pA4f0R4mzRXZ4NXENCuH89kpB7kQvYyU9o0UJ/K1CKmfeEV69hX2Z2KtEQW2I24x3pdTCN1Gw6T79+WUj5Q4W7YgrzZITorF2ObM3eW9rmwLFQkA/nHtsJq/VeavLcjoDh7z5WvRnVEbjH+UBqZAFqHBeXPaJ1HTN6CCVLoKFnll6kftwrN2JNghQerSY8LxX3BxpCWnM5msUvfNdxV+r/fkDXdd6vEqqaEE11iQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:41+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:41 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08918CDCCD0610F70618D7DB8C5820A08D2D28ED8505-0\r\nServer: nginx\r\nWechatpay-Nonce: c68a16a8109a12c7b1f82a64208d28b5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: M2yXHGCEYQON+a+YaorUP6GOmy0gJsZKfST6R0l51dRORciCwPKAa+RBf+LlERaNLYNDMB4Sf3FRoQul1tDJb+tRf9lunobD/iivx2x1f6Pj3+LvgSUue6YmhQOGrAGJkGrEppy9OMnOVcggbnGl61O4gf0O8AcCPYfnetLoyh6I085YsEnJrwCZvRn1tTm8oj1g8h4lKIniu0ftUOlhGR822zLygOiWxsMjtXLNMDYB7jDW+33LkDnDSisCzrxxuA8wzxCHlyl2WSV7Dr1cTq2lTYdgVswSgd/Xs82+90R7fP7UJ2rEijDiz1i+AMVedtLyeh82sq4wIT4LBn2tiQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602321\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031554327422\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031555128971?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"l685tJE4SxmSVRuaYdg8GponCJbm6ZoU\",timestamp=\"1773602321\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LT6jWD9D1NLyJWBT9qQb4LJcT+es4MNqV4KiPiPHBBdfhHKqBJqwMegxHr+s9uxnU1+U3E7hKfDxDosof5X/XUMixxuvwxVZUbW9MeVkB9nQ/VLM+/f4SJnnJq26v2xCOobcd3ooGoTM3XhPaq3rC+7hL5QuR1bzyeIijIDHGltAZvCPHKkdFPw0pa+5ZrhSk/A8WBJkBv1BpmH0kBoFgLeFuec5mHPZ/hUyMS+hne+riMvGM6pRLqKOiOW1jcLVIt5VXl0053PvYi6jal7uIXoLIyN4XKzQaUicEz3JPnBOgxl4iYsdyTRSiHv7J0jL/GsRPCpH2nSe80H80/h84Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08928CDCCD06104B18B4C68C5820F8F80A289FD202-0\r\nServer: nginx\r\nWechatpay-Nonce: 6133d7596deb7da3f6eb46ed58f7e037\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cySW8xWia5/EKCbgvh3LbMXQKnxkyNZZudmYs2uWyUR81+zye54KURuOf2A8tig8AAR1bpIRYMv7LjjyfhNxlJGeE86DuHWoQOX5fhwaAig9+nuNdXqCMUgspnki8xiQqul7WQ7l1QUgQyfoMpsPMIc4cP0yHc8pEahq3K65Cgw0SkPgrQxMerwWHIkTTRmynO8inPJnQO2Q2C5saWJBLVw44+dk/yJ/jcsIIgMml4Ae5gxiY0go22mgIe4K1jhdCAO8wV9obKv+7KH5i6eGLQloyJ84I6FphNYPkXzYnetxQKTEGaZX9350SaIBO0/CD3LnMB7DGUkxwgxZJI4SVg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602322\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031555128971\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031556746758?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ijidqhtfyWYWCSO7r0yqlueo4yDR1oge\",timestamp=\"1773602322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qzIbPPNKqUa5mCXPJqsU1mYFL+qvdFCaXJ4DBw+sUKGnXsCC/P6hsg/Hrv9o8oUeNAx18uS8Ni+yNHt7outvDcSOyk0QC+iMd8Tghj2XJv4OSpfVjXg512CHeAVAS65GXaeQGt9K2qhqPL4xPS5Ccg6u+qN/HLP9lvny+HeSaZJUL4X9xg0+zC48inwgJbRQL/deON9UiN1tHYigK9lLzn4/XvQvTJH/p2L56cSKc83e+QseGWem+l4zCqGkIjhIrmVZHEpYOchVcUSIqfsz8MLkS/WXELVQTbk9MUjdX5Z2HnO87w9Z1KQD76RHPKWbmJRy/pC8DpgPzv5Kus8mug==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08928CDCCD0610F201189A8985AB0120F8A43628A5D201-0\r\nServer: nginx\r\nWechatpay-Nonce: 22f3b6ba96e24ac577ff853b02866ea0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: I+WFsFTRjekoI1veQ7RLg7Ql9LEvWTOboXwpi8MZIbxZOVi8RlARf8P+7M5dliq9czbO0jfD5eh2n+xMHDoL+GdQqbiKnxEMtWLC8WEjaHAFLfxaLKlXc2ZEqj2K1H24MY+nV5bLvqtPv+pquQUknVNBoBNl1j0m2JraU86c64ycbU80op1TpO09PWg0SSHx0NS1OL2V9BXSqtBRHI7jBJY9yFxGDm0ax5/VcJMjxxfa1xjSCdAIvIJMYZc3GO4eUVuNpkzjZL3YjM5p2pxNFHCRcSnrjEitWCHBKK+jrW15sADkiGsIvrnpj0bzsdQNER49PtnnrWkL40SUQg123Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602322\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031556746758\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557599432?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"GFwuWlqJUPclZVoYkk140awuI6HvNR8E\",timestamp=\"1773602322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rth+CIiuwafy3zydAVOupMmWs4Hl11qy/FUKSJTIwATfP4RrteVY+HM6c/JU5tJIkiHcvBC5hOAoUBSgrrCY6zW2BpRz4B+0XiT+jfjSFh02Ww/72G1dqzX2Y0sUlq/VwTITSYjnWvXzjvCM4PLp88/KDNdDtR2hChjhQwyPSMvTFyWp0kGszPmls6K/D4sXwZxCzGKtRi23WIoOE9N/EYQC6pKVjmxi9ojDgauhnGNOCK4nLL+i/nLXHrWU8NKYvD6+nsmv8UiR6CqRprhxCK3Cbt0jCrziw9/6UZqI/oPqYRDzQgpY3ElOrbPkS+8J99j7w1JNmcC3bQgjBg1aOQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08928CDCCD06109E031891B4F8AF0120A4B80A28ABF904-0\r\nServer: nginx\r\nWechatpay-Nonce: b021140e4b0a6ab4a5e7f699c394da79\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: na4QOzpZMhs6cRYLnNJQ7dBfQc385qPIOQXB4pkGhVXJodBbZ8iry9TNOQ8YhAlhEhkYr6Qc+ukVTTxH+9Le+BE8iyQ5UnQ6Sqqa0ToFxyzdq8dY7l/Foyyhzx5Ilnw15HPaBsqlxAITG9TdXw73j5Nzb6t4oUjOMjtHpQBMJZaMErxxtVgVLOcZboDh2ItS0+kJbtioYpkv7SFCXpI33IdGy1cCPMpsmmEgDINxS8OabNKfH8wyavK2u4fyXeQZ1r2z+yzBPcP5kV/QRMn/wvQaOKcGsH/llEPBxM3IiCiNfsesRFSvTzCBYY6ezBOq2RiB7jQnz4TqL+LQ2ClP5g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602322\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557599432\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557901403?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Re85sBzoVBplABdQbfFhmN4RyvE41arn\",timestamp=\"1773602322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"F/6wvNEJprOxRcrT2wSsKkkGmdn54FxRW/5lyJkBgpCSzcdruXMH4OYv3YPQsU7+RViaJyIXoXh8Lf7nNSvCXabrXodjYtMyakOJlW6VvzHWHwbJ6wzvSVPqMjz6vI1/PdJPGp5wj+wSwcL2+d7LSTWZAsuqVXOy3l9l1GBr21ffb0jqqmibw5/DUNj4RoRtI8keHQRr6l5ldkDIJJfwnhZ5cCutDDU6qwFcU8N4JBbTREkT3DFkTCcw4XJXmzhgU0+O90ED+IwwlFCnlWvAnq+1zl0pDckcCdXcI4pN7i3Dg8rpTdEFO206YNwep10FckLphtNZ9QsZL5nbpN404Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08928CDCCD0610D00418E8E4F8AF012080AB0528B7C903-0\r\nServer: nginx\r\nWechatpay-Nonce: dddd1e590ca58a315ae4cc15c498494c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SU1M4UBZaw73I1Yt3CZIfXVd6gtZA6HMIYDlTVWBY/RkciwqmzciLJFnnloaUYbn/f/GjLT9cy288dhhx2Tn2zzRzDqE5mpLf03CV/CY4bt0iAjcd9o2mApSWIKwBVEBhd8PdFqx/6O5vX9yS4JGnRHjfFXCqC1XK3SOplvv073dAWRDf+iPy9B9dJahN8zEVmBxONW+dB+fPe43usJ9WBt4LahWRqRoCSyf68DTPIQWPdnuH7nS+TVpj0DHgZk5dkacO2Lx/ZcdkSGQ+JI9F6vBkKFiw3NiY8rKTbEyijoyr53IgMkt6JFRSIjLpZNQYfg1IylESWQP8ihcH0uINg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602322\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557901403\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031607546194?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"K4EOr4FC97O1uRkl6OUMfiLiDI7HPJWL\",timestamp=\"1773602322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0esVZAd7fynxwDKP+MmzmyTbgMxsueRmFMmmThgizSwzZwjbMz6xOyy2f/GHSMYk9ZwIjZ4sghr9XSdMZlqhcR4Iki24IuInWRu4ppNYMqDdQpPpTUY8/X23qQdoiwtJq/SFEdW3IuJPpFz6+KmCz+V3e8/Cs5MXEus94iQVI2GNr/hZfQpcsa/TvUX+xNlkXLfRBfyczIOrL9PDo7GtiAeThPN/rRa4g7RKJFIYXYmuvGRxIQudFAFI/rOIUb40t5h5iXKDFutPa/jaW2bre3KlIVi5Xyw4kNv2McnFGqDQmkbevcBNtAct4t5DLQ8kqTC9wIY0xvdZ1WuIFPtyLQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:42+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:42 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08928CDCCD0610EC0518D2CD8C5820E2EA3C28B5B504-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 618ea55ecf404aa43b6aee58cb7a3867\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Qx/p64mJwSRXt0LBSH1trTeNn6hoT80XecfcKlTHLETDGADlCu8FgV/Mysn6/0vRf+wH3k8z8VMG6eo4goDso+U7e1STuXhqrZZidTEM/ZUNdkWgoTK4ju9ufY9XqCMtCYv++y+SxepXgmZ4UyeRzia16z1Wt3fktWw5+wON2ro+I+rsgwbNfsipCBiqo7pHwEFsjhtO9S2LO+sICsdZUxJ2vethPD70zXdm+pmDq/+lAilz7qZZ1qfY54RBKq5O7+38TC/h7VSzxhGy6UAzE47DSvt/4kiuJrRqdNF09ZWRNavqNJ0oB9PlPZmFQK2lzFTbngkKRKwSulYcXeYJig==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602322\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031607746118?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Cfc3pRtg0MyCf2RJhySYgfcegt5owu7l\",timestamp=\"1773602322\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"vFfOjqSiKWNAWEoC/T7LZWm2ziExMAj41MPkD/denhDXEq4Uelw9HuMrW8oeiGD3xdrX6CrJZOwyb6193hizblkBBBe3jLpwhFl4mNGRl3psolEa1gEAHOzzhJDdCIUwpuezvrPKcPHq2Cs5beRtb7swqiOdxOhVEqZ7gSN0PgmeNb1UKmJk0a89poMatC5IigcKzNc0fzRl/nbX0hdxzhHMqZGGImF2Y4x+lCLrZbHdkCC48KQRQvUl9Kq7PTUi3bpnOoOWMeLIacfFRCWx5LXpeC/kGxLlBh8hO1hsZpWcG1YCUPcc0ZDPOxp1AYACFurCsDEo7bonR3xHRZaCPg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08938CDCCD06108A0118B3BBC05520EC8D392898FD02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2f88ee63d8429fcf62ea2bb5a782754a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d4fshqdCvG4m4NM/aKExTPPdCSqzvJ76BXm23PxC874zsO/ak5TzdCuHJghtJwWBTG6iRd1jfnu1ghpVdA00J6vOzVhPBwgBvkMcQum88ED/cWDrv9H0XNrZWsIKsn9i3GWXX5ynUNKtltomcQLlDtfaGHA0cN9Zz6aLLUApvxtRF8M+RMFjVrK/FfTu17KBH4sVgi75/SYcekoS4WGN2gGHosiVRPSoSsk0U6YI4qHLSe7hO71lipgMFWOeK9KxjlDAyHhc7wbLrtyUclXCkf+cdrCvImeo6Yym8zAdBS2k4fBRM/5U++rSaVTQSwpNWx9n1CEMr3y0SZkyTYjaXQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602323\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031607259269?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0KExT49djSWNPITfyjTYDNjqZ2ZpMLR4\",timestamp=\"1773602323\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"i5ljGFas5ySQ1oYMDmurde5u0IpXlyEI33BFGcmB6ic0fQt40l77WW86qvEN6pH8qx+Gn6zuBYV2wdY58SjugWkyKBAHXYC65tSetCQIKiYSc6Q1jbzuWeZMQc0TB5gn7YiX8jH6ci+/S4hHNvs3jLa3nb7SssyhvvoZ8adIzlmrpa5pDMJikz4zZqmOrBd8XmVvkO8XlEJZIWmsvRpJPFoZcTtsnl53dVoRNRzHn9NB794RBahvkaU4qA2EvG2Ly9tNUZ2WM/NwInYB6gy/QdsxRyrlyTBx5NXlqRBdsxPnrRlDXGLdR1JSDTtiY+65R1lLC5tuhgc+NBMUHv5x8A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:43 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08938CDCCD0610950418BC9885AB0120BE8D0F28E0CB04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 82ec7ebb88d94a1666484bb8721a35ce\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: uzgjK0p02Dz0je9/nP98zMRBxiSF+weurnAhZdJUMyGHGIbqvXrcoOso9fTSrlTKevHkkJxxgwi1lT1HWYu5PDEJr5xlOSwsH7S9wzijDiijGW36zDKAyk0k6e8mUjE/eXczlaKJrlnh6EmnguR/fAY4vDgUKOMDirao/RUFYzbM8Ox+zxyRvH1Ziqe0ra0xm/S8/lHSu1OQLvQzGfPnJra1Nr8JLD7FmFBeUZqWe3hEmD7wHt/7iuXUw7SNb7EOZd2GN+EeaDnkrvjBfvw3E8d/Is0fUm9SSlvHQCBTmVKqGnQXl0dxZyXKafmmSC2QDhXVRr9lH/IR2pIwiotErQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602323\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:43+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031607538661?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hOwu28FO65bxn2jr3VvmODtp8tF5FHSd\",timestamp=\"1773602323\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wsnVbqg0qvuAEpv3o5kag6+XTeBd8EBbOCngM/94VgJ8wxZnx3UT561pTGVNeXXwgR/pdSCgDR23xMIXAKPYZIvaRA6HTKkWAqCURSHLW/dLDKByEVAjt0UUwRF/ouaNI83DEeOk7MUI+jaPSsmzhBs6E8buVEUxvPkuHYIcwklhsbwOGD9hdkJPaAPnMtWqnU+/ue0S+q6CnkjhscuHM85Wq0qIx61IjcSQJPaqK+suW6hyWQ8rdCjkQO/f5uT6NGI8kPG9qFg+e3vc+D//4ZbwO+PMSi4uLqkfihq/aKVqRqBXbqZ8+yB8yr2unbsLYPf6GBKuyrJF/M/3Xzcolw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:43+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08938CDCCD06109F0718D8AAC0552090CE1328E263-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 04deb03da8b8e82684279791b88e2398\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tZhPMgPbwNw9SD0N9g1wFECvcj+rkmPgndnT3gxNKWqOYDb9IzGquJ+HGOz+VLH9pknUl8EyMRNgozmdDqyOXbIzAjDkIU05oBIMNPfsiDHKXTPedfLzjuiBDPjLw/rra8htXY3ZHKy+36ksUK9nnzTTYjlKo+P2V4nseedAyEg1k8bRgb7rbD6ZNOPxdQIMY+Ngc6if3PO2kMzn892MIYNz75e49Eet1fIgvoEhlQWmzPOrOOftlkn3npG9bmjUPwyKD8bamhvdegcS1SIdLKkPeobCHM43DvlgF6OdtF9+hKl6G2kpFkqtdI7IUe4WneFTGK8nKBbbcWa/E76bWw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602323\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031607531493?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7RywG1jc4UfKrDD6XwaZfa2zZaLzdNnB\",timestamp=\"1773602324\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WOXMBrenX2oG9VAVdclOGWFijDFwDW4uP6XPx2XQLspMDGX5IAi+ll2lIizruQaYdRIOaLaj0wpm35NjjooS3k5yG+AC5YArMO5IhTV5X7ji/ghMmVWFZNRgkhFSb6/Rntt97NpZZiOXQdWp1P5Et8coqBATXttz5fFpY6dwG1K9t4s/90lIuxsOsaZRXokyB1rf04CpWULbwOS0ApVbbJQ+2mn3GAO4XdGa+JNjiwKaCRpO6knrtj8ua7wYCzTQVdBoah9n3AfxkHtf9GhQv4f3scmi3IX+VI9ehdJyuwiKXk7hI9p4oXxD76jg9IRtEFWCw3JxjL18j7ihpMy7yQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08948CDCCD0610A90218F9C6C05520D0C60328A29105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 81f79f1023323afe7972aa60f38ef4fe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yU+w4FYFCIF/khFZ/Zflpm4jl7B8/wkDrj67Calx7x2f+xuLwo3zwtDVFqoISYXcdha/0Bu1eKqaa1ZTlZfwkqnwAkiWP2LJce5jnkLYmuRWlkVB7U6aJIubXUxJ8Qb6c2GE06S/GGsPdqejfKDLKQ+Vjg8RnK/og3UMmIjnwdPpDx2X5CzKs6fLceTYW0WvxxNbZZqUSRvOrLdBOLj9j0mBh83B0KsBDRZCMSd5JukkPJoqnw3Dt+1Mpj+561kACHEFklw5D+08Kvi0mVla1WND/+6DHgWggDHOpLHR/Po6ap1e90JdWZkwgdWXrcCgj4dsvoZhAAp6Yz8s3AIIKg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602324\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:44+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031607248584?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xDyzA1IcD54USQr9eBGuVGZhKfj2aNO9\",timestamp=\"1773602324\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mWVjLfaw4yhY1cSYjrixEiRyoBb1H3b4RiBcxeqtKhp7PUGCyJX0B2u6RxD3RF92wsHQRsA3BrdZCQGwTpk+TBjt+GaCjrEM7+yuHEwjr25pIp5kYDMH/xhvepuGHzDFPR04gZxaxEtFCwYdIw4SRW0FmW+LUkEkHTjCSgglv9lrdjFwd6fVLb9tE8mobOBDG9GVNst21OuvY6t3xTVZRKTrLIxn5M/xIJ4w7Lz+gQb2RSBTAmavPJXOcSAjHOZOsIgc/XMQthBw1VU0JIYzaynYPauSZXt0sCqWz00YVmIjFFtwS1w4NL7P/0bdyhV4Pgp/hd/aJDMT09vc9JgDjg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:44+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:44 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08948CDCCD0610C705188FBDC05520FCC73428E0D904-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 859b06a841abfe65190c6de8db8479d8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: vQNI1IfrTDV3faB1xMyRdDZlsMjp/VGIbFO9zgKwu0slvM8lxveRq9jpP909QHvPmUkQF52aMu0VMVAYDyzgDn8TYamosH25XBYXXDRj16MmlGs//6MypxXUAzPeqV++vS9HS3vgnbSnEml12e+OIfq2mCUn8Em3iuxDOFwl2CxilP4ZBYQON40XiLN4qQRILsiaIpo/w8cBCuRDGYCO+TUH/64bE6NB2BNsmiZFy/DvRA9hbGTH4plUA8lN8X67EhZdqjkhnNC+b36tbQ4Hbh5M2KSlQaeWSbNgTB5g/MQuuazcgfTFLkA0+zh9R+gAVCmzDqqNB1oeKYxwIVh71A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602324\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031607162586?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"y0zj6J3Fp72jwDab8SdUuQDGPoi8WMXN\",timestamp=\"1773602324\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"imJEIt4qUTOe3Z2mZewSFsqphtr5MhuI2jP/guiEee/Kw4qKD7eXpnaMVJZD3ZGv61vqJmIbaSl76FrXrLC69NDN0mmGGcw3C+o300sDMrTMosG5YyZ3XkjWXQPWazMKYRKn7oew8deU74RUJ6kfFdkGklXSyeUqjm+LSQExHHcvMr6ig/geYY8asZBdNtTryVlHTdd3fbwJqAZZTsmAsO9GQTKA5o1NqSXqLFYJOKuJeQo3oMMehcNU4QzOoeTb6svlAXfMPDNxRJ0CzE+63puUWqkiIlMMhBB++ExmPcZPyk9YY9oJ9u5auwne4rqR//R4VR9kJz00knnbYgx2xQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08958CDCCD061057188FE7F8AF0120A0821728998805-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6458a5d01a229eb3b68c9d8a6ab8c923\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BpSvT4N4qLzhh/j/9FPqRj+Byh24A6CBRmx4Ee7G8GluvnNM1R2wzeEF3qQlqc0SvgFjuPdeflEoaanL7yzS6NS6o39FL65oJ0P7DxbC4jeBSesVk8LWt3xpVOcF0E1qNdl0UW2Jq27KyJMbJWsa7iWnPa6uVBCnq9UhbeAiWS7C/288thYDAY9TmYxF43j0npBCmCN/vJQEODugPuuob4MIRoyUM970b3EIWm0mKYw8HCs5N4A5RV+mG5z3MzAkJH3zPnGgg0OyidPHhYxz17yzQbT6TA7TGC1ega28ZcsN1v2fjHG077JhQU72lN+siN5QZHGZ7levyG/QcJFteA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602325\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031608710830?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8U10PT5TJj5PbOKE8ICSxln9Q0STv1OI\",timestamp=\"1773602325\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iH5qvhk3HrhD3WsopyQLzGVtQHfVpLmS8JhjaBSXzt7LqgTxHjsvaUJcM7B9OIJuxyv2gL9yQ/aT5zSNIpvsnfmyWCb+ce7APkhZotVE0GC+v7sRKlv6CJjWEcLHkqH2n6vH5Cdlsf7ESFjNqnx/3kmE0ZiqCQBHXP5Hx0wtGM53ssLlGWDgbxG+j3Mb7k1hah5wAx5EociDa46bPhM4nMe9f6U9bWduud9GOm/g6R+/5p+5GEjBBX4N+v02DG9y7lUZ72FQgIMcDFzLO0/lukLPM/cHoFYPT14c7ArHvEEvOTXcaviOkltuAytiMQVy3dwQMVTo/N1nzC60IIj1Xg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08958CDCCD0610BD03189583ECAE012096A30528AE46-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 51d7cd899526bcf173a9b3267cd0491c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NGlPCjdLgifOvTEvF2ZmeflkC1cJ1nz2WP4UuRNI1+s0jeLE0r/oU9iY6mBX/Yt29l4iZRIZJrwXPSQJHIYfhtvkqKvcSwjUTxMVHFkYLvgUPkZRAcowTve6o5P/2pymDRrMeRvv6iICjzj2hc8ffHTHaevWdmrU+9eDqDHLHcB/tQPXqs6bdJE+BVzNkDfmzufEzMCSBNhKbMZFw3Rl/AmgT7/xI3unDpuzqyZx/FwYji+rOxRYIxHvirRrRPwwuyp+V2jWZqpsjvN5mFQFGrYpP9cYt7kbchjiH5i0qgQPuriGjCZ/ocoF4q6tjwWpGqucCLtcC5BjCT+mLF03MA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602325\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:45+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031608911230?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"A0e6NI3XpMABTy1xWEEENqo7VvpPH2gk\",timestamp=\"1773602325\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sRKkZS50yodzZhQ7JezwJFyItGitiKeaBZnEifjmHMtcS66emO8uUp9h2q7O6D4ogy87Q9vicGCUpUMt6otd58g5fMNLfmrv7sIFObD8+/Qr3a7NnuaoLRwHF3DZ+KHxIgwNnAMEUGU5Sn7QOD6CH8tpQ0C7re3mWXR4EQ8sNKmQ5s9cvOPzh9THnV0PdkKi/n8el8WUci/EHF0E25id5OMPC32bVHBfbC4b36qCoqD4qRmpKgz+xA9kAXU0R9uj6FtPgKJ/ycut0UGalWg7XWPW/qGHV/no2pnYL7PSJ6vYHxGAdxoZaYDG1e1mgr5QBRzm3KEO2g/ZuZt32rLM+w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:45+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:45 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08958CDCCD0610D50618AFCBC05520FE8D2128C7D305-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 711a86e34f6e5b5bd53bf91b43310ea9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YM3zfZT0I/26wMdg5Y9fNgMkwwdcm9h4JsVfDSPFNGhnwCOm/dlw4znQ5NnO6JEhxkkRyRnPVCgcaLFbUYaS5SJb7Iwx+4hqMOLIGXIVJqe3GhnzS8tQZpozIXsD1pN9AzIvIH8lGoHUlPE7icojzLnJxg9hLAQH4RQgI1T2bhSY3/hBhI2G1Sv4tbGtdiCjCS21NAoZz1av8KiiKa3niGp69CMn3I0M4zHIh8Qcs1o7Br4qOq6Lf71+Yrw7dUbEDcptVyBSfLSdFQVE6/dadn7AoP+T7BWH0vaHhj7ntE6m2Y4BPnjqaKieWHhzMJxFoJYt7rK+NchK84wPLyaQIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602325\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031608750961?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"nTpXy3Rr1sQJEui0Dq5PQdu0oyHdI27Y\",timestamp=\"1773602326\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"e3cF3CVuXWY/KKTSoQ9zSwF4qr7QFG+zixr/sp2eicZt9qkATocrE76HNx/344hXWcJprxxA+QoUNG6y+9J2OTpWnDybeHZ6fPak3Pou+cOvuUUGzcZph9aBiU6M5TUwo9KNKgWaCWkK2a25HBn5GIjt+99S73kYupPQd+J5amNS3jUCY8MkmMU6AnqTLLMp5N0uOIWXzYwzVx4wUTh9Iuaj2ybjMG89qvEC2/m9Tmzv6F6kl52Vh/qG8zh9sNgep/SLwBT3DYN+fz4Fmt1CpNlXkecQ0hcjzOOtMqyqbQVtQTv1NwKN+CRZ2QDa/ujw+ENAwQxo5YothBs91TA79w==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08968CDCCD0610FE011887BBC05520CE920228B89501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: adcb45d9265ebf937a0bb5704d20b311\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TFVZnt+qgCdcX4k70ByhCW+H2ozN5euRm1nYDnFHauywmZXhh0GJ+E4f+ZZ336a7ZUVBL3+DgQ7s2ybqYYgEw+eefjClofedf2+djjGrSNeBbGKart/ZEbttZgK2hYC/WB6M11DoMhzhkEcvrXwhZSH29ijirWDjKZyTDUZcwruSxKw/o7I1ZAqos7E0Nx4rNm6APFoFql61pOuRUPb8A3bTrMgA2Er7LezNVXGV4wk9L9l/jt8zQmjhfXqLW/rRkWSXPxE4lp7xVK0hZc6vbJJq8ItLUVxFRdV08T2g6pxRp11u5DPbyfVXpMJubVmYpvSj8W5YPnBCWZcxqCEoaw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602326\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:46+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031608870906?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BCGvNZjSDPekFlBTD2dCe7yVQdd9QPKf\",timestamp=\"1773602326\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CqcklGO2Nnn8lPbP87Qsw3hoHiaQ60AgNyvtwI+Z8EyHul9gmwSU4FV91Gcq6aDUyRwtt/M4qMXV+RlFTmnV2g7wyzABc99rGwUED+6GtE2ytkbS8SHjGmksW5E0olY/kJlUz5hJn6ePm1/IAdeH0GCRl5kUIIEv/vlEMaxrzE2JL4RJ2p6aHGxiG/1ESRdjtV12Zzfe1C5CYUEvQtBmetcaEl8SmgR+yzOMRCCo8pxmAMEP1fsr05qe2A3ywqQFo/+7SvhLC56mS6zawvGcZfZDFkGXYHIJoHKYW/1va5PLAmk/ZDGGPF+pcGh7WCeyUIbGePDmnyrMq82SPMpmXg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:46+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:46 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08968CDCCD0610FB0418D794DD5C20AC940E28F7F805-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7c9c173ead4b71f4f77b61266c86ae7d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OhtmtQij6xYksP3VtAyS1IYougbEifM28oiA76Mxyrn5AxEM6VKW1/XL+zLmNL96Px2z8wD6bKCyFU5o5qr64PdGsKDparecU/VU7jPfsCJnC9j6gdKXoGLnXLiWWDiWTDFju5oIfLxjWVdzxnCbvW81PjRItZLv6PpUPusGGnPMxp0z46UULYGs/wHvixOyzU7bud7Uf9dJXGpHVfimwy6n9XpyOSYC11eVKWQrMsJLb5Z2P/uXYzqEb4rcGjxFv7sY6D+vHO2ToaU6Q9D05s8szdJlHIzTZF6CMytQ6G7cvclS0VOp/aOZNDHMVA+ypj3LwMAiKuAzE1477aLuBg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602326\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031608972541?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"gMP5FfciEnVTyr19zNGAUW8phyC0aKvu\",timestamp=\"1773602326\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"oo9pmABeqgRRnbvPLjjEg669kjjGah0KNOnRgHxIBrD/pFQo79RMFN3AzWjx3mb+ak/Vkawsfl8315ceZHAycpunXCwuxajhSdkF05grvK63uG3JG384EVDvBV6ivLWUZZy1uif4qSgS5zdJJVFK2RP87eJBI0g75SsPK0Kkr868NGAoAPBFbIU/jV1SkHKaXUp1z4eTeQXiXH29QmfGvX8L/EwHAuDW4QGXORe/ekeoGdCe6awKcB6ur6MkhWQy/zY6A42Gc2OHGTwpXV1tiKV0en2RIdAWnziPh6zYBExNdZCvIs6MP1WiQxb5IvwEhwlRjlfv7gn+RhzsfOZfiQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08978CDCCD06100218D0B1F8AF0120BC7428D8B104-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b0aeedc0574c7add37b19c2c9c519eab\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DDPRjjMVSAmPJ8XnCJNA3WZl5qnBsQodlI3BQBdhB1RIM6auDUJBrbXyYzn8BPLM5ZxkUo0dAnDYzggbPspYu8s1mM332S403Hvkc8nlYwKHW+87mEkSvVpfsT+EBIHAGSAa5r/Y1Ts+bHkA6PlqsNU8qpV55xA1stIjg/duK6uNpvvi4oOPYrYm/gQiYuGQ3Bkj1hpZ4Unq8bqnidoiHW/X1yza3Kx6bKJUkJaZBOwX/K6pwHGUliCph5hIySdHTTpg6Q4adkN8aR7SWFPZtPFx9G1mbPKyVx/S1XHvAUM5RAinseRL+bHqwK+Dxcii1rCr10QMtS+LiKLJfJ+hHg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602327\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031608682890?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8zRMcbZRFdB3waw70fB19wIQk8oONqDh\",timestamp=\"1773602327\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XGer2nST6G3cHsjYGiLSxXcI4d7sbPZSKqv/ZkPfi906b8YH4QExiKatFgCwAYNFCFkHQZ7kvSCw5pyYSS1gT4s/uDJQdpoM799EdEcx5UPf9d3ODRXHBmt6JEzMlKHUFjWkgcN48yvyeaVYCPdj4OpxE4vd9JGBWuyobaIjZGnnbhxkyKiCsVJW3pCFkEMbBILNahEckOWb7aTY6MVP/M7t2KVi1bAeymnIlfwlEi+0ARp00hKizPWzy8/ELmdrKALr88X14K/m4VIzRqKPIwPtm6OABoPOLlQvDTH7xqqAG/RYw72LtSQFfSNZUskGJiEHQzvDCo1ZSxz705vRug==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08978CDCCD0610FE0218EDCEC6AF0120BAE42028C46-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 85de28b2aaf7ae48fe53914334b6a610\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: I+WngBVpYqFn5v5+ANxrq9gRYD/9BZxJ86PyIuuvWBsNEuaVntk3l/AS/TUIBsjwHOLD35dw2an+c9VMG7KW85lF0ds/BWoV/iZ7V0NbZZUC1WU2kh3B1UJfxsZ3WrazhWU00AxNfR53xsgJItD/hwkLRwVCcxmNp8bsebsEH7IduS4u8CUQRO8Phlmb34WNpMkDoWTLm6IX3KF/mX98kvWIBIvScXkclP0IibTWjgsz5ky0fqvdyTmxqppc/8HFrG771kx3X6oRh+7xjU63tSoK0qJvJUBezBNyK8VqbGoVI4FM9Z5JPzd4iN8nauOOqxRhIVwi91I1VyOEsQhd0w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602327\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:47+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031609741645?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6RbTkQmRFy2LOh3SKkR1njNWMptljlg3\",timestamp=\"1773602327\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HQ21k4tRg/2ZG1PMkA65k7CGc5/mcxpwGuSReq54RUeiJ7IU2s9GAgHAC5+ZjYOmtPXLSdHw/4anHPcw7yVEE0Fo8WY//CJHCt4Ux+UA87eYZHw5aZVP2Ic7dOrvO6pvVbmz0Vrcs3V7H3CNLcClQAVXQR2tADhID7oJ++1lk8l/zPiRPVrrNzszHHob5/09X4Vovat4uNUYuuXxFMyRiVZvgwDIREvw2tW5Lla17AAOpnpgLm1NNaOQ0MbrTU06LmvrSVZEFDEY/rd+KQBFMDBj69EwRuy6106mrw4Hu0R9pBnh3AATud6qXJ807wlbSHblV0y3X5Qi5aBRjj/1sA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:47+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:47 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08978CDCCD0610820618D681ECAE0120B0EF0D28809D03-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 036046b3bf94ba328b4cbd8be923338b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jOtkNBnWNSvYe8lqo1USsl5b7WEiUu6WiVcdphLiWsh05Evt/ZI0Bge2R4vYzW51wEmTosFsL1EM1kuvbWDKw32Wk5cKrouwuGgSLgWlxIVGhhIaH/fkYNdnk9NPJZ2oEs1wh1HI7AEyJceLb8NU7Xdz5lZ8zr3QirRCs92KJysEn7wOhEjVuzM2QNR7scFTHQKkLofEvY5TlRrMeCawrLrK9v5f4LjUc+Rbeap4cr0/87YRVG+f3JPV2iECsLto3db94rV1m0ZLWmxVroOe6CYgiIByTAyiub1AEtJcc+fEccAAcOQT5Ifi8wmTJMOIkgSZR1epFTlMfaGAJIuCvw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602327\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031609962288?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qPq2GzNO6Ht6URwnZ5qxb4zl9Kn1t4jw\",timestamp=\"1773602328\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WJGfKJK2ird5itudKfI1d098Ab2gkgCpQhJ9MRIxwTaHtthsWGy+ET5yZ8Fs53/MCV1yDwb9f2RoiZTMtJHibyQDW8UAjtCUancgKG+JWBXeJ+mo/2zMT7pbihENZLiNxXu3esH05eZ9lwtGJKj8DJ2IuYnr2WcAbeylYEkTvPD6PlVbCIvGg+XL9jNeWD3iM6mJZuVL/gSFxl0+RWFz76az4zTdXWtX870MmdwpfFCOvFrK1Hu2PnWPYONgiy9CTMU+GF4g8aNEGjElH4R48OYxSDsWQlDPqjtQdsf4WJcbkNXkvr3Op6SW1TldjUNI5VtkowGu58NwvTZTU/THFQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08988CDCCD0610AC0118F281ECAE0120EEF82A28F4B802-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7e9a51c818fc581d177fca71ce3a9603\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HwgwLbfA8NBaNuddBKZAzjRvIru9i2N4KR0Shv6yyQ4ngj/vCPmRJfIpsZ6SCvcXJhuiajuzabXXQ6KHKd+K0Sc7Lq+PfT5C/GfyrCw6qgO1Pr0QKm/byS7E+h0413XPtnnFgrjp8kDsslKe1ME9kMGva2t+6cN0gIU0ZjPb3kPOWilIiJ7TW6JSnFRd9l0o+AP4CHQurZOBq3px5Oft6oqw6zWf0FJptD3Bm857q2vJ5yTu1JlMX9JyO9lVQDt3Sex3+iaUbAyXmfmOJuBR2WLRFu0alYqXW7t28Vgry6GE6hqoVg3lKXXfi2Qz5NVcaoLss/PJ2rPm0vSQeaoPvw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602328\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:48+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031609792233?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lSHNyyQrr3tv2GWtESbG2Y55u7J2hg45\",timestamp=\"1773602328\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WKhFE9lCasSZiV00mO2IcxbmEAS6rHN6KxaQZAEKJEwOPTOrJ6+TXFhjr7iJV7lrk2nbiVH066jucK2t2tb2Zm594ZadSgkh+hFDamJ1XIPpNmfKsWSOkB6wdeYlKpRxfRhjXOy+bdyNAhckUbbOmyLi61wN1wDUQMVPsn+acQm7oOCVQTsjDVLfOAtXt4PPN5Lw5mS6qVpB3xO2O+2m0dGl0zkCl37QRy+4DrEwCH+HoRcf+/wFjA2nZoHQ5VQQmiyJigu5CfGb7qXn0RC9qMbZMkcLd+vOeZ5LPYypVzf1Jolj2wz4hOoKxxRrkXEuedDwl2xi3CC5EHYMxZetHA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:48+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:48 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08988CDCCD0610D604188CAAC05520C0CF2928F3B302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 406be2221668a4f88d9b9525c0f66480\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Njw6hQKKX3lJQ5gB5vf6+7g10QrD28bqSVZ1hOrAN/GVbb9pRGGaI35oCWwr4MxQsZ+rhSYeUBbuhp3zTPTLnUFVWCZIejGXFwIZ+iIR49iYt32/DUiEEfYsF7TrM6RmDitkbXLavObwKlIALOzUNfvuVufI/cM03SBTZCXwtO+tSa7WhZd4GwZEn62oJ9zoD2O5BpqBEEBoSjBS545C3RgagTmffJm5n0IxhAt72T1L8TE8TqQE2C4SqSYGS9aQ+5Id31Gjl8d77EVZ1SqOH9R8/DuFV/GKICbTTenBayvaZBk3IhAkE4BEVQsS5iXH1pMDbVyizFwahuNQ5sgkOw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602328\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031609075590?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"GgWLuUXGNQ77c6P459EKfGOPd2EiRRpc\",timestamp=\"1773602328\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uFhr7zQwUfe0bzl2hMMjqrZZw7YmzKMfTkwHpVWYNxjSMHSQy4VwuUQPL93krCUbvQlSsEirymfMoCddNFUvbUEf1Q3FGLRKSzdlFvafLVk8jZOdwCWbfGbvslxdsBYzA7faaGcUV+7Hki+eIUdz+CjTDx7PSOotEQYO+A+2+iMJC8Q/XZG5FL5sk8UCr4lu974iT+BRE7xRJf7z/gi7/Rff3KnAZs0YuPx9OikNxSt2cJ1dZEjLiyiEAYyL2WXnUYRa5mU9VlxqDxGxwOXJFhIrOCTsZV1itUsXPsGBjPM9HyYoteJ6FgbdWK5tTPpuArU3DZ1MMXyeqWJ8TH4baA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08988CDCCD0610DC0718FCC5C05520C0F60128F2EB01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b427a780d6b2b373a241f0d338bce959\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: O4QQ4yNdrn4UT6De93Lc2eX/HeGaF78PMK3TneI1QSm8y4Daf3jsgii8ZrM4QAoAiL2g8hqmCjaGqbL0f6IiLQNs+XkrrbNRy54NUu/WJprAmQrQ9y8LzQ0wuHHjlWQnLL5kU30jvxNi50P7LPW/my6NpU2H0m0+qa2cRnWONjYM81/kVkBzEenjo+WbL+QWb3Y/0l/Y/MpQPkHk2EvzL/eXkwFkc/vOyAB7xaqPgTGCP/BNPlWJMKVmVYN4lxRAabYZmRI8SJwjMa9nAJh3GInns7zDBUmQEHpNqLTfGl70Z/o9eZhDVJ11zLHboMvJPQvqSb+YMokb8kBoYH6WBQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602329\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031609109026?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bpi4PW5fXEplJ5OP50uVzfwzhyIMgoQf\",timestamp=\"1773602329\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Gt3hllfaF7l3pzaBGEVogC5b7zyRlQOPy5WonT1usFZ+e5cCHbg3Vu4YEoZScWW7rnkoEpAp7V755xjN0vv0C123+BbLxQj/UTnL5ebGAWvcvx9/5u42mxNKsSvg+cqXeD6aDHQ3XWRvFS75S4/Ii1KosuFfLG4+Yyin6A3ake1hIwozTPhUOGidLoQ7jdJPwWSvfa/nZPt85z95v/qASi4J8StMnI56HozxxY5STFAv1sIaejLvTG7rcqKL6/7X21EDck5KUmqdC/acHmuxsSTaFu1HlZ5hp2YsY4Zx/iqko6zPHJ7sbPttFHpITgu/26syiLR27ASIS7UL+3KXcw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08998CDCCD06108F0318ECB2F8AF01208E951928B176-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 6619d8a8c55b64791a39208f1a05359a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BTGz/CZvb9keBJ1nluosbEF3PJJnky+MLcOQKMdmRmlURreNX2PHdX3YUxSsYyik3vBBRb5FPMqzoLxt5wOstNHxQKQCs3BpWs4mQbOY3vw9QikDPmiJBtqi8dwpnftJj94oHUJoZxBkkZ5uHqzZCDSXTE7OreEkU/zmmG2ZXrK4X5Cw0Me02fWiwPvRo9Tcnw/dFphSW49AV+8JGGG0uIz6mkNpmiU6wenKYNn9Y+OhoQ4vfGcXXDKQFg72gapE4yWEhTxigh2wSE3RttosWgDhEw60be/zFSCBjBFqkhNxPfpZz3NieY9U7ruvws638hVQAYDstOIncZZ2OHcwSw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602329\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:49+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031610518775?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"i0Fje47qsvQFKBtPpoEeiwwLdZDJyC2V\",timestamp=\"1773602329\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Hg3ePzYQ4Jr8xdnedfQ1Ic2wBDPuUEEBsKo/I4bjdlQJx3bZh5PTAmRzJ3Np9kJiIPl5i+wNTR23t90T/joY/n9OJiXQM8dy4ZerOQ3zEhfDTJJX0QHjOpntjkmaPvz3EPe4c4ihoFIh33fg/Nq64YN0vQMzRoolNO8f1KXmaUDIdjRTQ8yPx1rtd4P2ctqPSqQDxIvDkcNXdBFVEGr6Y29+iSlP3akerInV/6zKJx6ulzwxttssRgDcTfbkU2XUFacg4EKrwjxnz9mT9ZDDum2JeY8pCadcwr3JNb9zi2pMNEpWe1RT0b2dFuVbmGTMLT2xr1mWJ5aSBkh73FAjEw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:49+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:49 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08998CDCCD0610B60618D794DD5C209AD411289D67-268512771\r\nServer: nginx\r\nWechatpay-Nonce: faa2cc1f7f8d4d03e2d83f55e064cce3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sLxGOS4CYmOXH7nThIb85rxLQyYiz8TrILN8FFgpBV/qLpy5FHf0Ub1aKY+SNjYrItDYDjUQ2Fevv83569pV2I/cmxKDVeO6JhCC1W2qmhLlc2/cGS4omoRhh7eB0c8vs2S4KxgAhycEnQxIT758Zwol7HR0rAG6Q/FU+PKiSY9vc9ZQi/XDuwlYY7rZ2LsElS0gqez7PBZIKhASO1Hj6Z1cBmZOeBFaA+4qYIAJiTPppwQv/tI3r5QsP/J0DB1Y8Jo7M4xgmeMtQdTuKyhinG1uxS4isb/MllueRgmtSbWJbihzjOg+EcCEAOZ3n6plTYum6PnApCTVqWT6ajttFg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602329\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031610354322?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"R0JuhGBaHSAEPNzm0YvuGihaHs3WQwX6\",timestamp=\"1773602330\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WN4Q0UhjF2FdP7l7MRka+TcAMOU9gVx2kCNeCc/Kfu8bZdqhuuxaFG6FEY29L9I0MnNVIVPhDKkttGENnFdjtqWHlTMu8xv1i4FAF3YdraRCnmipgJPryRxTHquXpGuAstWozyjsGdgzVLgU+WKDm2/8Si19vTFEz6HWnfGJ6dQtRHwaenjHUCH0eRrkLdFFhYMsl3RYKRVpzEQH8agyjQElP+AOr/lW1F3wsu0+oNhoJCRPLZ7VpPt0/c66OMT3HYv1DdnYNeHrMg080aK0ZOceVBNrI3ORulmazh5NoWjlbPjiOXU2R2j20c3e8DKaRCYnoG0zlIzwd2mwfWavxg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089A8CDCCD0610CD011882E6F8AF0120CEDB2228DC7F-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7d38491553b0b6c0cdfddbfd44f6e2b7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mI1IY41FDU9auBS6I++P7dMer69eDBBynKmooMzWDOPraU83KMcuC+dTgAc3Ukvb1bXZxwEBLEO8dB/n2gXt8rmH4pphvhhfnk7lWhMpt9c7YY6wvAy35gJrlICWeUsSjXY1eE+7ThOhsY44pp2sbL8ZPQ1ThUG7H2wofsiKc07PogEPAAdLhZVxuaFit643EfpVSrpHrpvzQ32NsyuOI27k2EGw2CQXPVqavRtR1ueRl306ATTPkdcXIIMti4SoCj6OvcV8Nz0accpBnStBhz6dxZIgP3xg5d4PgsRTVIFmH7adfPvxdrPZnvxi9jKnEfwXFzsIByJZ1e4qYklzdQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602330\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:50+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639892242?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WrXGFIHAOKbXEDHiXcMqnynQcKChoV5I\",timestamp=\"1773602330\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WRl5Mvf7s2KESGr2dVLVKH78GyCte62bO70z8hcqXgMRTlNe1ja3S0AQIAKktMQs93omCM0lSD3YXPs6x4v1t/EsKFmaca4i1l3iGDp/I4r8m9aMAj/7E3WlTlqBSHC3iI1mEqGehKnoiZEsNqmM977EA5rI67Sr4uyVbZcVARFEQMrNuM9WilwDFRkb1B6TFlGNnbyKa4JJg2Diql6HrwgQyxUXGNU+Q7rUUydhyzvGoM1og4MrIl1AAYibuX4vzbN9GkDIsLM4OzUh1gWWRYNdIXKwaH6wpAt0sOE5wQAPGcLY2AkEPvQAsgVv6UPdWtBsoP31oqZ3ZaDuOScUOw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:50+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:50 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089A8CDCCD0610A60518A181ECAE0120FC822728E105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 89e90ddd9d951811171a74ab70a6945a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: E0MPWmelvcPmUccoq+5BfbkbocjedA/iEo67EDttgFjzFJAySmzxLJyQE/t0DYPcWK0gjR1ayrwDTYoyR/epbOF735uHlTgfjEICcmnpfBvvhGLqFeGO+Yioq4FCWGI56KFGPUrsK6TudjVojr0XE6sRctLYT55Qar5UABpiGtOhkv91mj3vtQhvxyZRREXXuCrZmugVL6Z96OWGcrl1mNTj1ZG3SlkaO2Z8xDqtek++zvNTppo7ATkrIL7O1YMZ3Y/pYN5pVehT0wKLYjwva/ZWlUj0nvIL04Ro5+xuKkI3xhhwMOrqMyCZHvToDl9SzZz86Q3eXlnWbHxWBPGyig==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602330\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639677736?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EMUjtR6oa0FYmJWSbFRk1RJB3eZ8Df0E\",timestamp=\"1773602330\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DYovmvneVpgKcR8zx2to7c0TngdfBjX1FFsPa4Gi9EDsdou2q85l9MCTdsal+rRRv7TlkWBg5UcTICAH3xunc+1dkiYTyjP3oVbioa8fcep5CNqpBywL/hGPK/3dgvtV6zFc8lYHeSIWmsielinUAhA6+rOpVCXLZdg0sYKM2oNlEGJlZ0sXWyOI/B8ok0zD94gfP83GkIuTFdwqIdp3FxM+VrWQakGn2gvP8HpFL8pH0ijp856jQaSrs+kZNXsd3rZAD7Jtirxab4dIP2GXwYXF8ZpWyf9FJDYMDbNA4zLG+npNQv+DtcK3KcJVWAEJhvsPddm7GR2I9TIzKm2V7Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089B8CDCCD06103D18A699F5AF0120B8FA0B289FAF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9c1fc3cbbdb8a4394dae00b89077fe7c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: S9Ycrnt50wY6jEODIjBAX2FHatwG39YnViwf7cnlhVzjR7Ien42je0RLWBNeFUnvDMKWF81pdieNi1xE/rw697MzA3ufbpEOVya0FqQKHtAUEecoBRyXJldhRycBdKQjrx/ml5A0sPTyy8kGVnK3nzB7j77fCr9Xj4hUVUff1G7/xiE01JMnYgA6LvvT86rOppj5B4D/mHGX4yt9NwrQGgArKxzMUZH8VsurDmYa2H9ip/K4R2VytD/55jwAMOq67uw8JprXH1TfWdBL/H39hJK0xbWv7aILib6iB1LID/XcA47E+EpFp6Q4GEdRKgqsBXeEWFfrJwKBfofO9abIzg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602331\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639313013?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Dt14d0xSajIsIA5Xxydo0ThhfUfOiMif\",timestamp=\"1773602331\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Rnz1NBsRtYnN/KARaFDWcqYyTVpCLCDFWXe9pPkxXzcnX+q7LdHR/0It5ARIFaxi95VZF0JD/0LhSpmM4kfC4Dkeqq+xsBg0fGDtaSnZOroooM9fE7BTYiqJi9kozU56RJXljeyqaRJiPii3doQcYc45O1mOPfs9Wrs1F/I/7M5Hv0ADP2md+c4+Wk8ojZnATbV6Ak5rlfIngFQriuMxKNQ4o7GduBJwEyVARpnKCjsW5s5ovkRLbUc4XpbSGvght6+wseZVxObM4jvsbAA5kv0jjYsvz7Q7aG1rOPwVQY6Ds0BfR8CZZy8i8UwB+ZbEouNvYRRIlas9+hZFbziq+w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089B8CDCCD0610D3031899C8C05520C0E90128FD9905-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 202f60f82bd6ccf47167b84a88a29468\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Lm1qeYqs/xr1mzoobRD6Qlau4RaHhU1jVQypKOYkAskABQfaDevymBBi+6OvsfVVESwgvQwEsExPSpbBmqeOdRf1bv3vVOi9wXuogesPLiIOzYak8YIh5VTv9FjJXlTvj3M7qlrLoXJ+ZrfHEcOFaP/GN2sVjoFXHlVqhDpifglIanU/53Iwkyvo9JF5uUkJHWu75lZGmG1FIbZaxpyXPvyRyPHrSFU349xX58ZX4TAzmwG3it8A7max5MyogLRLp9D7ZqSWYvdz9qqO2Y1yCvjFD1Z0HE9PuBRTHOSBp5K8ZtAa5rP/aMSRqIMd9SJUvc2veAJzmVIw/fpPQ7ci7Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602331\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:51+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639418285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"siiJU5dvF5xsNeQP5LfS8oGLLuXto6Kg\",timestamp=\"1773602331\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"146eLloPXjFRz1asxQTf4BxvUPspXI3EyQBwBUv4wrGw9nTsVqbVH8zmey7n/VSOVVeBogPCjYqGAmPQ0e4q361cxFfr5YtC/hl2pZV5WReMcEmbJ2Xf71ZI/XKlFvpQKVyMYBDMwjuBR63AOpHk9aBGqkbcLYJbD/GO5WI93/GTGlmDxlu+RHFvfKV2pLAC56mP2x55w/GiMgSVP69aF5YRfzLVK5l3FLtzKJbPVimWol8LA6+JXxCfE5yP0EUVfp55gu2RkIZ0ZGyzfDDfHPvJsa9Qf5c67wbNmHfeYXX9wyMzL19BSIMDufM0AeTTHnKhKcySs1JGlnybPvg0Qg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:51+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:51 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089B8CDCCD0610CE061894C58C5820F8FF4328C6B405-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c43a16b95e728d9b963c9684ea76fa79\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QZgsEzCDph4TjiBl/hjxwregvo+SUPJa2oggre4ZDY2pFL+xEDktZn1+mdaHmLy5feFePsZ7ALYUMjqruDGBO53lntBlJKgDF+VOcF+G/W+4JO8mWzyP/ijE5DuYbSM6lyAiAeT5OvnQeZfKTuwpogrD9q2itpd2LSPKhZkqRIrIUbdE2hvQetz0hZJhizQRpj+GGqZjQ6ZK4yvmJUNumlIYegYuE9veb5GpUj+if+x/3gjUNAz1lohxwRS1ScC+Kpi/tDakA0tvWXFUj1lJe7xXQpBrZqsBHSTBM+S8kyfK7OZZ79nV86mtaFeqe7W/bgUvlQ/HZoGo4DmqEh5FKw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602331\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639414072?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xG1Bh5h1UugGhepW3vr52VR16QyUbb6x\",timestamp=\"1773602332\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Dso43xRQrZKUY5cFAP9kcrv4ZAub7QHrYdISLYHC8neljQw0m7Fq23dq2bvftpVjP7qCjakS3w7onWYt6YiQ9xXh5tYpysxRrrJz5EEst6v8OFId8SuXEcPDLz0+HfRpss2E0LgZyx8mI0bkQl15LfwjjzF38TuPHxy+yPOLl8baXZIL+BBVjRk04aTN5UUGfEoeBVCTRGdnDpbjhgEIoQFrvxpzVnBw5Yj5mIXZdsmjIL3t6rfmVRUA08oN/kBMV8rmPa8MglN1QQEUxNAfKzkQL+MkM1P13XFV5glbBVk4N5AHc17FcfiQ4lelVo2HqwKuGgQL1zuj2/qyTUV2LA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089C8CDCCD0610840418CFE7F8AF0120B6AA2D28D79501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 91e41ec4fc66c59f88fe0f4e4cb28886\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: G9hwvJ/MtGQXaKBAUUGMY4QL4osLk37ei3P11X4wTJYcLVfrlrEAsnEeIv4yjtGYbYXyQNXLKzFkEVXM3jcPBcT32/0YW2fksGkCrZauQB+8TMV51JQhSeom+98mBPYv0wHKeAFkwlYo/7BAc0m3IzcvMatvmgGZGFsysbXCQQNx9KwHBLRtkesq1+mD7x/ZG5wFv/VX/U1v9D5CSh30stBI/YbLhFc4f3S/3SSLNBiCLGnnIR8ufGSPqW3QOqNSLWaYaUQ/dMXeLLI2e+u81H95j4Q3x+iPfRLOooYSk4PMv0oY5TrWSCthKnXEEYG8MtD3NaSP1tfU0p9YJR2hAA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602332\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639929794?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5nQzehRu3NhrH5twpWyLiR5m4wYXMNXm\",timestamp=\"1773602332\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Q5/o2/Ki0OEEEU92tAOGvDIjLWbl/FNGZZQCewEuAW4V3UGkBsnGofIO2z9ybC87PnX++IrtS5NFrkyayWwo54wWJbGjaM+lQPTjgRUnPF7J4E1dvpUMdXHhRBgrqxI1La6OWLZPXwIkdY4dn6Xz6/RkfNA7wmM8VzEuWlnuI40QXX3ov63B3n3b5MfEbbW0zLLe2B4Dbzb1hDBm3CW8YzwoRtOEGy3Qk4thWN6Uv+lbZ4BITYKNh90yxSqjF6hNj2JfMuvtKnon9zHalTU6gE6GVjL0vPZNObwZWz6CUhkyFwNGIGZmIYedlPjW54ONIF4m1gnv/wxAfxP5glYW9g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089D8CDCCD0610011891D38C5820ACFC3B28C9B402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2c603227c5aac471dbe84580d44db3f7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kbf3e5vFB9WAIfWcG8RmtwWsNq6eT/pnHdIi2mleWuN9BpUxI8aTTImA3+tVZR2Ms2f1nTDzY9v8qlbosIHnsWoEhEEV8GpdG4d5hCpz3wxLo/jNnl8pHgmrY7iSrHiDu7QPBG2ImxQcwZWaYssdKN+0mOEVq4gXCRTxMUp5HFhdpk6Eyh69c5KrnJnv3rspGAESgtwRaTmMWNxgTWunW+LNl22dlHcOvJoLdosdK2znLMDqQ6L27KCBz4VhMxhYC5pLmENCz2fcZgG/qoH1lr9JoYcXQSiheDXiZO9j2Rz3d2qY3wFYXcLjkaj9S/wflA+oE7M6eHStpmEFaFxjdg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602333\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639244624?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8I1JEMmkxwNMzzLv7mtARlblfFpAKC9W\",timestamp=\"1773602333\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"z3R3vwR7QUXZUdBsJxnIW709DsPuxVD5p8UsI/hnDEURPJEJXXVfcY+yVzE3PBJutD2t+IfVkdRd5ZSbvUUR2hUEZQUfPTSm1q88207lzCUPsSjTvX5sdGVsZYm9uqjJC5zVh1uyKdVwnuXKpg5SObPOoTuwdwTOgQoBL4YRAyxSIAjMBRlnDlQ1/B+l95jrHPRZuzusPpale/G/4CD4mz9rHO0gcabjPoR7r5nI5A+Su4V3tG9gyIxk5Ujs9wb8v0HXW21+N1Te8BhDT/YVNwV5SPjacK3KULCeOWxMf8xSl9p55qxeVUlDbxrWgWBMAuVRy47H2IMZh5IWEPxbBw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089D8CDCCD06108C0318C4A9C05520B0B60228B75A-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 7b2b62bbd2978f3eefb0417a38603d7b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bcLXYtW8JC1CfL35JULJ+oDaG7LL/cR09KOOzw3M97pEWnmqq6n2Ow+McWpzoMukwKY9YaZG1yp1c0TzQdcE4aTwrtnOE49ko997+L5CWh6Ln1elOv1nVneMm7GOlzW9d7pYx7JfcOz176CMnjWuT/A6sGmzBJ7GUjwBoNZFcgBfIKxtS6VPzQFJIjy6cyOvXfh2mkNx3nRMOfUSY/bz+AM6qsTPipDwN8n8jPbsNMGl27T1Hzg6BnuYb6UBA1jzBxClf3ve22yvN8TOC5ePJ8SvWDHZURrZ9qgiB9DpiSMEB8XeREIJ6JbBWDJWw/eIQKWgnk8fFdZvSWBniXO+gA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602333\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639680373?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xOZn4YVyDDXW12IHqB75t4ihy4LXpodF\",timestamp=\"1773602333\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eXMoGgxWThJfFwO1xAwFfGVvqmcSWVGWDQQxeL5TiTLcFcOThCv5QFspr9KMUfi7b3RJILnW0MYVsjPo6WZWmxp/fHkj6ZpOPPY/mk0orjW3mSVghaF8Ak+fd7vXfyk964pbPVCAn3YY9vZxXhftpCVP4o1osOE3F/PrmUGfl0HTfWkLHnvyIQEwecVd98z8HQ+o/0Ck/UTBKDc7Sr++MEggkkcs/IfJ3peJ1q1/VnpIIYKA/dOR35osaEoOIXnuDifjY83rxyeDgAa9YyUY+9Pq8gOWMCkHJ51aZmOfMzX6r2VP3eCE815rmVtI+9/g+maVaRNVAdCbSfj/ZhRc3A==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089D8CDCCD06109B0618A3D2DD5C20ECCC0C28D6BB01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c44e225f414656ba2a928afbdbb8fb44\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AShXKtNB/MFcKq2kGfMf82+Hbu1yia+Oosg6JARmRP0q6gztCvKi1gPP3D/MSXk3ArcFJQK70FGg/SPPWLmrfSBaIorqkgehV3m7Z0L+pbNdGjrT1NM5xnLM7HbJGg7XPA1NBz/mXLiwcJDwcHeHE0Bk6w0/dKkE26d7EGWeAua7UH/RSN58UBflHuD6L8j3lwIpgnt+o5alYrBiVTbljvPVz8SvLNDYpEmlt1foCnjIybKKmE/MIeT8aeQ7w9xQUhPe6Gls4g3GuWiHZDMZUfgiWsXx4l+tXxi+kghidEh8uqaxSHpilwCpezzAHtGm2ebeQo8RRxxsPuL60jRakA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602333\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639420593?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"oUiEY4SEnUk96yzyBEZWg1eQFKPSfQTX\",timestamp=\"1773602334\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YUq7oOJrdsHizZ/jNBgI0msK00ASM7Gpmv8S5am8jM/GIallpvoH1b+MRHn9QlblpMTEukLhUcxyCK00MK8H67SY0vOFiArUMrrc7NQx5lCbD03d1Ye3lw+/jK8w37dZxcpEvGyMJYI/MXECUeQmHcdfPEMIK5JealrHTzdpFGdTftLguRroZgPfcMZzIwuXEE0YFdQS0ODZenUUPEG6QWFU4JUbGbTPDhNJpq3u2uIrTqKXGLv+X2nMLH/DoJ56iVkOS+ZBeUWDYZ0+AUgj2k+NUU8r1R7TgknkyrT8WwVRdAn3AT4oRkdzKP3RIM5ciq89hlkfHoHKekGI1xFgUw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089E8CDCCD0610C80118AAC6C0552090AE3928F2C105-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 91838abae5a45d2c411f14850774716e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SHB1ZQh6XWp1z+XivCdjEERr7J9u8sHwtnqxz+koTjTrruOjag/sHv2qv0di08WwsbpRshhXIKZBmGbk8dfVorJMbMygk84jkuuaSMe1GDtlnl2x1bcS8J82iW42GEYz4l5Yi9XWfmUoYzhNJWXTm6Mih9oiCSgnyAlQEO1KEjAehPK8T1h2BQYWMjIg1KVl7CC/Z3slF4L4BRzJgd9dYtRpNb+ctIHRL2jYyd4xZNYeVQVJ7C1OjgaxIXUbGJb08iYOFelSBvP8xURZxD3D3xBhmEOGWUswHfzjFwuVdl8Gyg4M3jVVUg9ERLWdXkxaraV+59iNVi0uT3CLXNOc8A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602334\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031639818563?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vvJAkPHCqHCYw6yNElmKIFUomyV4LUJC\",timestamp=\"1773602334\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"o5Z/7CmaK0wXWWiAhjTvMrRyDi6pA+5Ub4k9pUWwdBjLH8KpPAIgoHeO3vJM+CvKnJ4U6YjTB75SG/6Mo3uZsZmW1TP8hkbiBgJ42r30IoHpfAGxJ9MvlMkf6xGYIEQL8n2N1rzjKOoipv6AAJLZFl1c3IEWA+IoZgdheCxDfWSB8DbNls9zBoSX5PQ3GnslMOOpra4On62NdKYvRBe8GlBj0YcGKKam6IRzeeva224DMo0NrD1qsyZ85b5HgjMWj/iUT+O6/B4qbKGbymQXDhx9cC3d8XacxQxJzl6ghyKACHvFaIcMlf3A7OakcFM/xv9YGU39rdgaZh4UAg52cA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089E8CDCCD0610E80418D0E7F8AF0120D8A91928F4C705-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 208e4916ac6431679893a36f521c85d1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZQ/FlIMrC2hrNiUyS9KTTri046EMkylnuw4KJvR3oPLBJxW64Z50P7FJV2SFS2KIPimanHkuG6tdqOi7VhR0oyas/o5lEdPUjEUGi/KF0VJ1wgRwr1vugGJDbY+4sR2O89FWvjQZVJsQKvBo8q8hnst1NZ9m4ycVMCrrZtHKhDhCY1UiQmG9pb2DbofFgTEXFBkM6m+GnHP+EA4RTGonlYHRL1ZoOWpQ+K3ZSLsy6og6ZhfaBOUKRp3v5t6bnhWSFOvFdCTHZ8cVyc/dBoyKwdpAPncGYd0Lummk6+1ZN1kIvy2fm8Qvk7LLuEkOMj9twKRPseAvl/M0V9VRcwcKlw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602334\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647076691?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"BybAHCsIBtHKUMSi0NDc6MYZHOdd6Q32\",timestamp=\"1773602334\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Zc27CLa6jv/z0fqV4h2uZj7KJv85kojA1WJ3/q3EmUeoUP3Q5gsPzXgnWLNHMTClhh5JlTBStrH+VIe0EHpsl7CP6Jz/zaDwuBayN5LU2cK3y3LOPwUE2FOKNj50yAuacvJtKDWVivXFHu9s6dmTPHiPKqGGvT1wbiIIYp5g2YDwZenvDuEIM9+sy6mavBTZfXI/sj2M+QpNxAoQZbPVaAfs5TJQ48A1Ltq7Gu8+icWYFNliIbd0LRNvv+Hbs64XUk7xy+YawOu1nsde5ZGglwVyXpR87AobRUl+VQAjPm+dTkb+EjCRnZpPUWWdelI8kqA74t7Rr9efPN84IvhH1Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089E8CDCCD0610DB0718B4CBC05520E4AF2128FDD403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 3cc0be23bfd26410979b1eb786f009f8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: H8Ik4W3uRQQjroCzRG/l3dMp4xvDkIdEBk39g8VLMo0LZ/3bm+9gU00LSX8bFC3LPAcXtraNHy8MeenhIIu8yi1TOcrn8ovFKJfyS6eI+pLX1AiI2D6zh61e0xLQvLQvHNqryjKTMEZtq8Rpko6QlrZrGSe4+nhG79aNjAlsAWnorsBa89QwuaCk9YIDkjUf3sSWNo/AXJCq5YhOHG7TKrz88ZCC4kvnhUL5TyS2tm1SYKqmRbL5S+yq6KTmpnT9GrMfTGnXVBf/0WXpSGnF9OGJJ2ow9bUOkWltk0P9Q/GuZ1XX5/UwrkI8brVT6uSP0p0X3SS5rtWla8it6T+tBw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602335\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647293300?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"af9lzx15SJ4MGUwWjhSoK4Gn7l8KkmWt\",timestamp=\"1773602335\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"m8qqx/COIfchONuI++3JeKZtoK3Ab5GVkwNKxponslGB8YA3tYGpvt7fKgImuqDodPgViNtFJaUxunEm1xyHfXnsID0twlZmytJGqJiY/FYmAoa39etZDy+shjwpfhvTq77SVwVbce5s6FoAPGZzVSJ9+ODdVACft+YBDLiT0kU9LcmmaUUkXqlpOUPsFIlhX9JLmL4rvS93fv2KlhQ2odXv2qAwpWRPOwJ4I/GKrB/dU2IBKlto+KjJ76biQiQhXePXO4nsXF8neqKqyrTLc3YyqGA9YVzeSCQm3yEUrl/X1hTDPIWnp16xQnkf7DBdhh+dExZdhWSXTUSbvS3spw==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089F8CDCCD0610F30218E1D68C5820C89501288CFA04-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f45e9c90c2fa10090b8c5e47d808a113\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cmuB1xvqOOE8NF0U8ZCYJH3MU8z52vDhB/Guzr6A2kTkLQEhYQYd+czUcDcSa1VDOJM0heGMqn9KlwJfcdwIjaT4vNST0KbYV6FYDfKDp2i80o3netjbX0N/kkFD66NWqL0LwysySMgtSwj4Exx951oq73EAh9VxauyLn+1YnaMn5mjotFbUSQvs+l5YpJ0obUJDYCKnLpCMaIWwyW7snjBGPI5mhAONCb7vtvz7JRhLkTiYL7wuG5Qy5glmihWjfwQZrcm0Qs6qCqAcWo2VLa7T5m7gNRZbsu40rpJ4a4hCKcUnMe77nC1kIzKPYPB8Q91axAf9qhuRL5Dp2CCDEA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602335\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647279584?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VCidZKNOXhW2Z19tzIfeY26wS0wXk7ot\",timestamp=\"1773602335\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GEJPeK2YSM8Fjm2+CbhUo5uDXaBoIIH7y521XpX0hD03Q/47RR2YPbVMa1atPQKqZGvHMxaMjHwif9mJ5dxe97+kpj6K85UwMU5r7zPzDb+gF4tYevgVy+0Jziys11aIvIr1yBAHqc6PrabUTrtPb01mmGKnhDOggjgcRBRc93bp68Q8OIY+9VwthheYJ7/JwxHrBdm44kQyfqs6SZuuVavgkFAFjpViGLHvrcvshSnrUbpglc6Xt6jxLdZB2r9NvtRKQfBUODivB2SQJr5EP3UAbe8cq5nUV2uiX2QQDVeevymXPESQp5Nj8fm5/lk0OXcQGWJHbJXbCkYBh4WtSg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 089F8CDCCD0610B20618C38CA85C20F8CD0B288918-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 62114a223051079651ef65306daa6395\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qAGuMt9tpfpmU1zvmpgqqkpA9L2LIS0B0Tp0PFidWztrea9FeG/bUvSieBEhYFM7Oy2Y6Ud4K6Wt/mt0q1evIbH7GwLe9AkCc6r8WLVufNxEusewEG2la40ircIANPGi+623We0x4cse7hr8zo1aJjNYclPvNpwUzkM99JlOwDaSfWf6cTuUv3EGVwhtD7Ce/Doz+C0hG9IWX4zvOnpKJgEqcVAUJuLpW01+VarGhv17LRE5Cm5swPGHXaJ36ZfjNCibJA4VDSJ1xSfcFFZvnO/7j6+Xy4QP5fypYTOwfTb7nl31IodtV6zHZBzAqOwXl0mXMKQg6g4ofFJ/++VW5Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602335\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647216713?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"1nxcYYkqIarVJfqMtGbmZb2cCS2NTzU4\",timestamp=\"1773602336\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"4NNQZ2bkB4hM+A7VDfOffcNxz4UNu6C322f44RT49Mb1izm0WlJCbVJMrh69/h15jV9/lrT+t7Z9kec49SUJcBN/9lRlWuSdfUHzDyddejoCR/1wIWoeTyK8tVv4VAIcbfvFY2PGAqEfOrz2gkKeUiL/8+WTtixqjja8fn21qxoslKUmVn5xZ2b1KqV2PCIRrBWVv8LTBdk8C1qbaGbdquIxHyC1MRNGMjuYOrBhDHmjjvGaeMdAL7wGZ5eCmF5cm5atEAz6jMrlim+Tmzmi0jn1ItzKas7jmp3abTFZY2x1zeImx0RIJQ8y3t3T/0Ma+FwhE0DMaCLuUD045I3RhA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A08CDCCD0610DE0118F2E4F8AF01208A930B28C457-268512771\r\nServer: nginx\r\nWechatpay-Nonce: b8f4377653d56322f930763708bdd0d4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JQshHLB4WBbBtlL6XUsY9kbkkld3BtPxd76GBifwCtrXPTxm1w+CnMg5aWfBqTRnG/kWTBH/+BwO/15ugGCmZdo2/psxCosswZYLnGbWezXiFcRtN5atrrmAmIiFPpeKVU5DdD4DzAJ6yGUujS+iVCRE3ckSOhZAsppKjeirNLOHAgFD40wgGeTG0D0c+D3jipHRRQYue1p/tcGaWKV89xH/cfmfH/IHXeIW10huDLQaUgFG1e/3lXT0oVLqk3XngvZvYDhGoASNMi6WItUJERItq8Q6rOhRQ5607w+WKQXcMpEUpWhrTBWG3S6ngISzFyqxPsLeKFnSJjmKv2aLZg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602336\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647223406?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"F5n1RQ0Fccz4n7uAc4BLiJhVlXOr1q6f\",timestamp=\"1773602336\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pb7/aR2ogYVcU7W6C/MAbBccQxcZVegJ/WagRSteTrqgoFjOR+WMNOZNQf2fE0TfGMTRnehpXWzux16unwZRgd/3p20sgFRvX0JdPcAd5VOpgClb2YbBEE3+oF0jtUqKvreHJG7hMkEtEF0osegrDel7dUpicebJFIJ6wA679o2jmQN3/ihSIb0+J5JNye/aqAg7A8Li/wKPmv/0tnsBxyLZ5wY0Z2z4qRwjFg+mgdh3Jep5sUIZ/66bs/DE9UZGBedIdH98b2yYlgHhZdBBNVPtst2bnvLkVD7TTI6bbSlNwbdCcfHQHUMbzfbPzHt6RWyPp6MGMq75srtApTaj/g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A08CDCCD0610F30418EEB1F8AF0120D21A2883F605-268512771\r\nServer: nginx\r\nWechatpay-Nonce: cec33f69f8f404d7fdc3d5a9f1385b3f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PKriM+yK4OPD1jCcLoRQZbfqdNrBOdCv4RmtlAw7bb1hbbSQviJTJEl9Akt44KkKa+SwZMgZ5rswsDTd433uDnjd6LZVw3halX30C7M9o3aLMDbn+K/aG38LrO+VVVTIgFndQJQP3SDZA3zRQzeG/w40Fpm5AooLqx//Zz0UDQZ6qqY8K2qbTEFRmpB0/Ghyyljn3z4YuoIn4/8yObh7Ci9El1oQrmXW+nofHMQ44zEHPhuMSxQo+zUakr+EwSDcmaI8J/TKFQzQLt9Q94xjSKsPuP/Kw59MhBlZ6ABxtw7sGviQUuwXQoVZm99SqW54fWWxeG8HT1oZfgaZHVRvAg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602336\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647882790?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dAkYtyIKKjhUblgMNOVjaNRe4uiXRCog\",timestamp=\"1773602336\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"umOCMqSNMZx5/dHuPGVynB8gcpwJLUyXBCMDtfBMaOb1IaF5DmqtyzoiRWbAE3UXLlB5vlizZcsJK7yNJGd6ZrwGBRoQFzElQB1/yrAl/SLQzXl65btrGY+vro7poqYsF6gW2uXR3/LFNqR9ZzRoMb2U0qp5xMEnZUuJv+Gl/rp1h8M1tKJ0qOyTuleV3e62jOXijOiBJz3RUXglx4Vi2yDbhVeTpxuc+TxrzCe7KP1X15/0GDGOWsh5yD8Ze8nBXB+Sgo1JwpxX1CDR7ZI/OHKM6CIaRZxwQ0XZrwzeUbY55cGhYsz7mf/0dLznsuG0OeQrifWMblI3hZdiWUKiFg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A18CDCCD0610091899DBDD5C20D6F71828ACF801-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 25abc6e2b3c38459e25e0e2e5f62eee1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XyMeLA0+7FI+z0nkmRmMYkmGqDfkTP1sF9xeYsgFdeJ/4rX4Mcn3ElPE3ipa1vypEsGDlfoz0ogXH7V2oifGjqa8cbMpSSfQBEoUxQKt9QSHaBoacbwZ+XtnYt/kQrUZyKYp0WDDYsQGWPFb/q8EkNyD4rG3r7+JAP7gDZX4PNgwUFBo0tzy0pAgKBsby2NjUHE22WWY2DG4k1tf7LLIEVk5paV2p0dsUYewBBDC3ufww6p06upo0vcQgsUXBdVWByleQ97Xlx1VSth9dgpkrLud7XByJn4+KZ5O3aLk89Zxbh0Ttiu37YRIq7k90SU+azgg2Dxy2mXN2srXGk35xg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602337\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647825398?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kpCmW15Fll43ApuSl2l6gevxjvodnrQn\",timestamp=\"1773602337\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PZrHxVbtmlXbjaH9LN57CcyUTY9mgYc7jW/w7raIMTeq3in6+lmXqEDRizMlEBv3CapE8Qr8tV5aySyUWAGiVK0xlKyvPIXqlf0VXW/DDz3R7SfgIB5XWG9P16ZaxAIshWc8RqAv3KUBxVcV0eLGoh7LdBl73LSDmw9iKMtEiXZY3q5yWOSIQOzSrL/7CPBbj59b7SKrB4pHU4CuX5YPbY6YunARdaKU7fY5kH+ZdbXMGT8dZ2zgkii5O7fWZpRqCtwlaTFBoNTEpLxolrun0FWLm115+dV5/W+QkppwN7xzqouuhsVQSCX0Q6vyexv18Fs29gcUGcL2wW8gO4o0iQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A18CDCCD06109B0318B3DB8C5820DCA71728F4B403-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 9850252b6ee0af9a089ad80c463643a8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qAMViOr6fdftTrc4mhvrxBp6dFPp9AT4uscleZu4SvEmHPjA4Qm0wqdcr7sT/Rktn2J4digVBlHKBs64YfFn+K4MU3RaJOJ6W2xiOvKU61W/j9tHs4K60N1lLCtLyPMaW8bzNU/T7bVwi6nk1HnAgASQWhX4+wtSKPt449liNiGG8zrU2/mze5Vu7nCs2VBjvrTIN5DaK3qDxo4lHM2oTat9Id7NSuXvVO+VugQ3ksFjoIvcHPMm3As5wmW27Wx4I0eKnZlcUNvvzNbRto7SEdED5raCJYKmnnz6QDnIIGYKHNcRuPRwJEk+Ss83xBM5xjOUHdf71h9VSTVSKz2rDA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602337\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647193355?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QXMNcuO4JWQZtDRs7skpMLT6l8IpU7os\",timestamp=\"1773602337\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wikssvxdyjIR0uneMX3PY3GiGkvE8y3Qfgbz/8ILt8NokI2POsfs8Ftyg97wnT2uaweEo0uXPX5QbR57qP4PYqCIZeYmhaQSgM+qIJM98uj1krrSnesAlCd5oI74Agy6iFLr6CnvmbK6A3v7wrZ9JdsKUJl53SAV0Z/0L1qzamufVoK7lprlb0h3FdoeVpULj/Mp26Op8A3NhKqc4knn0G3DlWsazBbHQFpzRWs98kQWWrenAxcYr8kxoyyyeBhqMCBLVEw3bacwC49gCB0MwGDdXhkhnifJtjfF7r63TfLRjSHBdDhkxslmk0CAgmS645hSgw+gB1U8EUEpN50YsA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A18CDCCD06108C0618C4C2F8AF0120C2AA062892F402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c9f11dc434fe1b15b29b322eaf410896\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HkZR1P4UDhWBACwmJBX5E40Dm0AlI50fCtQmn1ceoNiINg6B6KiH2KhX6bKW5Hdl6L/GuLQJjbYCjgFq39rSX9rZ3biGHmoMEQO7MI/+mmVwvQghKTEB7P5VfMU9Rlxu2+ZnH7YWKe3B+8EEXGeEWmwVlPws2bk1NJe3RwFjKttAdVZ2FOrlD1yT3q3z+6Q1fdU5g8+PybDME/k97/j64u+gaSHiWN0ke0pr5CxONazZs4UlMGRtCrgxid6pgvSQiv0GlrdQ0tzP1AaF5YphkhWwzurkEftGV07NsVg7PyRNr6xFt/gbXuyhHcpsGjPH4im+ykZe6RtUzDChvPKVrA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602337\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647058246?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EjN3IkXEV5QOayq3gOYPJIgh48FNjHGD\",timestamp=\"1773602338\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ywUniLL3XozmwXhEXANYF72bpU1dzQPkwzKoydZ/VKjsXmcZxJ687WrqPU3LK/VfsioonUzY1BHZz93dJiXUe/K0vwG/HkpWL0Nk0AhtMoGBFIioMyP3IkQIQjJeTdgE8dKWHYKkN4W5brQppsY0KE3a8FMu4lTlFMyGp7/5OGFO6VK3M/AVdVGMBo5N+WWHFI9abZCzLOH7yAT8cgXomI6NO81U0B9rgqUdxcFYQ7y+XFJfC+dbhHFoIY4Br+AcTW4oZyswOzqe79wgKD+rX6Auf9Nvpi3+e1k8cUGNxGxuNEfY8q/NGPqPGvt2WVh6ptV/kgEIspWStk2zM+bidw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A28CDCCD0610A20118E1D68C5820FCEB3928E649-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 18710b183700f4371be0539a1800a6ee\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HPzWZrlpu/j02z9Qe+qmWBBb01RkbedBKs/97eXcRPsnuJh0KSbFmKN08vFEKwzicLneBUrIVCObcq7cOB03YEk3DHeMiK41/1ouL3RPIw4X6Zqtf0Jwagj0cZhFooowdVqZXLZgs11M7bXh5T7my1aPBioghtBvNynLeMgF+YVxmi9kXKQOw0/fwtchp+8xJtCAYFW5SUf4bzohHRYfr5za9IjowzNjX/FlBfrOT3I/N4k2S43PJw+5XZNLiuqbG7YQJ9+UVtKw8togmpfICyvBRdgLzi2vWvGLt+oHURGGofNrZfoBkIi+1Xvha3i5k4drAp/ai2Yb45Y5MQu9Mw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602338\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031647977331?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"phyIuMIXQBVkj65le9k6TaOFNsixE2VP\",timestamp=\"1773602338\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"p9X8lSIAR3H3xADbTN62ghFVTB7OOePGuU/WBtVLlfsR4wcHuLlWZBJiBllEsxznEWoScu31jcRj4V6jezXOpsXXjysm0hnC1/mxWkNsjuS7xpTOftXzoy4/3QM1YCf85cvAK3TZlFtg/wVwQhwtoO9iYkjQyHE+rQmhpcXrxze1w646LF2Hb8cRzkL3vz/pau70vVrsrjAbD9n20Wo/zj75oM7SF3xo+9HHTPwNaWs4w4csro2WypJhwAN2gl8zVPV9/lYHZAkRKb+SpRcdEPqCyXrIQgpyyiOiUSlSEr1Ta9aPOvFjK9mlc4f3INaR7KsbuBkus0n7kinPtrXhBw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A28CDCCD0610AD0418ECB2F8AF0120A28A3B28A8B501-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 81128b56ed7f55673f7ce0369864e0ef\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Pw4mXd1/O3kyl267c3NwYCCMYD48O7jNpBejv/ZVAJ1GoG7XikMjO32RPLCZCLpZsS+5f9NXW5ZWtt9lgzfnkwYV6VNIi/Ck780+bbFtyTj7v9qoBr+zBVhm+jULro39SVZfEJKY53px0rDDHq8V5+06sHqh1JmYU4RQJ85DBR0pRNWAdbdFNCWYr+1ZGEwO+rKWtLB1NQLvi9jJnD/Z8IKCVt9/gPUR26m8hrNAnMNDj3voGL4/VDSkbJnL4p6x7hG2sAV6zcZq7kWCukhoKLTUIJo3heFU3DkrG9oLDIQ4URcfgo76b5txEMVIlfEHlAYIeYhJYy/z0rbOMgBdWA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602338\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031650292379?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"w1uJK6USTLb4MOExPWtBZCr2Jb5j89em\",timestamp=\"1773602338\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pi9MrGXlK0pEoe2s0V+16EOf5tSG99Sdf4hE/+oO6LJXWIAACAxB85hgLhIuJK3aHyiuTgR6j9gKnWjlxEwJBEsQcQDT0K7gn0qjNoxG6Q9ynlw0L5HugWEOYt7tmJtbF/NpRgjTXo065aCf4uFS1MdChZJkEvun7DCihlP/ept4KYxjjYIxJO+9pkSa11mV6199/sEiqpVs17zCewZcQ+GOnQnZGiQn9Jk3PufdZ0Mxg/BxoSNzmunwv25PQUWY3yWGNKTI4jQhVnIoOxSV4nK2hYBZryJ1zadu1/y5IceQl5pvposQXBKxOxNI/zhd0xQXycZMq9Hp+O2iAZpdGg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A28CDCCD0610C10718F7CC8C5820F6E51328BB6F-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c13bf758889ee0470b0c86f296a3e044\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TG+2c0TtmecRwW836dsB4BRV2fG0kEZlbfNvt4ref74XTnXrLKRAQB+mT5C846ddL/E2myINLGAxt8wklI4FuMK7JDsKCZ7FM2rIZPjO3SOdrSV9pkD5VQK7vJVwHJ5FnFTxqa+fXCMnVqu8yqOJQ9940wfyFGOB3V9goEQbcnO5lw0uLgwdj2oSSv67hXYy2zs3b6amD1o9TiUFRGY4Gck5Eu2f0gkKUgsFhDbyBPbO1h1uC2k262ZNyqXZsVp87NlvDQwL5KuiTyUAPMJTW5TNyy9CZRxPqWYK5Jy/lRGtPuvU6S69nx7bEDfvdAGU1bXn8joJ3AZXWx6yukHOjw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602339\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031650566450?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"CJgTXsI1ZmbtUUlBQA6L1FJ9ID7Nh8ls\",timestamp=\"1773602339\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nDuFasPWaSWwEEUmvngMFh0cZrlqVC53khV0qjGrgW9dAT2kQ1edArJQkhKeVyTbWK+Tz+julolaoG8KTu71wtnM6ByiMbBjZGKsRp3YA8KuX3h/O3W8mIgPpg7SmTcTtWnr5DFm345EUN8y3NhJZz6l7bNza5g6C2nG+6SyArrR8Pjtk8OEVoTVQkb6cl9Y8sI3rDr49DxZq49elPcOTqWhZvDyJlPUpmBfBMBCQfuLMWsa7cZbeQWVoMUlXLue23u4WtDV187Oh8fdISYAN1A9ZIfzTBQdGfpDTiag8y6MCdxf89+LRBBEW5IFTMUqzJuSKgsgTkD/xDerAyIg2Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A38CDCCD0610FE0218C181F8AF012084931728B402-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 23f9938f70589b475e668807297ee947\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SvWOSB1AH/Ilu1i112Nvr8dwHVJ/FjV2kICe/N/7WqT+bE7iVWjfWKxzExBbjpwu833ryPZHpo8duhadHmpAmfko/KZBiQPYuuCrTQVk2mIdPIaA3E1OaKYyFW8pCBmV+ANkScp9QPbbRaWU9dH4lhTeXqrz1oOfiTb3czTSu8VRe7jtAmi1Dw2+6ErCntadLWUrXU+Df8uqaKIoC+t/c0c0WIg8gdWV6F2UW9T96pGKZn7M27rzzm+aW7/xV1OZr/pLr8m6PftaGaZbYppGBALHFNpSe0OlmzvguBtDPJ70k409vAPyGrUlxXW5LRlTm3wtHWqzQ9RxN0ysM2+akA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602339\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:18:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031650927511?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IPSQjlgcnSlouPc4XOZq8qolnO5yIRH0\",timestamp=\"1773602339\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iVSsgG4hod/dL4xmyLF3xklr9OqggbBXKC+VXnCh/Kzc3tHx49CrMQN1NO8tUM+AKjvTUq3l/LamGep5kya8qSbv67fufaU23ydRF7YaNM6TAyEozf1ty7Q/dd7rSJG/X1JmQkKz5gNb9guby90ar0cLW0q1yG9d+Ncr9EgJdfkSpaXifFHcrME70njvX7gM/yPNwDwQVWE24rZWn68xfTYmEX3quyvHAyO5yOvxgAi6OocgDQ59j0SnHYx0Szo6glyXjFNcRn9UyxC/pM82JMijfj2K8buIKnx4cBstF3mGGD1DFCZJwDiZdMT4j4yKAOLuJwyaY6GvqefIQQxxhQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:18:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:18:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A38CDCCD0610FA0518C681ECAE0120E6CA0B28C2FF01-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 2930f8cf9b599922e16f8be0fc69f41f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LPDDW9b7k2FDqn2o09bQ8NLSYPWbMIzckYvbC5A/Bb0T+4q8hAdZO++m9RYgcrpeBJYaupfagoEdysPafIhMU8T6pKxDc50yPjg4XbDtOMqbPOeXclHHYGFPwIoGryTJAD40jmlJn28lVrzuV554AUCmm9Dfs9/RF/Fvu5FG1pSxDL7LmzpJCuRXwZ+LfWvFv/rUhbi8NeTJK5XFIQPtlSaoY0KaeFxc+RQJP1LNpI6jSe6jMMWiSdSo2MgHm0q/BLCfXLEzMolbWFxcyJgv3J9ldAskWXZ9tNWCGtBgv9AS0Ex3alS+inwC6ciMDMXcBVoth3qIURb38x+rIFtDvQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602339\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:19:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031650408799?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IGm1U4rHQIiYRwPhZgbA0zkHAhW01Fzk\",timestamp=\"1773602340\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xMCfj9JjpbrVkrkX7g9VTHFN6sMQmD93xsPPbczfEWbgx4ZWwVF307FcJmxwPmUqMDNl5H3qjpLs+vpR1Rb2YYTW5NSDNSdbrHonlDUce11aPBaKRXUHGMADuyE0BWlRBXopVfSPVPaJx5jJjTZAe+pSjAJlwOnvyy5DCptY2orNCFK/tN8ykG2bfXtCt/1Te7BUuNUNYiPxsJ1sTg5a4l67vrrto7rEPs/rLYCMZsZv1NaWXM/njstUBtGJingwA/nM/w8SYuCxRKGEXh8Dl8qF3xcrR8zLhzA0rwJjr857v41zu6vy7l+9eDlmyOOVVwfKFEUsm+o3P3F1uCIrpQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:19:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:19:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A48CDCCD0610BD0118A8ACC05520A6D80128BBC702-268512771\r\nServer: nginx\r\nWechatpay-Nonce: f9bec6c31d78cf50c9e62490391aee77\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Rr3eNCEyQP4tEGRPGDOqq+kHGwQ5K7ZOtNGdHxkfAD4KeZ3MIY+ZDaQ5DOB5LnKr6jMkr1YxealjuU6k9vPNudw6JYMxg9t+jfOCyRwOXafmV4gAD8pb4Bz4/ZoWuYvjKNofIE3fHJeOznFx//qQT9s7wQj1uXKS3boKV0WpB1X7DQyK0aCizwfLOYZ+o/rZGy+G/WxIjov5YrqEOL8sgd5uZ+pihKzhJ7VAieTRe+LPGjC/f7tSX/bjeMZ/S2RDSgQiu/oXZlIvnPXb1HMQWhNkWnbbZdqTkHhIh7P7T4xrJUpLtOxoIJB8e9A2LCvmqd1KMYGHX8yXJe6dKUDx0w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602340\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:19:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031650852056?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8bBLTKrvOYdR4RDSch5diIguzbTcMbxC\",timestamp=\"1773602340\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"f1GXgUD+HkeSqIhR1LNVb1UjWqpBQudcszOO5y6fyR2rMA3HoUg2hZPTUmE3NtPRIKFX07BiR07WGFduIgJF7uG6gY679veTbhI50XXHJm5PIhZ1Oa9ugLuKeBB6A2AbwKETOek1TsYTeTt+fDCgG0yF4CdzYer8kQXJXH+Zr1w9QNr5RMfxCOSrXZs0FfwRgCOV22AYKzDxfwayCSODxSwsHUaP8pbxGxIs40DV4TALODkmppK2b1LsJLTogvcBkaCLtPWlize32tUaajDUAZNf0/MTsV/zk0uo4r35Iw/vbkNlnoV/HUEqUyKh+mdiBY3SoXvPLextUsvJxfAmHw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:19:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:19:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A48CDCCD0610A40418F7B2F8AF0120C6B91A28D5EE02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: e5d4945423d26b8de24fff8b96a095ef\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: L10vwEW0kwMVoZ3Q5llIwy/aPNbBkaHz8zqH8GfikdkATaCtA4dNxEYOkUM3VM01QooT5ikGR4gDzB/Xfp7KXR0qCxR4fBKqrpqTxRP5RgnzSfbyjI9G2WbbMV0PdAosks+WXk5OX+Vkk/qqyY54Q9nwihKJvgDQB+4ALTEQRLhP/qcv4pf0JxhF2lxoYC37y7MIpRPWpcC9q+sYMIvfyWGPG5MZRDOcb9Ray728/2czbbahbmVgUk9AykxRSj3kxPjy+ZiQ3mLu/qqZgux5VAQ80U/ryr5avXAymlivZNVsmTg8F+53JlwEDyTNK/apAePy/UM4oq0Bo+IqhvSoSA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602340\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:19:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031650094499?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PKky5gZtjyOIt1qK8qVR7xiaGQEim7gW\",timestamp=\"1773602340\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"q06PKb1AENoCniJIUQAP5mDeiN39/ow3OsjJuj7NAS2Opcg+JaQIQH+CWR0ulU/bIYFh/6dEbFgi/4NVsm1571nUVa8AQBlPglXBEr5pq6XaNpqaeep5+w6J6lRiv2ZPE3KJAtcGtpA7vxiZUPNSSadNdOGNHHYufm5P2lopqG4l9fz6tWmLtQ+H0g2Cu1oFr977fzYO0QrSA/M4RzG359hq4Qj5Cbho/sKpCKe2RMJ4ao/mUlOXFcjYp+RnfZWEPLjSeOz3X64nKBvJhO00iRVToUbMOP51KuXANM1f0n3F5Gp+ohQVivPQ/GFMrsIOSOCN6ySWky74XZq63mrgIA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:19:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:19:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A48CDCCD0610B10718A7C8C05520FEC61628FA58-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 8690fb175baa056fb30eafcaedb221f9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rmnIspDdLTV28f8XPawBKXZsxNbgmSOVY+RlI3jaFyGGV2FunDJ++zqdNp9OANwKbAlioesDac5zgTw1fSN0RiJcnrkSK82TXafqHbRmj0tgFGdNpq8NQPnj8yog6jRSjhPjymRiPGy06pv3UCZcE3tFX7/WsgnRL8635rjLvgKEIU5ScwIJuTo9FtnzQ8RGZWknsm28FjPXI1szbPyLUHt2K5ne7/B08h7wjmeijSTrkzeL16Ng36gCuNL+GcrU5uGwj68d+FmW+6fdwxI0zWCTjSmATtJhzrOEDO/5mLqMu/TqLA9HnWvQhdE4W0QWnp7E7fZ0TiLXN+I02zJLTw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602340\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:19:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031650043199?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NUJoITAGirJX7w9zmDCLznlhe5MROwql\",timestamp=\"1773602341\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sJLYH+Y/UXY6dT1G57+2a9IZBLfMaky3srW6WJ+CEJjDLNIBMG9vYG/GYQiNpLAFnBpxE6nPa0gpRW1OM0X34Rf/WrfmrGAUOxfmq8Ph7xG0zSjIu9+glnTpi6DUg2679GSyuunJ/ie4C2e6g6uqcDKUwZfvWXRgPwa4mG04Ugf/GH74RhCz1SmYkaZFWEObFhcuO2Nrrpff/QxkjH+SLyYhB1AkhOkd595ut0vFy43Cq2DOB75fNZVIM5VXep3TGsJozYBeL+dQoMROtuw3aFNvbTeAPHHu8aCXGpU4WJM9sz0PDOqNqH14e1hnNfKMQL42D+ugTuhtis/y3QBL7w==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:19:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:19:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A58CDCCD0610E10218C681ECAE0120B4BD2928CE46-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 4077dc8277c06b3e1f95ca3108018c1d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mCCf30xwveXl4pQklbzwTkqNVwaiVjQs8YEJhep2zlF8JXruKkwYW3vMUfZUHcaLf1/Ox208Vz8xanl/vSgFhlliEuK5QcfZZHYOItTJgOxpqxWErM5R1cBOj11ntupW5JGjyf3fOt7Y7HV65l2/I6P0M5y58NKbrvNSRAS0oxrWwPu00J+tiDg9/lo2LaWpzpupg5bVOL8PfMMWL2LNEqaxMjtBpSgv+xzPUeru7yhWPHXuCQoZTjoPGbtwV1hgpvbKXjFfShEmWNiadW9vB7yA1EI81kQe8d24iVnoCgWX2D8PFNbyf4kmtxA2gNJCnjOOPfav7ThH4B2rXNR2Pg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602341\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:19:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031650418617?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"60nzKXnhfbHknBfYXwNCHskUwmpBB7Jw\",timestamp=\"1773602341\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OO1SvmZEmj4E+bOtmVHuMyAZS1iov4XSRtQmZLr5nCXfNWBlAR4WySob35PDnUi/bnaY2HhSumQM6M/lA+NeqjRDXReiIP/PgLPP3J9Zav2nUkfJgh4YAOtnWAHGIvw5filzBFEvNGFO2H4qtNid4rhH1mO/gMl+JJRUtHjXAeid+Z++KoomQ8saofnETpmxCDjR0RXZFbohpJniPH334N/DGrK7OgON97yFTHi1wnNfSzvc7x5p+FTG5A9aNM6pKg+3kLMkwUtMhudUXbEu64OfhKb9pSlvZwGY4DyNwVFrp5xBs3aoKa1nHtW2OuO98yzcfS2bCqQtZeDfnxYqNg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:19:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:19:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A58CDCCD0610CE0518BBC8C05520CCAA1F2882CF05-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c02ef747e3940f0b6ab398e9bb9db4fd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yIHUnbUbOc4zJYhXyBjbrMOJJ8A2QbcmuSr1Iw6KTQZ0ZzmZKstnMeTxTr25z8koQQLgn8m9UCdMAf3Yj7rediMvubqvs5CGkqV2S0Hu8rDt5iNvaf2GjE4yv8PpW1HTyYUwX4RWW1dUiCGiLApJAiSYxZuZj6ABISLsofGsTkVT8B4vCtF7D/MWzGEwSPybIUX8KfZbY20W6IcF+GizDoYuw3+jDo5j2fohWkGLnZFe02XFustRDj/fzTs4M2yh+4011+njIJj/8kSeICjUDadocgyjGyurKVVlwV6qJqd8hgUDOXxrvb23Ibb5jvKhQcAuAXCHN7603Wyhbqyj6w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602341\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:19:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031651872151?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"b3NuqOyuKACb2gQz0hRHPIoihCxEkcp6\",timestamp=\"1773602342\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EPE9/BbX0afzhQylU+V2CZB2TyMlaNOQXVKw0cbHdpwQ1sjw/I/wOC/01b7qFSeRrRCp6wFHWp0MKHp0J9GjaCTJmmOJkI0MGAFobTclDsffvEVIDcOzkgMObf1bOkifCnGo23MHEGCm7HVbExrb+Ur2CfhGnDdR9gP9KvWECgBlKS5yvZgmcq9l/N6QhYLiPpzYqwTEP6nl56kWbi7tHPKS6Z4HavmMKFolCR+HF5PuBgAxydky0nQ6/8nOSOPhYr+avBVvzzQr2EZIiqLwR7UXKaT0a56MBHkoFupG9x/xsW7QMQ09CFN24UHvX/bQt8KuCSrybIurw+3axknLfA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:19:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:19:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A68CDCCD06108A01188EC8C05520C88D1628F38A02-268512771\r\nServer: nginx\r\nWechatpay-Nonce: 05d370b4e7b4f2c132a8e7785c74641a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yexGS2xD9zXqRQHAe1OC0p8MCMVCqAASk+mGSI7iW+gxRA3smC5T6Hx/tn5ncas7HsctS0vk1AS0xJY5Gf0jTmc87aM0CxGrZoN6CoXyI0HHa0plPnpmPWSxVl4E12VH9QbhMEMmvVhW5m2bGJUuhKIBnp9pnR9vE49DugMGLDY+L3viEjG8y3hB88dlvf7enRk4+bYoS6DnRZZzy5bFyj8hK7wyx+feViihuN4yRNduUE72AkzG2qA3AFvcymBGEbM/nsyeIj/LYPByTm9B0hHnoJSvVpf3XA2CZfy1e7GbqPcKIQYC33Qbqhwpx3Q+X7xHEwVdEedQs+m/XnrZ5w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602342\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:19:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031651948520?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Cncn0SWtxjvzDypYlIEgFEGqh6jloD3B\",timestamp=\"1773602342\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qyGAHXbAVSrjz08/REohm8lK/Kv0j7X7LBsE8UCXtNKtBa0pAqZnKTN57Gc46N5a/rSeWwtuRzetEL/4C4/EXpNOsVavt6bwrvQ0PnnK6zg92CDcVcrfo3aDDXIa2798F9o0zz5BBPbG1PyeO8VWWUtKgxIocbhgkH0At0y6+FDI5IYLpBCKF/bZOk8uuKrJMG2bv00I1kZgalRrQjYQhX+3Bb2mHYdkzeZ2pFw1aAk6Y81YUv6h/dr908VeVrZ8G5PQISQ4Jry7ZmsELRbmeaJybPPDDtJ53wWaE804Ir/7Zz0b4Cc4LAKe2JE4u008Ws58zP7zIwhSsaWNm5FfOA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:19:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 404 Not Found\r\nContent-Length: 54\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:19:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A68CDCCD0610B40418A3C8C055209AA03228BD9302-268512771\r\nServer: nginx\r\nWechatpay-Nonce: c0748c86b0541f9cddf904238d37336c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AIiROaibl+VCLq+UUKdoqQGHCi2cHPZKBeo+AAOitsKwsZI24l5flDm3g4Hz38Dasm+uNQEfKhNqb3P6J2OhNPtX3uBz+hvsrum3YFu2e25ZlcahHxSVb4llOUz84ROaxrUp+RkQwr6WvXwTMMsxYwTHoFf2s0Nsmi/A9bIu8HgQHkN+kK5NE3M0HxTNzfmFZ3g4jxwlHd8Ufy9mXFTsw+WL97JYiZFv31us3jsFW9W9Bl3z5zOIqhgVDsD6C9liA6yQKHxFhX9fWukb9G03naVtXaY938H0tY3T6LP4fyKfjYNprCZAd1h+MaI1Eb6ooc00HGWtnxOfzm2LZWRc7w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602342\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"code\":\"ORDER_NOT_EXIST\",\"message\":\"订单不存在\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030623518285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VQWbhSVquTLQIyD4cs4VYcxGynDiFc2E\",timestamp=\"1773602512\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YH2QGvtIy2Y8YQ2NYcWvW2YeTHuDMz/oVllHhGnzcPFjDeF7a3tOLVzcW3BnAXTtjQXcZbBc29+ZwlB5hGlYtulBjCXbnWmfejgZd/NfoCV7fQ1ebFvHmK0XEE3GT0AQ6ZF2oCoqunZbACrtTEL+KAMTY7SORe7JQHQ4EqaPnT2CofvJ99/a12castC0N7u5lxAcYqF5tD/cKRzrgjWUWrrxFOMrkCaDfaqzU8yJhjFx4RoBcQOhLJ97sEeIjNvkCmjCasqN5brDQxsS3BkRPCgx8BVTvVv0j6rJQuaey4xUIOohL8nDrhxw/kMTMTdEhmyxWlwDiqumtpqbJXSVXg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D08DDCCD0610D80618F68584A90120F2A42E288A2E-0\r\nServer: nginx\r\nWechatpay-Nonce: c90282ad4c2f193d5cbc21eada5a271b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OhmK0RS+29dXIfPICNjMC2NS9w5jclXmfneLjcoDU9PLXSzwst3uzdW5HjmCc7XJnOBXp1L2TqqrCZOrHJurid3N6G6nO+DV4l6mTFD9+h8uu66HFd3UCW/iZI/ZS/1QC8R5eGxDw346Wf75jp4P+Yn8F0XIaYB4dJ995WCbpMRXkbqYMSuTwrE5WBlcfkJIMT90+rIAWIYXBP9sW5Ekzk4SbfLfNloFL0bDpG+EBsYxuEdiTuC0nM7m3ryeE8vxC9nurrOTb9PoZ6eLRQnfKeL0Gtt2gVMVC2vhUydYGE/o426asdj+jOOHYrn0ZM5Tw1n90yfPNrCia6tX8ISQLg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602512\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030623518285\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704154160?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Snk4wcmI34tFqXvAlpR37UX4gxg3MQzO\",timestamp=\"1773602512\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"o05/LTJ8E+j1ItOhD3XCHdTXsI9/xfQI0D10wDDbH3gcC+m4D2KuTrzpruoUZVGYkvpAlX5L8EeIr0D3F6cvq919NrPAif80QVpvyySMgFjejiVoE+9JCTDmwL6km0M4ghHPCF9GVFMHnWfIXkBaf+OJR1TKLPUKTiqLzQ5drnf9fqUuxk5JzHLulHS2QnYGVnJ9CougvBYq0MUd8Nbl/e94NdG2Tra9r9Pt6Hp9FmrvT/qW2V+cWrn03a6Wsr1oiYNlmiNNMASB2GvWkS1TpaqIN9vYB/iPNTEmrwUSUZma2y3hIcuH+LskG114mjNK/t888M4P61gLwi6+b7kh6A==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18DDCCD06101D18FCB3C05520E4BB0428F7DD02-0\r\nServer: nginx\r\nWechatpay-Nonce: 158fe8b9f2a76324ca1089c8a2022575\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lBSvNcw0G8sZ+Qm9Mw0I5EN0ZLKzDmS1FaN9Z7BSIbA2EYtu8jGleT05Pp9H5cq8CQXAhpzk7qWlVJag6O34qCIHptQvBs96OHbLSw/sHM/G3GyPUnf434oRvqRyyiRrvwMHfItfLJI52w8R51Y5nRZDb8Ze6pjcIF3dyL/OZ2XTokFkQa0X22Hpga/WtbNnlkroJmvJXd5WNWrMSE40z1h7RjJRBDh7Rr4/6WdhEhlfF5UTQGxLdi0yBab7N97/X2ncrhMsn8Zx8nxAuo8WU5ZBDIG1gem761IAltfbe/a1QY+mxIOy2WEtBwO3RRg97NMyy+RUs/dSyW+IblN1Rw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704154160\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704018496?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"z3OUK2XfQ5dziENLFXIrUOKaTQVVBuPt\",timestamp=\"1773602513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PUb04zO/pW6ov2mf0g/LHwb/T4v+HN32bww4UP7KMCQIlykymZaW4N4GNa/+Z8X6t4VlO30hGNsrPPnB/iRrwRETEcEaWJomHh+E4b8sBXoDlA8Tfwx4WZypVXlaAIWza8s00lRvyVDT4uNEBEZVG2HvPzFpAoovdizSE1klIAHfp+Yrasz+F7YOORP/42ZYaATEgC1AaaahDIwUT86TkSdhElgAwLhyTpDwro77R+oYvzKYo0ziN/ph9xID21TpSAjw2M+u68wFqOX0wOy55B2tkcGR0TojMkWVklWhmELaou85AXbEnueKTIemS/VFoypHR4P7/ZltVPPHRSJrVA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18DDCCD0610BD0118A6B1F8AF012090842F28C6EF04-0\r\nServer: nginx\r\nWechatpay-Nonce: 761e8cfa83b7c9e61c0c11a2f1fd5add\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RT6wTjoG5ALpEO74Bko4789nDww9CmwnphxVIUYahwRSZyaN2f8K7Oo5SIbHgRwv4rIGksLatdyCxE2Y35aJOYySedDWzq6FJj78dkouzB9WWpIXd+GPM+sIxaO2qUinJJdOnn8iqn1MzWgBNv234tNrBz76f0o7RpTndFHabc/3Iet4+l1QcOWmBLvwApJxKAiQqAxzL5QCkHqSsLR4mKQidpKvHifmcyLOmy+dHfEszWjIsl1+L0GnNatlkcMnwshptapc0Gg3jxphS8HatTasfCy0p+PyHnTZoykmSN14Z0bfHNhX0VXo6U8EaTknLqd2IKiJuRjVfQFtHcTDcw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704018496\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031401249968?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HEwbtv4ih9JmVoAZX0AACO89GDY5xPYD\",timestamp=\"1773602513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2+blJdo/wi+McjMjyDIvJQN6RmaxtFH3tdXQpHjzYh5//L6RHE8nTEaPul08/FT6hjg29XuY9r2cg2F51jg4KTXYsu+g3v+w5Hz36i0mcxXKvvHDZpamZZALqkZdUr9Z3zN32HnY/kfapCyoCf7nu3DvAXAMLFzTnjfBHs2kJUU0DMhZfdgj32QhfUx8gds/YjW0lzn1Kxpc0c9EZHhBOgUZWYcN21QUt4YAzZh+ZVHvQNT48dWytQopy1zIby3yay9cxiD0f/69H7RANbZyrMiBgfZKSSxvqd2VzSoKgPXXTjjMAfdKWvMVGsSeDbs3jGZuKXhMboZquy1gUM7Apw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18DDCCD0610E50218A2CCC055209CD3162886C804-0\r\nServer: nginx\r\nWechatpay-Nonce: 903a40bd6bc1a7c69f7f752da5270237\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bbvADPVHTC3JOq4z1EOhmoEfrhimUwzmuQuncIPW6JlfhmgkxSHYWQ7TFZlKxs22sARzWDnr3UVkpXB+r1Z1hcWa6YCo2aNofwRLgHoPudxe5KDiQYX4lm1v+TrhWbiJevR7lGH7bm+kmUzgn3NmzwznVOscY74uG6g/WYj+Wp0rn/D2uT4f0k+W/RseDzb1QDFTGN86qkJJ11PYx8KE7C29alznQI8/Hr732jP67kc4J9mAOMqih59gebetF2UecuEGidzHaFvhi64+nrzqGwgIgg31JZar+s9ffIcWNNNrfFUpEc3Sm7ime0vEEZx/bzILerkR4cEm5tVr3qqk+Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031401249968\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031403742969?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"O0UoCkdPbsP0Zwp2ysFxVN2xFdjzUh4H\",timestamp=\"1773602513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UME4oAQly2S2slCojEaR8wDHAfJiOpuI/fEJrxqev7xY1b+avdgbDBEjusimJX9TLPc95XHsRMrkH3v79QzL6rvi20qbTjSm6WoGeSYgpVMPYXonF4Ef+h8r7Qwt0+E4HM2JCHMyZJltgIjxM+0QVNwmQPARVP+o0nWUEXHfT33wQrQ/mVKRvluCAzOCoMIKNZFZ5ccKbMsauStiUZU6noeiQzpSelUgetr+5a8OXnO/brw8gT+Z44h0yJ19SquJfp1QnQl5x3dQA2WpM0nGgRDcUTTrM2jNL8XkpPBoZM4rkvZe65XUm4QMKi/w4TRpUicm0PHoScs9I5XQJ5UMJQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18DDCCD0610DE04188ED18C5820BEF2212886BB02-0\r\nServer: nginx\r\nWechatpay-Nonce: 00f889fd1691f221850e1197ed5187ee\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aRJ+tVlAV/+zLBXIh0CAG/zsm3CGhBeG+tIYPnYpR0Py+kILIctbbn8FeehCDBc+bJEHmJorHqgzvKxcD2KEcLsThkGr+KfNRODiAUPPCpfUacgwjwG98iTYi/K7i4xf7V2sCzfare2gM+o9iT5tYzHTeGDfHMMqLs+Ae4jyqxJnqKRUrYkze4k67Zln8aOQS8d8I9bqKSsgaH7Gtxm/oG6aael1GU/TkbD3r74rSPvyKnVcHhPCG+UyXm0SXWGrcbqyrMoC6rvp6WhqnDdsOF6/Hrgexx/6mpEqgxtf4QJtTt5OsATxDoVn0TnLyD2cXfiDTCwPfcWrNKj91d2ycg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031403742969\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031416158810?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"93zCP5iAuCNoio3J5QeWixXmphdYVbLl\",timestamp=\"1773602513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wCKsYP1aPdld2j/oHg0jhEvbXMv0paVyPcgvxXBIwAFNFdqQaSH2t96DwF1NudTgFgF4/DcQ87Z3cTMAFDDNy7FKohePozmMxyZctBh3JSbybzZpAsD71Gllki+ubz1dScb2FSqia6gedYMfVNRUv745iij34GNPmf+HkUyGF6GGqB1X+rOLa4kuz3Nh8+sJYaApbb5/trFdyeh7OiSE0OecY2wgqazhJ3PG4Swf9iZj0+QipBxMCTktYWKJiGAX4nQGzFfmv4pqx1TTelIKcDZJD1VkcNe/7W3OiuIDo23zibMqMecKeGvh+T3eG3kx7+EG9PfLhm8PSQBVpl3kgg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18DDCCD0610FE0518D2CBC05520B4881128F1EB02-0\r\nServer: nginx\r\nWechatpay-Nonce: cac3ac4f18928dc6cbfb57b027321081\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IwKBBDwq0WN4g0y4/5Nyelj9VQtLP01d2LV2E4nVOG+iZ64t6alZ3v7029qtclk0lHvvYYEbuo5H957cQh6tQyDtdTcc/wLHYaIvb4OUAtuzJbAMZKeprpn41sYeLELLDiop8cLbWPOFWNLbU8KagfQAE3JoCK7ZCZGjvc9qyH0yb8iOg+uwGz1PC00k8X2X7yUUmn5fvM0SOKJ8hjp37kBgD0mdbO9AsmzUCDcAba6G956vECearx6Da6MS1GrUjZz0jG7vdJu0gawTofAb4lepRzIxANifg/d/Wj1dwcOpIAgS3I29mRKxx+X6uHiXVXAOudTqmu6stq6vJr4O2Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031416158810\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031417566606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3yq9Nu87ounoWi0fcHZFUpcdKy3eJx9q\",timestamp=\"1773602513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ciNdxM5EqO9Z+XX0/CEpvSfpQ60NpubHaR1gCpiTbTYAmikdSfLAnDiiuECLquUBmerTwXfpg3MnDWQ5myhRMz/f89hTi6qf4fhmonvY/o0/qWwhADRXjZm5QTk3JtRzhL5dv7kye14/d7/TfJDeFKd8hXFoRvADy2eVirJSyFwsi4JWXhmvx81A9Z7WBKJvmo/eoB4L/injL4GxohA+ZKk1W0hn/FfMvowCOiv0q8veTbzxxVfI8INZliqsjjmKiUXi+4Mze+WdBtfGp7jpp/sf54lHWeYgwCMBKTNW0xDxNuA5i6Ru9vWa3jP7cHIxbhsVBmJkSyjGqCO+dpt9QA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D18DDCCD0610AA071887BBC05520B4A31F2882C501-0\r\nServer: nginx\r\nWechatpay-Nonce: f49e864729398e06e8d42891b525a6b1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XgaUC7Gj2w4iyV8EL8HjaJ8v6GWbCcE7LORaBgiU00VZL4BG8TwiaJXtyMc54Re+unVXj5ERS4ipHd/sD4EQMKa0ENy2e8u5VF3q4pXAyDjFbiO8nSMa1rGBCyYfynZpzLT/IL8E/gQTi/5xoTXmadPTvw+kJPPrZrmvJRFxR9uLsxZfgdR95Zz+QoEUZ0Sd0om8hPjUrbQNPHsWy7z5vDwWP6DICrB7KtSWjOLeZVxKzAqrEP9XNf8VpjKjmpMmhw0cGxNslDRL12qMz7hWxPNKLasNU6MC1cNdhyun6h/GdhSuynN8FG1xQRL3lbMbf+LFEzuxacCqtGs2c3hbuw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602513\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031417566606\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031418236393?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RUKmJbAyKMfXdPLQJ1OUber5WZ1d0j2k\",timestamp=\"1773602513\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"E97ydFMiPcW2tDEa09Os0u6il+kd8dw3PEV6NJki8OSYHXQICUmxZeDgE1JF3AVJYkmLy+MPedB+2YVEnvZ753QOhRRuBxHECmAzd4TasqhcXI3S+JjKGRupXxuZLRYKf1Yhgau8Lp8xcFGNee8aljWifbRoV4yR+4NuyXgAmLFCL2KueqzCK0mDhV1lYhyLQp6bmAQE0aXEnD/hmydBrzh7OVN+jq57qNocVfxF5u1PvnlOAuEr70j4aQWUtDPHKKOKyA0jdizpx3LU4ByasOvGmUKylN7/IiGmvsTRbPXyh43HRDAZc0RWQeAZnp30xIrxTxFUdbg7jYJI7FKeSA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D28DDCCD0610830118B7A9C05520C4851028928806-0\r\nServer: nginx\r\nWechatpay-Nonce: 66707af5515a763a3f9a94afb4602cf1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: adhoEALbNwUT2vcyFKFHsI5rxCZFZCnKhHTHY4taGxIfzXTw/nNfq2XwamfkTngij22fpXJV4dtV1OdPJnujYlSnmx+RrzD6/yi5OgYgR2RO6AbBas4rt7cdlYrZGJItt5fly4XDZGctgJw5lCWVso3nMcuJrzBOwbWaYc8jG1cUkqZV0KvRdikSczqUw7J9zX6hUWtCtqabVQ2GF2yAwXUclX9lXbKOiIgPzxOLoB8ENctqS1aqdZxkl7FVpb1DKmhJqpOggwC0TRE8LqBdZB/Hrp+P6SAOAd5MRGvxOMCrub9No1nmHuUFVhlI+S5QPAB1/NqUZc2wMNXlb+7OwQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602514\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031418236393\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031420314028?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IvCZpEiZi6RoRr29NvMWJxPBh89BfKej\",timestamp=\"1773602514\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Mpu8qHueBW6yGhs/IlDRJjZNv60D6cfAarCYOUnsnT56SanFPLYuz1srgQrK4xJdToe1tml86kRb25IOsRkZZmslDDYT191reA4mkravkRNs30QtPrwXGJL7Mwbvr8X5BxzV2x0QPyEcLHPrJEaEDOvzdXBkfeOBAPr+HuH1eHO30uhd5aH8kFrUm6EhyjmNir+KEPWTpnIrICHVs7Zj0d+1SLy/6bjuseY9ouW2B7IZXFFAnvWmgQKGx06lcHIE7Jwr7ym4gz8l8wNt0kHPZ5Te78G3mBL739pIoLkSEuYkeuKTUlCE6wdpK5cdTCYB5mX2/4n8vLmGi4aCZa7CNg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D28DDCCD0610B10218D59F85AB0120F49E2528BEB602-0\r\nServer: nginx\r\nWechatpay-Nonce: 4304d9854b2df39007c7ae5bf42f53de\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HjaRs2l5HXFpqaME6Gc3rp9XubTKVS7wcEWGWcNbTu+JAgAQe8WHS3EGH6KZejRDNk+045cA8NxjYRp8FUWH4eeCfJekhoSRyKXT+kxbS+NRfUvEXPxapKZWio6ofJVMChCl3aJCYCb941mASpkkU099GDWZDixZBh+sh2PTyEBGaIgWrfMrDbRYyJCddrkNTxByETIP0jZ06Xvi+gmjrElWg83C6GnYhxsdCBRni/5Tex36PQUwkU40Vey+46TBJ//F0cQ2+NHiGT2/oPoKjHK4oDAUbNyG5jrmm6+4iSUUF4oKjCBvDTfvBxhpDNQtorvGKaj7BNsATSex9xjGWA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602514\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031420314028\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031421781894?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HfYU6B5Z808ZjwPKqkQ7ijtedKwlTObc\",timestamp=\"1773602514\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ai548HfZUqXbuLh4x7Yys1GrAk+6hOd28FFYZZ0QYRwIDcKdxH6nwkUYgHj9K5sZSVqWHCx74Y9XXNxo8GGNU4y8RyFMl4fA6fGPCDHQtXJkNtGbz11lLQLSWWBWomTOQeJdeY/Q8zEG/wE/lGvjg+E//ByT5/gkoKWEIfCHQ6fssb8HwF5n1KqrJASaH2VNfD0D4q+rAamHffEc/a/vgudIucpoK+LcBjm9agfjgDa9PInG2EWIvRTp3A36r+QN3n9CMRDw49D2wtsuqw5AubyncNfoqVNhCVootvBkUuGty9wr3aR8yfkbJnoUqM/gBvsBiBFnymXZOL6l4bBDxA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D28DDCCD0610E40318B3C78C5820F894172892C302-0\r\nServer: nginx\r\nWechatpay-Nonce: e8a692324344178d3a06f61eff022bcf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: U/1PuEkj5gv89UtYjVjXMJOZdbwo2nihykQQF5kHy8fiv2DwcKOtBuTV+RtZohYbLFXELs3J5gkTuqlCeZlcbmtJcs9doaQbJkc5HdASYp7uSKZ2flcjPYylFmGRppmPzNw6bUqSV93BOx/PjtzAmCHiLPxSLeqUcbe7ZxRwielH42HQLtvwobC446ZEKPvybohL5cDv4O8IZGRnpMrSGmIkUBCtYcpjIHhV1bvtD58ax5DVnyZxk0pAcJOPfKusZjfinO8VAoS0kMbc0EhKm81RbD0nsSNEypktT8su/dTvT0dJP1Y2aYFDg8LhbuDwGkcYALO5beos4dx0BjnRYQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602514\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031421781894\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031422156476?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SZbEvlP2GDEhHCOGjqGdZRQ6JxmHn43L\",timestamp=\"1773602514\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dHxjF+Dx2QeZiSdlTvMcPw16kpfwLjOd6y6+yIXvaeLjlvZI9OUYfPQ1s1/rGBxBTDTpUYyYb87kKp5mm0sw90fpC67zmkNu5sCJJ1Xd0fmglKNyGruAEZfw/o9NSAaVppb2Oo29FhjfFe7+v3vtFu82fs3tAUjjxpKLhTAtSciE7oOnK//G0qJagkgugY+oppieb5oBPQz+C0RDCKqtyZ6qZ0wsQB60IhhfXpVGA3hrX+Mht3nHS/bkFLt/34oRUyvCdegSdhq/WKzAWjZH+Yce4HV1DoMacGksvDvbc80hilGLSPiuxTywXKj5UKd75BTz25CGU/QwUeur2j4WNQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D28DDCCD0610900518F5B2F8AF0120FEEA0828CBD502-0\r\nServer: nginx\r\nWechatpay-Nonce: 4ac3d14571d00c99f47b26cdebeca9ba\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sa8/qcIWKxNpHZpnyjeKzZQ8jrsPB/NwoT8sf976wXtKqeSmW1CcSOhmnoq8ClYSZuI3hHnxEf9xsB0XZEfnfclAiYIX/+pupKBqLGB92q+KGZHKKMjBzRfcS253VYGBvNOsyp4VVFElI9W78xsxkDsokjMp7K59oKLL2v7gvknb8QUfgvKArJLsljZH061AEhaVuqMuxdzVVnLipyWxSJXs7E/hQtRVkZdQCu6Yf3fm+NWttVTIGcqu2oC+n9v9XUtv4dTCle3AoIc7PsSd36Wc3CM991CZDKBkI2iiF/CW2opHdjuhxx1BtNJCPDuXXpYv0Ok3cJGhw9f3y+l5wg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602514\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031422156476\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031423955324?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"k5JOdMkIwzs7WwXqsPbd3kc5eSLXBqqt\",timestamp=\"1773602514\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"F0GEBAk+u03uK+y7kPdlzF1oFBJjOzkWyferK34ufLgGhnL1Ye36R48IMAfiU+N5D/SlqtzV53/OEzl3gWtbeR7NvZMk7yDZ2RW8zjN78BavSXD47C01m75oAMTomKm2tBfYa+FvnoSKxHGF9e05nm+7drmLv2KpCQRqbFZgaMLn7xLvp4I+e0GhTI4aFZBHSwKF4Lw7tJFczeQnmCuaI0Gn3ZoYwA73t7BqY6WTvZ2VKY8E+wWSB018Fehx3rSnrURV57fByPEvdfR3Bj97rm2lni6Z1ILwIaIyDnr1uSDRuSFlR9DEqNcc/ULSwuaWV9nx3xQNI+vtq8Ca9cuKMw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D28DDCCD0610B2061887BBC05520F4C401289F5A-0\r\nServer: nginx\r\nWechatpay-Nonce: c6262a3d6b0a52aa97b7b7e94f5927c2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DQH1xScT96dc0IiXI1tvkEBSpU8/Jp3j2W76OTTmfJJUGc/KCyJ1iN+j74Pouel6kdU7zWs0SAGHpGi0WoqoAHVAHc222A8Unr2NPb9jslmkH1Iyv0kBmvBbCHlkQT2B8P0MSwH749mCnAvZoxUVu+0abrblEpS8YEScMGM2flW0eW1XrPgmm9LkxlsAM3bcWqXRZ1iq738BuRaTulnfHLtTWUct/ieDqiOWlfAOKJlCJzyxW5iJ80NNjMPpudsEgJiVjnPZdeMzC0y4Cwf+PgFmFt1ptW9uQXJV7ljZFQR6iZc5SWumDRwwAiZjR256rcWKpk76hbetXqKk+XeTtg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602514\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031423955324\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031425447423?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"TLLbS7HKb1Fhsa1BsDwS0AjZULJepw6H\",timestamp=\"1773602514\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"G5cKJhXGEP6TVTKd2SLkAVPy1drAhmvPBvUTGHT3lVlL8sKWYnhrrXcKQ01wcjlYLAeh/faa/55hcs/vDF7iy8vA+h66Gh87ZYoybCID+uajsrICeASMGozb4ywmzBm0JYrQfEMQWehJWq+dun/jFb7z3msEfl5Gts9UESRPiXt9HcFzsTo9myqcDrmjEpuq7TLZ2qHNoOOpiRPPf08X7qkaPeGxBBAr3PyiTcZSK7VdC1QWKUFu3r1uglnUu1UMruh2s1gJC1DTHkDvfMn4//rT1zUPJtb/gypKUhDej4ZLiwrmMP/fmDAaiQbzkq3mLLz2gsa/xz8SsMPIvM5ThQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D38DDCCD0610291885C68C5820D6CF2828EB5B-0\r\nServer: nginx\r\nWechatpay-Nonce: 62bca1a43744b89ea6c31b7e04437e94\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Z8al3jgNQ6WUklNDDccKaPgym+A8zjBYmfd5LhOyHCVXAW2xKBxSHZdCAV55ugqGQof0hMlF+ni62wxKKuz+15H69cAo6sAuXP9Ic35xSllQpUhN337HQtxcvC0h0Ohq66GWuRBzBMrWxBVXAycXZhxcYkCjCVtqBlAP2GulvA+iZ8K7KQsDKRNjYmO/rhxHb3hjrqxSq18ox87+DC4LKJ/IdTVp8ogjCaWy65+/lBqijk84WoRD63tiCsXEgfueKXB6fItGYsFLP8+JV21HF8qFcV+sbguGpCxx0HMkbw19TMcaareqB6JInO/66XaJ9Bv8M0WxcmJc+xKkipB5jA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602515\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031425447423\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031426251795?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UkpDccMeHhD2KPODkxzt4a7lsQjMmS8U\",timestamp=\"1773602515\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2qgzG8NJmbt0/xECncsQpjhV3maw5kBuW0UbdPkOblveXX95X4tLjbKC+IfeVN3U/I3sJknbHdjq2O/+zxNQQcY7btSHLWTynh+OO9U7v+LHBz/0JhIlU7i//QUtJc6vcvhbNvWPN3tpcst2XdANw903xLZKXx8C24weXAPOnUC3TIr3nTwi5fjKLtA63yNo2v+7IgEjuhG4q93EyIRZtiD+crCnnz4AFg9WOaxX5ktqM9D1Y/iouRSulBZ3R/eE9zd9gi2dq28F7rVjbDs4M+KQ6XuOYFjHt3o0hX4fm7G/zQ5ZGCUf8vfKZ63stgNZUV76IDutUWppXZgwEM/FAg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D38DDCCD0610DD0118CFE7F8AF0120AEC04228EFA905-0\r\nServer: nginx\r\nWechatpay-Nonce: 1a9660fdfabb74bf954c16b6191f8ba7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qO1VYqnptNHc0pLtmefn5IQzolC7n+J3spEKv/ppfdzJocZ2iIRcqOxt0aO2d1zLz+7Qpulqw2T4TCe77tB/Tuc/IGJHZtRQKDnmzg+S6jnUkp5DD0K5K+uM2wU/oGdFplR7pvMIrUn2w+dfrN4jsHVFGkt82AX3BdYBg0odRYQsLQQDZ8OsXx695du9rob7nsfLkdkX/+lE5LO0C3EBBpg0SV6HxzQhEiEj/eEfikoYtiswEw1nLmVZctjUNqtvziINulwZhWMdGkkXJsLjfXx1EgW73sLPgpmZTCh9Lyv2WR+JL4mEx1N/EYFgHQrCSGL2lyiMKOcNZtM5m/QxeQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602515\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031426251795\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031428343343?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pp1TBDyCE6ftgEC8RuFllWFndbGqC51w\",timestamp=\"1773602515\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"R6rHv5sZEghO2aPU7z9B2cBXEJZ7Q6e6JLPN9FXWR3bHn+Ix3SHmNelFQIilS4BpMUtxYHLeoFXHJMickLwFL0dr287Ya0GS1ghLE8Odmv8zWZZIC4YrcUDn4/dUYu/VFFl/6YfRREGugyJ9tTl5KBL5GNZBoEC6fElrilRfmfgI8YgAz0EiRsLqOXDmv1UsB5PtfT4pK2pUFBJIMMo07QnqW6dErHWDi+u+tsUtXVCe0MCLkMteCexdGvmIGM2NxeQ8F11XJCr08u7rBD9OplkspqcmGLiFhhKVjAuS81aMkB4JokUyPSF9InR7pIAwoaKKI4zwnmoxZhsgraFLbQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D38DDCCD0610F6021892C28C582090902228F3E402-0\r\nServer: nginx\r\nWechatpay-Nonce: 0170777d2eaae61ecad28a5bf5820d1d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ekpUhqHviObR8QWPtSI8WOw+EgGELIhuGFfoss4sAdIboULDwX000qE4OS39DfoDrQFLMZyFUo20CpGDv04yVZLHbV6KiSUBalz1gpw88iHRkJth8B/7h4jH3PwCWxgt/FwtjySy+P0a4o1xScv9qj69KSci9JA/QFU6x1vhgwPMG55L8C68gCTmUfH7nGBlgFy6XTGHCZya9Z97xScII9DU7rb2SjRyBDMUZlnI/1FKkJ0IoeHBj2695PGNMjX8Iih4pEn8P5L0bo6Av6GKhbUtfDwwaTzre8++SalSQrmGSmM523LoUv0DA+pBXs83FEqnYWI/zR5EHIu/zGBY/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602515\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031428343343\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552642255?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ciNP5j9Dp3Kgou3Y49Qkb95EOQ8AyYCo\",timestamp=\"1773602515\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OLN7jXNJ9Wg3LY4jMDvRkEMBE3a2Fa/GWCGYrAf5O3jo3mGLv6Rov+2jrlCGQ9Ia3skILrz+05W19AnBfNoMOg+AaAQKRMNP6CY5gejLfy9X/zStHlWKfGsoOjJ7iKNHXdksC8bObb2F5KA/OcH2P8+aUDak0zQjrZvCRIj+eFmt+3F9FUCeeM+M3ZdkY6iOtFgyIg8EDpMkIPNetGQLzZDHN0alzbw1EHDRFuOX7FT6GjR4bbp/G1GjlN5s4FEyJkrWryk0dCMFG/RvOaZAaVDxh/LZiomHNAq8mvz6rp30RivSOqicdbS982VERbUXghL5cD6m9bFxn8cDtt49qQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D38DDCCD0610C3041882E6F8AF0120E6861C28E9C701-0\r\nServer: nginx\r\nWechatpay-Nonce: 6ed8d4a7e2bcf36215867039efd6fa4a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MMzibDI2WtyM5i1tauAQ0bXI/jp5l/OH/UWlrDHIY8pl40f2tgcrU13iZzL0qgdwD8PSqIsJBDmjyLCojkwb+vxgiDQqnFQ8PVNblexuUZVM+sR3dIxOqFYQTXywWCivBfNMUKeg1ex6/Y6eNSerb2xCcdRqosXL9kQD1bI8DvhZULSeakjqxnMD+mTEoofN/vv4/Xz0OY+n1MIcujvy3fcvTTMYrZBP0CBr5tyBM/3hDy45qGiXMnKSUefwzxgcXszrK9fAZyg01R/lWpDGUef0ZvysBsKDm8+YNpftlvONQe0cscPPnecpykzX7JpSJJ2IArFSW2VtHKApalneSA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602515\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031552642255\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031553556581?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6TsJmBDutPY15f41nBOiqnTTmYCMsxBE\",timestamp=\"1773602515\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dbbe4wmkUXLhUYXiATb87XSh+TF7aZ+i5c4OFLte3JDgXRd+AgEaYvd1XjnytmqJQeb9Gxx/ld8dV64CpiZaxfuelnECh9V6Clk9KfKqieRBbHNfRyhgcusyU+dFM5jO5j53aVaiogl5ATLvpVpJC+bPK1KQ52HcB24JuYCHcgMSJTbqJgvf3UmOisk/vpyw7vpyY1Qjj++3htq9DSlp5JDWcVLwzSYoQf6+PH70Qgg6QkBFaPQ0INo/EWGPWdKGgKZp116Ydv4rBYctvsmMaY3H3CwLmER4RvujJ8G7k5H5+aYBrXR/jUfJ+Df7qQnIIL2yaEmXuYsAzrLleP8MyQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D38DDCCD0610F305189FBBC05520A2A53728FE9806-0\r\nServer: nginx\r\nWechatpay-Nonce: 9a3d2a9cb791ee9978f0d3cab0a696de\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qx/5s+UErP1FvEB/i6qtIFt/ze0A39CEWku8K9nWwyQwiiHpwIyf+gMLzCir+gdNfxHVgSwZtc9AWShwl1bppoJNBiC9Vvx5ZZ2PzMq+fwjReQReAw5sXP+3yiwuWQpffnuIlw0K7gGm6emPJkqPMBt6pkeS3EMddN1SinXQz63lZP7844xatcgMru9KGNCTlvlHDk0d7Ybtl17KCLW7Wzw01WhODxkp8/xC+xdg2VL5B+LAqUvZakha9ZzqyjOoRcQiEinOD4q2YNtKwiJ32vgT3J97AWjti7Ahylh++BavPpPA3gQtuQUMEM71+OLN5tR2xk8FnFcfLNYSsJxSvg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602515\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031553556581\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031554327422?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kCfOpeN8QJUwMEgQKSlztpToC3Gbgfug\",timestamp=\"1773602515\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iTZbfYmypOAjrfmTs9l2QwTTWtnLgTH5qN2zBdJiO80B/AEHbrdN8y9MKR5VFAqCA4oaF2IdopVm3aV1Y6UFOtY3r1wquDezxbsPpzDh8fNz24hjKCWwJvbj41gN/9suNxqx0zeiXGa/Ntkafj2dvIbnVnwQrvxhk9R7Cvwd5WUur3MNy2Qm2XGKVi80PcW6DnpbG0W6IiLyfvrLYcUsN0g9ojG7LJzrjbyOicUY4kA2WEv0c3QH6ONF/4I/qKbqaJnd8G9PyHApb6+y8tVnAYFluScde6UnX28fOGFOKciWb95cRNdUQ4VNZ1fOm0WOaZ87FHtl7rYpyjQDw0WcvQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D38DDCCD06109107189583ECAE01208AA40828FFCA03-0\r\nServer: nginx\r\nWechatpay-Nonce: 12176ef356adde63add3778b9db60366\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Qh6iJ3SGN0r7q0qPes2+oQ/W6W5egZTaZJhKAM9we2kcc0L6k6M4Pi+6oPBlykNWLLDZup0BD+xIO+VBCU40BJJiuH/0YT7chtgsBULI0iRCOMSNUk2IJG2ZKJUSuaoPOwXDvYtEmkfNDCY4V3uS4S2fMBBAtAhVr9VetiNjH05ddgftsVK+laoURjPzhAftOzHtr/HeinyT+fW547r+c0uF4NdQA2u21Fao6Yj5amiQXMZNc9cScOH6iVchxc4hx0yDS7QI0Ggc4z50ypGZHtHf2O1TQbcQrbwa20zC0AVQ65ksNqj/htoWeeM5cbhQEejmGlaAwaprd6+YXk0AGQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602515\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031554327422\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031555128971?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WXYlDnf9BI82npaxy99PW2Xd5SEtAv9I\",timestamp=\"1773602515\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fmKiMUrKdHwTFB4Z69tD8kSb0l8X8JLdoeZEnLcQl7uqkzncJQ8tkwyAnGqbpTKLuZP20pasDWq1VTd1ocRJY8gJbEqx+5p3urRKXBp6mAmz8AGq4e1VTlkowUR0xBlyNAZNXIE/ygBBqTzfF08iE3sPNWAuDDCfHjg2JC3rVKeZCRhU3WoaUdlahu7EVNERIRPtmHEIR8oNKZnTfipnAZAQoHnHshorlinjORdE4xhWkBPHXqyIbBJchnljXcFYRnF0gRFy7Y++f1vsRf2aZ6jtzfG4//z8iRWA17/exV2Oz++kSLE9lpdhqONjjbL10RZrCx9Pc7lc5LJw7zRomw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D48DDCCD06105218C5B1F8AF0120F2E82828E38501-0\r\nServer: nginx\r\nWechatpay-Nonce: 72ddb39fb918d7f71bfb686d7277b5c8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ALSoiO+36PFWpYX6BBFAKwFFBKQFEamQTkARiSUJnBLL21X8Oh6fBij9wzGqh6qhvppaqhZ4DzON5oEZYIR74838Mt0QgGognbyANv+ooFkGdq+k8cbITIN2m98WZYhCjSihzNfnpS0m8Ms1ChA6ZSz4AC6ciicaxScxvO5R4eyWJzYoLVSGcs5rRFG5EE9oJyCb3LoFzwDppEQgRWPohQwKwHQcsUshaGXkpurnNK3i8Z2om4UUfGrJ2Za2DesKCHDMKke4HkgEN6EEfXxTzS1CFqNNHFI/VSuoTMPqbPXSJM7rfoNpnXZXM9VZk/JBCQCuddM/HHI9djBetgwOLw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602516\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031555128971\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031556746758?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fafHpcieRkVEWIFlOwQDy6hlVFLOb9xa\",timestamp=\"1773602516\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"c6V2tfUAC+KGN0yFCDHBk/Dqd6jcBBK+Asqzzr+yhrlHSH1otj6AvAtPLowFqHjVPHaM7q0TE6Jy5fLP3uDWKQ0JyAQMZ4gEEEv03Y169Fjvtna8UUrF1eUlZBhfQTnSd0garZh1cdN+uZLGSLpKAd5tLETvzGTfF763necVdKZJgvWjh6AhP5skmm7G1FDRmKpce0J+AU3LPpomKb+iDrJS+4Kw9cXGzWXAR3HPRLRli0uuTxuexizx/qr6+wKFM7ed5gDBjN6Ab8pnLjb8DfCxWIWpiXyIEpW+rbRiGn6aue3VZQsaUc1bwgRmtYlVTzl8lioBE2ghov3FlzQzHA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D48DDCCD06109402189F8DA85C20FCA31828B5BC02-0\r\nServer: nginx\r\nWechatpay-Nonce: 0ed01c23106b454c741e13a6e045da5b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: r0y0UrRcw2FDZrgqhYzt55321qEp244Tjt33aEf8rHfVJfCIecQuUKCaH4Emj5TNOEA6oztDvaK1V5YP7SD8Xb2tcCsiMly7XTymC+GhaHEWY/yW8r8UG2h2/KkUncTdEDZ8r6GA68b6CfeL/79zx1seaLwrXIs/NZO/VIPQSOYe8hm4K+QT3b2ZjxI5smim6Jgxonvyr4WQSOJhD1VSC8JS8T4wty9xDb8tvPtuytK51labXumTqyV69gzNADSvI+zQrGcMWWNhQdEyRaD6s7mSBQIQS/tILAsgUgMzHIbzebUzOnph3ppIWwLgHF+6f54kYfas1Lbtly+pvs+nPw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602516\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031556746758\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557599432?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RiePDhLNEYp7YI2HdaRGp2vlNhHPaGI8\",timestamp=\"1773602516\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OzIrUscpfi/ksC/HwdpG1got662AJyDjM0WhjxuOzuljp1hQv79cyxHWbN9UsbxYr3Tqt4Pq76YVjKuZhQuwB4uL8CAgVbEALVhCNl2KuNEMDtGZPqVSUS8Z+FVQ1C6/Wq37f9jiPX4rVBFQJXv2+SqhMUE+TDqNZbITIkEDNxAH0iOubDazbM4VTO0YWBQ8UW5jIWFg+EXumQg7L6rLi11Tz9zkDlxmg6EO5rgYwV30rwsc6yrTmYide5nxi3ypFPob/1plLr6ibnlL6vpdcCZZNxMDkiwHg+ycVm80gEMFNeTUZ20CENv0w+bZ7lxqRNoqSO4d/s3Jh8eH1GuMmQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D48DDCCD0610C70318CE81ECAE01208C4F28986B-0\r\nServer: nginx\r\nWechatpay-Nonce: 724c121d5ead5813d4222dec427dd446\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FHxPnfR7l6avkzKOY7VZWDHQf3KbNU3uY2JGfXySMc8SJ0U3Dw9rem5F+iPaiFOtWZyjKGpwIfsxuoghkBAw+pjmXdqjkXk1AH5LtWgxzP+MuV8751sOtO4xOEHdWmaNxnCoIs4rTfCkZucRvtB3ncZOBhDWA1BeHZ/h0kRLIVM37SMmznd/T9rGPFrUT+L4LVrjdWr7NklhC8TJ1QFib0WCCJsYKHRvhIaL+JDuRmJ7leX6nbpYRGwNTPaerdF7QYgrTXcYT4sYunyzpCGgs0k0njo1DCH+mxtqiqzLGX2Fs6d0UO043+iFqg3N1dDH8SZQT4o7Kp8DdNt04FSESg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602516\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557599432\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557901403?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"8GAmoqvV5dWC66yAKGIBc6Tj3f4a6TN6\",timestamp=\"1773602516\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"czD43HUlei3c+3QjLbb9kzzxVoDBFrvAIt/I4nKb5Zm3V3i53RE48BQXow6RrbsUA7d0AMXCNTyIF3/AmprI+qvEAGXxduAnIyaK6SPPTruCxmW1shkkoafAxxAaZOuPIHvXpuQ0ygI435ApxKsTyNxqU+PxrBCLETQMWdVRlkssWVtSFNBOO5j2VZTE4TXsIjnIQkPkSG/kvSC2HVn0uE0HPqoek+R5E8lofO+Cf4KVXdOd+KwNkKo6JPk37dUHjS/6sYXFadcFN7hQENlMS89R0cCp+iZ3dsVQeZVnbPbMgv1cBEKurJjMTtGTYRkDi73Slpsp+9KFAAEz85vTNQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D48DDCCD0610920518D2CEC05520A0EA2F28D1AA01-0\r\nServer: nginx\r\nWechatpay-Nonce: 29ffe77f9a52af0c3759bbf8c28f3e26\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nUgdAQiTtBiNVa7+yiTSZZCErFV6KmkRq7wfMk5JKYe9LAjfrMK4X9/ZpcfA+kleIkbJ7YgNq1+hyCkvqH1MHiwbZCywpytQqyVh8nd+kwJg37tO0fJvQHHxKUz1OWNojcqg8YwDoebyCGOkIAbJtP7iA8islU+v+YWcQPqMFdrtc3roqa6cZ9u2b56YBhi6XVTNYs/80lDF5KklHuPP3dmKhbOYQOrfxq72wOANgVVlupNSFYNlRvYEWfSceo2ZRcMMks+SIkL2DOMMiQ9VDhDoezcBM4WeFeBWsYjM16I9o6abVA8t+FjtjeyPwN2fqhhVyvuqQYRh3rZerW54uw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602516\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557901403\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031749226180?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kQ8RfBKPEwQJTUcAEnIFEpPRyevVbHgw\",timestamp=\"1773602516\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lAZnNXQw+rcKS4X3KoiRSpW83nq0Ig2DcQ1fN5LRpXt/B0CBkxrKvPD4H8zJ/+NkesCfvRZsR4I9fNUWzDGrGZ0oWgHb3KZx8KHTuvmEnnGNOBzVjzBv8iq1YGLnLR71Go4NSulMw9Iqa7mczJz4jr1MJZS3+uTBRSeiXb+nmnsdWOgsxDLX1qlY03XHW4KSYujfPyUPs/+Ray3AbNriCAEd/DI5OgLpjfUkgb9tb0D004zsi0wYi4G0xsy6rsmUsd3IZqupYfwrs5fQmNsI1gooOFrXbeJyjbUz6e8ul6oNRUQifzsBulObk30aQVXrEnbD1NaedQgRmt5ReVvOUw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D48DDCCD0610CD0618B7B1F8AF0120A8DE0328D7DF01-0\r\nServer: nginx\r\nWechatpay-Nonce: d8f1ae7a7465f3e0bfd86c87f6e91ec3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wY7EaTm0Qi+CWYlXLWI9RlXKcn+9VhHU3xh4iDunH5ixiMlZHcqQDsSqwtxMMZnDl6/KtHdK9McsAZpdS6DLtRPGfAR9jFcDLIJT+NC2O0JKF97C3ZCCyocc2i6BiE01jNiOfHQypq7fCJQMGHR4RSvFsuAR2xLC6NNdrxlCFKPlpOF4hWUVa4A70zf18jdMMRBfHxPB37tIW3caauiFJHNPjvBaRv2LYzAh5rI/LHkp5qMakdaMsbKiWud5LXldYvaVdnx5bAmlrfnaweLXKvxPJTE5msiTTVZLPHLTDMjLIqGyCWuY0ZXcP/nqVPgQJEgzekWBzVPrIUM7V0eKCg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602516\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031749226180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031750371591?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9EhkTy67F1dGviU0TCqlMSfRqDp0gbG6\",timestamp=\"1773602516\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Y0WQzyCHicpfYZHIupXZbdSsb9GCbeG2BLIlNRYKJAbYNeBsew7CLo7c7DNkJ49cvEsRJL0zijBUbPDpR68RO8Z+1wMJ5rpH5v2JDgja+PK+xkG23hFpZvvXo/1SJ9+G/378SNS8Qo38anvRU13o3e/te4FLbbQLpSEvXIZ2JqEV6Lel22hqydZ44Yc1qNYK2F+DKax0b5Q0j5Yp0sWMw8pNKHKAnYFGiNvsYH35sQHwfRd/5M2x7tk1/V6/5WYo50j/v4NMLHV46QJXoDGfIWX8wvgha6CbfpTw7spgfgeA41JC4xjC971+vJuEJLpnVJxeUF3HxYF1D1zULQmB2Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D58DDCCD06100A18D1D28C5820B48141289ABD01-0\r\nServer: nginx\r\nWechatpay-Nonce: 813f49e7ed7f5fe099f175031444f886\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FrZRrrlXZOlclGx2TTpGwiuRMVJqdBml8impj3aF+r3ZGUzob18v3GM5Xm1ux3Frw9c99JB+2Rig6asxB73WnQkOLtf6KHtpfbFzQNDGAQ4VLi0dKEEDavQYnX0tZlztrRVIrvN/zt0nJ/ukDzycEhm+576D0hQZLmPzm9A0nl9dGKl+ntz+Hlgfr9a0yZ1KWmZGdn3DBmOlK6IJasp7V7uca6DnoLj1CAgGsquux8itIruRQ0SBEKnzWhbGsOKeQjA/IoB0YVBwhMBhec2EPQdTdQGbCnRcDnxjAr5kJGx2DKbJA/8BhPhOwEiFXNIDXmFKpLy91E2lWeBppEeJJg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602517\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031750371591\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031751056256?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2yK6ivRYNoVwlXh1tdt7JmkhOARd4XIO\",timestamp=\"1773602517\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dSttjRN5XOaaLTY2adJI6/2YSx0Fa2/8ii4HyNXaLucx2Dn4jTDUqJ2hwJ6RIWkj1Gr8CGiE5VFWozPigb91qT1hHxlkH1CN6RW9xJMx6ToN8JVjwwbvcuclncDPhrQdMdjnfcbe6NYc5TrZxaDT7BjKNoTKj+1iE7s04fsZ7VbEBmlll7ZIQFy9euuEtuXF8bix9qw7k/r3Pk8c0G2Kgxa+D3WHiOhwPh+gdU00Key81Wm19dklLtBzkLSxU5X5wgwIr1l/sYmIPnJLn1ULmI9zojeLHWENyLZaEzKxLJEAdPtKj1XU+8PE0FeMlZsYJUqw+X4pCiVW57mVCjCAbg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D58DDCCD0610AC0118C681ECAE0120FCDE0528C4B803-0\r\nServer: nginx\r\nWechatpay-Nonce: b1253d4c573c5a14d87d143ec1b99ff8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: abpXkmZoC8J68EEzDj4rMiG7ZKAmgBKa1GVguZU9z5EPV7sYs90BcXiR5yZMiXfU39vZRQBUfbhGmgvhhPfMZEHgNifk1FaRX1uZYp12XCHbvG60JFWdFePQ6yGaejxvVB7EvDdr7RvMSHLr+7mDTqcGFZpNfJNVg5N52hT4YZkc1l1apngzGZCB7GrpidrJDp9wjHEjp7hUAwxxV+HKG/Xu95oyUyjYdSvd0SwAnBIE+40pcJbl8RGS4+2OysUKpKBrqJcD8DrwE8WksFEKkbcPwwgpeOb5YTWHP1xkRnws84LTwPDfjaMY2FL27PbEUijd/vFaUHsq25rsU53BIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602517\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031751056256\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753547900?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"VZgnWk5PZhKuD0NX7SGhfIH27tBynGx4\",timestamp=\"1773602517\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"09yfNkgCH3FUBile6aGwGYqXlq9qhiL6DqkQ5Dwv2Np+f1EBSAoPsk5PtE6S7Txu9hFAW5G1F6okDoj3P9Vjd28rIucI3ADsa0yeQffToWPEyLsve/NHD6eUbugmLbJZpVTYT+gsbkWmaaP6K0W502jPtIEeHHA2cAXzPkepX/8T7KBsjJnSRAKmUrd7dmEYtKAV1KmkXKkQzIWx9MHm2ioyyLSe/y9mknbaiY+OADXdCquiejSOB1Stib9lsW7qtNy2olKlhT+2+T+64f3sQ9AhJVUHCGDVLa5ddAXV2sDNVNl3fsQ6dITffzhiVX141N4biNQIs0RvLFy9qtDLPA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D58DDCCD0610D2021884C48C5820E230289BFA05-0\r\nServer: nginx\r\nWechatpay-Nonce: 3d9f2a8a5b4de09aac92b78dfc72322b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: MJV5egQF1UTZuf4IYkT/r1rPgjQ5dFya2WCUTGtbL4naV6Aq1Wm2i+XNwN6hUu+jOr5cphLo/D8bnqxz9LjS3sJHakrvu/9pJHmS9CiUPw5sk/FZ+8PGAYLfVHSDrorEgwXXYNij860DxVHc/X7z6Mb1fuEjUAMm40+ejqVQKg1Kp8efOE8jN5c1yo8OdwzEPMqkxbMMPygTcrJDM6WWNdXg33x4J1rRsy43ueoUpNFcIdvL2T2GVcPmenkJoN+ih/DqzM/Tj8hDaD1BEjzsHIBIwbA4nD7GeOZLte3SLR+lvBYdCTXLPPenHh7wV0NW2dw9VogOISM/JDQqku5kQQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602517\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753547900\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753832436?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"zK5z1bIxe46r4EY0U80hQlSGZRyLlf5b\",timestamp=\"1773602517\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tT8ii4p43cpkSuSIXqhWF7h5BHlsBwpJrRIQuE6Nzj1ryUNVMUjsB2IJ+eG8hS8E/jqwhju9Jrij1p3WkaBNuXSJdwuYO1nL9BgghJZAjudpIkcXJBPLvXK4ROjmTVOrR27OjAlH2gAHa7k4s34a8esuLzo+KEeUStVE90PgN96Lpbdnzy8fFcLwy5Xk8VHDo9FiWwem57Rx38Ewbx3fDeMMBVypwqRxsMNn/SXp0h+g7W4w9EIhutNyiyrD9ljyIMhP4/4BS8xErtNNJLDjO8ve8f4m6WvghFAgq/6xfhqk03yQSjoKdG0H0yf/wxThJszihxv6ohW8HNxkpjODCg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D58DDCCD0610800418CFD3C6AF0120FCB61228C99103-0\r\nServer: nginx\r\nWechatpay-Nonce: 31a52e0a377d1b519a36760262728b20\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: raYp/VoUDI+BxemXtOgemm0XtcJuZxHYqQ0DH3wDcfrlBCKHr3OdjtZ8/avKjJdV95MegioP2dbfX2JlnwF+F20czipP4u1xDd7wRA1EzK+FgmrNAoLwzPRnrc3pcpJXDF2Ol9cGafLK7jkQUmYtCt3nU1wsQ3hoXnAP4+ORLBZXCv2BRMc8sRlJuJs9fNkJhzMEnw21V4ue0p8zG+AVkyfsK3XqIJ+4O3OjL8zqeDuEOovz4AGK9F7GhWflir8iWc7mXBMe+yOPUXAR6jJJM5ni+ntkHKXSw0SLG2oC5/He+2Z1e7OW3WLr7+bbtckoHT5WGkdnlWORzxIDbpunbg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602517\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753832436\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754917180?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lR4Wbo7u9hRIEsDEQCCw1PhhodlGXNeL\",timestamp=\"1773602517\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6IW/Mp36mfJMIskSjH9b1/SimT7sOOZdMDh1M3mDR/9NaEsPy74kBTZuwRASznhyEX8MKXcOyoGyb91h3n6Az6yAtJ6dzSVu8zatrgIxvH/7BIiAodZXUETr4AMX2ul0gq5VxlY1WBEysTHHUcnQHTWmMYsN7ATCEuTaHgFZEykylINLUK8M0e+oH8pWTtL/LKdLWcxbzgMoymWg6DKfkZcU0Ho/5sf6Erna7n5BBCIxc3554t07yVugk3m1TGFYy8/FU4dzIEpvBgmjqFs3iVDrpvR1MfppuuabBG72a5RlysK39Z382/Ft5WpoojqjqZWUXya9GiRtfJt1LnAqlA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D58DDCCD0610D705188DB5F8AF0120E8D40328C00C-0\r\nServer: nginx\r\nWechatpay-Nonce: a985759a6f8e3c27f24aded7ca5edb28\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DQKrbS2bWGaYuv3qGy7tQyLgV2g6ck1o821ZdN66OpfkoVlC4Q4lYxcMkNgP0cT8q9nMUFD5M/VOgqji2kbVtVgH4PeI+Iutdo5FpcwKPEyJLTJC4+lGsP/x3p80cOoJQKaFM9yVBmeshelkHCx+2xcxayi3aHVO9w+B+B8p6j5Qig+oOOEVWAEd4wwb9h7oZCMqbHVMs/o24RpAYhwuaohqIvJHhJZ44V5GeaHfjM1A0onQl21FSbECoGmhZr6UteKL1+Qr1okgC3dEJFODj70LvV2stkIBcjqnBmqiqHvrCI4e5E4sLjC0YtjLPGC7U/V3diOE17vpR+ewpsnhUg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602517\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754917180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754026096?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WGvNdSiUVhI9k5ZkRMTLXwcj4JwuNs4C\",timestamp=\"1773602517\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ocnLCuSuK97MDUN9cagynkjLa/pZVyDKrfOFa2XXFGnyclTXYVAzzQObJyn4uNWxgewAX5mbzVmkm63W7bwmk4Kj1UCGEx/nVVQyczaY3o8VZkfmTpZYEUYe5Jl/38qOI/nKBGosRypeZxuFsOj40p9P2jRTqdv797MeqtFqyX0sjaDwP0Iz7zd6wFHKOGG/WZwJA7nX7O7UzqZVWZeWh34mEwrLkK54mp33jxwOnVLkhYGDuD2zg4lvXnggUjAkSEyUUR2/6J2lDkpbyKT2Efz/Q8fGZtspfvw7pvdwskpQ8MeIAarbYhLScZyp8xfs0OBjPqlBazBzpwu3flIJrQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:21:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:21:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D58DDCCD0610FF0618D7DB8C5820EEF50828BDAE02-0\r\nServer: nginx\r\nWechatpay-Nonce: 5975ef45c0351aeea6934b2fbf7cba1a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gmSuMZImDhXc0xaFPmkAkUKvK5pzxwlIjGzjLnIcjMQihswPUBMoxPicSq3o6NRB+5Jgn3G+tKVe76EdySI8lOW1Jr4T3Tn4c1iNdektyKWh55JRzF5zsyLuUGw3VpuJ8RoxxJBg/3vffWsQDoBxBn5d4uvGkx93bj4Lu+xlsH1XSWYO+oYV6RLkqXBwr/nFyRGS/7RglVTAQwHjnPr+35/ELS5q0nCBYB8pOvlmbfXHJTLLB8oTOA4iXrZeVC85lHoe2tt1QtKYk8HMAouM7eLnbMWB7vGnKzbt5aJo7aKLqOcf3LDB4V5YWacrBXs9mCAAqSRuhijeP40ghqVihA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602517\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754026096\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030623518285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dqKAxRG953mHFTH0KI4JSIsaCgZlT4uC\",timestamp=\"1773602812\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EZ/elJSrVU6YVqZlnkr+nq561qT3rHQHS0qUXQHG4DsmqbyOOwqAdj8gdvFXSF+fFUFf6/GWAQki5y2J1vUXi5a5gKOjsu0u4BWdM/PYH/35HFsKPXV5XdovZ9U/E+lZRSAP8/8yWvubg1ETW8e4XeB+mb/hqeiBPu/fZCqjoatwKhJJP6TJj2+432LrwlBjIUYv1spI4oUsRO1hDgcFsBaH0JpVodQ6eahkDae0Tmej4et6PGUgj/zuWXopru3f51RrmChhgHcoRMniNE6+dA0BgtW3cBwJBSSGFDmg7KRNATD5/mrAl8RJDRYJ1/wFP6K389ZJPXwFArvmR6/ZSg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FC8FDCCD0610D60618E1C38C5820BEEB29288FCE05-0\r\nServer: nginx\r\nWechatpay-Nonce: 73869ce9d1743c799e65a1c88a27df49\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qDMD0cQzLvn9BunnV49RYIwp724VYtcDBsSiwSrjEImJ4Qemyf3oIpgJYliPW9NnWUHxVQHtWF/vTnvTaqGgDP6X+4qZeWg/kJOCh6sxCTk8yqenI420bQi8OdHvzeLfCGklfV7p3jzy2LivNZVWIof9dLh5RA6zzDi81X/TUb62japYRaXqWAEhgwieawoseTG/A2vesWsZKt/0khFNDHqclAjveqN2XMBDTxtxhEiQyL0agdC5Z16Cf53ztKXA9bnR8BPfYMziHa/hryDyw/XmFpJyybChFKxukEE0qC7KI0MvVK5DjaEdRbf9Ac1IbBmHYkR+v/fWKt8zxf91EQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602812\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030623518285\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704154160?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"p1qXx6umRs2TTBIX2CieC3YW5dwk1Iqi\",timestamp=\"1773602812\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"S23eNOlS8DSVPF7mjg0iFcLRJqqCRfhzJTxOe0os2b4HV0MCbg5CCI39ZZ4Bf2IvnWFO4RJKUKLc+zFrUBFP+iNm0ayne+rOx/6x1lcbDdXSE9wLU7aX0avaPOsjpzqqlQ3PO07YYKx0js5KBefLjIUiWUnGqKQN0aUppNKrcwoQtUoDZVDxqNaGjhkBGVU5bGHjQs4EcisiZkdzO1xe1KxLsQSYVqy0r7Ybcfz1f2sGONtxynO+BQAhr9HOOybNp7jaK8G0g+NyUxGMeRrhGki0jbi5LPEBBrS3kMMC2YxrbVpmN9ddUBi/FZ68KlTg2oyYlpJ5FLyyGSqtPZw2mA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FD8FDCCD0610371896CD8C5820FEC50B288DC703-0\r\nServer: nginx\r\nWechatpay-Nonce: 48c6fe874cfa88d7b9278c14da7072ee\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: UCWvj5mTT7Vn1Ke08lVSOcp8dpxmEw0vKCMu3FSAKGD3r9RB1lI7ewVnIrbHvq2IjWMPwSjcFEHyOVEv1xHLpi7ShRc0yhe4MqyuDp5Z2ltYwKR7exTr8TnemG2+OMH9T1gvw1clCfFE9u6JJv3atmVd6zdFIQcyE1c4Y0WARqWTFsB6nXBDFKZet1/zi2kCtgQaT0f42sDy6mYjmK0//Ih9cYXC0FNKSHqGPNALiTkH4rPXfCqZPyRQtvLp4ZE4OBEy9d218HqYBpPSUm+rla9Posfe3q5rxyx3vGXnnNE2KIWj3cRf6r669bd5cwXo7zr2+NoozCVr+2dNlLE7mw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602813\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704154160\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704018496?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3If9vvvb3Ow700VSnFqkNqaMGxzyhQRq\",timestamp=\"1773602813\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DWiOzNN9KQezYabQhgHtZvIaR2MV3XZCa3zfFz12d9dhwx6Ww2PN8O4ckTKsA53ZvdsFtIv+s2wX4pASMiOYZeuDyFXEZXmpCGTlRrcx0YjW0+peaQ/1EMwI3KfjOT3BrMmgXzmasKHRpx/1vU9yqOiugmyUa+miKnfZVIjHq5RpvGAwP75elFRF2wJ4vJbGS8VeFLjBracLnrjmZAOAJQhqXJDSPCXTB8n0Lk7NIkoIuriXFVMv/lanIbzpPCSwKBV7sX+UCt9cc3/WWxJFz8boXIiG4NgO5ZTNN3PL6TtU34W+ibSTer9LNShb+YHLslq6put8IzWcC7rlWQERLQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FD8FDCCD06108E0218F2ADF8AF0120FCC31C28AE4E-0\r\nServer: nginx\r\nWechatpay-Nonce: 66a4cf42ef579c7e0b5746173bda0cde\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lLhdnWze9954AZOug/iB/NANgR1RckLmRP6SAHbmyMQpcUCqSvosC47/aQotGSo/icOYafDTAxqmq1bQ5mD7eB4RaXcZWnM6Zr6ESWaH6UPAJ5mjUBmxehvh1UHw1pis7TWRewstGprrN9rqY1eNbc5qxaYx9MXm9k32izmS5xPtG8EFYLrRtkDmD72XASe/rPhFCgGC/dLoLOW3TFxleAPdxwWDz0dFgHVj6/Y1wkCdt90N27OwV8Qgsudvg0fgb3ASY71aWiYQwEDI16GyYvCMSso95GvB46mWBmA3vX7UWSemQo188Lftk95FGHDU8XxfNcL5aQj26bCeWaJLoQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602813\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704018496\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031401249968?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qe7UzksrTTunKz6qSCEoSS6V4p7391aB\",timestamp=\"1773602813\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YTFRLCCUcrqlphEXspKgQqogqUz0X4JUDzt9Y8SFnZVaTFMSdTBPseIydeRVoQClPl7PjHIwSgnXgdcNEMxbGVHxfj3bOC06v+PhxL6gfQbm7DovK5zMmd6B3WeP9RoNIg9YnJiaOnGEJSrECLSDg/ImsceQklifVf8/QoZ0plZ9pv5bAbNUgVmUtuzP388v49gpKpjcd2EJm/WpDJ6I+5SMl5Ip403lR1qdKvp3Id9iUjoJHe72+Tqoh7AGPT2evz8RFhl5z51G5aL0MD1yJzgRQZMTADSdPPJ9Wpp3CzoPJUruCPh9myB7NJWJ0v2xwjOhsAbADwWbuZ3fl9y7Lg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FD8FDCCD0610D403189F9885AB01209AB9222881DE01-0\r\nServer: nginx\r\nWechatpay-Nonce: 133dc9175d665eb2dee611ede561410a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nO0/yOA7gJLvpFOjbR2SKq3AaeWy7hiD+Eu8aia3c5YvtObGtHVXaGBfJtj5fBgnXIADgH0DwsFP7FVIXRl4GYAyynglbMEm5C3Sgc7hOWn88ABOLTHfdMiIGILNitdudAn0Ie5d4GIRXm7fQ1o/FbqN9Enxn33OY/vCHUbCbslqrWFfKzDfOwcTCDvAkWNEftDZN+mfv9k4IkIdKFPlHXG2pio8Hp/zd8c9WTnpGcJVolf68FYxbMVNSMiBpnmoA5YXiIDcNVJf2jG05gx/bMkNUa9vBLB0JEeF2Rr9wztgfhnDke/2FFGqqHb+ZJCmSEIHF2dMcGq4VfppZ3K6vA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602813\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031401249968\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031403742969?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kgHClH61B4zHo68cCeR6Y4pkduy0chS7\",timestamp=\"1773602813\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"2qETLde9hvJv+l8fNBMPDBAHHEJY8YJiGQTVYplpdj3FoZZA4TFeQjKuueLyxgebENWRmZxrNW8CU0ZdeWZ3jEPRV5LCihgJ1KBO3peHwwFkDjzbNOSZjEn2sIK4etGsAJd7Q9jgqifZ+wCHzYTM8iGi1Cl4hvayl5w1UIEDXNJXbWvQOwUvjygDMtYLJyvdGawPKT35cOSAhaNyFS+08XI2bumGfcyhmPlWWbaczMYpuvJFu0hkKyQ2Uia3z7THVBj9tKtWszKiOCbQbYRINPKQnL5uIzgcVjsucoDLk9MMu/TmWw4u7Op4nSlyIW6Az/eNeMCgaTf+YiLKdxbDKg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FD8FDCCD0610BF0518B39DECF50120D6812C28DA9D06-0\r\nServer: nginx\r\nWechatpay-Nonce: 04ca0275924f3742cb36bba1133da753\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HFlIhHMyk0rUtN7l4izcIl7BPcKHbZB/Ot9u9/NuIY/atjMLImd6JajnCtW4scmgg70CWVfo/Gcs+wcoHLWuNgPjd+db/JLoYgn1TguTpifNfcGcPzxpJlj3bnMRkO5rfwnytsuxrJLNIdmd3JGjVRhLelvcFCPRrXsQ9nhu6OTVaao9YSpiU6f9euK0b1PShmehIp2HqhJc+p6Fdo/xtvMdUmsFgOmBvFuTk1XGwfm1je5PiL9ZjFzktr9zhXMT3R7TgLepUeWJAq45t92hvBu4lr2mEVBR739CvjlaU5Kh8obNJX6c/SQg3ulLA4nUbMBoTYANuw7OoKweoiSigQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602813\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031403742969\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031416158810?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YwoWFqMzIg2hs27zDLFi4phmz8EfTtm4\",timestamp=\"1773602813\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RwW0KeZNrhNhdYFmHxXAjoiCUFdHSysEdvNDAiUmnH7eaMI46Z9VeLnW04cN/Gm6sgLVmUe8vrZ7+BZP37Xrh+riRuCX2Q2eYdsEUxiucc4RtyHAGP7K8iE3Q4qADuDMaioEzajhkgn5H0Og719JlNauH8wyv4q7sc+xFtXXEijkiEgdo39QdNo/ZRZ1vCT1Nq7FxV51pUVWZrT4EvMdcstCXnu/YYVqBpRtR0KqM0TKQB+DEUXIFnzrKTTDFkrp1mJY7LHnqitv63VAp7lmZ9Lhgtw6akcjpzX2x8WEheogmnw4sTOcYCzeMOzQJOvb2gAGXHD4GclSJE9XvxwgiQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FD8FDCCD0610A40718BDADDD5C20F2AF1C28B89404-0\r\nServer: nginx\r\nWechatpay-Nonce: edc4c219ab88f8728609fa646c2eced6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: fr47ZTwzrHjsYdp+DgyJVfu/FhYGUhFpFO2PpQt2L/ov72xzoBAm4etpZpqr/lIj3ov8FlEEwRlCxodCALsD17hDCy1LLmJ213JGmLl1ay7BFUQTpk6cxg5YPSA6QSh99u7z9tc9mTYviRIFwLt82uZzCiKzynM9+LYj5hy2xX6HVxxmZold+yAkCrM1qxMzb6o0LA0A7tp18e0mkfQ3iszAP5CBBoQqZCejWarVOx2lt/JH6Nlp2M0bBKHiWwnTpw8JtyIrP55+JWcur8vFRSDJTKQ9brq4yzaKd7kEGstbQ2WcdZ/sBfEoe5j0TzmWjsnn2sGPvRA6FdFHBdzknw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602814\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031416158810\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031417566606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"72dkDTs7rP82Zt3SaIJYHHjvRYjETVRm\",timestamp=\"1773602814\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"EwgSiywuDLMa/kWtY96KmcFPMS/hHIxRDZD6g6TW6dHI0j1a9/tkEbQPhFlAvNyHqzsy+gzs7NUZkM1KgJFFcxSO9viLU+xvshiqzTADemVdR9X/76NxSSD+WTgMpP1qv84QGjhRyHYFAN1OgRnvETEK8L41b7ECWW1lxN9w05qB3UVGJqItcrfLxJVG7ptObTS8QLu5mciv6+DWxpcb0sub63AR/rRrauJRxsIILzra5mhI0/95fn+iCkAi1HuRwBnfK6/9Wd/1THZgY7tUwpXu18ZemPyM9gyAlBSqJvtW4ewEOiKbTHi/YPLiHhOdmCStnKms0A3hBkyeKqgR1Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FE8FDCCD0610A8011886CFC6AF012086FC0828EE8205-0\r\nServer: nginx\r\nWechatpay-Nonce: 639b6d23d50893c0bc4b6f7aaf31f825\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: rZkzRB/lfr7J7dXZxI3ahE5F2zt53FYpBIBSyRFohg6nX4YhMTx+pCHyk2kYgLdXvMs5R0oJl/KPnQp4egBl4pz3vTO4SleNDpqUkZfO6/3ZP+02tsRYNG+sku6e37zPj7UAxkZAK3U0+eibwySNFPOhrJEcEAow77uVltL2kYAFgTtuYeuB2Kwett9/ZL9chlQmJM+DAPcvF4g/xhym9cZX787mWxYhFeGD3n4qHQ/wBxxmFNlbO7s3iDV6uSLZffzSCeFYbmippyl9CM3TzMtzd4kkso941w9Hd6SdCy9nG0BX27PaB0QH2BkvCh0SUkf+iIrfBgAOuWtf+EVteA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602814\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031417566606\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031418236393?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fvy1LSq4Vih5xy3NHddQpljgQTBOHtUw\",timestamp=\"1773602814\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"sa73Qtl9MgtIiJ9NBOFm9NKgeeP1u7piAlzF4SKFtHM96qvUUMommhPtVbMu0ZKYGktWuKcR+s1nesCTLlgxYd3UeUKryuVsw44nioG443rluNT2nb6Q7nYhP4mCbVJ18c24l2ceiqGLJjmf2lhWnBa14aZh0lam0U4fQbQ75ep2ewaGbK5CqSxgNv55/ByP4am6YSG3tsNfCzmFCnsd2X//oxtKMcoAXclRwheKdyVgiU/7USd/Pbvoa+mNqHk+tTGw3SBSzkJpB5jx63gYtmszD0Zv4kvyOHHnlPDJLRPtjLK0pIj/mfGQiIKzu7g9VS1LwR1v60nMpKSyi2+XPA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FE8FDCCD0610EA0218D0B1F8AF0120EEE53A28A9FF01-0\r\nServer: nginx\r\nWechatpay-Nonce: 56a778ba073caf949a4161f8a891934a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: hAd5/DnIURieMkZL2aiiopatbdPmtBhnR+874/N4hdwR0ZRXQDoXFEq6MHdmMOJfdCQAjg5S3Q6KjO3aj0+embzk7z7YuSBDRIENbxy9mYe/PBayDbMDg4o4B2a+0UWaok/2SZCA4A/TZDeB3GFAtIqq+jMwQNwXYU3ydvi3r4u+FiIdVGV/Xh+foJeszinxoigFmV1lX7344malosbU0eW9Z64RZCeTZpAwYftfSrmiw2BcmMva79NmORKydr6M89YNIoOaP0vV7wyhNnSVzQl6ynX6Sq32GGIgdB8ZuYkap2SSXUsKQsW+soG7Rvca1Ik46TcoafcuXOVy0PD3jg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602814\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031418236393\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031420314028?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KwSV1xyLHl6EgtSra0CwK78G9ELoJXZP\",timestamp=\"1773602814\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Bi+rmH6TQGvxvj+1cxKDC5UOqO7vEm9uFwXYv/jv7E/omrew25H5/tRgJrKg9xSxjrG+zlYQQz2sSSI2Z8QJDUp2F1UHNJeirrPz9ERRE0bh8LFbP0kMgudq6TRSLlY8gxZ03Lby598Kt/DuBKsyyTfzsRcUxkc+DXQ872pbSNSOhth0WL5m2Ipi2qb9dVLr29S+h92z+9mWBLjfz06TB6VqFH44C3wxX4J2y0G+KNUa3GShQhmpH6QCB//GqdFIWZ3cRSXZcGKdRbToaG2/3U+J56s4+jZmkKM4DR/7CBwxYAVKiqDZb000Wbm+cgpDAcCjU8LX1es70YGiae4Lxw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FE8FDCCD0610DB0418B6B5F8AF0120E8930F28A59201-0\r\nServer: nginx\r\nWechatpay-Nonce: 4d61aca8f716efcc30f6ed7c6b137325\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: G5i86ldfmcOKKN4ibxr17tUvPw4bVv3oRrZ1Jr35gXhkULZdE4osyf1rtzLJqe7/8f44ssfQ4fOAJarFLef7ZbP/BFe5Swn2qca5/kRv0pTiY914C2hVoeoTLdyqDR7hCV+NTL/UOUa/qT2qD/iQtyzfbhZPTpNrF22dFudxSWmQvAhwRctUGm+yxlNX1szJcLVOaFBP/YH6pODsjlhzPp32curDqUKaQG/97BnjscPyUdYL0HJ8D97Dzzthr2Ad88ufxdvuQGkicQSPcDuzw4eLH74n9MAO57m/RFM1PjBzf27vVL3qkQA+p+W4rVvkZdtGKqR6YYXM1cF4hmcfgA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602814\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031420314028\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031421781894?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jGmF2uVu8Q2r4unmyCW16AQDYMRrPHJw\",timestamp=\"1773602814\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"JYxeUp9ekPh1gfAa0WQRZW0k12V3W+3Ix3BDa1SYHYHudzeEbrsPeYU7TS4bwzhFDkNDdr4UMykokf3YKoabdE/uHSpqpyPxQ/VyaY/RJanqNCtWsqmM2P5ui0to2pgMQK+eq8A5pPRNwbiBD4fxWpd5mYpxCW3bl3R8mK1ARojDPiR5ijdwj2Gep1qfOYqhTJ6tAy2PkxdXPLLGspHjC0GLqPnTRDYPQ0KxXFj1QZQGfEAs8fsRer2tmj+dCpq/FfPuES7B/RouhLBn7PM+PtUYm4birZt6aUBG1uPzRUK4UPz4Yj/vIP091s9x5ry+10C7BrrbCuc5VsPfb62MfQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FE8FDCCD0610C20618A7CCC05520FC932528E0BC04-0\r\nServer: nginx\r\nWechatpay-Nonce: e3ce5d3675d5f64b65102b7a14d47321\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Zu6LgaHa5+hZvGbgQ2BL38Z/6jKjUy4phRo4phzNNUNht8YnA8+/Ae1OO9+t2H6wCYdF8oP/2n6Ol4APAyYLP6EloD0q3hVMBM49uRTcuIftyKE5rcRqIGC7mexQekc8/9/m96zml5zA7EIG0l+n9JQi5/Rd+WYL1gpgziONn9LWsPTCWmtmrR0dJNLZB5hYyppWdwrKl3IerkCvWVRFTm5HWMJZgWOqqmUIp+bpFQzlb3hLRc6Cc0BUimsB4lZgmXU8XIBtNFDq0c/0LJvufUJLdfK9gYAoR7Huh54R1m46SPVcq0lmdKFFq2Nal7za9vaXNScljsFgNg+vsV4ypw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602814\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031421781894\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031422156476?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"KW89tnSiqFADslgwdavweRsH9Ew2Keiz\",timestamp=\"1773602814\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fbYFBTxkTUydEOyD3X9+4Tmex5wF3SrdHlz1y08+v+omYd2M6B8OR9gGbnmMSpfMMb08aSCneHLDpHsUjMfWOhs6xr0pvTENvhdcQw2LcrOJkUbwKpYc8MUJi9Q6PCbAMAjwy1iRJu+6L0eSSgczGHi1bVrkyFDorAx4QTf338nOWbogTmZgA7MyVR1f+xQFffD6+sjNRI/mskDTRi3pL5WEJtzcBR4GfdfdA8zL3EfoACcQEakbiVSTZAWBESkSR+hwM4/ZfwPuyeK/BQXY37HvC2W2d0Csei2iPwp/sR4o+F+hDD+51psC0wTGe4z7wu3nbyM3VkIgX2fRQ5cXLw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FF8FDCCD06103518A8C6C05520C8BB042899D402-0\r\nServer: nginx\r\nWechatpay-Nonce: 53b21a67a1edf22a59afff85f9b57b00\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: i2I/dUfhyGA9CssQfQLkeWDwRhaNJubsdisDDudiO5eUKwpJH1QddqJtVM3sd6kd+UsxUPZWoXS/XkqFHqigcUrNO42kNo78RQGNNoSksCl3BpAOXOvmUTPxxsRosz26M2GIZwmW+i6OwC2l3QgOAwHB8uNI7RnGiJVluj5bUHPMysQ7T9fzPR8mHL/kA37g458Aa6Tb54GLkFImjD4eCLUkKlMa+cwUK1sz6eEViis80vGSwfYg33AtrSzmPSyN+yLxHkAngRXXaiYTWn5LM3PvmF67ZQNy+ua4+1+42CMWb+g8nXFpiFO6tQqboHzZfClCOidOeon6GhqgdghU7w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602815\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031422156476\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031423955324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"60X3B9SSogUapYeWcZ6zyfXXJrqpEG22\",timestamp=\"1773602815\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"mWi+PoAcs1lO1+lymjIgBDp2OJhGtnkuEbBlnaadxbzRnBzOXLqwWH7rLfQOq/8qzJmZmulwq6TP4cNBuT5C9TdtgdLg9Kd6o0ezWyoArWfl0AG/W4l8lO9+hNe1G23m5qUJrfYsCiBw1w6jnlgW8yPJAFnv+trNst07vVQl1uLVdxgrbqTn7JGwFsmZHRIztzVniLoCvE3MKA3BLT29nj9OSEpPW23ISU0RChVPXPFs/fgWe4YLzqE5X0FEXEP9JcrkX+F3Dw2Wb00quRDMstYHQBuVSteSXPj28dyr0uMI0xaEjrVU6CtjoKflNnjRNWOdmS83tp783dZMJtn/rA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FF8FDCCD0610EE0118D4D28C582088BE0928C1F904-0\r\nServer: nginx\r\nWechatpay-Nonce: acc9b923e6ba379132a14830a3d85818\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: STeHFYbN297/uSsWvagV9gmUTLbvdMrwy/9NUfFOO5sqBJpIIFHfblSr64Tjr8Xu2MnKA5I9KvDoMwwKAtBL/nIyh7d1/Zq6Wm1kdDK/HpRdwNp7o4L/zOjrig/yJHZg8+/9AK3T0tmmZnz5iHct13oqypZyrU/tVH9EhcFFqfAZHUlZLAXd2CXxEZi2L2dASxIvm+5NDqRXzCC1y/cURobH1QCs62y0hnit2elJaD8wbjnNcjpmns+f1RqXYRGNvlgS2Eu7zXfNjAJV5TvAkk7QHy0Pgx2aukJMvvcpv3S1HiSuoB+rczz4snxjBFORKpk5GLcanCpa6faTanQyRw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602815\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031423955324\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031425447423?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"k867tk1IfpQjxOQU44nn8B3qH2zyKz1z\",timestamp=\"1773602815\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"u9ej2bR65ysrojRX7aovdognIBPBu2hULdiuBxESSiRxOwVFFrv9Mn0mTvYV20QJwrhfeahJwy3B0EC1KqrFtayEWYIvkFrZFWUGr0QLPvSUjsfb56K/1Mock2gEANE5XsAWaaQBK1+NUrwTRRUmjNFsnmJgRBnK+fKMeT2HcTTDEnW6rF4KU+Uz5s5ai0MJaoXT70kfSjvpTTpd2zpgBtVlYU0LI9+13k5AYBIwPeZhtcup6FVNkTMGXyRxykx2NyaU5+JWVfWzOYda/Lqra5Ajx+NKeA3kdHDyZRw1hDntdMPMBER8vYSiy/uCmEGxQejSWRIpiFZFDIzomSonHA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FF8FDCCD0610BD0318C6CAC05520DACC1728D5DF03-0\r\nServer: nginx\r\nWechatpay-Nonce: 2b1611a931737fb4c93bd205090474f3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JebSPYOvP2vmBSvSJfIY+6L7cQLdUhl8IvC3sJwXUUcKK4juIrBi2egO5W2+UUDQy4CdiCMZhcn72LtgW34Map3j0LGr7qkI86hr+HX/46kqtB33mWoj4Ust6XCUlqyOP37sfHdwr6d2GGfb1bepjLd+rTjHvgri5s5HSqP3JmXwuwYPfbJHkn/QnNjLNb1X2t43hGJc23TKMA5wti5JSRmchLDeC7i4z3XyxnLspPMWkrNXi9NvYPhS4JnMF9peB36pfz1Hq7pEo2gng2fb5znn0IKJdL/h0thxZLZh9CRgbpZuu3h6dOO/LdDWEfDfIPsrEmljPi01rKt7HjMDgw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602815\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031425447423\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031426251795?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"pC9XWPmHequiFrgxoIilQOsY87qcyPSR\",timestamp=\"1773602815\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"QYGpyjXwEZeQcAnUD6uzwIW+STC5fkoDOzXGJTcTU3JmnlXVWc8iJI4RLPVSfuBS5D6RTNoc7gSE6IomcithGEcVwCQtPAwiK0ESOkgPS+WhB+ZGkHY420lK2Bj8NyvVLNT5AA3UxHEg69t+Cwl31ed3MTSJnC+9is6s15YFjlZV8+cb64S4toRYYikcJU0KTmWTQYTM3GvAX+PTLZXzSGQQIiFdJ1vw2vr6p+U3RT5B4apYGg5zh7Ac5lxaJ+QYyI3DChLppaX9ELTOArz7lbgnRJEaVYpnlLttu1C5wJisatgMlTh7KapEH03sVSETPOoTmnxWqetTWv4zTeiQCw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FF8FDCCD0610940518F7E6F8AF01209E883028879802-0\r\nServer: nginx\r\nWechatpay-Nonce: 71424dd8dae51ac5c71c82cd17cbf4bf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JB59iUvBQC26yo7a/qPsR+W9WahaX4xTmMePTLH9BAnJah2odJQL9rSMNHOG+uuKsNwzWvYm1lomJVZ6fTkOl3FXyo0mwpkvV6RWHhBWrIhulRaXORBHmiMMZLNX8WWFVuH6jogvQ5jSLvrRG03g/Te5jHR6zVXvKwipYJFDVwLT+SrdRHWxLUznx1eaxAWD5Ns7Kg8Di7aiWj0NBHg3StJj/E3XCoLUBz9p3iD2M3zqK0NtFnHTuSmr4k2RLApI1fAEEkfXpIS4P0IGPM/bmZZ8j79l7CK0TRy72jFVwSsNrFnOKjd2pvVnYM9FEd/Z4EWne7usYM1rWPhntA1U/A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602815\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031426251795\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031428343343?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hx084nJDJrtHPAwvWAHPBAfhoXDzWd6f\",timestamp=\"1773602815\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"rqD3xVs4YEkWFD4lA90uuzIk0pHA+FFMNuZFboxUTmPm/bnnaMsAd2a45G59fXOUehnalAcv/NVbf2AAIybaf0lYwc/W9u7VpbLqK55NhKvrIcUWdvcP3ofJPm8ywDNu2GPCHso8DJFG5ZTP/EGHEkfBzPiZcMYTuywEdxuoRWwk1LrmZP+3U0352kkP57yIdr7UqCwGHh/7bOqwNS3dN7ohDIJPMN/XUbYPnaHMNs3qdypue69LLoLDL3SyFi+q3raY2Xsw3djrey+9gGPgYj1LnNJSo7jGYVuTt8Nbg0XzQwBGEP8X7qXQRo0dsPQumIgqW3tgjJeLsjBxdPZ5CQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08FF8FDCCD0610F40618AAC6C05520F0D11028A91A-0\r\nServer: nginx\r\nWechatpay-Nonce: 8b9c9173f9c19a96ee641c1a2c569ec6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: fn48w2uzZI617bTjr3i8yJbVfmCbMWqbrEKoe3GuAuyvkeA2wRZp0ojX7oClU3kyjov8G39BqmeJ36LZBVsbajGALvLZEEL7X18wfaylSxBW/+DSrVCy/v0Dzu+BGLe5IG6pmypGfW3eNmeM82Xlb/V3gUrZ3eYA03SKPAHSgzlR7g3Q0c3+TXHuETCWJorel4LT7dMelTnqXjFB3dseFDVz2tlkN7VNwYHOGK+pFiNKHjhLAAyJNwwF5eHANI2yFskm+2GVV2wfmzjXXTy+WtgPSvUdq9/V+fSqlOG7M+h3e0DOAC7mBFcNwBrgv02CXI7C75hU+grVtfnrGQPEtw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602815\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031428343343\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552642255?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dnfAciKqO68cmskdPL2fDVkm4RDqL81J\",timestamp=\"1773602815\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"n5xIIeUs+Te2wIihgepQjSQ8RsZYnYsFt8tMDBPnO+ETVHPUvprtw/d3tzWDKvBJn0INS8gacE5A6AwXUxZsopgx+rs4LX+uw59TXILir0BwUXHBNSS5asNVynVkUmvt/uIR3TleLWve3WwtgVgsESpmg92sFxNQzpBKj3nXAnEnuYb2TyFuiCd/SiqvrBm6TXGb9OKQHYjmJy2aU/wPM4r7+cpGXPjw4eJeg88NJF/u3DSmhYQ5FHMwc19QL6rKlTupu8Orhsv8zQJDWoH6CQKF4p6muRV8XCn+G2afOADAU3Sfn6OUCC/jhpPjp1ncVBR0kl4r4zleUB2XQii6Eg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088090DCCD06104F18E4E8F8AF0120D8D43428E6DF01-0\r\nServer: nginx\r\nWechatpay-Nonce: 8c3cc010a9d318945d08145723c30597\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FbgG86S7Yj2FzqdyBD7skJn7iK8MhfPGIg9epzlrx00We9jy0vxpklaKMX5PCJ2jY24JpEiWsH7MsKQqBv69TGbHPaKrVdS5W6Dus6X22op/w2VWyPZ/+krV4ki/TADYUs3H+1DZtyaSNwONORwu7snRY8p2Pvjv1n6t6vAwh30gojup4tga64flsPhXhW9ivmyztvfs2sij1F8kLuhXsicI+9TxAqLiK2nKh0AvhXTw36JRmTf5BDBEW96E+7ep+T1jyHGrgHMkY3iXgWVDBo/QUFB5YC62McS8IPUsqukfrKeZD1UsxmTn9vj2t1KqFXeI/AsaW32Yw0u6R/jvGg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602816\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031552642255\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031553556581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6Scg0MupLBDauUTYfB4md3hrLA8pqCXy\",timestamp=\"1773602816\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"r4JcOBtjEgnXr3JDHTqTngj54x0paVTdqhjl94wa6MgR2NKtgI5tObq7tw85nvobRzba20t99n4lnIdtiqliRfdQE00RDXFEC8CMBsoKF1xRQqxMPizQXJdln1YojWDwZMreAkzH76i2BzA2HaPs5paUyvXJc9eWlGSGlmVvJnIW0UVL9RiLHJ5ouXsrVEhp2uwOm16nF8qMzFqVfKfk9FqY+S/4mNfV+D6eZWrlmOuiezHwHpzXytiV61CC6wNZr9dDITOSUIY8cLnTILsEDIKdhbK6JCeVy2Jbrl3ifbFIrAp5sXy/KevUVGbCg94ksVeB+VEucG83wLaoHqTQaQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088090DCCD0610AD0218AEDA8C5820D4802928A1E703-0\r\nServer: nginx\r\nWechatpay-Nonce: 8a0049f83d8ca3d6856ecc71f54d39e8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: DV/3r8qWaeULLLEUvqoD2AWQozkl+sxF07wUNwfHKqgS6/tri4RwDHR0vqiNKX8pphXinxjfW1CnVlgJ9NlJKSagqRfUpISKqdZrzEUAbBvcfncMlu4jyyXJ1YZmlGLr5m8xDDnIqWavu/o/1yPzjX/AzR8NvB5c75z7iyeEcYRHFpfMrvtfLolWV4P7Na5U8Sdsy8bfMpLtRVtgwtjawRIfQhZOnQWUIzOiPSx7waJzYXP4TfZ1Y5tIVKevGoJ/36QxyHfSKbY7ENuapCTzDgCecGI8g78O1ruQ+nrmsgvyg4AWmTMZctd+bPbTms/GkIiSaJ02hqYSSR/mNihItg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602816\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031553556581\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031554327422?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Zdjz3cjuT5uzGQ8s1giyl9Raldrfrajg\",timestamp=\"1773602816\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WzMrqKPOj+x0uRTLb8InDk/jvtsX8BhqsCdvwiTShO/5tC8sTUDP/UUQVhIvhr4kpt1WbQJDQ78CJ3uzftsipCDpHZizpnrtwIXTQLzrhm+EuoTO1FQDwmU4+qhqOoV9HEO24F5xV5rvkDqNz1KfL/3V4lvVAsc4aoKY/3wed9q4oNpxx2OsDnKi97v0gPf9T0BngE9WXujyqWTxXOhD8u9RiThQihqt2MShKUSIG1vjC2EyMjV6JbaXf59+wzkL1L6Yk1VY61pYEJEiuCd7+CoSIx8Yo0qK2kbfqafSl0w/1iczVBjnLOicy8qd4tnk/4pHyavwkUHNvp6VQmCRKg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088090DCCD0610B804188DC58C58208CC50C28C1E205-0\r\nServer: nginx\r\nWechatpay-Nonce: 0463c79660022fb4cbf88e654635a52b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KilF9J0y/NvOLnive+FUW0BJJRv8wh4U1bzgL1v+RZO98qhuMG4M3I5lH7/ygnTNanD7fqB5MgKStFakgIV5mLMInBI5R756oy9SAqSeO0LWgZBqdkYXnKz4oDGG38Btjx2z1dHSjezkNvAF5y6HZOK/BX+N7I/sTy4GcJdc57bYO9xP8TKPFBOtfec/iwZKpKnFPhtiZ3AWjxk/OlR6Cco4dV8lg6z09Z/01Ynp0mUuUehF/pKPQ3tP+szHlGUqc6tnrr7KjPN0JgZITv3vLXnkFviFtLiaseecNu5XblsO2jVuUMyga/xiOaIZ5Fm3Ebxh1GTf4g0fLI4iSgZvag==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602816\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031554327422\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031555128971?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WieyvGqZ7huYmmIAXLfQJ8NI4PFsjpaU\",timestamp=\"1773602816\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"YTV1Gl2AZ1CwwydpxDoxqX0BsyhVFPvswTtk5zj6QI2Mrus6MjkbtGYE0YrB9eh+2Wj11TCsPaRBiVIk52Vhyf+4JPjb3xIkWn6EuJJoBALdVTgwseKmJwprDOuuF3nexM3gv+mmzqrnxmqZrpp6vGwSJdQj3P6w9/UzsMWzX9vDxVBsR0/WHz9j99K6W/PPG0gnDwKsHQAgyeYL86vqJtRWV8TD0yNLEE8yAao8Upq+/5d7//DgLwNZZX0yQDjC6Ax3LmxeSohNkTvNYTzARoJAEIU4xQNXht4Qb7f0eeHDBPmeEHDYn7HVBxbbD/UJ2iwY5yFgL0gwXcu4h7r54g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088090DCCD06108906189082F8AF012090921528B69D02-0\r\nServer: nginx\r\nWechatpay-Nonce: f3c2ce2055572d872eafc37584eb4c98\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Rq5Oc5jd9AM+fkJ4GlLfpeqiEFctnZI1uowWW3Zm2RjhRfhNzSMCEv2Vc45Wrmpzvy2Z6qHs7lF1ILHfuC98hAk5E4hRkGRRm9L+Hog2oyeGegN2Y8f36StJ9QIqqD1qKpwSqcAKZhhQ/gTsX2+54NwN9wl3ohUFXb7vXcGVYHObdKOaSBiVTAe1O6BPtsolXmbZa77wdsitsLDhlLTf3kw1GBc4VEVZI6moo1SzcdAeu0Wu3qS9zl7zyQtCllacVoBW5LbAwTIObW0tnQtJP4GfA4sz0JRbu6m9K5Pt64jRj41A/hz9Wmaut0e+C1S3doRfEEdGImoUyGnfnuudmA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602816\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031555128971\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031556746758?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"H0Cv9XeSjUIYZKi2BfrEJ8zT7Llg0lMV\",timestamp=\"1773602816\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KGiP9xllGMH9c7dXc+OjG/I2f/U46Zlmd4vfw6U1h8bWUIZHRL6XDfUDIUagMql3mYVPB8Tk8SFv2binYzm26fZ2Mmf0VWoDupYBDIruzcIu5ExK6vIAEvU0qUiHp1gjanDxPrFjJmRrKGgWmXz+YYDb7Cr60STeh15Z8e9jS7Zy47m7DNLSY8Sl8Z08TIVDPnP03MQSfOosAYe2RiizTUYd2vxeGMBxbzoM3+B/tBQn3Wnw+VDHrp+AGY309lQQ8YHWF5fnxrgf3qvxzVVYDaNADFZZbg7+ibEEL1YmutnlCPz+JNW7mZminy6VscK/YpeA+fNzXrMbGmOd6VVKrA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088090DCCD0610D00718A1AA8C5820E80F28A0C404-0\r\nServer: nginx\r\nWechatpay-Nonce: 9f98d8c3f93d4665458f8c8fdef73720\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xz1mJjrom/VaYr4vN4u/BjBLjqLpOwBPR2NWGgQL2vCSWC10uvnlwPnnc/zR3tk1MQvZmTAFg0XXeusOu0VTOnw56MKK2Tb/2EMIQjrm/YFSztKVA23THO796yl2qCAKa6QpzIMIUZwTodStZUq9e6kulJLSBJmxlQmH/7/YIs1hXUBJPzk9QKGOuXi7MeKgSDkZGw+50e0SDm6IUt7elMev80Rkd1lIy0HvXczKPN8W/kJSfSTf5SXSYzLbl1a8ZP13bcosS2AbPn+Py3qP60nair7ZHW6ASMzWqO5StWAxax8ye1v5a93VVEcsxFHiUPYafWkXXyEgfBxHUx5X0g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602817\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031556746758\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557599432?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ga0ZZj7iPIk8eOMLyKJgcMpXowjKSISS\",timestamp=\"1773602817\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"AFDw3nWMKDJ1rrWZIAhVy8SzY5n/I+a7B1N1a9maaAJSm51RtkN4eCCorI4mjhRnW2M4XZwUqwNQkfpUNfEyCjv3RTMuG0jR+Q4dcOook7ZWpxpkuye43qrSS3w/KN8y47YzopnwxK2/V1iePF/8SJur05f7BV8KKbzCVQt8cLS0TVxpvLnMBi1hhq4k0grV5CHUZO+11jeBeGVUr6Qb692I0pcXbd3iwCy6Y0KG/Re4hJYhVJExGYxIFYMGurY+e7VWocKxnP0NxWui8ClXBahI7FS7px1s2Xzzm2cMlJ/WkEijpct5/PYqaDQPd2Pay5Cvf/gmCl2O+Kd6DqvTUg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088190DCCD0610CD01188ADB8C5820F2A21228979405-0\r\nServer: nginx\r\nWechatpay-Nonce: f6e7690a7b3357717c70a712432d952d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cgYiKHxyA9uvA7fezRjUBnURPGFQousyRnamwDYmGCJWy5JDD6xUk1Mrzgg/NtL9cPSO2gEk8uJtX34XAaoWQQnqbgZLS2co7EO5/WjVlvPAK5y8dj5B/KLl4NNfmVDCs0u4W0d0ZjgW3m8NRyZnfoqdMHSQqdl3140MXS98BqNe2btdtNVv6YxpOQhNXqYjFsE529fMhZOD+g6oCvt+No2OsM9H/jo65kVP4BTuKLN16P/2M/nRi3tQuDsNx7lql+GkHQXtnDeBFx3JjuMLJgOfQXIIljV0fs83BZeqxKBcFsFUwxRhmhH1sETPlk28xdRj30Na0i1Hnwlw0KooEQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602817\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557599432\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557901403?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fcLsH708VsE1P2SF0pNW2HCE8a1FRWXs\",timestamp=\"1773602817\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nYhY+WvzdeBluHCAAh9RirdVpKq83U7xVf607b3tTujZEW+HI4Vd5CK21dXQGLo56lh4L/ecVjhP2KTEwhSWrB21dc15RWA3fZVC9+UNxgqQVMMzOufcYG2snBiGYNcwjfC6STtfdFx9Vhbdv/c2QjGsy1SoYxV3C+3t09UvWE8pmxDhJMLekhHJXIA/ChlNOk2ydhweFQDcJBjlb/TwN9j0mFhpsNfxoCqYF5abG5tQKwwtkRBC4ZFTSFbAduawYiGVoSRxAUvlDDaxVqHf4JTpouwKyilrdxWG5shD1/bnmwu8dUgVSucjMXVHn2/xbX21I69bcHxvaIQ5yw36XA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088190DCCD0610930318B7D28C5820AAA52328F07A-0\r\nServer: nginx\r\nWechatpay-Nonce: b96252b1f884386b60f7d24281bdc104\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Vnpgw07bgB0qoEzOFkwVQCBMQGsJUCTVDwTSmWR7obra59ZJmV8iJxtxNus65rFepxztKmPsgaSBIarIxewlx9mzBOPZYLqKne3EhGWxDtowyX3v229vfith9pIFRQXOy9H2/l+OIoaf1H+CvrLB4ysu5fUTSLhXVLgMdVhdieMJevVYJxMLnseSyT85RJPo01g7idI510pOeIMsvJSd20Jg9fIngvg+3JvsUk0LZxMX3Uybkos586ir5gpsez1LAWhdVy1QyNnBmhHas/IpQz82fThtvJvblA1IzD+2ysH9Fen6ROKShO3mgd6PkjJi8sZqNEvTEYe4bT5loN9lsQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602817\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557901403\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031749226180?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"lDMqu8QUjmNKKzdIpcTW2sUGQ2OFENaV\",timestamp=\"1773602817\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wA3QYv69tZgZdD1dOI361PoEU+yu9Hjt2Bv+7Iwj7G86bMzAfyW2aQbZ3CKZ9HPsIRznyEUr0mN3KQrnWyPqC/d+LLj2fOl4ep3XiLzGeoLLnJP8RzQeGJCtPGldA+6Ibb5qGgj4LEhDVAu34zKyvlquYnx8xDV1JOUBMlckIOJcqFij7XfTsVdMNpVtSgJcUtyzU3qjGLgD72yF6jGWHHSppAkAecDsqAp6uErWoydsHa176ZFV7XvNMt2Z//PqT0Z8JHumCOE/Mhj39AjWS16+KQaOOM6dYRyC5bFlFyd6LOcGlwxRhBhUOdhsy3vbcWG4bisO4JfHg1/QHSMHxg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088190DCCD0610E40418DCE6F8AF0120B08C16289FC705-0\r\nServer: nginx\r\nWechatpay-Nonce: 0b08b547a0a4151a4f45208ccf53fbd0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JE1C+tynG5nTZxim10FvvCOGbX/gS+yfACvkG1kTgvggW0JJtsY641Qa/FHjTl597RlgZe1FO+EgHxL9zQdzPwypsBxn+o1DgZVw9mR0n41GisrhgZESY8upPpJS5m+PcAXSDYBnJvXYEmY8XSTkC7Os8G2Ti6Gi+kKOYbqTufg9MfpA17YcmSK01IrdwQ9eva3X0vdXPPT+hT8Sxt/HOZjAzA7kAdVUEXV3oQOrE/yMHm27ojcrsfpvks/CzghG/aWEEq26moiF9g81RRQdsDDW33VC/ImcKDEJAPrCF8y46LBpf5zAOgH1dJ+bzLFqPOl046YhrYJvpX1vAleehA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602817\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031749226180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031750371591?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Eje1CyQSXVqdaFIPdesl58YK7ni3HI0D\",timestamp=\"1773602817\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"lhZJQicIro45c18WzuZECPMHJLhTemmNbR8vGZYr9Izsp2J3rTR+yT5Lc478+/qitliwrR5ufPOWRBQF4Thi920Ud92mvP8G6xY45I/bomXO+ybFcAQ5zu1SUix1hmo7aYE/hcsHqCr7cGA0MIxM3u5ISNoQm9s+1cJL2vaOP7XjviI39ey3ldqmcB6uQoweJkVdrKaEIZRpFYUkukCMnQat+GsCWjmPPKe+4navcu3iEJS724Y4cFPWigTH0kifcWM3Im6kvmAU+0A6ht+hf/UVWflkCcJrgzv4vaWK7NZU7AaTqbdODfz9CCe/W9/cFOZciZ3e8EZ9ZgVJlU610A==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088190DCCD0610B60618C494F5AF01208ED21628C3A201-0\r\nServer: nginx\r\nWechatpay-Nonce: 24153c269df3c261e929fa0e395d802a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: d6lEjVrMZsWd+GLYFK0ZynsDaKWU57LZTirqbuWLrENZCVTwYLEFW6wpbIe8QF6n2pQ6GXBDBRH2O3zsSC+ahfgm4IenziYSX1wKf6ouLjjPTnzYKHaNCD0Xae1ZX/+dtqUQlMWNesUjjPPiQCK3n8dRWers4OGRU7U9NWY0Vxmp4PEmgcqMVYyJ1LRqw41iVLTOyUA+mfHBYTPFCl0UirDKY0810ZpDB9n2aJxgexZz8/VBODGV1SXyQrqjGVyYnp7z4JvEyzX2p4chDLBqwbeWt8BbTvcMxvEdyiHfp04Xva9Wg0InZZOTyeTZMOkwWon3S5n7WK25M/iJY3cfQA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602817\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031750371591\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031751056256?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9MlodgpVcLkriU3Bh518GlEvF06OUGmt\",timestamp=\"1773602817\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3hB+7atXX8GZrKIPCWJdLT6RKCQiKsoXoVRH2Enbwych44t6+toi3IK3w9zl/SPCSrHYDzD62wKvwtF3/+egen6hKohujYFg1Si1twVvGojcsXMwy0R2mta0pELecDfNVvRD27PxmKiD7ugbjs7oLdYyEmOq2MHm8egUf/EwV3T+MilgYUMlHB8ARQeDdMyP2P1IIkf0PQAHOMPUE/2nNT8hWd8I8b/KPeHmiAoR/7glqQORipR2g+DQ+2oCyvp41fX6ps5GAVcKQ4xyVu7NrPYQOm9il5B1lmmi25DmTaVZ+xnZo28dU6jGgZIISHWSWok8MfO7ZgoUQLLTw5ZVSw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088290DCCD061027188ADB8C58209CBD1228E8C002-0\r\nServer: nginx\r\nWechatpay-Nonce: fea0cd2e637c677967f926412505102b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: KHbdLUzWyWLelLKUK1TMJJ/jDT6Qeu3FGNpM4s1Y3NotHMlo4pP/BB5QbC3jNj6FF7y8zB7SoVABFjrb567VCElJ64Basv9hlQ9WfEY0OxwFAxrENgB7L0J0S1JrN+mau7LWMQXjZkzAchTcvYwaR5LAiRm9Cy+rGrdmrfioAzsrQD8CIeKDqxUx+EgFASNCiTuJUlL27pMTYy0v4ULKYfIiP9tjT1/c45X68EaCTs2QwRAtlt9ku8Jv6W3libgRwp4C4Hb/Ze0xZEZwFrmVzxuCsOwldZkBeGwtMlrtaPLwoN8epFCZVJSG7gUqPp2SKthXZJ1/8ekpkt1aTE3kdQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602818\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031751056256\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753547900?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5OtoemcZpvcwFZfSCCpnT8COx6ENu0nV\",timestamp=\"1773602818\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"v5gFDVSEnLQ5vR6LFnslj9H0IlbDJfU0dJqc4vm+Zhyss58iOsNpkoWqY5iljXeeD2v7dgQlo3tsXqcUV7wMiR+q8dw745r/iM8jQtAAG1d8qF/w0nFBQSE+Adpj+OhbFx3APyrsVx1lE2cZgdSVfR7XPeXYD1QLWC6WA5FhIC4F8OzoLEQ9KmYwfbETRfw8sYegXotovDhNKJ5Rxm6s7zQlZ9/hCxK1njK4hNsROnDYY0iZeySrxPd3g7MuOK/DGKTb9hTTxETSDQnSTrs8M8eSNfd/mSJy+yfsn3V6IY5+I9nWfnDL44buiXhxC7vuzJnSbrP6qDjHVZlE7RCBgg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088290DCCD0610FD0118F7ACB1A80120EAC12528A39702-0\r\nServer: nginx\r\nWechatpay-Nonce: fce62bfbbcc271b7a7cc304e080b8d64\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BGr8Txw2OoSPyMK0xzRH5vqaHuR7julCcM6aA0TJ7cigdiUkwn/gfgzgEphneEFqHd4yVB0kYbC7ko5LMgmYGRVT5a3Tafs3LscDDnOXVSUgftuLxvIkezvuwDkTSFIQGztB23uhCK0JIzU9LS3jYFGFuMNFS60CaXNTnKGQwIymByTwXG3+xSktp73eigNTwwcYDTAMCJQSpc2jVGJHGQsKX/3Ch/WtvAoXC9sL2syVL1robeAf2Y1rz0Wo+QthFtZ0bK8H/wCPuydVsG8+/tOuxMaVi1SKq/ejr+gP25e2wjZa5Efx0T3UctGDKm6xl/9zNkStc995zvMwaXzTGA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602818\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753547900\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753832436?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"q9PNOE2Usw6LFfNBRwzXg68a0RCFXa9l\",timestamp=\"1773602818\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"k/MxH638oMQlUlyg5fWLd6fI//cnS7Howfr2CtYMF174eiBkd8/YdKpB3YJE/g1WFkut0ChDI28xVVCvrGHx+erfLVth1suSM4VCFEwBbPYn2eR2NyKIWjnHROXupTggz1o3WDeFhO3Y6PIPBS38uAUHpdZwGgr0Qn0q1BkSqIT2ktCORi6Fze+YCpXoLt54hjSteV69RdwnPYBF68GBbwHE1SEsBkYnJwv2DOkOGp5h5OLEwrtyc5usnK6j+EDI12FBlpn4FpyDjKGjG226Hn+/NXZlm8Njn/Z65DXYvvxNisqF/e/zJzCwxUa9NdooSGXa+jEHkkw5KZ7Fhl5RNg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088290DCCD0610D90318D5E6F8AF0120D29D3A28C5A505-0\r\nServer: nginx\r\nWechatpay-Nonce: 8fb4939791f2b1d69e7dffb0d1812573\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: iuDFeFTroYZQOTx4vSPPr7UsW3DWDcCB1vOfMoeVi1gU8MzWsNIlXnT3aPduFGZ5bqu4xCDbNhGMGOshpa33zLUZE99dp3pOPaW4suA2SFrUJtLWxEqERSBxmEt7x2a6tZch5mTJiW/Ap+M+SUshZL7a0LhfBuEy66DWIKzK3hQWM4ixIASUY5/uMAhZMaOjn5/IZOnGgwaewzdel4BBiyqoCHNlW8/5F8cHMbtlE99gxRe8JlWiKPvGMX7WLEqtsgt0qPMWcJ7eGEFU4aqn9uWrSQ+A9uuuudSjS8Dyvr+kjWVatlK3KUF5S+C9DEQFvE8zTYUEcP+uhQsfFDX2Ww==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602818\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753832436\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754917180?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Je0QFp6SdzEkHxgIOZySKFMCvolf9l9H\",timestamp=\"1773602818\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BW+QGx6ANgpK8fbIhIAdHqTL5zvNm7zzFUbE27lNrKajvCh8YVYZEQ7iCW+NsuxEXCuAQ/8cr+0Wht8GAhOQ6qGZxFDcE3Ml1THl7Q0AF9H66QARHiFFdM5hzbXG730qnUGFVkTLFWgAzKSkK1t93YpUq+DEl39IPdJoIgGqY7sxkw4Hpy2cS+N8iHotZ1C8a7my8rwtA0cGW2aJrI+bNUCZbjvaSxY6bktiQ3iSZrw/NKYoSyMIQAEO4gbcnK1ICvOCQLNyB5X7q22aYK/V5aPdWCMvCE1rdbO3Vmj7nNO/ZHMUsZKRRn8vGg7k6+pMYZSsZieHyaEMNg7ibNHxKw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088290DCCD0610950518A294F5AF012092E70528ECCF04-0\r\nServer: nginx\r\nWechatpay-Nonce: 621f10e91bf49c11be258b32f3ae325a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VO+WOkULAYjxmvr8eui+QBEfY0iSqJk50DlH1TSbDsLsXInNwGkmSJZNTqd2GMU/hLZ2hatOtxC4t1ZWziTP4XhuJzDbVjB9aQgtxFSg3o08chBEM8wdhSSDHLgo06iut3sI/s4HJ8/O5KRKNQXVh+4Ts4+fXx3xtKuNTGecknT70vyf+zbBRsXwNA93wFtfzHsbHY7+wZqV8cgn+s1MyG4cCV+P/qSZMeUINrH9JfIy8jm7LYlbViRrOWDc69gfDV9t92UPaJmj7wK8+qGp7Dt1B0YB4dIT41+8K4NGAEHWHNpEIhojpyaqb24GXFuTXuVaksOI9hYbq41lIT3GXw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602818\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754917180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754026096?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"iM7SkcPz7vrRgBEbENXvkj5xXBjY0rpw\",timestamp=\"1773602818\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Zg/8k4Xdxyq0GYCzKjx6QxBIcIg5Mt0aQfTn+IcAxErI+Qj4ZN/xM0wbMrESN2kx1061Asj5qJ2jE+PkYy86NXbGrMax0CWvw57GT9FFeqxJLOfoKoZa0K5Vb8MQYQEoIvzZyxP6fLMVMP5XSYcJ8IxmeW8JZgGw4HDFo60+E7IDVeHr+PpARBrGmQh0Dm/ZbMM3pbwAxKDSerJD4ztl82YEy0sXuBkw2S1eWldjqUAwq5r3uHRAMNsr5gfS6b75YML5lTLwvYWbOc9FvQ+U2Rd2DGhuNXg2ngY1fQ5ascAXSvHkkcuCEUUq8+5PczYRUHmsBwsIDjuFSXPd+2Ofng==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:26:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:26:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088290DCCD0610DF061894C78C5820E2930228A1AA04-0\r\nServer: nginx\r\nWechatpay-Nonce: df9c2b67c909aa3c6658c500f3a52321\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CKqXmujv0aLFQ7GfPePIwLcheMxPV7yVPr3DmhXGKcFEM/5aTaLPlQDgh6DILonZ2aZho7XlK9loMj81GAhPtHyNHmuONPbhFpW0jj8l2GLB2uw8G6Ht8w68ZdXzekvRwlx3aWglg0ZO5mi3pvzaa1maIky3dZj/srIMITRw1alqWzwH8zwZp7M5AezExbEm5Es1DKlhdXHUDhNvImQszadTv0qKnOgACGhOVD4CDzxyiHVZweK6f01W8hK83RkJulmcpG2kHXZPuMAvypYsfTWgKCtmuKMheLKZk4QLYGVxBTuK6J7dvbdfJrJTiE0e3nE4q7Fbycatc8NfT4yFMg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773602818\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754026096\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030623518285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AwVjKD2DC9ABh5Vnqxf00RpZWh0xULYQ\",timestamp=\"1773603112\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"K6oFO1iBzkzCrfz5Qmpdhd4gJSLlfh/Dwm7cbkzMdXxaMLntuGHLXvFWWf6LiZ+c1ZAA1qofGfW7kEC3wMpXru/qy5AuUy/jnaZUGmlfsoZ77At1Ng+AplEyPyTi/YWmTQkwwQ7UCUxthue4fYMPagJte8NYnGoyy14fX2ZSg8VTv00mylDZfSjjVCyAdvEgRpLrerL1b1g72YSSmNa6CfdIjhbFCSrckgtiBfRdp+bj17mqN05Ca/osYvIyGgnZApLYKExU2LwGvz0tqcjzXPiPH92kzoUOKHwL61BM53hEj7U0+VcBmytLT3/QQqNzIO3Mct7KvAJTfqtzOW6i0Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A892DCCD0610C30618E19D85AB0120F4E22528D6EE01-0\r\nServer: nginx\r\nWechatpay-Nonce: 0375463aa676cdc15769b11bf6dc90ed\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ShIKRsXfhVzCxoLUS0jiR7OrxdhjH9L+r5Sk/pvnhnhjeK9/FpfDG6QaUc9QYJLN14bNnfk1e725gSPU8XybVJa+zNao11o0AmSFZohZacCMk4+Wc8e4a54LtVvUvKZJ1qKgSWJB4PtMIua7nj8yN1+lsZtT14CNsn6LkvMvD6YcLOiV8liqxmcXAaSLQuvglODarXiCj3shx/5WIGguhCietMrPbk9kYiZOaK6dElmqxJ1xszZEknqwyYnhb/LPM/V1PaCskjTot0Ihf2LTy4h3/4Dad5ipQaBCKi1zoHp03eUHqTawEa5w1hi+S2vLpwYQ6RDdXRb8nMZe6AksDQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603112\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030623518285\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704154160?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eTxdZ9fe4y0K0StTOBQQJFz98E5UAfLJ\",timestamp=\"1773603112\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kaqF817+a1hzlTAkpcrV9t9gLiOkO7zi4Or61bds6Zk63P3SQmr5ydSpWROFRb/bFPA/n8QyTh7BuBwva2KmJ6UbrWBNcMMkMNicD0c2ZyEkRkKt6zLQlCWQYNJImgYFzlpy8vnlMWD5o886LiPJz8Fpq0FuXINAO1MokLmWNtNrNnLPoJmvKhiS41wjD3jihlGHwioPitc3tE7Lv2y5XDnXb3h43GfRHb8QBajkLe2Z3QpRZXVfMimIyJOjcEx39CXRuz8HnewzLLF55GeC3gx35MIy7yt7X2Y33zaQLZl3mCSYAzUjzubryLemOZlguKdepfNOP2w9BlGTA191+w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A992DCCD06100F18DACEC6AF0120C6901428C49D01-0\r\nServer: nginx\r\nWechatpay-Nonce: f5a2e84c071d21f9bd7519fbb27d9415\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eQ6kqbpLoAMpz5a04TBpnyq4JTlEPFS4DVKFBK8kg0nSHe1xe7eQ5jF6NOXQ03XY8wnLuA9cqyNIEmZBXJv/E/Xi7j8eNW003NeZidnR/lKFX3q+jTas4p8UYjqcaBtRBz5DJViMXGamTVEJmiVthcodzmAOmyxkwvmk8xPNsOa8aFYZn0EpTwSh6LBEbWmPAd9OiOfBrPgZB3WVjVcAX7dCbgfjI88JwMbrJMpBLU7vtoh67lWyzhvVwHsZoJlABRuMeEpWQ8XtT8nec0QuYjynDxc1nRf4qYf2ubqHdACwR+qJhiaXsgKieLBA170yv9MghmpzuIVeANNeHpGZcA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704154160\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704018496?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"e8zDWHS4E5m4S1p1dgDf6ZGysQv0cKpx\",timestamp=\"1773603113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0I2sUUlMLJVtLMXdMEMK4PunrfI7USzaDMNCkKrlkCLHwxpl0MEFEJuRhMmnG6UCmELBj8rzv3GgjKL9EvhS2RLeKsKTmMskiTFuxycA7DwYJCdbeep5D7Zj2QbXzyKMYnk2yK0S7TnNV8zqdXLAzPSK5uxQbrLU5ur2BLVu2wsyo+pk5aXN+8l1ylRuPqxyrlX+wqSmnKjJKjSPogKv5HRlKXOaYeAiQN4djEJNXIuZALOdB8BzPXGx5w59kc6deTnhL+Y0MDYWWbbwwp3JlVa2sZn5eh1oiV5upFsRzo3C+pmtZkj1zIub3WR6t6+AMzx/d2LzsVjKM7OOArGqkQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A992DCCD0610EF0118B6BB8C5820D8981628EEE702-0\r\nServer: nginx\r\nWechatpay-Nonce: c44149e452c7251187e7bd04857691b2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ELeYtmGysxb3C5nh4D0O/Cs7chNrj9IyylzMQluaYbD4s5v2Ln6qy7BId8l5iq1JljOJvycB0vifUJCKJ84VDGJJqwNwSqtn44aAbTISqTvR/AJso1OIDT6kev5XdH82c9BEUQ8hJPe/ZcX0CYLEqNn1BuBDkwhW3DLKMtZaPoLmOR8NX6Zf846wVuLORglr7UW5jcDHuIrN3bfmnsUa9G+jzCaLW/AONHJX8MI3mZGZqyfRB9A0/wK1HDjm0p/ccpAWZSRQr2zncWsbnlIE2Hq8jDevqDKvjkyvCr1TwKXQbdWIZcfIi6Dy6fFdXSbzlype4hNOxjSKscT+8oRoPQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704018496\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031401249968?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"35GZBtOcxXCpULKokSWyQznLSUqRpBrP\",timestamp=\"1773603113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"XyvZyUySVPFBu9L61fgvm42AiNlF5x6vf3E01ECDJWYn65xQw7i3WXoGVIBLYS2oEG7+9DkJX66m65BSGazymP7NtUlznWKWL2sZIXhGWTcTFI6yyv4XL9j4xeT/9p6LLo+1a4GbQjgF/1t3XbARd7kFVgqcYb8N1PN5ZiC4gdlixGIvPQ4k1C/KsMVlFT3qPmfBLQ/Xoxr4lkfKLNpXePiStvZA0yZTD2VmSgU/TbIZSDErjhYaFGDVLfSWH172ovzcrUT+4GFs1QcXehZOEDUusOMOAEHaNGmDfbBgTyS0JbNJ9TOm4y8LDjGBZ3xRXieY6ADg88a20+zjGkBlHw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A992DCCD0610AD0318BFACEEAB012094DD1B28C9CA02-0\r\nServer: nginx\r\nWechatpay-Nonce: adfa6b6eca00250e24518e971d2a800d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mqkJjIYwJ5qdSU4jgs/0AKmti7DH91KPxU/3otpkXJ6684w/42M9DHQMIfWfIHIFGGCQTBHE1VK1yitjL0/kszp5sgYDV0ElocFq0l4nHHz9ho++Tw6UFzgofmO+ajAkfzdVrYGTosfXkYGYKzSGoWSwtLYH2cBLjTi3AK3UHNccctc/32AsJi3zLQc9RQP6f1uZFmF08NmjWd3mPTzOcaYI0Hml94SXSP3oUI8vWxXxppYI1FDZLk4vxUAe8wVaYzx8hCGuJPqb9/o12dUdn1ujnd4oF3pC2p33JEZuddZYuRp4UsYGC5Zg/si2o3Gcz3TsEuXhQWxcDfQFlumi7g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031401249968\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031403742969?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bbnDrcBchdlP0MYGxfI8hNZKy3Uy6bXI\",timestamp=\"1773603113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"WHI1R1gzLNH/v4CdtfNDp74UBSmPDTHjEx8SxSlP86UMZIlcKoLrieDm31/AzLg0TGZ4lFxGdMfYHxza0vN+mxNh47MqdUEXsFc1t0dCjGM6x6YIz/Nh0aXB2BAghjkn86Pch5zW0Iygvqlfsu/F7I+rDHLyeRjMU8ULtmMTLfZoh+TtFcy5EJ1103hFsWGoKk4ReTw6WEeJLYvOGSxgciioY0KH8lhJWs91sAvzVGqIYNqzUsy/wW13yo3ntAYDR/K3IQOm0NXLFxVW5Rh29yLw7aNQCenws6Lw4zK5OmPriklfbJ/1sdGamZlkhr3Qj4STBTqUS0gfBCrbVh/bCQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A992DCCD06108B0518BEB0C05520C2BD1B28DC5B-0\r\nServer: nginx\r\nWechatpay-Nonce: 115fe9d368a5d26b06ebec9dfbc8b374\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: f/hxTNIx3xz2ExDzEQ2597ZAZfsEtXhNxPLAW9dKkldRIM7PTKvBKQf+ISVZSJfmfoDLeEA0GqCrGVUiKi5swVPZMhwdd+Vy4Ze5H0rVfyegaidO6vICEtZPd7xP0bXLYn22DxcsPy+I/Y1VV0MNsUNnEj0CqENshILuu6dHNIZU58bO3kzvr1SYFAFPTzv9mCXtbFwIwmOOe1Ltyoa+FhPiXvq/cnJazSmdPCpNyGvtc37QzM34gSnb95a8hBtaOhJnAl41nnqnie8NfLKe1phcxjd+qXXykm59AGmc/AYwd0Pp7JrxFyqkbuV/StsA/5OXN68kHOpQnCvbSuMrjQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031403742969\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031416158810?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"voDPYMwael7KxhVBis4wCFBfWpihpMAO\",timestamp=\"1773603113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1bMirPWcRCAoidlN33DF3XiMj51BItYnxDP+cHZWVx2Kqc5jeAu79hUBEz/xeH6IaFZsYkRdYqyZtIGcVPwlURGY46BdexwduF5d46XKSEdRmlZf2UOJ+qBIPcHJNfsPGjuBINy6BlqW4qu9CDmrKS3yjf+Av4Bek/saJMDHxKKih6FFizT+BnixMBjWgYyLlLT3lg9QwV2f3D8UUYizITojv2T19Fr/qkSSCTaxDy3ESZCNOGU6eObxYKXzUP4AG08p5oFu69k4XzAHivkWCffM/2gg3Xz22jxuXvCMUxEJvnRb2LfSZ+3Iegcs5GRVLw9mIxdD1stfdcmJVukPXg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08A992DCCD0610FC0618E8C5C0552088FE1328B3E303-0\r\nServer: nginx\r\nWechatpay-Nonce: 2157af0c6ea238dc63f88eb0b4de20d6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lQEMfmsKk8CLMCSyXeLq1lczF3P4S0wmQ67iH1kbKrZ9ooy3A45p/OYDQXH60VEkz2LqjRl7WNr3xaLx+wP8TnGnSmKKevVpRBzUFRTlpGiPjVQUBfuWFDow4KGOjtLEeogJ0+a0rvSS+VRTaKmpO8tXZsj8wIg+FXvnUKZf7X5Z0ppqO8TDyvXWQGN0B39QUFJ6DcWImaYgadT+VjLhGtZJocPd7GtMm9XEBAWCghYGTFuDFlUX9/Y/1VfYgSx2NRNXslV8sMGeHmzSDGCofcZ1JuEpdRx1GBatG9TD7zZDFjCm2Upk6W+Dmxe/OLPdD3eXIPQt3cxrW2CsVMMX6g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603113\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031416158810\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031417566606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"F5mUZpNh2YdOrKC6VjZ4rcG9oUccKVXb\",timestamp=\"1773603113\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xDqcelkoKwZPoY+ZxK/Mb7yolrt3SWrnQ2qHjfu7CpGC5u6xDkjnVdhGP4UuWCUhshy+29aytDYkEQR8rFy4oL3/Y5KmvnJtQkfMUOlrrod8hNc7/ud4LFhwx77qCGiLc3AnRfJ3T2+BxtB9FabSSWO8B1RqzjOHASz/emmJ6S/5DkIrLdZ7GLXEf9xw+2iHIXYD+fZLgK3yeW/nJi6+x3bBntEpkdy6gWn2/IIs7Q+tETf5rli7dnrvB4L5yWnS5vHqTG8QxqGUoLTLCpdcV0BtTYFmmwjhyOGx0LVbxnM1FaJGAc8NoQCNY4x8x1ImLWtfxN8wvLCyDNl5Z8hL5w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AA92DCCD06106B18BBABC05520CCF62E2889FA05-0\r\nServer: nginx\r\nWechatpay-Nonce: d548bf533ad0d1da1859b23f45af15ac\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ZkZAIWOX1pLqt96U8g+hwhND5sIUsQ9CAnJdw/T84SeVAC8ViR01aRZpKzOPLkHdwmU4K/zwU6+3/CnSZt0PaofLYn2bh1Ihk1kreFUXn+WDChqFGnw7fu/4A4sLJqdCaZvNx+jTPVTvv9sJLOaGUNeyT0HXmxWe0qTCtBgNo43aDbK22qxvexEYjgoHG9xgKjy1/aEFNLMeYUhynZDSY2ENX1JrwjNNDzcQSfKdkVaB0T/PeXuPExlL+P0oI+NTqCHqkrQdx9+jvRDfAY/GbQ82oC087+LNY9DOk2c+IT3lCRQAwgrkRRPuxoiHILuPFB3YRYd54Hi8+thRX6Elnw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603114\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031417566606\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031418236393?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qjSyGy8CTdQaOU0zN9kGkqRPcM8TiS8R\",timestamp=\"1773603114\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"VCF3hozsCTTnxwkZSvCvNqShuD1FBiYUdrSaDb8LunHMdQiYyeLhqLvYNEafGQFce18e5MQ3cW5DU3u8z9rQfgbHl33ZXtepIS4JUAoIA9vhFbZfZMSINRelIKPQFsha7BugT2KsuEcURUagweuKGeFnnYPgVH+Zi4m5dW9YP8ciB6OTXhZ3eEK73Ampl9kUK1t5jaxMwTsnaEQryFV35f144RPrfA1BHl14rMvLed6eALFrrM5b1dHZyWhKLPjznNag4tpS29Wb8VlG58TIlkUZ665VU5lvN3InVvYjbC7bk4VNn8zp59dsjaqhG1pVb7SmD9d1sUeXnmUY3FZiRQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AA92DCCD0610990218FF93F5AF0120EAF70E28DEBD02-0\r\nServer: nginx\r\nWechatpay-Nonce: fdd88382f0ffeb6ee056d91748049b53\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jEtsnfcefNFO2blxJJOa8brlTtjelgxuSstdP1H9YoPXTFymIURWwQpIm95wmfddBNZAGrLu/rIZNq9HfhhDiGAXr902S0f2fjHjNGLJ5bxBM34pgDdGBcN+Xr+sBxeWjH8qPtUB8mCbltwpbymKd9SEMU4Qe43RW/XpAqPSvpyXdbkYleoRSQWK/5DsJUtKzPLZxDkJ0txfgClq5gWyGA4KwJD80hvauh3dGdZ7qQk72bGJmU6+1rsGz/IkcPlRXEMZiAxs3+o2te/gaf5gIwAighy7aDn7LtV8WOPleQXSVKITIh2Qvw4XNDKAB5kXfn0uT703SGAUXmHGucTOcQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603114\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031418236393\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031420314028?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"B0HM1IX2963Jtzjrizx5MiXrKuBwDI0x\",timestamp=\"1773603114\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DetNAmOTaNl15zRwvKmpL2tifv94ft435HjQQeCiqo/dYIpEQH/BWXhACNNPmMrDdl/xqe9vCD68uBHpGRuRbsj0Wx323yz1qvxNJe205fh8B5bmGqteiN+M91kba6Ib0mo+waKeJUZX4NWkVSWL/aLe4k3GVM/+RPJS6/Egt9/DokMNkP5rPU24L3nEG24m7WbNQ+1XWxPH8ap7zq4GgLGlD1Imqm9XjSlUyn0t/uYJvILWo+oA8rVG+rdr3wLhUjY0CDpcgHAlv8+K5PvbgbozRIfNLzzNHolekc7TjSBsZ/hx54+7ksWv1f5P+duRsONh/ZF6V6uy9riG5ESdqA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AA92DCCD0610F10318E981ECAE0120A0A12728FAC501-0\r\nServer: nginx\r\nWechatpay-Nonce: ff8c23eb570f42acfa96b9f26ef5b1ac\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HgDYuTi62Hd98oW9eU29Ypyz1yFyvai65fcu1q9We0fxWECB8vu3O3cmV4IUAAkE8g/99tNId6R1WDzgs3EHojHM9KQTARH5+ndJmoeV/CnPnNc5+TEQkkJk7FfqHw97HB3gVigNKdxQ7fDFMueh7digpfBa2CfZg7H3PqAzgQML7p6Umd/BQiUUHG4oGOnzsb2Y26SyHYsCqGDRZOP+6C0zPAzFl0eFHJWuqN+C/z5gC1fR6B5Xi8L/ilDnIU5ubGv/BFrk0YOO99ziFbACVEaSqxO7J+NdEUfcqUlAgWRY7uQ48n/8uyCFs+5orsq/i6GHsUMXY4whggv/Y5T+aQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603114\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031420314028\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031421781894?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"S0J2re1igbAIDuVYZWxUWPGsCgXfmJvv\",timestamp=\"1773603114\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NB0pmTnsKtTdCQtFQ7FrLOytjrTiOvV/kCd0Gv8g1F3GmGkllMS1R11bBih4Z/KcTD3eiK2h3uP8iaej9e33GXOuS3U3o/5IG6G3cTvIqRmvZNDlKjImHooItt0qeNdEgu+W2Vhc4CwAceJcWDyhopAbUoGqa/eZD4y2irlqkjVpORae3pei6Ze8FSI5Z1xBxK/RLaHWfa57hBljt6z646fpiDUsW3WHrEHJQ+YSfXxJqY/j2nKHKKHm4IsEZuqdvqppeAuTZrqQTZY555Qc9k+ULwZLUH3wRZtbM4G8qGUhgokL/96fGci8Qzd1yyyhtIGNFxOT8DcwqiNZqHtt7Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AA92DCCD0610BC0518B9B2F8AF0120E4A31B28CC8603-0\r\nServer: nginx\r\nWechatpay-Nonce: 924f6278591e4ac3110e3dae831a5a4f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IY7vj3vnfdVYVJrT01F62G2FGZLwt+R9lQtlkDDgnMXFTDNjHy51jUhFIaHhJiU0TOWb8oRVv3j64zsj7QM4yZypfVsnCct3hs3V+X0eydZjFBm40JQQvfo6BMsFcaK5Of9s0SXvNx+g/PJqNbIwHcFNja6RITjnd3ijTSonTzlCO8dKBm+gRQ6RBVBdXurgTzrRDra8LgVKi1ao3TgNOhL7GlHoKS/OKvp+QcYhzu04C15X4MGOh9s0lDuiZ0m1PrWvlsnnqs6ubbiFWIuoAfxTdugS07Lj4D5bBxS+7wc+K4u0IXEAfdtB56YGdxPLLo48BBROClwM/vQJDE9Tcw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603114\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031421781894\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031422156476?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ju33Y9HtnDrSqEUA52VI9qUSYE7nM2ga\",timestamp=\"1773603114\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6NKLUivrRodgsZ4Yyg0n1/jr9mIAxnguwc8aWIdz3zaDgY48HkdKViuguNNgdCezSdRJbUmVkZ3VxwdGtHIQkH4LflWxZAVNO+SOHK2agFXmArGCqQyZXxlBV1CfZ8kNFgBkMW/FnaSvo1XTOBOHJ0qQAfkFwvhSnTzhvynYBOk3vMW6baXvGiIu2S5H6B4rAVIUl0ieI0zAWlJ27sxqw6SV9lNkUK+ooPcH4B58wuHPBi2MkLKKDXaBVArCcNS2fRBVMfAoQAAqagl5sAvEzx936VBaiEcwQSf/ueR/1F/sg8bkF+TGRgSA/g7lfKVwhJ5crqOUt/Apt8usGlJXmQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AB92DCCD06105718BD82F8AF0120C0A12F288E9D06-0\r\nServer: nginx\r\nWechatpay-Nonce: e5c86f600e45eb7e520c7569fb30a2f4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nByOUJaWw3eAPBJpYQ0AtsXxIYcjkpgDhvVnpCYyC7Vv5Tw+qQOOlEzlGhOGFPLPN2ztBOFThSGD/pX1Q5l8GNrwzf2MhiZfkgEWojAUf9x/kQ4xzTr+S+/YDmAH5Zx8pBPx+qm/M8+aY/un6AfXQmRWicHG1M3EkC+kElpDIfOfWKl6OqoFEO5PDYofnSCK9OY/V/uT4KtsR63tFnFz4LMrtwfZF0PPRFXUrZvz4mm2xk8qBZqPLbvFElBxc6f58vlT0JUBhRIh0K/8FP/Efr/0NhI7nPtIzZR3qTYrgj4L9uHzdGjBdGCJAk9XwnHu/TiyxV2cP0ClsM9IVQb5IQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603115\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031422156476\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031423955324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Vpx4ZILbrWfX8Raxdg60H56kz1FEBf0L\",timestamp=\"1773603115\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"hVolPTjSGqFBqGZhdphDSTnu7BtSbKufgD3BEKBO/2y2dbVktjdI6RDdF1oE17VASNc03kNSvaYV1smoUOFpHf/6oE6HlcLdlf40SkBiJQfG8OED2DZAok48JuaW2DDvUc1vWRfhDLXFtluUrFs/erRrCL1z4TJAgW07C/+ItGKn1mMQHSbf9CqYEPNWDDcs47VbRKx8tP2P+wRKqo7jtbnTOQLatY1v9k9gYp0VAOts45VT9WAOdevhpUl5ck2YktPPrkSdjTjE57mzZ3X0MlhEaNIz5jFLcQTex8IVNiD2Xx2i0iGnpMHnGouXBpiyhmH0DX0bwSoe04Y1FgXZNg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AB92DCCD061097021892C28C5820F0E61E288E9F02-0\r\nServer: nginx\r\nWechatpay-Nonce: 58f488d06557e91c990faccb568bfebc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Jo5wrcElFYuG4fMby7VCkFNxiF2up1b72XMbN+zNKx57goCDKJQMqHUdkItK5baUdgkeQP5HwWZJpJftnUPzTGIFihXyePF9WzVlq/K2I9kPSxxdDdzO21xH3MOGYZaecxr/WNoZRKnB46CvICIzBUSP+iTdt/zy6+VoCteQTGPG5QzFPf2Jh2rgygS5cXA5333jEn2Ysp8RgWuxzAmS954evAIzH8paQ84DJKBvbDOc167rtXABVEu5JRcsZhDJ5cmDshw2crfWseuht0rOyzrwJ0CH/veYnwGL+QqAf2AXgAwvG+XvTDT5nB9fOdWwef36O6UWbDGKa4gk5iuU3Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603115\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031423955324\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031425447423?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"56ASdnUNQjiiBmvF28aPk4zivgM6XQCa\",timestamp=\"1773603115\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Na3gm+gm3rCFZLm37UOmVVPBnCIC2IVCXY5Oe0Nc6I+JicyGe91sG6iMTODFLLPhZ7lh0qpUuFeOc9NJXJOqPBxUfqWCWkoxwixc4eeu2VPUYennMvPoVbWQNX0OospfLdZPIKEk6UPuyMQvtWBlKziHbsxrWONgPWmwP8wkqKuZb0I6f3KuZrjqk0NY617InG0tofoum7wwxKTQI78EPliGmvKMhjO+fhL8nxzxSgMM2eQ43iDlV/ZeXhqpIRu87C6CoSVe/IuwibM0P7DYIlto5Wjx4mnBwlL0wK6V8MU7AJC5+eT0ReGAZS28UWpCDQhK79uJwaPtFXS803Cq4w==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AB92DCCD0610E30318A2D78C5820F8AF2028F2C704-0\r\nServer: nginx\r\nWechatpay-Nonce: 0b21aef106c34086085d9508ed15e060\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: nLydoVacnXLcyw/WGgXwYmYMNR7FS7I8zCGDtXrNbMRfAF4BzTEhth9j3HzAIIRNVCDBlckSIv2vciIt6XkvnHtGICc0wV1C3pZ9/mKVmsO1l+W2H0CzakDfDJWW/S6kkIFuw+p8ukAk9gqxASIQERyH323Vhe8gbfTHjhx0tevSC+ff2sEJxSh2k6ySidxFmax6dunVHDRCKiiEaRsmYFc8RL8oN0gGDo0wjbdjKTLxOZ32xNxn8+DpPoCyUgZR4b+pLELt4JNYUQkFs/jI7oztALahUBuYhu5HZpDNgJP09gi72c0RHOUT8y7V72/mBQVShCCUeQBgmlaI59HG4w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603115\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031425447423\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031426251795?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SOdRjGAuRBr1wUHL19d3zHU8Z40BZ9Ee\",timestamp=\"1773603115\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0H8dt1tcl8d1hKnFuyV6eQIwTkGZoJpa/d44fVFBOD1WGdN3bVxZkZsZbQXDLnitz8JLY4pBv91CFoMQ7THenQXCWudzRFjrHXq4+Tl5EkQxoBoaYixXqBnXd2VV2i8/ayrGeQeRtpO+2Edkg2lc51Z6eIV5nLDFCjpEuK8sUFQL6bsZka53GQvGLbpBN7+rMIrHHQc22bP61lO1/n0WHBRdKnnFNtSyG1y4kjB3kufDo1bo81u+2OzpTbKqgIecBEs/siO5U+d23ATkC9chRFRop1v+5JPjx1CcQMdlBgeCRqkUcz1qelvinyhNVziMfPKpY2KDMv5E4eJ8mFIOKQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AB92DCCD0610AA0518B7B1F8AF0120A4CB0C28E874-0\r\nServer: nginx\r\nWechatpay-Nonce: 93f387180dac7f2f80fcfb2a72c79ca0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ugDn+v5eprCSfpc8+AK3sB/zvka7+1oBQUSiTts2XTaQMHuNspS59h+GJD7XQJKJn53eoxqf0ELYDHW9t0yL3qtH4W3lU0yAW8koqNB5HDFmabQudA63oR8OGnstgxB8BveFU7UAF7KTR4XO2AzbPpQ4/OkkmhDFZsJTI8/sW3uFO5kT6Kz4sAf7nbSep9mzAoXIYJ6756UdbTDxI4FZ/HOj8jbxEa8bLKLuPCfSOy7jefyfHVXdWRuhlCR7xeM1Y/lzdCBTHodKRX0gTY9XT7YsTYIMqaiTAqC2KdpPbwvkFagnbz8x8SDAlYiiv4LfBEF2HEs/Rk+4XUlwgW4YpA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603115\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031426251795\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031428343343?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hTnGkEim6mG0f7C4YJVYccG7JOdV5goQ\",timestamp=\"1773603115\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"L8Z28Gw65Dkp1C5zhkaskiDODBB+FAxA/As4HjQhT8OM7Bzlm+XnWa8Gfn1N0Iu0bYgGFqqnlfBRQzzsleBmDfPRN1YbToz/rrnx5X4WjpkvVr62o4V+Fuiffts+GWpgfrM1q92a0O6Aiy4QZO2ANf3bHm9Z+81R2OQltscAO8RrSQW8BpwWFmldx/K1uK9I5bjLgNxSaDxVc0aUOTTEkN1m5biOed90HRVrNcp2O1QRoxBmVwB+yT14+emFLKe8AynG5ugSJ8ex5jqZuQ3HKmAgguoPIXy6K1YJWsvMDVfWNmGPwzMVJ29TjBGN3cmgva9RuDXIyqYzKOCkgnJvaA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AB92DCCD0610E60618D794DD5C20B6C10528DDB101-0\r\nServer: nginx\r\nWechatpay-Nonce: 2107d6abd8b53b8519a43fe7220f29e6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: AsbTRPnH9hgDa6UjL6lobXV9TGRBwck2c9l+iXBn57PoVuCSeXHnqjITz0AVkIqtoOf8Ewt9+yLYstSORQbmxtv+4wd9ImoPkVQJ4TdMpRIVWYvR3FEYBQLRkcGG98itMYSGUMSIPzxwQOC+sT9RsrrqH8kkd0BBAoSYEiqSZf8qwa8vwVP0jY2zljRiwA1Ocl6+YCs46xv38CWW3bqC9AATwSUgNMSq460sxFQpJxE6Aua4fK5lNimV1uDobMH1iEpOZAFoojax7T+YUqRK2ViJerBvbIVozP7/DVziLMZhs/UMq/YxCKkkpjAQzQLlKRbrSSSSVN7z11koUgQfKg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603115\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031428343343\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552642255?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"5QJunY2SogXHoguS4YOGWBCj2X0eK9wd\",timestamp=\"1773603115\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ypZX2slU03efE1nCGeYRAzKwssVQLTHqRlFOIIKFqpOvWkkdpYdtH3BuxEhagWw1TnvWTktgnQPQu2KmGHIerzx+mut15pBnteUBZugcBLAHDc7rVMLZtTYkr/DKKX755EneXhNwUQhDJGXrV/LsuA43vscFpR92SKh68FH7OLyn5yIfO2nbtpiKWpyM/575098eZJ2VS3EZTILyPLSppLOVoBaNnA/PyOjI65HrpnsTfRjKW/UUqyEPSQtxk9iNC8H8dvd4xM/KmYuFILp3UCDnjgowknPF0+/5C281blo6e6YkpMexf2wIxEvrZPOBmbdg+MO9spwdedPHbeC79Q==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AC92DCCD06105518A294F5AF0120FC9C2F28E2CD03-0\r\nServer: nginx\r\nWechatpay-Nonce: 55272c59736f1f012a1eacb1bb1d16fe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: V4JNrROWCkvzpgBjDE5C+JWL2mo1Ih/j4af7eU3ydRbnxNjvAo4X3/mmNkjZWdUlBcNEri+zRbscARm2tPRMUV7o+mxEyv8WQI9AADBjJtNXD2tV/eOJvF6L+1vojr5cjV2/qaYJp98lf/+/YdsUUwOElGh5fJd4/HEKkS+gGoqsSCriXxm+7aJ9MStfpXp0Oh1cStknb443ODz4GlqotU1UHfHA36/reTEFvdpIjIiq9pRH1FZRWeWsiV0inOuTcRvpHaURWEIebua/pXGgp1Mhq8c6KtGKzwE/j6ScsOz8crV4zOOzDAx3YPScfLoMkBlnCdwsDxjW6ODoeF1IIQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603116\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031552642255\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031553556581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vV9MAt8UkUMm0NQVNDsfwBaciVQslX7B\",timestamp=\"1773603116\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wKRx7+Z/30YnQXwZOnJ9uuV3F2j26zP9vp/GIp2sTeyi4OKh/ogyEiV4lrrrhiPcWcUisYjuRw3RRf8E5FOFqihmlRBsgTqXypE/dwfUD5cJmDTzVUtU4gnLSiiKRyr4z272WHyuXPv0qeoBSyTacGj0mr59ZPAClX61H9OuIBxoNhiSPgBV0BmNE7lKvYYdYKbyZ1DZJ5xo3y6nBCqHez7d+SWyJ+1koheJAZyOUQ4Dxbwda4M1AzW7mGZGFywwx4Wtf4upvv3+ogyn9tF0siP8yTR0wk0ubNPKdjIYRR5B2M2d5hsn2LdH2LuIWDJSvoD2puPbfpBIRPgf/JYOcg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AC92DCCD0610BA0218BEB0C055208AF83628892D-0\r\nServer: nginx\r\nWechatpay-Nonce: a2f2f485b33410f341fab40f505fc2ca\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kZFrtF8dS4xWjL7MpFQfvmknec1k/x9VgPk9XHWzlLPlVhns4m0liKprul/XwytxWboaGKytaaMEVGDKX4oSS0AnOInVRVIc4cSUtVkFlu2GJ0A3g8Xov1eaXeCHJQWhZG3EE4boCFGWkQK9uKARzqz5yjlPcf5HSZ/GOMt27PRD0UCwo5N+9pgf0jnEEvUiDDd/8XMeNytlF56LVdZhyK4VKoqG+Fr21/jSrILRaX3et/tligkDAx2Ht8gwnxCa03+UUgjzQCsfRTG4S7vFBFWAkEAFSNhwYtovJe8XyOgp18DUIJhL3Vebt98t4eYBmVFV2oJ5W/bKu0Qq6RMhTA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603116\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031553556581\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031554327422?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UUdIAtYV6P4oOO65kgRpdyve0WZlDvlE\",timestamp=\"1773603116\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6VlMb8srjAOs2tA0WwsOcyvUPjBCj96byXkNPSie4DgMwEAq83iRsBcb0NABoEM2yesfglPke3bu2hua7cSUAljMDDSlzkZ1N/AZQPiIqxpPs8XUdb90CF5Iq/3jpuYwXA/Ibl0PReCM1NlSkli64pNy9B9Dd/jHDpABr4bqCj/NFZ/M+UuHdmoLwQhtzeDcnKnljtwgFx0qFiRPFjCcVM48R3c/Z22AmqqJ5u06jQkhjWN/W1KIw5FvbEjcvb1wKSmRQR05uaWf0UyLzq2Iqki1SDTs3IONTq9jYAykaslvtGT9hlEmqxvGVJPZcggje4/M3rYCxwf2gPYwnhbfyA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AC92DCCD06108C0418D581ECAE0120E0D60628BCED01-0\r\nServer: nginx\r\nWechatpay-Nonce: 3904322f194aba5bebbbea7658579281\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oxcvLEPh3vI146KXym0lgvaOGXapv2ii3czVq16YwAt3MsYHLcaslgdrMHfyRHFqpLNx4nyDOL5TyNVLbBZ8lFOMnx/LtD4glJEmtJfYKhVA5oBbdsFvgPI7e8UzpbfuDw6p7hoz/69Ohyu8YuQiyrUOZV9mtA1W5o8Y03tgDvcoVp9YTqBVPFCtKMa5P4wms9szzxPum9ufl/WyeQX3GFTJfUS6mYVL/swhIeZDt11rT9m1fnkR3GpqoAhcYC7nfV6N6NlKx0qkqHBoq/RvUM7JHSlqMzZtXLYUWHlb2bDAXgs15Oz+WmdJwUhetO+TsPdpSU0fFwBYwBKbZUTUHQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603116\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031554327422\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031555128971?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Pb0V1VlF4mUtg5nu0scsqlV2qJ9wYIKl\",timestamp=\"1773603116\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3n2zjw0zYPZ9xcjubrdjIJWICNSy7xLVofbpoG8KTfZN6sMkCbXUyeAucyQv+5yrftLZdPJCaI7t4a3Fw5daoXOB7VxzopwCx7ujWlIXxZORwZYyrJk+YNc4y2QkxuStmjSOUppR9q+SCKLX1rwT4T+y2agbJX4Vtr3e2CqkZ5vLBNnWFtjKYh3cwLWpyqn0NavR06gEsQ6ljoPo79urwnSzcNNngKZCO+h1omNNLH977XD0jjth3cbxsBh97uL0h2sTgUtRgyWTeJyo4mL/BR1GQQlnyCjo3T3SFYJmnGOPkkw2LkrGxJU5y+6L+8Aokm+ugTr4uX/O/bk9WJf5gA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AC92DCCD0610A80518ECB3C05520B8D52128DD9A02-0\r\nServer: nginx\r\nWechatpay-Nonce: dbe804dcb87c7addeeec65a8adf0ddbc\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: aFwaR74n5mS7fpIWsSlnslyKW1rjvKZhTAodRntcw38YrpYu+7Ik49TXE1Kfr2+kgWDRsvexnE8OumKD90pWmOk9heCddEBpF/N0NvcJGuMEftzrVy7CkZimdBm6S6KrJz4f4VjNdtoHxzREe1DZ80fSF+zXnncIv/O8qlcm4qH09HIDwBWzRNRl3ew4jJJVHOCiR6heUBkJBgPpVT5WjtOX0F9l5NE9jfsVwSB0mgUNYEHMMbguZj0blpNDrqebP5+CyUjtYXsVVC9A7yl2f6mBGORbVx+KlQK9+wpKlbWcZmlacmfP4XterRwKYmtJUVx1yFggndt2hIb2a9tXvw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603116\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031555128971\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031556746758?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7ZlVekaVpRCjMWMw5IjxDXnGJqBAJpKw\",timestamp=\"1773603116\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ssaehIitntpj3G/BTy4e8CKPeGp5sntJpfbp0uoRvtrVTkmfkHwHfBqPGdwRfH68scO4H7SiyAHQ4zUIhhqIgxwp+TteI2aSLzyuJctXE9nuKNCidtjqN2BCVNCMLJl7i6LAj3yvgnGTnzNlQplrDmnRxImcrw8YG9jqtid0oPMX5mt/PRoKttBjFCZ573bwtz/f15gsfyqgll8aJTE/e6w+DB/VseVovvmyTRwBwMZNb7oOBF1tvbR27jUH4aX13YS+vh1VXsQilGJHeGfyVmor9YFKz7qaft4oBD0GIPUcQlI6OkBS23NCFO6GlwugDFlJ/dzCFa1UNyy7PhwGbw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AC92DCCD06109A0718D7D68C58208CE21A288DA602-0\r\nServer: nginx\r\nWechatpay-Nonce: b74051135206110b9b758c43c65ddc61\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qmKyasrxikmSB+ujkRNsJeiJ+tmlhtDy2d1MBJLLnL8CyF2nXU5nRARyA6J/zsdgXds43+K3qOfEsMI/cd28BlYin9JIzsStQfT1pcr82xr+/Jw8hOSwYUbZt+mywnBwHB+ACVairBejvB6DmqBoUL8V+mGBYXbM9w61Q++KPUHu4sNzyrU95WJAn24utBSxjAvbFkzgCA10ct50ZUaKkJNBe2kHogqxeqOJgW1/FK7gjKgh8RwCJCftsUT/+6QNIT+J2DaaBL5dQPq/1eLCCgSJ9Kb6oZ22EfHr1ziXrl68hn6ZPFzP98QZ/oMRQ2rRYVAMMqi596GgFCn1wjAsyg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603116\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031556746758\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557599432?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"J5OIcNOtvhxx2Z4CzN0ePiSLbF6K5Rkk\",timestamp=\"1773603116\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"v1hunmBl0P5xkjqBYjUa+LTDkidEwwz/6yJqToXvwkZe7dRGFuQ6RzgJAY+zYBdfc4sPMsGU/SQOu0YPEuQFtPUV8VRB+osRGrlrUjy1Yu4XznYnh4tFnGUDJQQh2VnR66QYWx0Bcmd2wgaheTS6+g7ZlzMAVdKCIHqV3RNMR6vU/CLYwwMkLKpG/ZUgny8aNeUsXkQ+6Ppc81lAKSQOz/Im6i8PPx55Lk768thPSeF8hQXd/2Q+HpIba26YdIDQjduzEivnglapAZeLlm5ms7jpBwAaXUQAuNwYEV9+6VTzozuHcJUzR1cWFR+rpgsMAjLr0pQdlzcJ2pgRyzYbXg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AD92DCCD0610930118ADC18C5820FA8A2928B98A03-0\r\nServer: nginx\r\nWechatpay-Nonce: 104402f3af4a7fe4732cf302b63a816b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: jtRuTKpIasIRQn9NijLm9IUMn3s6n5ishQ2rFWnLsiJovoa/9/PjZh9f947Ekrax1zeXd9nEiOfbfz/wgn2rXBGYiB81zrpnRjry7dRiAQj3B7QZvsQQ3C3rDZj2ar4q87suafRZtfw78YtI/IhQQkysNirgNNiY+ZzrkQntzdOLLF3R5WaNQ2NopkA5LoVoqqJ0Au4y1JlQH+oZRSAlxEpbxJV1KStEcX0Tv/sqXAfsZIvRnoVJqTOo2qi8Mg/Aj8Nj0Vbij67sVWctfRUwcFiRMAcmuB0yFORtZdet9+fn/wJysvrTRVTXLcSp8kbYMr0F+rSQQFqFDJqWrGhwQA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603117\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557599432\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557901403?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bQLC9xg96Vll64F9BOsAX8A2HR1Lfh1k\",timestamp=\"1773603117\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"oezs776CDd6k7vVsencLPMB8oHNItvTmr963NI0ohT1ghXDGyDVZI6ZQR9Lz6NPpVe5Nn3MAoLubXk+obmm2CAgRI5EqeEc1TuMgC5CvG8HYSNYD0xc93mUb/LM54hSpQ+ASCZxCUOpJBUxY0RorRfGjuqzWTWYJ8ovvUlgZ3WN7jDWkX/AFysABa0MiUPhIxXR+T7WsaJQXkIbsmGVoDZHE+fKCtDT4LBXMTEfGfDrN5nQfE3uk9Ax2z0RkoJSCxs0rXUnPZe6F8ppdwHU8IfIQp41oeTGvqCs4Uypyr1Ay3Jyj0jHXgLKNrwuL8cBH7AeUKpiqKm8XAlpSmKVEbw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AD92DCCD0610E90218F281ECAE0120CAE50628B46D-0\r\nServer: nginx\r\nWechatpay-Nonce: 00e37cc1217459524a57e3ab1b221a41\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: tlHf1X8mTSIs9JqHmhMMjHb6/nZODp7FYt6bUGRAZLCV9DZPjBZDVRaNd9iNvT3cRCFt3xdz0A8Fb9XeUgWUc9KKrl9kMhEF/4dQolfo9tASwAQH9Hrrlo/BU3tyWgMsWl5xdMCODzdPW+Uua1PQ1NBSis1CEnY2tjJtghSECemyUTPHAZaxvBLXhtKHKXlkaTa1Tqd3xhVCVvqgs7hOb8VKZ49xYjlq1CDHhBreAAj46EmtluCOW8CZVsv8x5+Vg/jXIJE3woxbZgUy+TzpjdpAaZMdl2/QcPTpCAGJIYQ3bKahJiFbOKK/vHLFTbyLai263pSQBELuWebKk0C3Aw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603117\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557901403\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031749226180?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bvZDh6uGjYdPwKCxTYe1NnxaKZ6arCY8\",timestamp=\"1773603117\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ZdCNIGdPcxh2vI3ZfK6k+pYuI5Xyr9hWz2ym4dcHl9pqDUmsnu25YqBJtIMbN9N+ufi+velC6RSpDN5RM+CpH9JbVgPavEkN9dZQq1mMOuZPH46F7o5lmKxky5Wf9fDlZ3UgKNPJUmu+9DNQtDsraetLzIbCr6wLLVDJg7p5LySjOUL9hFVsI8UNjjne4Tof2s1A6B5DVSn2QdLLpm2UY3KD15XSChEXMD9W3HVw1kq9vkNE8rpICHgA3XHu3NRMSBbnaF48Y61vbWHNRXeCqdza2mcQk3AQwWkhjItPabkuQyUy2gWK9X23OldUxv9Kc/pETAxS0e3YANEbnW6c3Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AD92DCCD0610BF0418FED08C5820CC9F1E28D29A02-0\r\nServer: nginx\r\nWechatpay-Nonce: b172cfb059ce0d5ec07a6cd0b9a1202f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CdXcp+BIGBb68BviRp+mwJbY7cbLPouHHQ0uulvP6ZPbag7im1NZs/NF8NVhh6FixUcfTCZOr0iDDXbKJ/ym4e2O5ZCdwEZKRSu6FswEDp2Optl7Lk5YAp0Rj0oMQKE7ex7GlkHM3mRsw7kP1FJ58RIf6Ygsk4CEkQhHy7VZnPjK0wwtSnSpXcaSXL7I6nxxw3hxjWrX1aodboSZ7DzqqQXUfW1VI15wYn81sgstuOYMAfAchdcfLKzF+5PS2qf+P9sqZa2ge0yBGA47n1hfK8gwcnxx0JxPx8k2Q8YcfRpYQV3xbdl6DoN0TvvaO1SjqsmWP/orwj6TDi7fsCvseA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603117\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031749226180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031750371591?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"92lV8MZEUDeT9MCLuS9THEgEZybQTwRF\",timestamp=\"1773603117\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CuJ6lH0Ns/7bWB964X1ZeT4CYRgQVfK5/1BK5m3JgCUEXm+6rYW3rs5JMzCJam+erRqgN0xIbQ2LdYeX71+PcLzBaJUngx0GW+XkY4lwC4ONo/GhEUuRn4qBmGSEQ5Y13lpLO7bUB77GHma9RoL98Xlb6XnHSd6hA3fpiGzAcwv8h0LdOwoNpato5lfyZuaTO0Qck9rW1hGYcTwtVxOxtmmD9yqrUBJtrMm+Jr7a3kp1qVH+CDCuwD7eLVvrC2xugijOVmnJ8lzXXUXNMt2VSf/SoCoV2y2avmlU0t0hk8SaxIicHsLb6g5QOVz9Yzak3lyoBUpf4wgr1IH4EMtjjg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AD92DCCD06109006188DE6F8AF0120FCFC2328A54D-0\r\nServer: nginx\r\nWechatpay-Nonce: e8e8b3b1a61ca338f8e32863d0521016\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JkuuSwXoJmkzcJO0PyTV1ICjxb/X276E/vwscKtEpPnpsFnPPI4zNeymeZL2XOiY3Q+4oHxbhVoMSrQLXEKG+wuDsRV7xHm48yqb1CsYr1TxPtfnt6tsZyoz2kKNOTXcYbk1GafJ5WmOiy4HUYbln5EyQfN1F8lauREzTYxurg68FqDrefB49okn6Hk/LWqTDfUZVr/L6A8FzZkJ8jizU4/9XAwKgxO9NroCTKScIUyOLejNp45WeIaZh9XTw0TAHh6GDpqURBqDIA4XPKeeF/u2SDm0I2gUuNwISCvuG6xeYvzoDSX092pqI69qojr4/Eu2rGgBMV9s3UXdgfpFEg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603117\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031750371591\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031751056256?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"SR3laKDwTdHti8JjSmSXfkpt092ZBqYw\",timestamp=\"1773603117\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"KqGkNKE1RUfIAgxI6BXTfElqZ9yTWBWPuUz+wd+pDfB/EepTUWO2tgZuXKQPZcyJurr/vDgre8hkkEuMQJVP9SPKWWaSKCT84G6O3HV/sSMIcZ7oKOhr4gtG9FbPHaw28qL6XLS+rSFCm74aA2LJ+Qc/8u3EVJ4J1p7VcH4q8RsAmiqxjpY6kRDtrv/hp3M16lBBV1Gsh3TiOjbO956sNC+TOFh0KgowCsNiX7GNSH5M2WUdJ8WFj/TVjz45kDrWoAX0QZkDxYn/s8oT25LrNUzNXUscIMqTWemKNfUpCZt2BEOSoWs5oVTLDYnrBCtcUuHZpq4m6H/0gFOil8NTRg==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE92DCCD06100418C6CEC0552084802B28C35A-0\r\nServer: nginx\r\nWechatpay-Nonce: 8accd77197779c1a6a42171155ab7294\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: qNmBq2mgTs4lFuBA7mR2XCsR1jac0Llxge722MxOXOMn7X3EiGYiKdLu9qCMHFaNvVCa3Bdy+de5rEG7H3436nMvGPIeZ3+JPHh0Jkx7Q4wWiPBjHkQowNPD33Zt4UVY4Q5WoGu5gag56uUcQNaoMxyowJ7kBBdqd/RY2wwyK6rh4sc1xvny/JZQ5r/HJoWlweXnd80f1xUlKFpIaba+6gsxnFhRMZTrarwGYO/cUeU1cdoOQbOzbRRRgSvl0Whnyz8nTs+AcOfJ46jTpGSs1fZdOCzKDDvaq+apXW7xWfFYCIEDC3eZnljlrMLHQ5w8md3gB8nyZJ+eD8/0LRLFOw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603118\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031751056256\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753547900?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"uFpXM4uEfnQYO4xLjZnAdZ8DImkZJit7\",timestamp=\"1773603118\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Mjn2R4jQhLAkZaiJC5BbKW8XUvVclq7jCbfNZ5GuyYgvNcxIsfyBpeE5t6oYOi8sqdFjJ5+l7izfK32UfFQvB+pVF1igmM6//McibbGHAIBfEJfq7n9TXzLDYtip+5uXSTjZWeFP/0TlkWcSzi3bLi1SglG3kjqu9urhnIqcw3lvutDndR7eLBpmQPCuJ31q/E3JkJksH06pFErx3eeVut22/XchwLihd/vY9VQwFt+OWrmLIHDrElb9VWS84mOFnJGCQ22gkbwTTj7i2dmyWOQy2XTGQPH5+5kxEmBzozWrNJ2bIDZxSZNyVlSIgVryDTCHPiyJdJsaea/0gNxeRw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE92DCCD0610EF0118CA82ECAE0120A0FA0C28DCB203-0\r\nServer: nginx\r\nWechatpay-Nonce: b59a88cce5ad01af5582ba7ff8be83af\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: oB9TygzXyc23vPAUQ0l0mj9qI+R7FamJ7hS0VkpD2BGcvVNWkmlSSS1DC1ozYvm0un1df1CVuNmYW+eTB8YCShxiIvw7ZR/mZqXkXXYF958J16b/AlS+DQGujJsYOhfBJ8WLULZNXOMWAAsgxyKa/2n7aGPWfxdQ2PIUng9KZW6I6MZtp/djrp3RsvY3GdfVpwNZJ5Al0jH+Xap6sDWhrdLWGHo6N/TAeg3MVgxGi/xuXhkyK63x2LEozMFm87juY7Mi5p+L1Vn7Dn0onJ4ZaK4YT3tH6ltAy1alWltnmXrkMerM6Uex5W+70WJ25CVWrLt7mIsBGy5jWGf6cn0kTA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603118\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753547900\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753832436?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"XMV1PjRX1PEEtH2kdVGY9mcugMB0qiM7\",timestamp=\"1773603118\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"LkgQ02C/8gkVKfcIYFV0QeHC/RAaNPZQIYYjMGQOMaUrL0aGrGZzFQ55Fm7ZuBblrLfndNwnFVZ17T/q4i2RWDMuyrUyAUCSZEvrgjfPZN9Bpo7GPN4834CzUeJLTMeVu1/+lvJd/Xu22DLRINTFHYH3R6bIrbHzy1KQP7c/ccbm/WSxnR7heUvs1cYStwFFSWeGiVJicIG/xz5Rm/zcSm9GdZ8ZkNlJagIH6xF+KEIhCYeH8QH3MxhPDM2IyNimJxJ+PMqQNkSnC5Bfbv/ZCQs4TY/Dx3Wh1HYQzlzNzxcVYxwCzf8VucsRaOHheBdIcJ0fPawKPm0ivZicq7Fx7g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE92DCCD0610D403188CAAC05520FEC21928D21A-0\r\nServer: nginx\r\nWechatpay-Nonce: a72a235509d3dc470b0a24edd65cdc3e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lTFBbdAh92Q0MWXd+KOfZ9Un3S40tgLqBvOxLqLjzdRfgowLWVPzavuVcWTCwTBgkpl9PuLSyi1p9muvRnI7tLvxXBI4pUCjLHwtJH+DntSU1uP431Pj+wUGr2NE5eReXZxFm/5YYi0lIKwkMnvRyOhPv6OaZVD7RiTi6B/pR1V/63pCoc8e+7YLUavlfLfef3hVkuReLFOVr5NPLtKJkcun7c2WSyOWaWrfzAn9QFGcTrA3Y5Khx6lY9V12jl4pTCqfGVPHV3ik5M27+IgkSxWA/tNtRvxwT/jcQn1yBcQ4OYI7pQqQiKM3fwg3SpxZFawuWsaBJfM88TR4FsMxmQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603118\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753832436\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754917180?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rq9fMIb921TGspSHWwjfRg2xBkVvlIWx\",timestamp=\"1773603118\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dHZQkLxi60P35bPO4gs89C0jM8i47nUIpI5/OMZKbGXVcmUOfq6wbgr/yIPypOB/SEQaeGjPKx/AAZe7DC2A7n/jTgU4aXiUkqJnVFSWKeVjH39ImM7fIR1hJXCL8Jprk8xPv0/rKLUE/pPEN6TL3j/to6m50o4nccGG/GYLtIgZQmbFHpzhvW2oTcsjmKGcDOdlOHNGjM5fbqGXRIno9/NC33aMGDmsD5oj0LEtY8cqoybWaUsckf+lAIL9HcXtxqka0GMzTqTPeVQanulaYWWv0eY2XGjhIVI6QPWetolEaQpytBvIXNy8BDRHa8/xx1bFa30buk61C46ZZtHBeQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE92DCCD06109F051899C8C05520FA861D28D98006-0\r\nServer: nginx\r\nWechatpay-Nonce: 5731ef255e7a32225fa52fee1a6323f9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XcV7iVLRC4hmDr1LsPkV6wUkiUYs413ohSADqtfhwK3Rybvc2SlTqKkFSAxJ/7Ro9FpTDZsv7sQ/15S2DnmQUkLxFKLOd2YwBARKFjeXwnPocQ3a7WSZZiYOFEITC+kg8289jKQvsNP1UGeevizNbYhQViSHJICIYKD1Nu+ehynfY+prXw+rc8uHywydlUXUj8pulK9tU8RpJmbhsmfTirdf502YEbTjMPUbvWqidmr7DqenDSjoAing6Aml+W0StFY6GeZf1s+xG7vEVy3R5aH3ZrSbtOd1rkJpcv/jJbqc6zrvP2IF0QzOTi24yey1DLHBJ8O7mgh/1oGxhcSDJA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603118\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754917180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754026096?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ly9qG2fCJMB27ZO8ZRj8uNP4CXKPsiRs\",timestamp=\"1773603118\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"AvPX0VaNdfORaymvApel+BxZinRpgouDPB5QR8dmit6+8wmR+6L8ieRjVCX8EZS2cPY2/m8dUWxF1z0gfmgNpWz3TAlwataF+UlHv23v++swObgD1+/ytoOEOXIOorgPzu+5273NYCVC4dx3vIBB/+qDEV7479NRDTP6hGpeFTDrOD5y1GelgDkUWaGHiHlwEK3YKl4vFCW3qzDZqe90it3PfIHOw4XOwITgpiwnehkhXCjTJw2aoYrvkGc8xlbnlmHEk0jewMg+R1KzxZ2m83dXAF1hA9OkBu/V9emxQ78yYszrtX66loWJEGEJjHevyRhjiJuY/kQzZioT4kM8ZQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:31:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:31:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE92DCCD0610DA0618D195EEAB0120A28C0628969F06-0\r\nServer: nginx\r\nWechatpay-Nonce: baa0eae5bdb231d2dc7804ff7850bf18\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: h4QLRBZ/xmbEIt7t4zaU7LBLWiig4B1JaOVM9pIwrzMvEwkxAihQALobx7ngDHZjtnAUF7yBaaQB7r+sTzb4HWEoVlTgnFeoaNRvi0smo0We/e6fQ7WT7kaDUzSbB7bHBKzeNBZcWD1U1pCgndmNrDwq6f4DcR0lr54GE2yOWDVUBBEA/p/P/y28Zs/o07pcw/t83GZM+PUxLqnD6VR8TZyz5NYROg6OOn8+uFsQErwjzXf6Mtm31AaB8Stq+PZ7IKzDOhI+tZ76XIjzMniO9sP4A3r996gv2EaubPngdHHgi6YJn90TO2U8VnV38dIAz0ZheIgOVI5chmZf4h7W/Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603118\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754026096\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030623518285?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qeAVLT4giXbDOZ0wSdSf6uzsIAyHlhWQ\",timestamp=\"1773603412\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"pH0ZMx00B64wIFalBI0MrElDAfMr0V3WvbN/Y5nA+FoGCTFHWbVnJZ7unEQHUhCuMhIfg+Pid+FCHWPoU77ziX5adcVe1/LGWCCq9/5THwhzLlgge3d+Tquh7zM32QltzOZ1fojxVczhyCY+n+XfgWO8Ai6xmlNAl8TRzQ430PrTue2iejSA56t7blKKuh0vX4XX3psHO7WJIlIjznwS20ys0rEB3e0bjSdovzFMj3Yf7o80XlIQzfCGYZj84jC+y87QZgu8pln8wfIfQMEaSpVpURcIU+cnawGcQawPorX5Tri3jxdakPAalCAwxe4UAOVBuQ8Ynmv0BiCZTpdsMQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D494DCCD0610BA0618BDADDD5C20B8F33828B5D402-0\r\nServer: nginx\r\nWechatpay-Nonce: 87b4553ac94db3c94d7111f6e9d555a1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: YSs+mMfZTYBkVxg/bFuPBZYsmFVwcyMQvAcJ/S16Vvu0Bu+yvVQ9lSFyfEmC4KxKtdZx+bke9aagJPfq3TH3iKd9ir9zPyLFa7TwmmKWMSyFGqFP16Ws1A43vHwFB1ufZuoVT8Srgj1VV3KfRGlM+1tJxPoaovH9db9m5sz3+qfck1NhZBDNvVZ9fNs9Sld+SMuSqqvtrqsPYMHDNJHTDTTaHC9j7efQCtvMpVhbFOIs6k1T60g8oE1lYSZtV46llMy0ibNf3hxFHVd3vheq1IG3tXXm9f2Lh9nrv2/Zx7RtkHZAp4ANVwPyKTA5WtPhOTU1/42WjLIRf9GWo58HTQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603412\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030623518285\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704154160?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"I0AY6wqvgCQceAFHMI1oaOWlJFDbLYI0\",timestamp=\"1773603413\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jev8/41qJKkt6gA1b7Z79CjsSkKKKjCTcDajfnBbCRRtZ8duvq13QWKL1CewrCgQKq6sMNTOGxyWen84dknOP28ZtijQexBXivrBxHbJEgvj5Mvg2On465QQ3a2XOiUeT2JzE+dRtAhnZNQOUGa8zAY1ttg/P8Zy7himvbuIjDlQSJL68F0S/bXL2e6CN0o99EMiJXB4iIozA9WOGo62MJ8g2gw4NFUNWgFkq5KU4L8gY15JCQSzCjF2XSqX5oVKHiQsntOX9oT0Q6RW9uwC//OdmjZHAN2YZVWev/euNWEGxzgUJhZJbVjR3xVK3kVTmDPgQDK9KorBOIgwfmzX7g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D594DCCD0610F50118A6B1F8AF0120F6E52628C53E-0\r\nServer: nginx\r\nWechatpay-Nonce: f927208e7cacac4af93950480026549c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TY0akQsq05NEQTBLkUdPWZ2ZGqJlrf7TJAgdV5Sq7kyhoPhN9Vax6SUaxgjD0bncGe8CWxjQ//tdVvzXDqjQlC2KIYZ+YJjlMikN8G5Ag1A9VkxTe5cAY3XJsSaM6tlfg1q3tv3O5i2R2wbLUZ2m7+7Jh0Xhrt013a9yFX96DBmcn355fvaRrk4CbFwbt0JdH8H/Tt9/130h+MP9+dEIWMCeSJlPUzmaHZu/S9QACvyafsn7YF+exEPEIM2AmRe4mNpyBk/9dRuOqDZfHEuTMeQ4ZdR5+99u2BgCiOM4UvKtu341k9nHzmSHoN+xhVAETTr27811mnYWro98DdT9SQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603413\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704154160\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316030704018496?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yog0GkmwMtsHEcSaqVcBJq59G6njp8yH\",timestamp=\"1773603413\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ciZ0fP9JF2Rb9vXB1u1HHjuKvr5RZbxfwGZ9aEHOtZXneyQeSqFPAG81yWTHc2968CHNlaN9Kg4nxZefSY5KVnRW1cFdZLq9gR4BB7EpVNadpjtR9UxDl1NbFTpVao9ap05ccKEjd73XrwWvZCancl9jgXpy1zR/GNIC6WIE5KxHhM0hOmYF3p5L+OFAp1XgmM1pYk6joYQ0r7QK4U+n5Hppijw8qq/Jw5PCLXoHTddoV+9v7Myp95+cSWow3ULKFW8rte3s+cjAgKkbNZ+M8Eb1lnQ5mknzcITT8Wagb65EGAeE5tepgxcPD+et0yR1iXZ3D96QqbrkNzayL0HeIw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D594DCCD06109803188AD4C6AF0120C6962C28DC8803-0\r\nServer: nginx\r\nWechatpay-Nonce: 14a298fbb6dbbabf695cb08102626bb7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XldKVfK0MN6p537u9DyNYq+xjYWENAaSR8lcbTDaHl9uZlr7pOJcfx1i79dhxWS4rmwWS0gsUsngYj4ArFcnXiiZdHeOfPxeEcRl2XV/0h7osdq3I7V9Djmgqd2YxzWjOczmqEP5ZnfH1PP6T9qmPKs2BlipwY4l9GZtaB+MAUG2j9bKWtO6cDLBnumnakI1A7D4B73/DIOutmMwWfethlkT6thEM/fFTfytEzwwMTrl11lDsYWlGTAW0W/pgIeT+hByDOVwdDE4DpbTGmUZvVaKzdRinotT4wq2wWby0AVSwoFcbKZWSVyPKGvPrpuRxg6xxFND/zVKede22viZVQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603413\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316030704018496\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031401249968?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ORklM2l1teLMYYkAEZnE6Jh8BummleLs\",timestamp=\"1773603413\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"kKKshgtd8m5hN/eJK0GesLseieDwdEsPOo38GllWNypkIIeD2zHoC4Clnoo70J1v3BmOF38ArgIkbfE2vMA12HiRavNWSQ1MiRdIBkj/x/5adE7l5SjgLlrw2roXhpN/E1yaQAVDPlj9Q7ksD1WCqRRZs5f2Papm4g4KEqYx6voQP54diCsfjlpcXcHZLeijAdwVpdtTov2xKqGNROhV+W80RyEodzqhylA9yBsF6wpXpUH7iZ/skKaQxr6l0RBn4BrdZTYO7kup2zMyBnMsTgFagUdG/x2dNQQl3mxhsW0jNRmc2LuS++x7XkyGUo9E0thBEm3lU+LafjpLKAmYag==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D594DCCD0610C30418FEC1C0552090871428A1A003-0\r\nServer: nginx\r\nWechatpay-Nonce: db7e419f2127ebf5f5698d619914f747\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eCtdIzfNiJm6FNl/9bjAghfqlG3R/K1BrebQtFieuX0gnLNgGq2I4fd+4SaS2sKDiiaRFf1MgSPUAbACgp5lGR2Vr3XepFQgrZvDo0ERhOaOJGALcecwWg8JPiDKKezNF+JJ8SoKC8V/hUesBdi/WIMhKn16vFaQgVL73zDIUnhW0MfGASD00Npv1NYO3+K9KYv2KAsmeMqZjQIR8/6GyPFuk70oMTIXHp8tum8dWk8t/GQ441kwt/dr5C1sWnNUMfOm+Gv3xBkBgH5Ozoi7A0eFbCtKNHxByqSlWPO/mizMK6ro4IN0lEkuyfdv1UQm51zyKgLvaHnwBUsgTy7Qhw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603413\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031401249968\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031403742969?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"OFpoEUBb4CmD8vZDpTOueOz37pHdLjjv\",timestamp=\"1773603413\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"1BaiDvOojOcNv6mXuwZG6RtukMtejIWa+k8e+oUxTNv5GhtW0U4pUSdvYohnIPeQm1r0Z9UIJiwmnfVg08sPLA6gewu5hjK1l6bsfsh9cD+ZsorPF200G5mCWONpdjtQSEGidjYwYwyiv+l4yyyH192yzSm16nRDKZE/J4zDgGopkMxahT5jgI06tEO+IwlquBvQIRIkUpX9R8JcTz1wzhOAPnjQ99ZvjdHT8sJNc/t5f+hsSbjTcSFZ7iuicg3+vLDc60S6+n662HYW6HbOXZ2hXhpL1CkOvAY35BIZtllYDtLAkcGeDnh4VlRFNzh2e375QmHh/9FADPYSDt5O1g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D594DCCD0610850618AEBA8C58208ADB2328FF9304-0\r\nServer: nginx\r\nWechatpay-Nonce: cc8585471f2735e4cf32705606b858c2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kqVhjeZ1McWYBIenPDqjVfn7UdXOO3kIds63TmE5qINUgBEllQvsa/dZ3hqqeMtppN8uVKy9OrVeOWpxHglY3F4ypVki70MxxED7wJo4MHmTKIhq2AH3+DPX2mikSB4Qp/rt8YlnYUFSimCfkpaNKGeSuSqj+aVGKzCbW6rdx5wv7sjNKJB92g1o9TNUxGrtYY3wLin2PSH+lpTkjwnsKOciZWc3zNx/OY7JlmeBQ+UTVE1P2Z1O3grOaTGEtaXMh+C9qXiMKqEB7PkSDTnkjUw9thrIiC9nmsqD8H01iGHghpKWNn4375rBopBYiGpEBvYUIJ3dNqHiXiewUbMw4w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603413\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031403742969\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031416158810?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mW1vHvTc3Or1kaWUEaAWzWW5Exo74dr1\",timestamp=\"1773603413\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"0Xn+rfm0Sk7z2fPxNz/R6RCAsLClouKOd1zSQkLIa9fJUdxuAcc0t7LzC8PpgZ/w8GiujznR+s4tk6Dglit7i0pl8POFj0hR9fu1atgUlB1k1bYrK4/XH8lWznKpjBJNgaJE2UDee9cRM0X3+zHuru9EKW3fhKQZJ9yWzgfg7cBBsJtxoTMl0ijCBCADyrqkma4ZTYJQu1TUp0j0XzfJ/seRWZnwETh42RgpxaBndkgzYRlbVILd0ZBTB/9B2ULSltGvrL3zGJIB7MX1opXjVoQ8KOushWfSyKOD+wysCnlDu2Qta5cPJb1T4wRrBz7t+aLfwJVkpQNaSB41KNcO0w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D594DCCD0610C1071895B2F8AF01208ADF3028EF9301-0\r\nServer: nginx\r\nWechatpay-Nonce: 8d9f63a792a9fbfce58f2dd06ccb0798\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kwscKJMwZefXv/Hy0UQxGSukt47fzvUK2s2pMCs/RG+qkLYWA+IOToLEPbeAlasnubd2O/Mz3Fekdw2b904X5IVchRK3/sd4PJcLNaFwjdWuEEU7rk90bUeDCwlkY23sNdAKQe2iVm3s1HChL2k6OfJ/JMWXrKk2hpAddrIcmM7SYJ2vJ7Pu2G/1+LGM1tAJr9WR9SODI0wBFckUxB2wabV3q1/9P6jgOUpU3pKTgmQ8zPzIi3yELj/vYKyp/nIW24Mu8uKTGGGZDo2isdFBTURvi5mh6fAq0tnhJ/YoFjze13/bTva4R1oK24xkoxdzgfArAJfVh/jM+m5WrGv9dA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603414\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031416158810\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031417566606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Na5dn8m64eSwsMNaameS4D8H0NLfq6YG\",timestamp=\"1773603414\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ppvaD2uAmjXvlhhj+IqHQGMBqROsstGco6xrG7TdOEWsPngGY14SzVSEq/T3FS41NMaRDwsUbotge4XysJG5a8GXu7ZKdq2Y4eiFBqS5AWjdllewAJ6BQ5cd/OJICbUo1ZdbgLkL6xIcbkSPHa+eA7SL4dKBWdTYO4RWe4lNGSqFkS1Vcr0mo5b+uV1qMoqsrvF8wA3z7jf4r0tZmePRvuUIyTkmd7gt6RexcW8wQlUjgDIO9yil2uTs2FYI6w7JSRwndnTGqO+Vh6fAz209ajtnovSqYfkVPbySkdOZeCOk94KYWHAiq6VM17T/h3Ca6MPgz8MBc2YAtINPHIrsqQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D694DCCD0610A20118B9B2F8AF0120B6F90328B8BC03-0\r\nServer: nginx\r\nWechatpay-Nonce: 5e24097be16d1cd5921fb1b3c0553b98\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kfs28b0+bR/qKRmQ1zJ5FNKRBiU2NBAq+9tnH+MriNYnTSu7WL0077gvzD1IuaEAdnUsjY8ExGRi5GLuuJ502fLIi3/b/hlb2oumWIk73i4l3cnzOjpWDFF9VgPUOLJWo2e6sj7b5Z36+u/fxEsikRtmLGmVplXcGppzeqpoLlFbWlRbYk9MCaYL5iYfGAdr73JFQJP6VGYdo11pz0hdJ+Jm+Hb0V+fXPCse6yJe3br6oMaIOgOjQMesFHwnZzofQ5GZmUFKDlmFi6T9WHbL8fxMrUhjI+w/W9OPP2x3ggtssPYsqDZ987iLd04XaFkWdgLq5mE9Ra51BrQV4bwkUA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603414\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031417566606\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031418236393?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"hhUVW8E8RFLFArvhHkGa6DyC4Q1Nk3qN\",timestamp=\"1773603414\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ykhUtCShOE3oCxI5xHDju26zdLx2JMTEEp/b5FrNj5bAsrq+hCxfLRcmKpseNqtJuxmaReEMMP4pM/Eg5LjZmCIPlWbTJLEqlD35JVUkGmjBdJaR+6GeR36KC8/oy4mqVbYHHCB7p9YDqtS2VZGdMvUYng2UyzrmF75qVx4apFFyGlE+xQvKIdRrjpfQCLweQ4zLSlG3BrUIGvFwSmMHC/A9gu5AWpu70kQIH6X1vFDqVh+IY5viVf/W3dUZsrLPsqaYN2KPAZhWBDLuoWnzyJn1y2ZwJVOA5hfax2OjBylFPsqHdFvMC61lBUF5NnCWswxBBdA7dRzFa/E5MEstpg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D694DCCD0610F80218FE9B85AB0120E69041288DF702-0\r\nServer: nginx\r\nWechatpay-Nonce: dd7d235e317ca465ab714fb8afa1f1d3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: OIA0LywIhZicDoUxLlaPUeFfp6xA4lgX9YXast0wm4gA+H10cXbm+MjMYIqiC0yiSSBX/R7ej2nf7ZBZDuMoAuAk/WuXBAxjc4Q2je1h36fHJ/7cEyESR3vTB62RgQVqGrNPzlEFq6rqK0JhsrhRlgZwFg0bqqBr6OUibRNEslAy2Y3SP0fJkKhIv7SETmdUStHBIuSQq9CJrYjqagOQgApjVw03nL1815/yg1fib44kr29sH3Oe0BWHibG2JvpHfbJV5rIN46Hg2hr+jYmRplI6nsmc3TjeGD7CwD4LWCaqE+zOncnX9PCJtnuKXKAUtB+qPS9cLuiJbaEUr5gwWg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603414\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031418236393\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031420314028?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"EBXb9bVINwJokBKG8VB4bENF4XzVAlT3\",timestamp=\"1773603414\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"eW/zbIc39j2yKDGamj7DQ+IjDOcwhzVaPvXk7iU4/VhOLSvZMGYSdH+J2hH4gKXIzHiYV66kWFvPACb/KtMwRvRuXWHMycMUnE5N0E8gZ0MrNRWaMzfeP5ySvBNTLmgiZf4w+0C220G2p4guanbnOHt6PN43XgF3gqU6jLZpBxCO1eBgEgxxjO8z6Dypfl9O19fEvsxgRsgGPVWbaoiTWDaSMQ8qyiimvvZmW4gIdVu23xDrzBJOCWWeBwSiMYNPMoYmQfnIBgNoD/WNjOkQ6wK/NdyVK7YMQheq/wLHQ281dGrqGy96Sr3LDT6cx8oqY8uzllaI5MGut3MX1+Ypaw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D694DCCD0610CB0418EB9EECF501209CD12F28E09A06-0\r\nServer: nginx\r\nWechatpay-Nonce: acb6097f72fdcce102bd0f6490de58a9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: JPDhG0YaF5s4n13KOdD9X1CQchhhFtSDZpOuLdZajLFdfyp7fq5YtCt5RzIg4GmnGTydT2oSgtWmtqL+mD4QPj1zz7LWfW9pg/ZyMzMnmXdd2dWQ2GfHDPeYrxbMhAiA6+4Z7UnAZ/tacQ8ZWNXu3r6iUPBquQehIonJjQb4wzkn48exGgeT3prJhmW1KJ+R9rMbCGWiBWicWCsJjNLDCE6dr8YLhxrwRx8WoSx3PhZtVUgMDG7WH8rKRpId3rJ0tnp1Ox0/PpEcVGUplgBhScTkcJ80tTCoHtUMASPi2DNTpkm4f7zwS86ECNaSQtQFnd+f/T15dgOZdmORxuTo0A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603414\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031420314028\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031421781894?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"HGBziypLQKPchQQkAodsNcQIQVEsu9bE\",timestamp=\"1773603414\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qEnnEB1HwKyNd3Xwt6hooM2VGopgA5X0vvADtaEITDxalY0FrbqfUpg1GVhlJcKX64c8RBEiflB8XgUD6k6ax+scTjTRhth6vO7kXOkF2o2v4ip6ds9Uvbl5mdOt/X+G5orVXEoc3c5Qn5P1DTMl893aytG1sAXePUhaj21PAejDpHcdbSdgMdo3Mrl7vWwRxO1jHOMu3EUGIU/ZYhuvsYVvbaKzqS6bwYQLoj/68LKJqCsg/O3u76O+EzGrcsaHj3emga28rlTFruXiN0B3SJyUOYxXL1MRG4b3jBWfQ5aMP+QJhy3yyqWPlLBPjGfhJO2oTTo/n9ee1VLcadISpA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D694DCCD0610950618B4CBC05520FCA80428F6C104-0\r\nServer: nginx\r\nWechatpay-Nonce: fb14d56958f8f85be77d053f7fe7e462\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lntZETUYSkbVmdUgntccDZD6pr0YAD0oMhI0ZkqbULwH2P3Y1JG7V4+MV3vvFmsbP2J6ECJ1nQOh+9yjzuL14Jho4hnEFyYhxD/nFsOfox1dtGbdEeHQlIZ8jjXFXPxY0Bof3DqJ6WJ3yGlMXRmpoWSFSlxfiU6e1nbIlAshp8Rh5WyfgJywzlGGN6VA0kskF2Yg1fNV9LjGwzpqBLUPB07rNrxcRfjFroVPhh4ZhHLZla/QAIpYqeUVQ8UU2c6APnZgFNhPvUYGUT22IzxzmeDiwlOC9j645iaSDvT9fWJ86cTvsyCBlOoXiSac9oX1DabNv5m+qTcOfurd3/DTbQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603414\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031421781894\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031422156476?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"sf9eh81MIYE7auVmd1p6Ua1Ti3NrDicj\",timestamp=\"1773603414\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"oa4dJKbtXyq8VcYQteYqGut1N7RWAxlo/2RuMvAhGGLrqBzbTfz/WFm61Sj6YclBBRKaaRMgFPl/H/UA80uYCGSobopiAtO/b+qlrChmFQa2Lv3Kv4ctR78pmp515e0Qo5lgmm6zKizuFFcz9oZCwoXXiium8j9clJmTEyrv+2424RCfo4+C9dnVfgfy0uBmSXHKfLriWeQmrmO2S4NajsKsr9YRKZ12hoaMzuWsI7eu4LSmaqZeDvGA0RktepY+BZaK2ssotvX2P2AwDmWFtwkD4AVtfj1CnpwZN00MYh+hlsYv4UCpPJtffVe173GL0GTxEim2gCsnIHyzbKQ/2w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D694DCCD0610D5071899DBDD5C20A0BE0E28DDDA03-0\r\nServer: nginx\r\nWechatpay-Nonce: 50aa5a1141dfbdf1a446e3cbb467dce8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: TQbo/1s5u+k9ahYJsVLakRzG0lULimB1CPAvheSpRgcIEPGq1jgeUicBFC5Cy+QS/dsKty0XVeoF5FK4GPc//2TcEzYMo/Cqx3KwQWqEPuHHkB4D4tW6CsHFkKujbJ6A1xiobs7uMi+t/NWqEsmhbCDVDDLHjNOxOtfoJ/vUOPQLAbvxagc85RY+g+32prFM2MasiJd9RRgMx+au2yjMEcDI/qgl7wfOJZbrs7GDTCfbFozod/Vo10bOdkyyQY5ME0boGetTTsXPbPIsOtpIfEu1NT0zV1rQS1dOFlv07uwMiJtLkULOARmZYKnOZ0XJKicIWPn6YH/EvPpJsNnQNw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603415\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031422156476\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031423955324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"2uuXLuNCl8HEetlAvgFmc0Lc9lgLlcoF\",timestamp=\"1773603415\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"h9ThfpXFoaOpbBeWgUMqQY2YA1Vg/ZV5wcifdTawluIOTrfmHa3Wi3YvTzd9jKToj+gKeV0865Xddap3dTpGS//y41wcY21uV4Gp1+DG8CflfOXsLp4kxxPsQqELGkU/3mgk/+kDXEF9KX83fxUDtjf0pEcVXzQ9ijtDrfmShb2hvqkzxJLjWahUPRlUVmb8LDuo1pchMq8SjTnwB+GIpduO/jKC+7FyX1yZn34H1refjsF1/xEAx/HNblHWqAGlNL5itXpxRJPmT7H5I9wi1fGPiesItfBaDWtryztpEgG2hUaqQb7d4DdbfUBgpKSZHG3ZxO1u5GqHt0tMD0XcTw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D794DCCD0610A20118A2D78C582090D71A28CEDC01-0\r\nServer: nginx\r\nWechatpay-Nonce: 4a4ce5c4e3c95baafd5bd5a67893746c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Dx18yiY9WHwzjKuGAcmKfVPFVEsxGl1nC7Gk7m7CLPapNifXR1qXz1nZ8LFmt1aNMOWl0xzxaQCrzzJWkRcNl/KFT/FfsDIVKD6BglSPv3XHrSpNrkJ/DbwgxxP8asJFEac13e3PA9x7aYN/frupamhueIF+lIiV0hFtv/kDkxuDqFnInG7/ZrSE27djJCrG7P/d4B/5Tq+gOKlEmjf/TIDVruOWY5UxvRkpW/DkfYZJXmMstVwGyu+YUa2m1rM3Aomyjf9J4JRctfOBbL9kSeYrgaQsh6s3IbCGxuPfO6y5dTrZwsSAI3OmloeEmMDIwchxR/q7IBVsxHuph4jNXw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603415\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031423955324\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031425447423?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"WVf8vAiaDLB6yt3eWJnl73z1gG5MbX0k\",timestamp=\"1773603415\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CnoEIKKSEPT5FzX3UpEzUkkKHoEb28ooxrHiDBPwURrka3LtATPhYD9Jrdc3g0OXOcpJMGRbhVg3h4YMONI7XmiVxfeRcbraO3NCP1DtLOsKALLVMnULXxFGYqsJw6f5Xdd7VaRNtd+aU9kihl2/tGxTCb7Cz/SiGO+62FHVnGg9ia165n4ac+7bLhT8RpEff1WBmY08MFSScQs8Ka0r8/IzSAyzZV5ooJVGXCRdCcNlRChRXfsJjkq+GSq6jKDuYq8kFIbl2pfOEroNOnAgYmq6Ewi9PTr84T1o1sDC4vomq3HPNkvouifBGLajcx0Rn13stkrts0l03KnNSPG+SA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D794DCCD06108D0318CBC0C05520B4DE2428D59202-0\r\nServer: nginx\r\nWechatpay-Nonce: 6315b0fe31d2462c8d5f1f6f43ddf118\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kyBLbRlc40PE61VN/qC9G9IW5jX9c1zNi00LFqIZSk3Ye+JtNi5KD/oONRDYNdLDnbi03pa2vDjl60yUIfy5D6XPijb6513qfjHMipI0GkAYJKFnCqdGwwPS8NE8rGc5rkGiXaKKY86/yfyrAmBumleN7hbUSVe2ZKa0obX3oOsJn9QySny0VWBZ4e0rfTksXgzhqTiKn98Uus8MN+OEy+qkTth4YXi1hMHeMVb8zEi6PWDpcdsdm3S6YiySCuwUWdA5gXRTWt/SD0P7YxYaIA45aQpsrwrTfJjwFc+9irZ7CSst18tnFe0RX4ggSxyd3EYZ5XD7Uy2My1wHkVP16g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603415\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031425447423\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031426251795?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dqKRznfSDieW7bhMxc5U5FvtPI3rFzsQ\",timestamp=\"1773603415\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"DvCMjHiKiE7T3RKn7aVDJ5RhqEskhm55hqjLyvv14F9E8+8lXENBwX5giGJUoCmVCTcW39Fc8+xnTmuIwBZsTZQMZFjv3zq3PmF2lbuI7h2W+ot/8cNcVSdRwJFHIT/kYf6+JW+PzKwB7GtUiJSYuq+vDH4X+HrZo+uwzNTIFHiRcSZZEpyp4kkh8p6lIXwOBzVtOFmFSWf8X2RRtF0p7htr0xTqFTYRgqHx/xIiUvkEZRikU+BWi5UBkKEhUVOBMfLHKWz+RUoX0jmkaBhAd8gpcv9RUzuP/GRdffZIbNecG3OWf4KY+kfnGrYh3J/F2BTGuIwharo0BxOTLfcUjw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D794DCCD0610DF04188C82ECAE0120CCBD0728E2FE04-0\r\nServer: nginx\r\nWechatpay-Nonce: 0801bfdd0fb0f9c0d7e2e1450b9fc704\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Dfqh51i9IlYInrXegEfOjm1/gDJ+BbVbQgR+0C1ElJTa8aq2hhT5nlD+oqSXPxueQftMuLzEMBIj+Gxn1I1kdSpg6d29RDqQ1Q3XcTVYJWl59AMIAFxhvcwYNrPOrxydGgLBQP7iEolJzlw/rLPre6Zu37LguZQYzid+jmPdEW7wNnB8TZY7B35LuK7RDFqOV+QTyki1hci6UDCko1fW6uIpkRMPnETr/jhwxWzLMsAHGjm1qITfNEe6VybgYvg1R9P5VLByh9ZqxyqxhioW74wZE7WNf+2ePjjf7rtzbBhqbyq+2Qo8DOE6ymbhDj8El67RcM+F7nS75e1w7nPdlA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603415\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031426251795\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031428343343?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0du5i3seooyq66VJlmmnFyKfx66teGgR\",timestamp=\"1773603415\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"jz6XOhU1rPTwdpToWmgh1CxNSCOx44tGUoBpK/daQ9r/OeCKOWbuJpOV9KyVPuu5Wdq6TpWyv08Z4qYzw+M9D2K4sjQw1yKXoanSAC+aVyTIaeNx9e1ZqwtuvIGnq2RYrFEd8lJsJfSFga2m28ij+B4Divv4WE8e/NSSHm06UvRsYTLjwfOUDVDjUvarR51Nof2tt9DddKc29y0h9PcnG1CSBj9orhuc9RPGpadwUiNve1cvfkuzRjZEPUeRHHrG39ys2aC9Q3IIGxKBKoXdzLR/PeFNeNZm1J/d5pm2Nl9Ju0i1njHcDKoszM9YtTA9sZcd3M0yziL2GPPaVucO7Q==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D794DCCD0610AA0618FE8CEEAB0120F2B53B28D8DA01-0\r\nServer: nginx\r\nWechatpay-Nonce: 5f1542d8e1ffcc252103363efa2859fd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: kMkHZ5yCCitlL4RJq0+sn6b6BlkJfRdAIQwDaFtOj5mVA58JbApR1xylV4BMFlc5JfGbB1YmUVJ2QFZVfHdIF6vv04MrMS8Dpt/t3JoctWMjX/2Ys+hEqHalf3ZOBNDa5+mydBNMj5dSyWuf2jiGbkyh1TJcfWOfSZkkVB0gYOpzatU+4CTOpM6wOmFEqntQ6P5/G0j5unvH/n9GrMHbA3bNNVDz/8kOePGlf1DO7GA2sp/MQIwEheZ2D3gYoWgiDCozxzJcjkKnQeupWNxKsBRzYeBHLoirBKxtBBfsSTIy+ZhLaurPb3YpBaZBe1ZtAvW8VTvzuL9aSa/yr4QaOw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603415\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031428343343\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552642255?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"bJHsrzd21d9hDWKQOec1Fhqcp7oe9ZK6\",timestamp=\"1773603415\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"C300InP4wq5TuZQtNGMjXj0lJku0KourV8KgDNYwvE2JBzMG7H6WQ5VTQlS7z15TplrfOye+91ApUHBhoMujlRHUo5xQFhaGLXXu2XURk/UxasOn8wqdUV8ZeW3OOMahyGyBzHBCrSVTbdmM8QRH2bfIrv9VTp5IhqWeyGXkKctnwVJnl2kuC9txP405WhT5MBRNSovjKtm1kxaOHCwTF5YF8hX1nbDdXHd3SV2FFktrc2Ar8XBB3gXsYJsjF6lfKzFnEZlrTRq/kIgS8LdJn8gz3mOvB/GnpVv5JAunlEOWmYHMhPVyn8sjXJNST/VwvhIYr3SfJxNHjPWaW88yJQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D894DCCD061011189796F5AF0120E69D1E28F1C003-0\r\nServer: nginx\r\nWechatpay-Nonce: 590c6c36912cae962594fb99133cc32c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: O9Ca66tMxrOp2AqCxSK5ivmS8Ykf7z6f2ebz4s+TVoMo3KooEQNNXZVU4ILWFgJHYlsRAuge3MTnRdFtEEz2jN5W6Z978Idu/jCLh26j3cRdci9f/S72BPfgkWyavSbRP5FiGUdrkZ8b0xZprjG4n0/ENiRs+F2Ml0cs2ZCPMHh+ILpJlRD4AupeaNCPw83f+CIcCgQt9nVqvDvukNhVFqRMJmd5coVYT0Fve3Kk4lFfojYbgfOWEM19vXtCXURSVwVAVBOokiQWngF2x0Bi1d522K63oG5iuGmb6wt8MCxs+Bj7XUzItvUxGwTc5mNn1EbRdGyKuxBzroM/sS0azg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603416\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031552642255\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031553556581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"80u7G9YzZy1DiN6cGWXhmHgi89jOICyZ\",timestamp=\"1773603416\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Hnn4CHVVGHJo9aqeNX/urmHgvqcakpxXJ5cFR77fCWbRkdIeQK2gPz595u5xHvOh4PBqua19SHKn3yXMmGeRvGAbpqVu/PoWTJ54s25FmikJp/tWu0ySKlhCYxDt2wY1orL7qU5U9W+Z/iTrDiiNnZ+OjWewsWU+wYcNwofwZaoR3YCgcYxyd/RjRObk9L5aSdVd/SWXCglJxsvnJ0OBQ750xEvfjCjw4J/k9kfFQPCV9IyOyFEetYHCHdcGMWm571swPIaG51k5Z3rlgPGO98Wxme4j48YKyrw9fFUryiXPIIBHa1Fei3Ru8UVzXO+P/KneaAzHYHCBxs4GJYUgXg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D894DCCD0610DA011893E6F8AF0120D48D2E28C1A705-0\r\nServer: nginx\r\nWechatpay-Nonce: 36ed1a286014683bb26557d8938870ac\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: c1B8nX/TxsGYQMvs/Q0X9LpgjRkScVKugYZZmaA2hgAQzp6yH+RGTOVas10i/cKPsR9nXOAQeK4/5RwM8st+pP3FJnkcNvZgL/vdVilRojcSxMl7zod9DTD0DyBomruaPufU5wxl1fiyuDxot9V8nL0PKtqNKYO+yMHkDP5qs2BTUx3Hi9Abl2sAwMkKevzg9a+oyIP2gfhx3lhy+82JPbQ5a1CU2plpGZh2/sdwpkunqbOgZjEliLLroxGY6I0h8ZcwMDB3vBa5rUn6Si9hGesj7Zpjx+LgfOkD9VhNkouH+VhW9elOhncW632otfbhXS0LO8OJiZVB+tMtV8T/Xw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603416\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031553556581\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031554327422?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"f4OoLSCCzcFetJ4qizndwYcJYnFsXU2a\",timestamp=\"1773603416\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"fNH2GZ5SUGw54vUfyqqH1/0SLAzRAyEdmwL8Fb6h0Op88IKi5FVMz8T0JnuCseyYC9OoQyGntnKVgxBam3wAzV7jOycwNy3aHdJWKsJ5mHIvxSNxThyUr2+/Bb+OZdQeMLqIXXKnZibfqSBm6ZiK8/5U06p32Umxihj1OgULcZbD02pBkgbe8lH3h97IEtkApZIHwBdDW1kcGGZjnFCYKHpfYZyqoahKc4CrYGwdBJmR8hKZg6PnNrJodYSPS8UaUf96I5rplu29RGSwfx27kOVHtrxzarmKIH4ZlIQp3e/U+R0wtB7174Bd6GsbTCYcSe5bzCIAJeyFdjongEe5PQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D894DCCD0610B70318EB9EECF501208CD41528A2FF02-0\r\nServer: nginx\r\nWechatpay-Nonce: 902f6ded8739d505d76e85985e3cb7b7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: LyWWYDoO2leLtI0IyTa8eKXjx4zNB0FOA551GVynzC2sBhPpOcw+Clp24jw4EgwoVg7cS6NAAyUKiDPJWGQQzHYNplQfKH0Wc8P0plDT8MYP8SZ0bQcQRoln4y9RFrSK6V6Letv60e/Zgk9IJ3Y3J6juSsERrXj9Qoun9Ns++qb9OizU0gL64eKzLg05oacPpeU2uatsF/j/s5Yq1oBr4dFZiHPstDb/iZHpBKvwyouvsGI9lZCcEi1sQV4wbPOVbeefL4UbseSLDyPZkZeIEiHzHKC1YxZIEbLIuBxjYLBjZ5jBv6NmWFOcnMll3ciy6prDuSyGipTByEt53v4veg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603416\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031554327422\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031555128971?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"tlaIu9Oup6FIt11DElDRBIR5XLECYc9G\",timestamp=\"1773603416\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"HOCkoYff7xnPLCJ7VUFY4MJm3brDT/+AlnB+bTm192NEoHlDNduWTtiPIQWSan1JBw5LYcmSjq8lSRhZsCnF36goP/dpA2h5D+UiygZEGC18yTj6hW1g8rmTukX7vMG/Dtk9UpN4MWrMWVm+VSdHppkppEZ44Jq1dWH1JJ37CcrilqMt5XhiFXls7HC36zz3QYXtMWhJt7Kz7OfBGX+qzrYcRlHf0U2bU0bF/qGhwsW5lAIVZX/kmkvyTyYEzVjjro9rJSuLYmFlJarHkJ+AEHXF711iAv0y01IQ8/1wi47bcWBGalqwJZqKZ79kZniFJHO8dRPp4XcH/1fh8VYcGw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D894DCCD061086051884C58C582092BD0728BC47-0\r\nServer: nginx\r\nWechatpay-Nonce: 05c157f45eba22db668f9b15f7a4b026\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: CCTp1aT5a73yNzbAXELALqyVFGzP5pD2y9uC5kE58FYIb19ym0NUZDN/DMe2tR/7bDh13DeYhvurE7aq63qLZhjrp95VBkuEFTan3Zjaozkt92djwZ3OFzEs8ye/TFqQ6eZ2rxe43dbr0hohMWwCPsAUjCdA0qjH/aG07+KTd7Qf5JnfMmsVlIonKNN8RHo+SIYpac+hJstYBQIRPdtoD27AGTD/pv7vSkXChMSvKt1HoHo/mQnhYHCHQe2MNPo/lGsJP+DZo9xgSk5VJk+HiV8wJC0LXTPkOL1PF182qj7KD7Qigy7g8xF4vt20hxoIaEN6eITJuXwPrvcSRpoR4w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603416\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031555128971\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031556746758?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dBBnX8GtnDyVKPPAXbgX1xQJfl56t7xv\",timestamp=\"1773603416\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xNRrewpL+fYdeAoyfkjk5vQmkfZqa5lz6iwadFoU2nY+KsHXFkWxSoKu8F/vpKHhVp3Lrbs9LlDAJqG8h95q1+Z12fYOgvBWUCJAOuxsJ0ygCeAz35JEPIMDuXdi+qOabH46Ig6ECGpfOwqSiOTvYuXQhewlUu2IQk40THW/oSzbKkaVmLwmtWC3YRpkvdrd2/Rr35zhHNId64GbaC6uGBS2zz2WLNTJacuqXXqVNG6oFeRLSa9C8yvhsgNuoKnwZr7o0R/qUoLLoZH6yI8lhfXwclgTkbOIw+zjD9NX4AdR4xN6DbzLaemT3TyjZYSqcf7Ic9dLbISqquzAwOUpwg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D894DCCD0610D5061891D38C5820C4B7252883FB04-0\r\nServer: nginx\r\nWechatpay-Nonce: 261403551343b6341050d369d9dd837c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: PnlOV8VZpypVZMAr6UAbz7znkGNe6SDR2Ekz3KzbNNY+UI4dSjKtoXDAdNSVPitmvFOuDOZ8pwJiIi9j/JrQlAAJpfJJ3G/iAf/42OqIe3u2jty7wXmxrr7LjEkbW4aLeUyZe5oizspV1VWoTN5iCM5PNBhuFGwdKIdTlq0ZTfD3Xag6FCfK7UTQEOk1sSFwl9rCwix4RON6hGEtyGC/p15gPM5MEkuzzhomSUki99kv/3XtfY3CpfwvuLLsSrCV8TRqf2WD56f5fGwXaZhCGgKteUrcx+07mkKTW8BtcovqY0Dx+z7tPhf+mjEs8svYzNmI7KWpYZWM1uf3HhkJNg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603416\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031556746758\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557599432?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"w9RKSdnxeAhZinQfUTV0CMfetAMafKcL\",timestamp=\"1773603416\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uJEhpau9TVVhkBALJ1iXqzbCBHhIOo0zAG4cKaoR0deoTmpAmXhwUQKcvp19X7g6bYaqQpNciRQPElDI+dymdZBPlSsnb8UmOLdkd9xPvzMbTwWvmezqT+/SEpWKgUpR8IiEATlLGnoh8KOTjgxwoxyOWzObjBEGSUdleiyRdddQzihTSQgTClJwAkmSvgzlCPaYuWS6YdipDry4uflJmaNG94dZp6DjQYNBHD3VnqSatAzjiejj1D6y9hZa98c2rHL/+YPWOTdZlpPr0bGCkC0Uw7uTZ93FLhUEt0UuWWe6/bOrbHQbsu4KCIozCf/768/COV7+pV9eBDUTFKhwfg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D994DCCD06104018FE8CEEAB0120C0DE3228A98304-0\r\nServer: nginx\r\nWechatpay-Nonce: c151ec7827d374b412147491d40520fa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: I4pCroH+EZgkEfKJLWFh7iUdIyYnowkL6fqWBw85Bet+oOxMUT0/UiAqGIg7TwbZDNo8BzHyx7qO4te3qOIrdXfzv9MhYhHRR3d9KnSsI0Wx3DoWPdzaSS4A0BB3/5ChUPi6xZ4OTVRgVWPfKPrnhnKGy6HHayyo+tXhD+yJJISo7hrZ3TWLt06kGrX1oTj9ZsU6+qkpdCUXYRrP8zp3HrteFVu5PJXv7z+EthS0fOmZhij8/Sv0jGF+T9fENWhkaBzgWSsxR8RsKfoAC8247Dtc8V57TOXqR+3JAMOmhB2LHTSE5B4pOXTLlRtQDripqTXI6UuZOeyughGNFygS7A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603417\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557599432\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557901403?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6AX0LZgMlLjXCiLV9DR0JJcr1UZhszT3\",timestamp=\"1773603417\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dZMWRSS0jHogV/umBaaocVZ48CHe7Ntm+QhIB46jJzYtm2FzJSKW2OkQl9dj/rwe8luLNcjZ51oQwGe8k8Mai2kvtQQvaYKS5Y3Is4/vTAgmb9hfzcKkToKhaSYQ8OvI3LgyHvtGah9l9+cZVdboWJL+hOvwVf2O/uArFDM6Y9i1FFKQJJgViXFimuAilmfv+uBWBnCgKkcSUeyln5yAeGHCkxxxbOHlrvm1+ksScNgD0MBrTx81E+f2rVk/JGTlBKRNIIxDj4/6erMLxyqcIX7NvF49gT+h5/7fnIqS8I+IVfKwicbZfKeQbcjrJ9pxIYAlTbY5x4++jMpD/Bo73w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D994DCCD0610FE0118DD9C85AB0120F6C40C28C89902-0\r\nServer: nginx\r\nWechatpay-Nonce: 8fc01ee6b64cf0f3136450dbb69db724\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sI4d65+jJHS2fOJa9sQDCYXjJcxUmETjx6UFY6MfoytJfFrKE4DJU2jQgtHafBo+efKfC/Z+sr9Qp8yryOpGvnit6Dfsq82pDQj9mlHdawilYr+aXL40kfQVOPAwFFu3NyKiTh+/EtLgjxaaCXRkdJidcKkYtywNb+yLL8SIrPyz0ZYO86Krz2hy/rDT9Eqw2fqy5DMesK/zr/euAYx5XFoAgjWNwjAvVV7h3Qqw+QMDjvFbqSY8nO5er3SnofAprWNoqdbDKLpPHZrFQuLfLTxam1mb0wQqi0kAL8iBnMhXpEPf+OXTrAKDZu6U3Doz/2IEMHguoxszDqGMSt49Ig==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603417\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557901403\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031749226180?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ja4mWa4ySQHvquywvqymiwO0X0SoOwnS\",timestamp=\"1773603417\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BGG4DZG9I70S3PfY1CCyFwwK2Cq1gk+ZqdbUIips6/AJD4k6xOpBjUF6NFbzzbSaFaHkFejJ5TZuuvbiSFcezVbBKimN8ogFB7/7jE+ea8S5lA5/TdoP9J5gbteQbzPVtk26vOK5r+7knOJGOfvqu/yqOqoNJFfpkWUlUaUtF/9Gwgt3QtAN8tMrhTGE1dqQFdl4zzZNxZuttK3V13vFu6O/GZ5bvyOU/rO1kCkDtKKnlLOnlw1Z/J9O6cxPJur73J8RuEdOQcmmfzWswsamVyJ9ByoQcqcSf5gyVXT3EIAS2FVVdHLR27sPEDjN1wme5sT15B+oeLDl/g8viMsSSw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D994DCCD0610BF0318FEB5F8AF0120AAD211289214-0\r\nServer: nginx\r\nWechatpay-Nonce: 16692730afa79abeba88aa69ff32add2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: q+YM9ItU/2UMgyfvJywNBvD6ePiZQKjFu/7TSfH89vwpooEY20aUuXh1JoH+Le99Y+6up9qmXRMlnysYF2shdtcAjp52yZ3H+2at5Znmw9DKNq9fpghnH8iqtBi1TXfocRUpy7fE4gZYYIHFj4E8YSzWrZ72tHEcUK3nBf5Kn3Y1ORu6ulj28a/IG3PxjqqPIdsy11kgI+clVud83rxpSS/eNDJOYb/tYcuwPtOjNVU2VNs1LHoyQlC7GZ28w/wNVfxCNZZhDXNavmv7o0sHLUSKveb/VQ+GAVVf+7H412y8PFgv6uAK0zxx6vwuoI1doQ19ZV1Vof3X/KByBqtLHQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603417\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031749226180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031750371591?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4I5OTDnswN86n249CqMDyxVFOe7rBkDc\",timestamp=\"1773603417\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"W8kwrM/L2iV/1Fgg2xoC6yMOcs4maQjxQnR3UDPzIK8bVOm0b4tvzSunuGsinpnw+2Lg1RTyvjt3zMjbThF7pcoUgOw7Qx2jD+H2c2BY99s8t/ax604FKBEQLNIDGAuyDtM8LVdg4dBREgl7JOPIilgi/CF7c/tpoUCUI1pFlxVPPQpoSbTD0Wu2OxKC03vzT2EUuqaVu5c7AiOHOkfFPkAyvNNhBpZrKzVE+SIg/arefphydTx4n7rMZpohlhzFwqp6McJuurzUUK59/vJ1GzVeXWpseDFIfsuNvXxKyIBOaXbbuGszqYUKfEl/zh0uwOrICS4Q3xCVYjjw53gsEQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D994DCCD0610F10418F5B2F8AF0120C2811F28EAE302-0\r\nServer: nginx\r\nWechatpay-Nonce: 44248f6bd812ce239e80309a11ce5c16\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Y4HUtkeml6kUzreRQhJ1wUXmZLSn+Cga4Xn8pVBi603d+vwVZenRFGvkfIcUGqlHiLkVJLANMwKjmqHRV607I6/AByRj33l2IK3ryECFtTWRAT2aMlCNoMGNRQXxkHfmmusVTOXOxhOH8/ZkqhtIj/8OHXqauQ0k3cz+HnPHEwBYiNL+agp6PovF8SyvXpbmk8oK7sLoEJt1ZY5Z49Fe89q/mv9IcoGRVQmnsRAh6EJnWU21MFoCjYeKseB337k/v+P7+3gZN+Is172YHuLKFxGzf7K2Axfi5pRCDsd4VjiM2fj8W+jIwVAo6oHV1N+tCnrdWcVO1Jfl8Nz7hpxrzw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603417\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031750371591\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031751056256?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"snRgIoqUrjO2XphERxuf1LxyESVM37WC\",timestamp=\"1773603417\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Gt6VPU0jycyE9wGkpW7Ka0C7w8BzkMy2QxOwkxLKojQ6ZARfeQYJsg4CSco1kj7UYjBLaJTD/GX+yqv4Rc++WBDx1oRTGzOMTduKw53mP3XF00TvOKUZotWYwLORBNkzgnKSrzseJzIjzfIN9axTb7SWgyHLq8BQTnc4cEccr9mwDW2Wlq2SUcUpmJuS78jRrwcW5rMWAj0DX8VivqgZrbQwNJ5SvKyUBUCJf4SzML2qgEzmI0fcFj7/Sc7DWxg2wYM9QnWYz5IiektlvUb6yym1j+wF7yBsZxy/F2jmMEvGnuRFk7yYaDwEb5Yd94NDY7Vwp11bInehReO094HCHA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D994DCCD0610E00618C3B1F8AF0120F8BB2C28D7F703-0\r\nServer: nginx\r\nWechatpay-Nonce: 30c6a861bfa82d466e99dabcec3b5744\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Y5G+NIc9Lb0olCOTBwF5hhnYRYdnkF6GPbs64JKD0lOhKZKlI0CwQnphSdkKrniBjlj8gw2xev2C0a4sprNaVfdiTGS3X1IcwsiGQ2OkQltu/EVuVGzGzpW422iCqsAnuvUoBy12+oyl0GFWDfbRHScmFA4hGvRmjlusZdBTdd551JnfN6PSGz2KFRvq6WiiI8ImTUx+MwqTMJHpls44mGd1rdT3ksPxgBCrliqZPnEHaFwj9vGXCg/mMnVOgRPDYGAa0ivil7zS41ywcvkIXuL2qHHflIPr7aL/yMMC9RlqIY4xn0Lqw3dmxB9RZH7CR4dTKuWmSuAIy5S16vHpMA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603417\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031751056256\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753547900?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"n7aNTuQ6SK6FLyigAhxhIG63VUU3lSVR\",timestamp=\"1773603417\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ZmOuSq2iuFivWLleca7HPGdeh9+iTUf4zB9V/tQB/QvVZriQLb1CEbC75Dx57wAa8xzt1QX/mbTICkqS53OJcPidGJebU6nlKBaHho2pRvbwwJElniV8RQgmHoTTmsz8QdJsOBT5vTkQXvfkHGrDE+bfFZnYQUToyIhJ2t7SgKEhmsJ/Y7t2NDSKvixSZc4t4TjbepDVA+89p6IRum0Q4fFHI3dNMas8x3/vh9IhfEio21cWWLHBpsAA5u0aGOysoi9dOtb+hZF9fUmSekQbMGtoGBk+UmW4ayIZiz5B/VpfaLiV2i1hhIwxr1OjXJxSVz5EBjY3kBqHDQQoURcDmQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DA94DCCD061025189C82F8AF0120ACBD1F28AEE102-0\r\nServer: nginx\r\nWechatpay-Nonce: ef56257602fd18f39168f1ff154108c1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lBAPoOUc/nR8sMEyb3TV+jpQ8cVZooNdvLOBPSUnO1FAVte4tisnfaLTkrLPWASE9YlF+gzE/Krc5xMyAULEr5HTEsyekrTJtBNfivUAyXVFiXfLGLKMrZwkrIf+6ROWy24rkPxgI1AZoCG9IwepQrtvGxnSLzkxW/9ySBRk5fq6Lf/nL1fFwgp0MwozouPP/nhbCp1iKR0YX5At6lZiCUYEfHLJBhVwc4uQ8a1qvLO50a9RHZzM3iUWNpB08pHEQvyc/skb8Gz+He06He4Vy8kWn+xCfvNvjyGFXSp3pBKQJKrZo4M/ObMI1Sy9NyB3z7moyjXWA6PoMTcdmD5TpA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603418\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753547900\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753832436?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RIlvnkdvOzdHaiQhb5SPVIygbo1iu2rX\",timestamp=\"1773603418\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Zh8WhMVDnFqPiOwrIzY2LpvQX0/TrkFkkqu03tmEMpxOWA5MjZRwp4I/2A3L1ySmzihOGK1o0nxwtDrR5sKQfAdGJ47lfF5yVzMtOuLQo6QICBP/+CaOuk+aLjB/3mcVFRjv7YcNP9ioiEv9TC+xlmgn7fd2wPPgZrpFP4KtjjptmlPJ4XcpDlDgDVawYrx/Jl7e/HMd5Ro+MiGCR63Fk35ekUxxIZcez/7heZiLkCLaurGdXNH3E9Jkg8Amop8RkhMVZRJ/kQdjfas/D2oSXkHndd335iaPb/N1cUHoNBi0lt67P8/05fow3mubPXw50wQPWxt5dQUau5Ng5GwnhA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DA94DCCD0610960218DAD28C5820DCCD1F28CB8503-0\r\nServer: nginx\r\nWechatpay-Nonce: f45fde77f64aa97b91d77a3bba8b577a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: NBu3HSB1h2FkN2mYv5eFAsZZ6MeGo/cP6zl22HA6rBiIHkzOtK5K1jT4NJaXRBujKGhvP3C1MObj5//87lT7DE4SpolskyiAAeIETij2umgHu1TrLlSxPdyP9jtnxNXT6Pwad8XWXTwCbPCzXQHQM4DIecep9qGMse5xMcW12lf9AyAm0ch5Rnh5orXytEXXpUtTgSeTogOjGKu8aIXw4khfuShhEdL7DAT1W+1rSfgLiZP8Avd/QA6ylBuQ25f8QPTi4lprtkJrrUUq9UYhCk6Q/5lmsiGQHtn/O/UNJKLkKFjzOBTLO7c3qSHe/DA8K45PjGE+td98OFa46nnt8w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603418\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753832436\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754917180?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3aOqMLPVXnq3czl71fRU03pOETJQMe4L\",timestamp=\"1773603418\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"o6ZWvn3vvPqbJ5MTH2mRsb1sCsAzQnThg6/vJxjNjrCNVcfooJs+OvFEcyWktoVp4zmMwyKfEJ53pWr3VyVgj68cxlzFy1b/uC/KCav9cv5kH+nwouDntCirSVShZHmgps/UAgzaDfERBT/lgF3embt17vYvRZe8abz/XvsJet7CWPaxxxJwNWFGW6WG7LioTou/TBC8nS2+Tb5Gy8nvakO+/b+dp0SEFVjyxD/Lb9ypdfFQnj0U2heeUEYZS+uG5RpVJrXbc4kVFf7IpCm8CipDFFHqybopPgHINe85nPN0LaqpR21ixRFEQuG/NzKE+lsqx7iltOBc7kY8T12mZw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DA94DCCD0610E10318E6B2F8AF0120EAC23B28C38F04-0\r\nServer: nginx\r\nWechatpay-Nonce: 6bc46d02409e786bd9ea81593c235148\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: p9xaiPU6Mzb0se7mbsQlVlaVcuJPGoOmU+krM7jS5ODnGP+3dJXjUCEHGeLCapZV62UC3V+RQBDV8ZGgk5TJHJDwPRk8n5hD8FzuxPl5Hy0GGMEVVtDBN/LG0dExy7ZlKX7UgHCEhl020wscwAe38ZL3m0XBSUtTYdBVvXtKIALcRs5iYtGa42j9k9GVbTYLxgxklyBWQTA8kDX/3qTEajYgmDuOR/EdfNqC5w7LCE9uii+YQK355zSdp2Vyyi9uH1MRcowhkmZy0b92LErBPY9wFVz7JwTvkhIcY9TruOrRl0b1nSgu1R4Z3V7N9m1H7Vh/ADrOU060JjOnIUNBkQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603418\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754917180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:36:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754026096?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6upoGGIsw3rh0QvlQTNbYEOALjCcL2dk\",timestamp=\"1773603418\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"L6lJy/I92q8ZLymuq6s3ttiqcbnRqcZLKxnuAduZfBdS3nuAwxW2x+tkuJwrtbHszNIH9OPuUPoUzcPpxXdYwmAKc1zzzcr0hTsqn2pgV4WcYgzSU8rxxsXrN1AubRkdhuXzMw6QXF6EZMsKvSYyHM4TSyeHv22Jw10pU8Y4ZvPtaauS+bxIKdOJoBuupQAiJ3b8vej2fXBbsjoZBKCT3rKV6pETryd+hfSHbOjm0mcuEPa8KJ2cTILyygKLLBnXt+ejRqOWviGEGE/kJVTweygaFyf4UHsR+hQ07VlyWCfHwOq3eGwuk9ub6Yzj1tZKZgcGkclozRqcPqPJnre2YA==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:36:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:36:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DA94DCCD0610BB0518C2A9C05520BAFF3728A48F04-0\r\nServer: nginx\r\nWechatpay-Nonce: 54e2cd7e3284fe33195a83abe3b999a7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: FE8dnnYWWuPXtfIA3kbzYsRgNspWb/Nwc6F/bBNIPqrPH7I/5dCoj0HL2MgGVJChKriwtHF3in6Em/tXfR4TklVPLu8RSDh+EXuMceSnyp87HNylIQsudpUwSR/urvqburvxFGF08TZ7qb0fQHsSC77I+3SFoR0VRtFhR6AQ3gsrHWCD5CnqZlfzUdCBMtAHG0PIDYi9X3RD14laN2/mhx356TEWiERLXyRbGz/b+9s59xFjgnWTWMP/Qqvs/DlWTq9LkhipxfdWKdB/JAI06c5mCJK0F8IIcU0mPuOwDIumoAxxIOYLbXcv3ddHwiIxiAyfHqmUnRrtTywvWWfOqw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603418\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754026096\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031401249968?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dsbnh7Yb2HS0ejQZiRVjd35QTU8uEznR\",timestamp=\"1773603712\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"FyElFhzObTHkjJHcs2X3AfXaner+bkzfSaadb0dozHQVvK25w/KW0FALr5z+jl2nkn1hPhoZ/ptq+5hmXAwZyUb2xwXo4B2r1mn0MAH67pQUvqU0Zqkc7mzUqZImjjxDcPjfdy5yc8CwpLnPETOlCS9NlgtjfYxti3yHxVISaSy56QyBGuOlfimNDXJDm5DQ5P3+6AlP3kAwSMLkTuU0sfb+F2i9U4jLO3LLkcW4/GgVJVizZnGjBF5fRvQ848fMT3jPs1O8hJ30ASvca7KgaAI2263RB4MuuzY1JluRE+tl3zDhVx2IMApYpf6f3I8xNxuZTFqlkKg967WzDz3P8w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088097DCCD0610CC0618C697F5AF0120F2F30B28A1BA05-0\r\nServer: nginx\r\nWechatpay-Nonce: 23e285655f917e8e8e9b80afa56de5b7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: QgJySg3jSrLAsVk2VXKvu/PUulkUw9+4um2SWkk3a3cBdG66WGmHXdApEKu6lfM4H4XKLelmK187HPDtKGlkRdGmUCy1Y6q6UhzUWRya4319GGN2PajWivXieCT4ctwcOAhCHXIN76O1yUSRBdFejyszU3PDKizwAT/mmPdPpfWs7FYIUBC52jfSs3p8ZUbdV9F8G2PShrAtmrtMcKR7KRzu0C9AGvWXtj3mOe5bi99nQLJyRjCuVEIh+/evipeTyznbUuAVNazNpnmWm3gDU1LND478NGHoXzhVmuFyQHNhzyUr3AZwjgVvygfL8e26k/+JNaPCAA3zixBlhHQNGw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603712\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031401249968\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031403742969?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"e0ongk6AC5ud0jGjjww51O50froa4jw4\",timestamp=\"1773603712\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5IDRuLLIHVAISQw23qFbPaq3z8gaOyEaRZ013xdNc8smQVFc1yteRVp4MLhQxuZ3Fzr7CCj/93jihamgElj9aYk4FsJCtG9UXr/WFvVfHqhliYSGaHUVkBU5bLzARyPhSOD9zF2YXSi0dtMm8SWU+V+TFlX0ohXRjUGNPKs/8OOqE0Bfpl+YVGrRi54yWkqhgcpyUgnn0nYR+vQ+3i88vHpoqZBnUVHyN2EjoRT0Pv1LODllfXpiNx3C1uJxDnNOJXBRyB++3Enp6g61Wkzp1vdPiBiYIslr2+KoYnu9i8t6i7AeVH8APJXy+WDjvUSFSc1ynBLf76Q+cdJaFrOIdw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088197DCCD06103918AA9085AB0120BEBC1D28E1F605-0\r\nServer: nginx\r\nWechatpay-Nonce: f35d1da7e0d9bc66d304c1cad722347a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: c/3KoTYG/XjQef9c8bG+6A3b9gZ2XLGHg16BgwSQyDREbUe7RxBeGPUUPRvhYlX1aPlHl9OS9e/EBSz0tN3vJytuwW9Da0H/xdvUTVaj46T89b+GykdHvinLT9+pml+5ySIAxrmEXFwsMHyWmvVx4740nyrry9LyE8hjRBqfr9DPsDec1wVBLehZd8YGC97jGwtx5Uxq6waganMhojR75gwNsYKvx1hzbFl/AUJxUtttkCS6YGfILJ0ua5hLLFgXcFJbzh7rrMl4L1cHe1cj4cW0izF8Bm+QEFwIXqRBb2KUvtuDFwzc07A5L6dABPu4QlK2sVW3cvVfXj4AP0XDMQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603713\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031403742969\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031416158810?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"dqCzJWGKLofiB4WNLunqTJY67vCNr24f\",timestamp=\"1773603713\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"6Ns5fYY1F9No35VH00Ku8HPUYkhi0pLFysDVKMd6QUvjFrVKBAq7saJxNezdr1Rdz2EjWuQoMCc5Hmvhkk6DbTkZ4GielkalkvSVLzxIehpr1LDt7fZqQcjAZaESspsnIbrzP5//u7d5IIEDlqvn8fu4/yiDsooJZ9pgDdX81xyjv/9AjatCyVz/2b+Cjn+r1Q9hksf0NMGXCT/a+0G64wbg9hl7V5sXpTllBFfmWuWhc9J2qaie8fC/2jQurtrzBpMQe9PK5GDMwDP4IP5mbS64oK6D7F/+WWr58QbHRBbYdRUnwO5BDNtx2j8AvyimPEHuQvGWT7XLxFxL8p22dw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088197DCCD0610800218DDE7F8AF0120C2E10A28A2A003-0\r\nServer: nginx\r\nWechatpay-Nonce: 8f411d8e8ae2dea57641669b838267a4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: frioAHnoyGMelEWPunOqM2Djp8yGs5tNlYqE1X8CrAvj6uqLm/+3AHGOn1pKxNVIukRdXRKjsAhWmWZjrjZNwBjQOddkMGGaFL1UQJ1d7dg2GGLuDRreJf/NmXSOvRJsbVYVkRIW+mcllP2W1dB5HEdZ+Pvae8htU9d4w3fP8XdKW3iIqF6jXUcGdRa02V/2VSULaufVJj2ianaCa/oU/rrS2D2kppTG+3uUZD/8F3dnsIhkBKwxsIsxigdQ2V6JVzg6mMZfSkJQNKpATtBjgB+78sLiUEA1qcvC/Atr20CWIbbSS1Wqr/5p28C122Ce9qjp4qqnWWTKe8Jm15g3Hw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603713\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031416158810\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031417566606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jdlvt1uqmlXtSvYIO8soQt9vaq5P4wvy\",timestamp=\"1773603713\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"00IVCB+PhCu40RdGdDKOBbucpYfoktVEWOoSJtBoiB7qrgIcbCTKCmHQdxSeFcXppZxT/Hmq78HkHMshXhCKqVXdBOj+4BhuAlStKaPPnYIPze+ziZORZ4iXjuZRgZMA36dYl0CDOR7xIHcf6BQzXg6cnQvFV+YF0cZ5kM/oE99yLI/AImgZpARtX1W3bYckKxNGQMKFWIxMqntYcTUYyoYaJR0FyKnOkwuSjQ85OXU2cUJ2dIUgc2EV6/Vxpy/UBhfiHWOGwwsral3PE3q+2hjwrNOGfHEvHrB7EVNZ235+EfdvLQ+dH53FXtYGIN0eBTuFqj1aW+M6uokFriUxSw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088197DCCD06109E0318D9DB8C5820CA8A3528B531-0\r\nServer: nginx\r\nWechatpay-Nonce: 65ae3dfe99feafcf95725a9e4e57ee36\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: chVYgsxFE7P4Hn/QyWshLp9pN9Qk02+pP1M2wnU3aM8jiajlo1R2a2SIg2YUpLEQeiWBeLM+G2vBZvDVChT9/BN2MUJpDpeFyIIKY9huNZcTHP9SOqu9iJR6TPKn6zv2nAEZE3QVNIjC/l2Y4U0GqPfJLJeepr03qaixcWyF8jQ19VZDfYirW6a8kmGOkMLrbv/vvghM7BZGkOMpz4ZKu9f0+s0/X5bjnWW1FCDynReIJoT02IaKZ0cm1BIwEM+QguC9ZmveiyERsl/gmohiQY+EwiRE26UfduvgKJ+U31rLM9yV0LKdRVX+Gr/Hl0RGLZmIpfwQNi5GqeeusuuCng==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603713\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031417566606\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031418236393?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NkDN2C7pet6fYbAG8QODcZynn2HmJDKN\",timestamp=\"1773603713\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RbG90BLSo2GCiXND4VhAh1P2PKz8HGjlxgMvY6iMU+XxshhGnsvVeDSpvoDpr16SENrwYjYZdZdJQIZLn74YAU5gnp6+CeDiWeHJQ4maI5u4NSE/HBo8/wpnaYYXgewhHHd7oxt5vhpcL4oIk+HT9A/OVwN8ZLbS2YXN9pdMLcVvwJyB1BwuvJ1I+OOx1pbWaWEW2CT2rOFp6Y3fTn6tSD9oGCA1l5KzYPyBt0yJGn1LFq9ITq456vtwEIbT2uYUmj2JUpsIri5af0qvAb0QdNPPxGaqKelrSl0o7mN6854nAR3H6BzdJ8T0DtBGZMZe5EooGyYgcd4PVA42ZfpdHw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088197DCCD06108905189F9085AB01209A0828B6EE02-0\r\nServer: nginx\r\nWechatpay-Nonce: 8c26e91b23f2249813d4f87696f211bf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HZpcpM8ojljUjyeY3zykk42bA2hhEVU8pYctbfu6qLh/+wEisNlq/YmnYpdZaCI4bHc2jl98b9ERQWQM0NNxI7i5h3wb3Onigptch1aSrFlm3fWiRrQMYwXt99QsjvSJM4V2Qoyhr/z+QiarN0C/cn0FXfhavJ0S8UlNRdXHPCIgwIc/k+647klpoGVZaYR8hFrSdSShrhtTkPQkNEbMrObPQML22Rl2AjiB8z8pGtqUF4SJyeRY3jKf15BOALbw3Uiek77wx0SJvXKbyGc4V/ShPUx6V6UuA7Ao1w5CoombdEmkomqYmoYodF+CHhbpJA1gsb8H+q+WBFENY/GoCg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603713\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031418236393\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031420314028?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"RoZAtPZLYVWPP7NmojBxxveovYn6YXas\",timestamp=\"1773603713\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"PQq6rGD8YiLxoiHYXf/20FfwvYLOaGxyqWkVem2pfVZsHXx8RusCZhgV1cYQ/qJjX5m835eTGVQJZFFHHwnAAK45Lv6q0EHtjoWp4Tz7r3WAK5HpVWMsKoIMtS6KBsZHVp35K4y35nC/HUT26Jf44PFYMcdTp2aKPubFj3qj8DoSzA8I1ptuZGop6BlTKc3RJ4/J7Sbcr8Yr9RTN74fVmTi7J6A8QERyayfvFZgIB+ydlYBmZHlyM8ZqshhpSWbXdf3+cgRcngRH5INJl0yAU4jtbJBi9MiwjatRGqZNJIyXqLQUfy+m6XdAtrYdvuap2u1TvnCZIcdMom3nVZvS3g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088197DCCD0610C4061888D28C5820ACAC17288CAD01-0\r\nServer: nginx\r\nWechatpay-Nonce: 585934787fe37464560f7135bcafe94a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: F4VRpHEq/kHX/DRuYD4eumWoMEVU75Lfj3Olp2ahBC885+JjFRXKATY2Iot09SYAzssjCyenRBJKiQnIXM6vafhde9Ex/jNlHHtNqagah17kQgSWsgfZyvucMI8eULLmOvI3FsrPSCfubJG+ORzHxTsKo6Vz33zbbRXPzKKiLUQ4bC6G+jGghwXzBf8nJjgUo7frrYW4AtQwVNQa+3La5gexiutBsvdeFqoP4+PlvNdpjG0kA25k9lDhceO+IayOjBE9rxX1ye8YHrLUe8F6sD99XHT6smPw2TSGnncx/de48u2D5emqDyb8y5rIu0QOStejB4g7KcKswCBCbwcBkg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603713\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031420314028\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031421781894?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"I1O9HAddx8BMldd7ZX8lPDDy7Xws24SZ\",timestamp=\"1773603713\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"K//4sOaiE4NJ92MghEtpoc8tP3pL/VfSfR0SCrzTc+DLpIFnzsylm0RjY1yMW+a4w4vhCCDYesabzjBZU+abvM30xu4Ya1o8PdHV3E0AH4P6o1H3aKG04E3/+7K/aKmBx6t9LPnMTuASgAQtXIpkvol1jA/y8RCFCEGH0eV0ZlNoR7rObOI1INlYAeAEFNtdWu4bd+jmYoS/maq/7omsZXVkKdNRcBzIQVJUbn6wkA2/AAo7MgE0Jij6O4HR8wFPgpAcqISOtQjkC8/r0lXJ4lXD4pGbVGxR8jjo7DJ2WobAELtNTxfq2/XTGMGrcyz3pXsWtMKRMcQpTjXxFXF0RQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088297DCCD06104A18878584A90120DCB40128F9D101-0\r\nServer: nginx\r\nWechatpay-Nonce: 6cbee8c7b7c298859ca97aa769ebb6fe\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: zV38C2eWKjHHQeIbZ1pjfY51c8PMRkRRnIxi+iP5WzNPrVFjkVnduzFlsZwmr9qTQnqYd/6lju3X6ZuiS+JuMhoo6MO95qTm2HGK2s+qBiAYtImb6YOR2SVlABIXCZeb/JAZ4dukRmoJVzFI/Ys2VJj2ofhWgZbXefJjWGMKvsed832ZhOsDNOiTF17L/fMBnoxVqrWJceme89FrYB45s9nJN7pliG0eJ35d3BPcLAaLrcwdW/G4fWkygwqV+L4vNTOjOaWeD1YLdr52VPy2Q/lmxJPgKj27FPkIJYTjrYKaSifuNIGOhjtCMfGSTmSh09jg29fx/gchclzDuz3jUA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603714\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031421781894\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031422156476?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"akKyyOCf5ulO00yfscVvhcr0RpZ806BX\",timestamp=\"1773603714\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CFzgi086Lp0bbgkaqAS78EtMVPK2EVDnsTaHkynrFHdImx8GO8f37AfBI6LwLQL+JpZXPL+iXGX1dX6sHbrSMOgIcwwNErhJUot665QuQQgylAhFZyP8QBUhDRD3y/l6YCBExNE54FHGXnkzQMggYj7+eIvZazsvCu3pr+avjJCKU7Npbux9J46S1ZaMJnQUORHIHGJfZPGxWmgNWynL7dLRLwR6CbgIMBuHQCj/rCBEafyqFD9kyBpshr7XhkbD6I6yBaS2OKD1O6Ur1EXDN/rnhrE0OfNY3YJG0bWob6G70mytnDbSQ0Zx46ALsbuv+alvwtAdgY98uI2ew/pCMA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088297DCCD0610A402188EC8C05520BEAA1628F38A02-0\r\nServer: nginx\r\nWechatpay-Nonce: 0ae70aa7d5352efc1cb8fcc678c7d3b7\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: isqSutP7XpcBw4U4E32Fc7ME1lrKRf3p/C9xBsl4MsEeP64VRtgClay1L6bkbW7I0QMvRHcPxXzDIAMop+MQWX3wj/JnJdi9a6baKmMBV0hzuj1SZCwJtzEUyVteXDGz3+bPTAlISd/6ERnZZ8yr+8UqEMYhjoNbgQN2HBBnUEFVFl6ibYv8UnQbWlskwl/iX1sccaWjpdKWEo+ZhC6IdGQxQK+siwjMLvNjQIBJ/YnGiFSDieUhkXfX3aB0J7w5e6iOWzOM8emuKOKoYYki9aDyU2lbNgT0vOzL/89iw3D6796Mo7635L4dN0VGyS4hWF9jvzJcAGY5HZ9bDAIyNw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603714\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031422156476\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031423955324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"UbnNOERLJSoS1ldWlByIHcszhU6V7GZt\",timestamp=\"1773603714\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"5kcO7juLel5kjMc1hW4gDHVPtTrdCOjhN3fkectyYIvaTkWRdfiHOYpzt2fMiCuFmtMV7s6MJoVAHbTM/6flrWWDW5mfG5gMCtvVFI94k+gcxBOMakjG3ee4ziUmkz296ihnlQWH2v0GBjZQ3VWlDSN+bGvQY08Qky3Uy+LvXiy/HnSi7boPI7qf46olUp0JChJYZXX1kMqMCs0KeX2RaKGguPaACwFLpJguoQoDun2LiDc91JjLhCPh2hFVnp/fKZCCyP5rifPkAlTZROsjU2fvPBAChryd8yy7yNR9YtDF3B+aaAn590cTneFQDq5eJXA1CqZFyDNYfkzGWEk5lQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088297DCCD0610AA0318D198F5AF0120D8CA1628DB8E01-0\r\nServer: nginx\r\nWechatpay-Nonce: 449ea7413d0af2c895fdc3b331871040\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: k4jfcyEEoOIKF96l00DYv0BZkb4juPc9NvWItX7D7BJeg/i+uTtnRRIctGzLo4aRYeeDS6dlMaHUIBlgcvSz1QKBaPAQZvJ1uIcpmFO8o5vt8kPfHwnSCsRKJdb91yKgKiaOFCN8KKZAaAsvlVl++wDYfqA7hdhew/r+Ov0A5GbPROZf+zc8u+/GSn6KyC4wj6t4CssVgChkPa20qer3S10f8YxVWkegbEC6fpphYziB1aeu6YpjpBBrWHDq9nQS6m6pONleRFrSXm0DWDy6plC/GDZWUnUVaTZRVR4FfrfgnGUqyTfnMhqSvoxtHY8u1Z5r7WwhO3x0RQ2s9eOH9Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603714\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031423955324\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031425447423?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"LmT5CllWax3ZyEO4MhpMSWeffHgJuNRo\",timestamp=\"1773603714\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"OiVZxlSoAHP/EuSxW8206bCVw6scyR7zcHPgFNe+QntSQmuCazMoPwipNwFaRxIlffJzV+Bvpllduushxp+SHSXEWJr3gK6Y8LJ2i61nrsBRIaiTVtNCKj7NE5nAive1pIljW8oX4rD0IV3c9854qkumfybstw4hJTyCGryInprGIMEpWTZp3Uty1ur8wPGZNHYNuHtz3bsLwS/1W+M6TinjmEkulncNXjoy8piHsgRU3R7K5DuLMBGsdaWbz93/zy9qSC8imty3HJnNGQC2ya0iB/LvTGBNsF5rh2BXBb5dmMPGZxWSCsAUspkg9ZMcb0cTC8ZkQ677zpPDni4piQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088297DCCD0610EB0418C681ECAE01209E872028B0DE03-0\r\nServer: nginx\r\nWechatpay-Nonce: 4b1c02553418b9e53ad9fc306ed34a58\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: wNCQ79E/h03rbNfWQJ1RqeKQLMDbybXfaBRuZZAjnlq5FwIvtcsdNmYiOPx1ieot6fGf7s7ibG7O6GfaMVeCit7AJeRzmA/u/IoGseJMCavZq37Ix1tXtgwqLOyHrs+/jgF8eUxe5jPr4jCM6zS9v7Jvm088OiwxXI2jw1QyB8P72crevkKJElYY0AyQ9wVEqNeoWJxt5OjEi2v2ipWezGhVZcMOL0tDPv+vvViFCohkF1JqNMau9YUvGVNrYERyrWK3wq85EI+hsksXwl81pX/q5rHbhSAgNOhNEInqjBeX5yhGFv8YdbgQOwMRIquKErGmQ6+fpJXtWbJbUgINTA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603714\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031425447423\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031426251795?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"frDJhyyocauKgIifFLH828epm1yBqscf\",timestamp=\"1773603714\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iItYTmn4fHcBD9NmuikTc+iizmUeK14CfqyXn0VUc8sQDAJemRfUiQkj7/tM+S36t34WUpVY2u8hhgn6M4ts77vcN7zTplgqrMdy83SdeExigZqFAhaRxgYYmuid/FZ4mY/4mfzQY8m87eGmR+EGX17h5F+cGD+YOp2h1dpCsbURZt3afStZUWfTP8CpAYMPgmcBlNoVB6kFFFzDPSCeLu5GSLQPBxibf1mUbWsRL+rOPhg4QYFSDBlh/yt/G4kQmSAWtEzn/qB8qUNp0JjtVcoNlB8+2lzInbHnSZrJV6JoYxMwYtYl+nBUBAVt74rLY28BNUZsT3GbeFl85xvUfQ==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088297DCCD0610AB0618E8E4F8AF0120AC9E0428BF8804-0\r\nServer: nginx\r\nWechatpay-Nonce: e07a199c209c8748d963fb94f8ec8ce3\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sQgkI0sMrwCDd3DCfA7lVppsbMH1ErvzCz0zW7l+E+KdWgaCjCJ+jo6bm6H9RdU9EuJlzhcNBMoAKStVJJ6H5D36DXG0qPlwkoTA/eDWkucf1omYxUgAq/PFSc+jsfu7LaXA+0JxHdFAVMjUnkO+whw/Ug0YRMr310ToI7XO5Odj1bJF1+7dtwPRPTLc1u+IHYfEdqaaUTGYYcK/cyKcjphQiMc4SLAYfaEesM26jIxuHkNgbz+Hjdi/xffx+U+bXVijUOzC6Om+rvNsowh8D/fnOqaqROAajGAdcLFV7F6ABN+ndcc/eQWKsN+VmtgmBLT02DqmwMaYKxse5J2EjQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603714\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031426251795\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031428343343?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"drj6Enp3EpaJFnYNJGRe6ip1m4a57WKL\",timestamp=\"1773603714\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"nwjRvEoNxayfXeR9KCI4CX+omITYP4wKdK8FZbdlYaYf7jRx3IOrcDGL0FBZfs6QJgT82WrC8n6bI8v8pyXDDX1ouOgdtY3nmWw2R/NFwfiULvojgKw+UTshpCch7UvNsXhx0J8CsYXCBrRjTgoAWFP9fx7jMW9rnHdmdrZ/D9ydkaAqyfgZRsrdOPFn+XOSX+GnHXtoN5jP99AokcP/n4kPskzi7P0deHlbC3ILxrbcFKiRmRgeQH+48ljT0nePhnTDPwug7iLE2mqp2MWtw7egUWgbWW54Y2ndZDod0MAymjg45nrbV0hbjsyahVFR6hDvFMncwSI03XzYfqC9cg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088297DCCD0610D20718D581ECAE0120FEAC1728939805-0\r\nServer: nginx\r\nWechatpay-Nonce: bd37d760870c3d8f33a5163717497aff\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: xq0FLX1WgWlLf549ChZlQvh7G61upDXWYqQ3llE0TZ+vOPesva2zAWoQtRb43QWKToMppIdexQU1q0qNB/n3OMFLoy3NYoqPNkrgm2e/ZTMky+ClLdWilpPnE40/vu3eTDHTvLD67BjT46XuBg/EHQFaWPnJ9ljMxV7cbFyHr4znMcMtHIaXaCxR2zNFl56kFLfZghim1r6APGj9Vl5zpcpP/VdL9lE4j71oQdebapNMPH0G0dFobcE2R8jaVsonia6kMPnCZHn8D9CypcwxFlHbbocvipC5SB/2AL0vN95kL/YoEadX2VPp8CSULkbA1uYYds8BTPje2FYWuQbHlg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603715\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031428343343\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552642255?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MEY2C8XnkVzFKpYR4Cubt4PkLM0agA8U\",timestamp=\"1773603715\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qtpmNIBpTHtMSUyI7aAs3A5BTfkLdgz8GMcYlP0OZ3imjuSp3GdlS7fidaqj8Kl0EJd9JlYoTcyeoUGl92tGm6DUzEc/AshF4I94XOY0fgKuMNueaw1b49tZ4BXdW32snKwzOytx8QAnNHCbXyxVmZ2+6ORToGmdKbWac9mpNb8bNhxBcRbag014q7bYm4yaaTJ10+JlVYM0Rw09eRX8dMHh/u+dz8U8Ja8dWCHxV8EQ4WFmJ30neZ8bVEjnGTYSGYUEwPk8dCwrJ3zBsFE63Fc8gzvMq6VbM1xUu60Jbh7gmCeChnvvKkFNMgoISBZwS6MsARUu+K8IZAo1F0qsWg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088397DCCD0610CE0118A49DECF50120FCFD0828EFBA05-0\r\nServer: nginx\r\nWechatpay-Nonce: 444c2b8a77a95f9d7d42a8552673ad7b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gdpA2LSb8/YL+4mVKNW4oBKI+BSLz1wuL9KtUGaADM7IfF4xpHMCUqx/Gh89zasSuEucLcXUQ2FOfCv5ZlqjwsTpa1wvV7CrbgzBsFwXWEkkq65IgtCfJ9wvd+NizyPW1s9LAvWIzPCfW+d9SkGWi2syDnsfZ8jPOWvCXMdWSkDxNDiiq7Qn6GMQGMQKvE8Zi9070Xhq0OaV5kkojDceIKBLl7DIKmtxeWzHvatqIyat0FtPKDo6PuVV6giz5XX3qzD2+ZLOEIGYAdrcMMOcaxAp/kTJpfZN24IRf2MG+sXemNjrbNetc8+QVo8VEUW/X0BI7nuAug5HpkrJ18VE5A==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603715\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031552642255\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031553556581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3hmLZtF0K9epLU6waCOr1fap0ZWz8BYC\",timestamp=\"1773603715\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bce6M3DBiGy5w3h9QLerJN+dctZpR+nkUL+eOHtov2nvDPRT6FaZ07W0A08LxLSxwqxyBkG6CpErFlNCdHQbUjjeiNL5lWpcWSBR2RY53JoBBPkpE8IW2eBjJnY+pI5hn3xvrNqVSsT0coBTdD6QRzsGiy4fm0HktQ9Oz3ZXxUzpcIL2kPt5kTKNcJImocamuxkVlO2ojuDHum/E3mI03ZcV7+GUgdSOGq6cvX5Z24lEWSDqEerWm00bx/XpiZmIDquTuix4puk0g2mVa8OR6CCQgVPn5PT5dnMCl16N4iOvlaHXNWtIu3BVpqKUaATivZYQTo3eHbHiwc2FfzFsOw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088397DCCD0610870318B981ECAE01208AD83328C87C-0\r\nServer: nginx\r\nWechatpay-Nonce: 25e86a850bd6406d7f14d6a18bfe4b80\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: t2n1cXCo/ZYU+AjrND8i/i/BfuATeYz1Kl1BQ8YfypeYOe026ZK1wTIGWXLgaNFNmWMreNTj/4CwvMfJFyVu5gK08wIpw3eeH7Mbu9sAS8oqO7pcNHbbcXyzBG/abfXn7nVW8fKYqDk//gWvZB20EwAxzET7hhC47olPC27+Z1Gyc/n0bZQ6RpJ4DQIcr1JPN/TBc/zNXEorL14Ss2KhfXLdNmNc+RBGC5r6ZRVnwEFGg/UTkVfl5TWZoDobdGcBgpebmmjEjfMkaedze8Xe5OGR8gEzpT8mz0UjloWZKboxbRVif+wXB/xp+x73JTN1XLIgpc1zhMB7oQMIPlj4fg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603715\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031553556581\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031554327422?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YfbWDmzVclzI8OqqbpUrdZ6lbUzQArA8\",timestamp=\"1773603715\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"ZsGPQ4wW+arINJj5Aq4lJZiw3TtPk9dndlsbfb61CmIRejIF4eArw5SGVC6qSmnih994uj6gLeBB0DwaEBXTHo/7c+4FaYohSq+MYtCLc25h7eiDykycn2bzilFOwKJnvgTT8WoyrMnsxmbwCVhEyF/HevG9hT9m0VqUPbl0CltPsUoI4CSKn12A+F8wHoKISbXZGz5vvCv8nFxHLSssIE07HfgGzuZw7fmqkCw2CRLoFP236EammL7aHB85i918PemPB5T7nVU1Q2QbpEPabvhR4m5SZ8/aAC3be6ns9nE3xn3UBVdIo990AjG772qxHOb0ZR4nsM/B/URax1k1pw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088397DCCD0610DD0418A8ACC05520B26C28999206-0\r\nServer: nginx\r\nWechatpay-Nonce: 262a46086ccbb1a13af8e6d4e370dc04\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yX7wNm3HKoNa1nidSs1MtpRfE7HqpiW+pVolSqM1rqCVl5IIREwxSmjKoCYWeyxjLVOpxjv0JdGc0qT6+154PDZ6fqLC1dywpFLjadv2BTtXJ6bJgnOTBG3GbQolR5yXNB9s7V+JrPaQev/ObgBrrLQhg2A81pNc4QBT6GmT7yNl9DTmG24W9yEkqEnYwv2CnHtFXqFlB5JO0Lhf4CrTJli7CP3tQhYt6+iqAiVIfvD8RSEFfS64W2HfC4QbPxvzrKqBaX4yjSqRAtlNqin2wfIBvhdE7tiQQ3WaT8diAYdYeGal14ACL/tkBx3A8JHThSP3OCcyxXM2biRB8ndeNA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603715\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031554327422\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031555128971?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0G0ecj4crSCAcPtYEd25ZL8TGHaNR1Iu\",timestamp=\"1773603715\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"U6mwxNVvnQPluH4UsjntChLVUS3zkr1Lnc/np5nKnJp+h+nZuoLb64VsLq3xeOiBpw6GtnOFnx8k4DYaEJFjhcaknJMkrWe79LSl9NELMa43Z/LMZzDtKyCSpuno5GO8ATDzHKO4yGxfBkX2HhDW7xMmhKFdE2UjZUti27g2k3m6cKODrQw6YBX9a0s7OVbVu4H5wElOrNKqSJArnNP9ESo5+lxwSGuIIpvh4pffFy7xeiJLNEsVY0f4AA6wlmCBST3RjUm6EAg5Ri7x35YOqTZmajyT+/JTJIDgFvE3LdusrojrgkjFduc7KUUnXd/7edWH6F2tfDfq234YKhKVhQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088397DCCD0610EA0518C38CA85C20DAE72528803A-0\r\nServer: nginx\r\nWechatpay-Nonce: f2b6131967ae4ea80d782ca76e1f1f89\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: H0za88daFsKdk5xDCugcYpsTKRWtJpZjVUT7YvzyHTjFKn6bEry4U3EE3P9a8wUg7FZJGL+I9+cc33ZYFzf05pXsmAm9pgij2tQBUWotHekrnmSJ/W+jZj48GgqXwJMa+KY4/A3iitRVkwTCksfJ6nOLedBvIUsR+vduW5EDRT9cQh2h5lMFNODOYp1S+8dtwYRjlVYwCva+mF6VvywWJB0lAt3Y7mKUQH06QCPbx+farCKEESlapWTqKXGRqbVKuPSh1oe10I1W26ZU82DvAr+F9j/Ovhg9zCm/ji9wo2BnkEbR9x+W92xyWXmKuGnGhacR8ztTnQUpOe/BcA3rMQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603715\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031555128971\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031556746758?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"w7iTZ5TVA60IvXZXQsQer7SPm69OxCCn\",timestamp=\"1773603715\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"gDdB3Ip6OU0Q33Bhd/vCmr7EIuC5rrN/asKhNYNaf+/A0os2/V0sf0sDZuFgNhJIPTOuK6gI5grx5WS5iaEBDh7ZyBwRDwE2w29J0/mgJTsD3WnPHlgqwJwcRxhLPlpOQSNPF0b51yyDoX8JY7+TF0puZZopGM5yWKr4pn39jB6AYgMQ2BAM+P9muozeDHxzXjxuBdpLogG0xt5dfsuOCDrXJ/pqxzZamcA7A3sCf4dQytvYN40W5y6hwR5tQvgKE19xsJpvQb3FjYSCl6cGOGMeEOJH83eAAUzF8I2ibYo/157zfp9cZbxsEtaiossr1fMeTQXiwa5sGdh8Q7lTvA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088397DCCD0610D70718AADA8C58208CE22C288ADD03-0\r\nServer: nginx\r\nWechatpay-Nonce: b4091c1992686354217d608fe3958fa9\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yY+3ddEhA30ICX8myK2aKcVbHqLoyKRnkR/7yyy7WRPEY2KnKJgSy0tBG2qyksLSZHf/fDsIpKp/KkL/Ez4YFhlaMoc3R9FwS9srlI5TQlGKUy2+f78OIsykBUEFZ87FTQOvRCFYEPKtPc853+WHR5U6jUe6Em7et0TQaDS9dziGy5AtvFjCFeiwvk5jDe2uMpPpSWzhwp8ZD2FD+oxmvNiGDZplp0UvUuIO8vHMF5Y2rWL/MohvMBcHk77SM7+8EHnn0nPf6iJKdvSJiPVh91vLxbc4N3rsZYe8JZ858MvwWTIAX3BNss25xjDe6ad3l8WmPVZFg4icU5ym+GZCBw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603716\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031556746758\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557599432?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"wAwr1q8nXlGFnuWNnOYWlSbiIrzA0kHO\",timestamp=\"1773603716\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"S0fBju6zOgQBCZsg0Fs235oNLv7AoYukNEzbLfs4+VpMaLxWDn5TfQc59UfnsG39a3f++YmQ2saZOb54+Ew8bMkF8Pdlem6CFr+5RbcF/A5d4TEdnxH+pYCwZL1//SGzlP+A7Q50EuhE1olk708W9N2WVy0VBw3uw/BV4dakn+trYGmU+Hq+PJhKcKzoX7QrfrBMPGd3El9d9HN5tQ0Wu7BzuHNsxEeq6a5+c/HBBKj9PhVn0HiFtox5CB+0EnutwcEqQQUQFKqiYkQ9/HRLDHBsYQO0orRyjjiJWqwSVfLP89JD5Wjp2T/Z6rxjxHKirG7zLAphargEHS1U+7B58Q==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088497DCCD0610C401189CBCC05520BEFB1428C8D105-0\r\nServer: nginx\r\nWechatpay-Nonce: 127a7637ef2fdac886f57ea46ade0668\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: cbm8+rzgp7ju+hi5/H6S7Wvb2boFhlmYN+31ZLh68Bjx9TM9B0GnEvDNzm7OzhNv1A/pR9CY0OdEq2Iu02ya6plV6k/RMRdaA3PcvhptHeln/l3IgYIunP7nTvowQsZEYMA4SXhLINq3tGoI1DSg4VjokDZ5TPF1q/Y5ldzyxJ17z0kuFgyVLvbI2YnU86bbB3t20sk1x4TsCSWS1Hu3w0AFy3pgmEJhXywEp0D2KFxdVaSuoDfkWcLtIQH1qil/tWhM/9847YWosPLLoDMPSVD90GR9BVIYuL8KXI9WeHA79mt1KZTpU/PGeG7aK09t2gocK/eB3a6Saag1UGxoGw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603716\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557599432\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557901403?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"MEyrIb2OjAGuNjeqSBLOvhFAijt1fw3Y\",timestamp=\"1773603716\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"voEEha7d1H/F/x88blRL62BtHtri+NChnYqYRq0g5LD5+i462Al+4ix0itieq0lz/MyGtoKZutaGR7SiReR5AR/byIwNCmOV4BGGd20BJIEe22nJ8+cILkN+D+QKBtSV/U0sAw7qf5aC4qYNJM9Zu/G9EE9BkVH3dJm4Klkej6PbUjGmaBz+Vk6swEs4/tpZ+4juOVIw0d7FuEf1i+SQDXotmc7KBcMHdhi9q8L7OXuAuH3HEbzyAgUMyBBT487HvJCtC55n2HIAcgS8QiDlxvWroWPxnkDx2B7G04+7xhTnT6r7fassORlkwQc5yjpGaQP8KLDIhT5NEH78Sa2Scg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088497DCCD0610860318C39F85AB0120C0DA3B28B0D704-0\r\nServer: nginx\r\nWechatpay-Nonce: 7a9a8d182259ec2de8e15654fcaf9dda\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: HM7YseXw9LRKE7nmis3ACHXzq1ijS5BYJ0byRS1GmRYA1XJLltBJPXUnSKCDpwTxeALLT/tVx710KRwR8whFepScmNm6bZtTpEEB4jaOr54/9fIk6lrXMzWh0a/g4Lmhbvj85LGox4BRQZN6z868XLqgezVmplaPImSFZ/tRAMug9zWyg2WcDTs54Hzg8IwMKnN47SdYuReKzX5gVpuo3pn6k78tGF7AZPsvfi2O8F9ZgmC2ykrmWpku3kkUvE7h2OzBcD6NZIkTe3btKTJ8bjFBKFSl/yj1o+GxbzDeddozqdWHd2wznIgomBpBW57Lt4/ohGCgqtF0tRf8IfLbEA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603716\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557901403\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031749226180?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"4KVKzQKYNh7VNUI9J4eiQ6XAWQciCQqp\",timestamp=\"1773603716\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"dNV0USuDnRroFEDm6YJkR/5YJPbyUjw4DOzftMkGT+u3QNmKcOrMCmgizffv8jWUUrjajY/dCuXq+Z1mGrx5aIGgHYdhP1Jq8yIvhWLDV2sLGhF+aYA4cKU/7i7Dg0C5BAt63crzTkZ6XSPgSfQ6Pi2kwVYgyOD4hmSZqzCrkJ10pHzCw8GimIPI0sJE4AAabvusBwpFTwXzHeUU79ulGpyHzeaK7rzP4FftUX2/DuaV1KbyQzB0Xrez8B9wFVXg63Cqvq2gD16ZySJkd1OoHEbq5ijZeY2+djnIwP16nKjGf6DHSI8fLk0F2r51kHaXO1R7NLC2z6Squ4ZbIC615w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088497DCCD0610AA0418F9C6C05520E8910D2887CE04-0\r\nServer: nginx\r\nWechatpay-Nonce: ff68f2a0e0744b8cc5d80696b7c7d2ea\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Vf9rRqQ4H5xzSBfmMX9sg9g6ocUjDcaqrZjaVE36/NBX8uT4n8xEguLQpJrabfBgae4iIO5DB6jP6nD+dwACpkxSlufWU+QKwvYR6h4mbcqV6onbiFnV8LfltunaWSl9rJL9QPKeAwWl62EcOXCA4QK8kTigfx7+Et1Jy9W98+VjdPB+5VNEcVBrzcVrQ1tR/K/FC7Pf4LUDwCjNNFyXzC4kE6XClP8XZi2cDRGM3K8jWM5+JlbvSS7Q3ne1tb6sVQsmJ9m40qSu92x8EwGeAGlpuLqGTddT6U7egOrodE3dtE6wEEX5qIK6gQ4qprKJixNcf0jZJg5mijWemUJb6g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603716\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031749226180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031750371591?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"oJxzyyvCAdBpJfFWBEhwbxtwk1c28QUI\",timestamp=\"1773603716\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"k53QTNU2RQqnI734k/C15Qkk/2edViap+GOoUxwRP9OuHY1td1ZG/4jqI7Uz6+iZfdfxwIPB1Xs6ZQpcuLVCu0zFAyAMDJLTYBvoPVgXSuqTb20zSqjbvusU0aAKSCDZgdmRSD7ISmtiZR3tLpcU8tJvNF08AHq84KU7tGOihzfyFQkWr8pKOAMulIuOhB4KABqkm9lQGY8WOw+AMsxau/9c7+Xp3fwKBww2vcC2KT22Q6EExdiYR7ks3ttNWPJD4lqm1dUD3HLp/JndARcIoyUPalY7s9/COWw+lCtCQaHb96ckHjA2os+Fj2VYt/BST/QVtqQO/3kARuPuCNtBwQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088497DCCD0610F40518C39F85AB0120D8BF3228C9E801-0\r\nServer: nginx\r\nWechatpay-Nonce: 10f62f966b02ece451475b15c67ad073\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: lyyMZ495xjDofyb6DZMuVEZ81txttwnULdmDuAuK/RCgiGbo1ut9xsD6EeMCZgAvJvZIfHlefCB9g2tmzt7/WADttWHpM40AJ268/334yPL9cXsDs1XByIJZd0fZIR/is92Jk2QrjmKkUCSvVRSNlXuuL6WscmMQxTAiAvDkq/SU+Q7MOpZqnb0GRaCbHNm+2rlSKuvaY8nLAzcd9j7g4xxFU+3Ou1lmDRXIxCc1680K4UxuOsXv3t0hEeolRLRO9JCs1V0QngbxPK8jL9zXmJrdH3nbfW7g290gEOP2mbEgs7k4o6VvQDf9ayqd+N+ItkZMczJWgbGNNPWdtrGzBw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603716\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031750371591\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031751056256?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vfOetVrEAfbRPElszJfy5wrtmlTiUMcC\",timestamp=\"1773603716\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"RFhqSFAlQM5r7cIrLX8kBYrAS82elEoKbQU8de0j7jz5uKxMRKd07E/+/h/0DL+oS4OVLUdQDATKTGT1cBPCOrdmFzXlTTb8uR+0dIQaestI0MoW/4vEDBZVzxtxu2HXJUoCVrZce/0L8BhSHhYLGjEwQ/KE/C/7A0PXu/G15hopbRleNfJ1dZV9s3h/ShLOXLXu1xvGmSdiLCgVJVz1CtN9/yIviyFcuwB/Q3C4dAFlFZLWCqxqKj2TYcG9+ViYoPGC5wKP9b7NfNDJ5alGgNHCh+nS4pG4nqFtWdPwCf3bVSz8Okq69FviS5e59jNtArBe8V+q+LXAh4BMDZcXcg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088497DCCD0610D30718B2ADC055208CE41728E3E603-0\r\nServer: nginx\r\nWechatpay-Nonce: 595d345dbf3817b3be67c2b014524811\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ktd3mr3SZREPJnOAu1mluw+UlFxQXqeUUQRcoSnGBl5gaxf5tf/IxOfI1OuCEIN4t21WHfSb+Y0ZxBsTW0rZVnlm0jBABcKtNXpyfVoLqsWcUdVkGIbLyPbqHClI1rZleFddpfABQwe+PW+DsLcu339har5UGgxZvzWvfCgQTLu5C7NEeX1W19hGYn8UV+93EJ1Wb0KA8h3wy5yvaTcNYkOV0mHpfsesh6YFqa2gUtp3HT6cGKgBMWCn1TEr9WbKHiLbv6SybAwYOs4sqmHslpTT4sa6jt66uZkekMJeuz+6zHduTj7ntnru3IZ+ZxHaunc2r9/VuOJiMCvjqCDXWQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603717\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031751056256\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753547900?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7657fHHBUkMZ0FyVwqrPCIQSBSAI57pN\",timestamp=\"1773603717\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"C7FJ2jKEGhbG8+8Nt9ARfHXFSm7/KtQmTBx0CgMYNJuHpYhjEctQvXQrkYvDTRQkdklAhA9k/dMV7vQQM896K2YY93/a97PdGmR9I3byOvbnwEhzjmloD4awz2zBt9qIf2KnQyrS6WaCehBXYl4kMfvh5tQmo+E6gB2dm/r+WQWnDjHXRV7yLOmp7xWXKuMceD99tUjoD2WHT72DZIhULVapD3cAj/Zu84M+dwSae0q6Y1IBL83rmCkLSt9pD0ge1X0hdVT6cC98EUjwXQ0lWRLBwMXVV12uggOgN7EeT4Jgxh7t7E0HOKlzq6QCQeZ7dtsXFh3rHh96okhpBdihCA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088597DCCD0610BF0118DFAAC05520DCAE1128E80B-0\r\nServer: nginx\r\nWechatpay-Nonce: 8cf707bbd3a4adc5b928df81a257d25d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mpsV0fbtF9WdyX1IRzquPptMTK7KTa6+hTp6gqXxqGJG6Au60Q78dlnAFSWvh9ksZmU/7GTfuQbc8QjpuHbFGtFBbutDRMGl1aKCs9mxViFvO8N1czeb9+wq0geaFIXX2P4A5qJ+joqKq9TnE4g/UlaGRXFIRHdOm40PbFT6u3jrUQyD2whDKu+/tajZ3kxwnmZGHnT5oToflJrn0QWRmcUgKSVI3g73vbiwZv1fuA7nMt1UeggitqU1mhUS0e+iUMsuLzYbQMsqPAnzi++LL+5wbqrrDKk5aeR+j+BClRAGxHjbWnChoQ4zQRi2u1U8sDExht8mtH+B9TcRypN3yw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603717\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753547900\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753832436?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6h3Flb4SoS6oWX7rzO77OfAGJpbJyN1u\",timestamp=\"1773603717\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"A6Hd2ntEyLWIZoOXs7QbhBlMpn9nuWXqXza0lFZWkGUQQFZ8MJ8asKmydKrNRsWzE1PxS37KR2lk4ZHWgzCv7VLmMLlGnFarQSchLPoGij+xdheYAuF/ILSROw9F1PJmiTzSpO6kfoRJlg9nnLjDSLd0bEREp8BAmgp3r+OzMPsFj/nFVYzaauts/M3XHi0Xxfm0jO7fqLHZxvcMwqZTMEtgVboAEyo68CQt8R0PyNn0j84QwARIauvqyFGLhDGilxpEglpfH+q/ipI9v3n39fbouY4fCcs06+FWNme5/FMwUNBU08kPAJK5LTd31ZK21juXSUEy7WaXsnTx3CvVAg==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088597DCCD0610EB0218B5A7F8AF0120BEB72D28EE9D02-0\r\nServer: nginx\r\nWechatpay-Nonce: b61d70dcb989e1047bc7405cbaea0bb8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sijLfa4hbBvCqtC3yZRlqRVyAT4rrnhEuPqAo0Rj/QswjDYXZCda+61PBUYdoiEELMTn+1hT4VJj5Zne4N9PMfVmUEZx1deM/jxzkdeMrVugV+pyCvwg/wv8bfg57BUiD8xu6cR5wj/bigg91xOrh3gbVuB4T1gFSeg90/+QSlIJ5icO/eVRUSBsFS49q4qPSbd3Djdh0e4jHka3Kmu9i2kOeQSvoDHFzDEM+V2yyUAq5JHUoqhfOGhMjfiyErsgMh4CzSL5UJzV8G0EfLmjD39MNjipApaXGQUFP4kgNauN/EqQsqBDAGwiIH3BlPBBzOmtdkZEsLn+T9CtSeapFw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603717\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753832436\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754917180?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"T1ZCZJRVvNaN8aIS6B56zvR18OdjnEnh\",timestamp=\"1773603717\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"GuW7au4Rq2m7poqix4cV8k1oYN6yYUefM/1+DYNctWtHTw+WghVES2WVbus9H2zrk6jLsBQbcaX2mWxl13FZX/rJ2oZqmdbygb/W+MPNnQAqvNHb5WGRn5UGRDjYjTWTYV92/6wL6ByUw6yEubB+piTl4QKsdfs9dkmRvrohO6h2h2ySnLQBSA0ShitSVQTLsXMCNV0PfK8Kl0cK6L6NIjdmWLfRcYknf6mBDKbuSpBFLfXdaRv3Lno5qQRV7pJB2xlyKUrq6mGIWGXcZu7JUCSMGL4O9rRHdN3423pcO7e79yrCgljUns3TBJM7eedh5wR701wDlLMiitvqQ2UXdA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088597DCCD0610C30418C2A9C05520A8A9252892A505-0\r\nServer: nginx\r\nWechatpay-Nonce: 3ea13dabc1398057dcefc88fbb968b10\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: yku1GoOfThW9+NfpTwcCbk+OXojEWZnLHV2IJ1OpBGExYeJMIuQualTkZcaADCU2L2uyLK5yO+vuKcZINWHUy+RLe0iTFVRaDlT4k5aRhHhU40mDtKdRjRQUCOeWXdiJQe70MAvFxum/BZANMMhe4qiHLhnV8Ask4x5fY5f29iWcm6iKGk73KQ7xSEElvbvUoBAgPkewjkWuDQJrJne92JoxPomIB+SSgagnKHbOtxBzc0MXRiBptLbfduu2dlsZdYa3CRh94slcP2J9fm0yIx9Qx1fHP9a9FE5yjmtC+DB3/eiboLoermYdBYh78WPbNZkXJGVuRGCWVEglAec7Rg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603717\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754917180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754026096?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"YwCVexKxKgS1BbZAfNAPODU72bvHZq3T\",timestamp=\"1773603717\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"APzS1Sx6fU+c/Dqbbw8Zus/1m7Y6JabzpB3/t2KYvZNalr/KsBSdPpqp4J/BZykpVsDON9p22sS3+R7Y5NV/6DzlDNxpeucF1S03GLml5NT1rIY6D4wmsbGkTtsfQgqqxsSmymtFjiuUHqHDG75k4YEc//EC8GckfOXsToYOjUhtimpzECNkSHPD/lyjq8MDAJu9iTg7fcg9R0rskGtcyWscIOx0fZIbbLXJ8lCMm4fHARfa21/fWQyH9ZkxJD/Jm44N0/GSSyIKl3E4gmfeh24AaOQtDjLFBl58VcH6Tli+9kGh/u51njZtgpD8HXNVrc18t74Hrw+r8SCcwhWu4A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088597DCCD0610EB0518D195EEAB0120B08A0728B58203-0\r\nServer: nginx\r\nWechatpay-Nonce: 017a70fd8d64913d8e0d55b3f09d97b4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Oa9+Uh8VwPGQW09KPmk9E5wASdkk0MvexZ44FIvkR8UkQNeg2nRgY8bxj2mgtSt1gqBDerX6Ss7k2M7X/2S/axyeJHaB2VcagKf13z0Z3B1DL/ZbQXLIV5LgTGnutaeNqOMqbhgi5MiWQEOm0iIEHScFTaNjPTr8uN8m4OFXSGw0b6iXujemZtPVpd6f3AkWHj4LKg8izLPLub+VlMfzrsD1eRTFXQJc69+pXEt1JebfN8nhI7qZ+EdVWdDy+rL0ITJjzBBi4QTmois0fyFnzzGeyQRf65EooWYplml/4cOhnNBs+A1PumWIQvKeSKG2qHpqTz0Be7BIn6zxkC7fDg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603717\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754026096\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:41:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316033723537989?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"W0CuK0ZwUW2oNvy9LQo8NqqIYpvE0IT2\",timestamp=\"1773603717\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"omqQPJ7jmZWck4RQ5jzQoM1RmeQgrjaE+RigCrfmeZlLiWv3hUiHHoAfYgo/Grkme3foNfXi7Q+JEWZgVv4Gm1I/az4vbdF6YGsxC4BTWyXdkcZdED/GST5i67zL4hR8V3VlBvco+ieDrQWREAM9BdNU/1cq95Nt8cfNb8Nn4nVZf4F2Gckwszct5g3HyM8Fb7e9wyXGX6ezXUZs/Wfh7UPbkZqGfZSG6ifb/pdhHYVRIw0p9jcm7J8xioil7KYZxJ6YmpkNwO36kZoro8Z/K8rjMiwaKyJoBjf433QJ11z1TJFdarILQ/TYGsrlM5tvzRGZrtXLneNqU7SFTrcB4g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:41:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:41:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 088597DCCD0610C807189DA0F8AF0120D4B10D28C754-0\r\nServer: nginx\r\nWechatpay-Nonce: 875eba252b877acceab39237036adc07\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Cw5WlLbnQEFpDD0CVik9cIJ4Aj/PLpWlKsFU3s4fBccUL7RJeb+Xz5pvVPLmCm8Pv70Oi5feYpo0i/fvixQAGHtXkpPaW8uRsXFhqRxkdu2PIPy1nR5vsv+eb4SmbGguHf76YDpN/eXxCnIKVp1YxbZW/eDg+VRWVKvs8mcAZq7dPUzVh86S3jaKfVvpdgToWvqPkQhwRiXTLRrU5+351ieQ63wYZh19bBWjCHYzGJj/843egodvwPBhdQ6NpPW3tCx2GN0giRrAlI0VZVzY/dKJLyybBbMTUsUfO1WAQYLo16B58gT4lrUepDQpTZrUFAFnSgZ9iroIw5rgHZnT0g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773603718\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316033723537989\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031401249968?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PATcRs21kVJeECLRX0KZXYicAtRIeo7T\",timestamp=\"1773604012\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"cStqIc/2nhsi+0cyWHfuspZNcxdSOOaB3GMqVIxgrgMmaMT3+fSfzZN5ruUySRywPkHMJHBP6VrMhOt22oGTNTOxZSexEYBfeq8yzpEvluSOvO+bvkX8uUi4QQrnY7kFu1V+g64eHAchyKPbuJNYDL/j2RmjUrAWbBKE3otEqJzK3RrKLdmCTCRzzkHuf989kjRb5kyUWlF9U0VRbsmHJiReYCG3XPyMPlLLL/dW4Lb2hr8B4/All4E9wKLlQC8j7d60CFldDuYq1xKBLEpAkYKEaT3RkMesWPuVu1sjXvjEjtHAZxdqJuE6wh4IRPppVeHjCbJd2E/yJL8vU1FBkw==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AC99DCCD0610CC0618DDE7F8AF012088F80C28F5EA02-0\r\nServer: nginx\r\nWechatpay-Nonce: 27fff4b8f267eecae6666c0e13e427a1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: N+o7aUF9k+TwkaOQfAZoXt4fu3EuIO7BjbGIjpu5fTE2RLqZfpeuPCui/DVHEERssR91b32dxRcUMtEIK/mpasORWYP7gwPbhLq2l6Voflztc28UdBo5aeyWQDARLBHzK3kurxCDCq13LqoPmYncKCEnq+NXnIvQ0vs/lGyNXtj/kdU0+6Ec4wfWhCBB01CMzD5tdIOo6stbg5eF1f7Sjt9ZEMYSYVFKC0otS/u8NrjTcCt8R3N23JFlfFGWORCRc81fBg1B/TwRh+W9p/5nJBRiFvR0LKQ1B/BoHCKHmqPXZpkpvmSxs2+lQsGu6W/H3+bR72mgcN1Zi6drO81QQQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604012\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031401249968\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031403742969?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"p5N2mrYeawmAxGpyLHBPu7VQ2VzSUN39\",timestamp=\"1773604013\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"uP6ykCHS0BA7yTbHZV8U0TlMCHGnqJeWKlsZWvG52T9qBE8ZW46QfI3T2HbvARv+dqsZctVCgcpjCyHB9PDQB0b2JzrhGrRfaKCltAgifTJIao5q6sY9+QJtproeB3vBDb494bJvgSaFZq3jVYhScUzgIsEaG0NvnqDBrX148370Xx5KN5fklOUJLUHXb2CqsEstW+hq4K/S6r9XPlr2LU5k4dDKn0as1rB8xuLMorY4H1uYplSmxvVE+p7Vbjt+dIeWPgdtHc0RYbfXjhqlplpsWcWDC1sIfZPqB7eSOxYz5YY97gmqNQcgYFN7f/sAvm8nBBMWHhUyEJlKauvtUg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AD99DCCD0610930218F2E4F8AF0120BAB32028E767-0\r\nServer: nginx\r\nWechatpay-Nonce: 04569941749d282f81916c795f5b314f\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ITnulWiVfR7u+MzbCoN3AaCGfPCYJpmR3G+pbxKY3/ORuu+yvyAu1lMF3p5QM4EMuIpU4RJYUIWQMDvesezwm9WRr4NBy74755dpg5xsYrvfUi3Uc82L+hfk5M7bn6sZtyys2ceQ9avjPiJiCVH+t/YNtvI2OIaGqU70AjQ/xc45uZZgQ4w2Eq/oYuyzHwP+ZQ4DreP4+/fuk9OyQNgmTrlMOKrkfes4+vFc3ZJe2SJcwQO0Dye7wZQ79ogHh+1T5S8Ae6KIt9rmN+12l3OEJXLPY9HAz0tiZfK3iW+nNYohQ+zVtd4s74+wtCARAD5mo1RxBTVjkjq6AEzv58AZ4w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604013\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031403742969\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:53+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031416158810?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"DKiSIMcXcoKN4tetDbUUkcXYCuMEh3xS\",timestamp=\"1773604013\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tEuhYIdrhRWKvx0PQLqAR217b3D3/tN58S9GNxuYZt4uTP6P1JXo9hKaD2ohqf4uWGpD//IA2Xr3e4NNZaennjutOBW/yoLR7w5nJvaW1/qtEYC2CHRDsKN2BSiYtFfO7/VnPi/AMlMlHEgXiGFs7xbx3toDeCKcHaclvRf+ob3JoeS/7dGZWSX7ESmP1y1G2YdyA2a1X3dJ5tj/GAVKAflbhBEIqvnWNLQ4kmPT/HFh0HFZafGFtVGmRAL+ZxIUkVsoikR7kaZVlRI3kWzuEKdMRiI89u4lZ1bxRZQAyPTUid8jo0e7GXPo2utlDZ0IdOnpHIL6lA5xvehCLXNENQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:53+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AD99DCCD0610DA0518C8ACC0552086BE1328B8AA04-0\r\nServer: nginx\r\nWechatpay-Nonce: 70a546d82b4d962857e0a718e169777c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: b1bfNIxOJIDmIzAtY9AyPgkCp7aqkXCzLfpnbBSGSqXErn14O2XKGrYrwI8OrSs8Z4C1+BbRs6pUvG6TCxN+Gy/EMj9BjAOvmomHtNwvecDgUgrDOeKNNy3jqu/yP0Tp2BFkDb1vsZf9MNsfLYhOnmCSiswFNAO9szvTf8gaIWw6S0RAox9IqpkhQ0h7o91HUs2MhomxqM+lyzYuux6Z5WQRMeGtxas68CrGxZEpxBx5gBbRSnLes05dS+Jz5VPRkPcOtBmat26f4Pu55xKv8VSTljhzDnigUiFFWt2FIqHA/tZCbEp8agpgOpLLl1rWgTNes+5FuIM+OUg1e+IdZA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604013\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031416158810\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031417566606?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Es0iw3j2MxwR5rCFieAeTLBwIpNuCIMj\",timestamp=\"1773604013\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"bZPh4PXWjsGsZGYV/50bCYgCc9N8f9BlaBVo40p0GD9UrMh40TO/xmOW31VyCm1869V+MKrQvhJ9dhJVeFn4+a5db4fMqLWPQT4LIBs+8BQOnFw3vGdZzJFqzE77gs7k3JIA3I3WO4NkfyjdTgPOo8o5OApOSUg7E/fD7oIvseqm+TVhQrE8Eqy8+qx0SFCgah6ZnyXH3asfBt0hrNi8uY0wCRfQUgwRNaUrI1EPSFyaQNsr+y1dGBIOTKRc0TnTdwl4us/Gd4Ksngdu3+Ot9wV8kE5hVCY5n1s8UCu2+dHMqlY9dO9kKuDBNdLABHFAQkOQpUA52FjIPH9Ur2VqSg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE99DCCD06108E0118DFAEC05520BCEA1D28DDBC01-0\r\nServer: nginx\r\nWechatpay-Nonce: 1229271904991d4b08dce710a4a2ac1c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SprejL/LhkP90U88Jj4Dk09TYUuAuMvu05j8BsFEiXWFdcZkaENnBZ2J6mVF1341ka1VuLAz1ecgEZRzfoXf1Y8w63qntXX2LoOVZfotOg9eB850jPxnhNY0UB93vor9MK12FMYlsHpMdgKlu9K/rDWzczzyz0GRefrGUeRddTrIiyOsljtAVCXuMHVPEliW8HXqe9Y9RXhSmnFfSafxEUWCINLSJ7s37gK2auLff24X7DykpalYTddoK3/D7TOjWt4UmVleHW9cRnDqIXVF3nTEwR9F9M/5uGaEQJEB2B/5tMr4WvS0teKN1GGasuAhJXPowadOJwAr2czCaO/mig==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604014\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031417566606\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:54+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031418236393?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"3BLJ3UM2raqk49vHcKp0MAIHdtSX4m3U\",timestamp=\"1773604014\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"tUI6hTBZJPl68LOAqF63m1yZlHzvqM0Gt3diMNha2AuMIHDXgcmVy2hkR9hV1R3ORqO3jIbMp3TZr6hQzhQ0LdtH0Gfg5vtf9o3ct3fOdpqxlNTiq9cpfDLnnZ9Bta13NiFw2nJhT32JLN8AyQRyrnFLBkFBHU8mbkBzSckMXimcClHEkJnAd4SewNXMX/ycKil+gKCQuhLuAi3/q+YjnwCu+VE4sWinqGP2pf3yvR7V5uGuFmI2/pvhzCTy0oD2AU+UpoRWJD/aet1yNe7KbVYSA6OPQpTR8b2pCU0d9uSUcxVk6X5Ka88iqm1dclhOFhe4XISUFr3vE8HYjo6GeA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:54+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:54 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AE99DCCD0610C70418A5E7F8AF0120C09011289BF402-0\r\nServer: nginx\r\nWechatpay-Nonce: f2bc46a9bce5711bf565e4dfca9f56d1\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: IC40qbB3Ccm2OYuuLAQa86tlLXvD1SlHt0yQRGwG0mUAyqfFTJE8e+GSUNtC73dc48oAiMeT7ee/AcY1/8mGivnFp7CLG9Ir6GOs+aC7vYwPN+RdRtv9NG6jhdpthKVX7Ba+ciYXAo8wCJnPSoTL4cCvKF7wtjr6Yk7nJwvKqLdU+T9IPfm1sWjCn2ui/HoOBvDooatXehb2QY4w7+T/QeNiC3dRyt4HQU0db88TN5ztTJ4IqrmKFm9dAt/Y09MgF6cmO3uorQys4PqczQHWUTjM7lj7P2D/S5WER2jmiuGjW9tzidEsMm0tztm8OxAm2aCjkHnQJPmtWtGaYqeFLA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604014\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031418236393\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031420314028?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"qe4ASEAcYjXr7t2GqplGGwGDOauSVyPT\",timestamp=\"1773604014\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"a5ZJAdedb8xjFxlw/lXUnmA4Tfxnuw0u7jzq3wxKmTty4g86Q3nZ0JwrwHJ++3r+ciJ/3Aggy867Y2AXLpyrV3NhmzBGPWg/y/34L5XViOsom0xvG7qfaSgkDwrNVNU1jbh5nvryGeAA6cgaLSUElTqmgclBd3sQgl1eL01HJi3XgP0jYI4Iv04888R27s3ExsfYhyVpR+ZPjHBp63F9esayE1uTHnxxVe8FlrKdKZgK5alO3rcK5bLvIEMZzn7ciFBGCR7fiGjqVvDHsr9qDdMi2RfafvZ8bsK5zH4LuXsLEgBRQNGTKRdIBgd89byGx9zWgS/Rxta/jWYFw8gSjQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AF99DCCD06100618AFBA8C58208A8D1228A4A403-0\r\nServer: nginx\r\nWechatpay-Nonce: ab950f1494c98af3e3a828fcea2616d2\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: awaSVDxEJwEFkuCug94+0rEiW1w2QI5TKo48WCkpP/jLzvrlPA68hGyoM+pxeYwjBkpv3fT/vHh6wkCk6+MxcQVKdJrhQ28WV51RpjEDzWm2UzMhcye+5OuL2sRCf0VlUjVIbZDQ8xB/8ROLZOzvcmEndVEiZhR+tHH14lNufodkIdSTtujFU9yYDy2shZn/UsVxvK1+CmoJVmOKgWQN0Ke05tZWNoiC11r/lSl1QmR/qmHIqn9QcIRez50pj1GtVcLYafnQhvcQ+3hTT0mGfaJQEpdCn7dRURLi09836dkaHVVM3DrdayBo0ck54kTTkB8RJ0mhSxzooh9BAbK6vw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604015\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031420314028\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031421781894?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"ukBeZ5DO2u6pmkTAryZXZ8yCu72F605K\",timestamp=\"1773604015\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"c7PlHZH4ljxCOjQGnWCUMNNbLbXsYMLTOKTCWN3DEKKbL7q4LsxqMc+RbglVDOfi3JxnLuxV7uF3N7JjZVMklPaXMhVcELq1ZTAQs4NRTlhYKjuLkij4E5N/cGdpTvSpUKh2ZZdWCeYdxV75FJB2+ZTZayhV929zMBMInDqnH945FyXx6rA1rjz64pgaz3ODSCUzJC3THiqIQbsiixX0GjzwQukoqs/nYAXZ5N4QPH6krIq/bKLyeP13iXnUUXBQv7vHeLoIxeOepPSv7eENXTd0XXyUaxsKdY4bO9Hn8bqQcP7LAvTd8iWyHJtW7H92h8GQI3hPL1z/x/C8zawWMQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AF99DCCD0610930318F29D85AB0120BA8D0128B4C804-0\r\nServer: nginx\r\nWechatpay-Nonce: b82278b2766f77cceb12a0725ab4280d\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: R4ZXk3hOTcQBUnTgGr5VBkQaITkFoluLl+dUMq1FEUognUii3rzmLy26z5OJYjGust2Gi3MErmNwxLVUjQFL2vFYonhsxQ3LpeS2ooUmX72LpUfQy5lk0E+g+BWTKzfDeuLNf/UubSFYLiqIRp1A1mmuz8UUimvD3PeSZPexLXWU1VboeCAm4Pcu5+W6cOvAluIjhzuCAGL/sYD3X0b65HKd/y6vw2z6MQxkMa1AdYOGj1J3bIYw7iSQY9BrMD3Jr/Qgci/vqlPjS2gdTeIWOrlr9scE3hdFcEfkk+g+fqir+sR4ymeWeNQbWEjHHT8QT6hk3Y40v2HPN4ZxxBhlvw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604015\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031421781894\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:55+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031422156476?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"jhWkam85HNaBNkqXOO7Zy3EkSajGRTNM\",timestamp=\"1773604015\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qI1qbfAD9V+p7LEXdmK0YH+65M0Qjic9HH0pdHhGKUL1M+qKO7/I3hAkWRszt5hSQ8ji/FnsEDicZ9tqm+u5PyINOBG4NGUP+Hih15lqK3+riytZQuExbWxUC8wYbjcXhIw0ptmKP/rm3Y79frRZNT/A9VC1FKY3kd7dUZU0MgospGhdqteT0pN98paVnyNwDaGMPh+ligMPrX5yojmYq0BmNQgO3bgzbFgricsGMNIpvTTqYWErIh6Sxl2IB3ciICNdjen6EwSpD2CcePLba2F1JrYghyUmPO3qhXq0UFITCI5/N22qEnXJNXwozPClkihb7a6RAmF8kpDNLyRP0A==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:55+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:55 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08AF99DCCD0610CE061890B5F8AF0120D6A8122890AC03-0\r\nServer: nginx\r\nWechatpay-Nonce: 3d97958a58625705b1935112c79108fa\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bnpNoyl0Jtum6tcdSPbLpSRslMdLYkff33nERerTXLeNtm4cqyH+/uSk5LKlPEaz5c20jOKWXPHK/0xhV+v3B3KpD+17IxVxOq1OxKAZX0A6oPAd6tTBjFnM3jjeDOtCoojaBvwq6FNmfhodL56lPml+eklcJkBs4WKtn5zc+D27kLBnaFgOq/076MXAC8G3JMq5gJFCR9skaE4bSLO+xIXPsQ+IUnDFiIusB5Gk3VpsJgZngxgWczP6BCzSHRFpbs8T/N7YUauZnOfsZxP5/n4h7hMAn74E/vNsVoV2C42xRabH3wTsG00LElWgpXLis7LosSXEGbdAjt8urLjMjA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604015\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031422156476\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031423955324?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"9Hs1XmaZR86KC9GMWjVDwfPIpuhFVXcZ\",timestamp=\"1773604016\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"AhptuuUGXamCmK3YL1HCAaaHbsGtW36VTCZ9CNOOSYzyQ4BXunkXPXQa3xXDeIDs3++6LK/VK3y6+YVz9HkO9y5Zop5NHqFoD/SSYy+o5JzSePw1zybu6igFfL7kszzs3mRxQRrbCVbXHPvbYD4/YVj2OpX3LEwAeJndAw781bEa7QzuIVFsELGEuqZodLbFJXlvwQqo2rWFyGmsd6haVbbzW9E/QwFO11zOp12IAfpCdb+QmhqR7paFY6rTpXLn58wwuFZIWaRlTj5q0WEQ9+JWEKqDkKersX0zuwR8FhMYRJJ0ZF8ZCnyvDTrsO8fVZVfG5vjRONWLcci8vPB1AQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B099DCCD0610940218F2ADF8AF0120D68A0328F1AD04-0\r\nServer: nginx\r\nWechatpay-Nonce: 828cee60f0ab634838f55c5be983a85b\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: SRUI7tLbQtq8m6YFy+ijRQcufbZlxK+T4l4TZAkfqnOoV9U2LMUnqeJehAktWNBPcRxbp2WH03galbCZy1t+YaSy0id+KWklm4m9qD3UQBQP1cPAiQMG5I0hpiOpkZkhR0FiEfCznTHyEgb4R7SnucyhNcByFwlDqhcL8l3jzBeGL0723CwRUFZ3cw4DH65H6u9ZXrqHnhtJj11r71pbVdxrMWSEa+RE8+leFkvgtIYL5sGaey835kM3imOwQSQo/q+iDhfan2/G2dwYhOFaIOpltTxboYq2Wv+wKHGGnZqhKubXW09fEE0avP/96A+8A0Xgdy2/GgygHgf1HoHexQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604016\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031423955324\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:56+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031425447423?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"NQ9GVGNW0HM1g8LirmlYK2fsP2VQ87EM\",timestamp=\"1773604016\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"m6WPpA7+7RkJ4X3CAkrJFCyURbOWkVMxW9AI3N4YwmnCfGMr+22hxlUqeHU23E216bgYv6NIMJwCu1BAYZlVI5NllMgcHDIXD7GO/G4r18exMeC229LFb7PC+NfxzkAkoQye+OOzDXVYTm7mXVgpEwf2KXJ/gqStdT7ZkHKoVzuEWkVuf1F2jw4arkiWgrp7ChpxcBqBz8DF/Rmr4pscOriCFpDTpY7ybvWTVZJ5KQ4yGLJHJiPhieE3fhjfcTCt2reoaxNUwf4Kc05YRVV6o5plO1+aOKJM/MMhIvaoy5grvuleupMhslxUfNHPSNvSipFTJkQMEx+EQxHTRTU4+g==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:56+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:56 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B099DCCD0610C50518B3C78C5820C4B30528ABBA05-0\r\nServer: nginx\r\nWechatpay-Nonce: f6e24980acd1c7c79fbeac0bcd706883\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Ixr/I+yBLiN/GA993hQp0QpeS4HdtdLH4InyDWtnJ2a/ei/xg3SD/pcuXCyS8gBBa8hc6G+bCdiBNSnOD6JKWm2AbDJlqghQ+k02ts5P1970CKFlR16u+lm8DnBhBIPE6fHIi5QluuBmGRVARuouolCi8fI7zRw466vCv/1nspocauu5Yc6Y0kBWRyKr1gD/+ySK+JdZCEsQASkVNkJ85OhdLxve8w9de/3MCnocrYIIzIMJuhCE1FkLSwYiggDw0Qc2y2G4wLgxVlzM7ENEGwoP7uija5ngJ4wLDGtfvkjur0H1JJrR6h8WSqsAW6As4lAoRBtF4dI7HsriMh4jkg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604016\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031425447423\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031426251795?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"vJisrmFyUIOkNtwoO7cOG1oCfZnN47HL\",timestamp=\"1773604016\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Gu313Ulk1zLQXTa+jaz8VGyA4D11Cx47KyGYtyorlXjXeXeQGcIFMhcRYPE6SCz4+DH5nabTQj2YOuIN+eHZzNvaD6acKQtwxlZVmeYcF+AcY1Sq+ycS9LQ+N17Ar17+HQCgQzsH8JJLMf1CtSKiEJbg3imb4L0ggUTRNTpywhXXIzjmMKa4aNiYdQQ9K6HeeSAPvqJCFQxJsx11UpqMuQGb+5bqNYec9ncvUGYozXUDHLGg9MxAQI4wYwEXs1YeS/v5rovoxNiJY/q5/ckZQSpnRikK1yWKKihPXc514z/E1q1NBlKl7we6LADHO6QT2JPb3q76LrqAnmBwwr6Jsg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B199DCCD06107518F3CDC05520C2DD3728A59605-0\r\nServer: nginx\r\nWechatpay-Nonce: d8f9c1c7e5dc988869b06e666f9f8b18\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: q+Vt4jStLhElCiS91cYEeUA1buGTbT2EnAi5sFdjrm4vuczhw0stX/fOj9V04h4cEm2Za1utis9Gjcf0mJ4kCKmCbUH0h5Vsh3GkuR3kxjzNMzl0bOPIkQrH2NFKolf+F6DcMHbZJLbWHqm7TottbS3XlmTuw6ldAmHrJoJe/NFE8PeVMrEMFdwh9Ja4poWKzOJM9wool0/0z1uD8xuH4j/zj6T3QcTJnWZq9QFKHLXYOAtG6rEcLcR+zddMNgnSG/djL/9KfYPP7EF1UadXtXbrE+I6jVo0IiXmyyk8AJPY4wcTIKgOWleE2B06yayQl7G0WRmgkV0dCeQjM4HNew==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604017\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031426251795\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:57+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031428343343?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"QkOid1VeU0E2RaNmMN6uOy291NQRHhni\",timestamp=\"1773604017\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"CmQpUHTwq9H3kHreLoH7S7DQo8TG7m64g3dh1Pf9JzevWwhcwv+swXR9ixe/WEUdZiZLwDc0bgj2VTukyxgDjbM9ccvBw5iw6F6YlJ4SM0K1cpLhql2GY28S8wLYHs5iD/XcrKnAdvRVxqh6zRGHUzCiCrpdSeUZ2p2MIM0pYW17bfdAeodTmzHUZpADZsdRpzbhoX6fWihv7WKzFEhemmOwN/rf74zXU5w/a/tC5rJb0bYb4KUhnV2L5z398dVe4YK68Oiin/XgcKpFU520Rt8EGNPQ7oyTxCT8mfDpKiJ9gIh84PthG4ceGT4BWRJXpNfRFjbiHgKFblTvkjCoNQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:57+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:57 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B199DCCD0610B6041893D2C6AF0120C08C19288D8002-0\r\nServer: nginx\r\nWechatpay-Nonce: a0a6c9d5902b2cf130146e7dc1e9642a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: azz8nkzk5k2BTSG+LAtaTur9OkudUrov5FbLrkaLdvJHKzAAAPr86Po47F6PWZOfYPq0gW511T7chcxPXOYwwLKapLLXlUT7jcNruffg43fnLyQIlIuFesOo4On8dbnu0XXR/8kgId66c7s3CIYxAoyrjaFNVzvh8Nf48c65hBTuLFDy47zZNnbc4hmEcON7Ez0ZXIC1ym5U3jJBM3Ix/4bX+RR2SP7AO4TsysGkhJtb2BOqKzrQseIsd0546U1Xz02vzAKQO85vkPI8ji0oz3mXPdlTzd9sUnofKjwCMXsmo3J2yG/NT5kTrdNlzAPM8K7QRzPuyixlI0/Xo7IqYw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604017\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031428343343\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031552642255?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"AdEk9mrvWj9sjt3tCspvtYAwklzDa0F2\",timestamp=\"1773604017\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"h9f7iqVxsij2PZ9jAqXlyhiETYKlbCAo/az5KafY2jP+JNzMqS3bi03esc3ewQ8gzq7e1i+CL8m4LUMmS1xbCFiacjU8ePMxmqX9LTfKl/alK2ISuUMyc9DWyNUI4RkxCG7C1gX162BEh9J1Cs0oHJop4tBKVP8mP2A/LKhQeiJb3WUJiQK2jjuZ5pIyxRlA6boqFqF0SC6AgJW40CnwoQP3p3Fij1bG/hP+Sp2T50jTdJ3imb11XdyTJQg/ns/amn9X0T6qnLdw06XHJPAPAYJ5W0zlEshAoFaselpT7YxANntg9BSwXMkKM5cGJL9FvEqQfPY6pp7ZxOQ6edTwrA==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B199DCCD0610E70718D58EA85C20D0D33F28AF0E-0\r\nServer: nginx\r\nWechatpay-Nonce: 39f214efdcc145d8a6629d7863d0494a\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: bhg4O3aU0cACDk/blo4yxubcr489Xs8yjHn8f5vxBAZ86LUrhhgWxz/uQw98RD0cj3954rRdq2oCQccF6Szf6rzsFE7yA3T7yNwZoSL4+3GRx0C5YvJEw7wVyYtij1EQL0qLSuZAApqZVsqexYYRfYqJprQGCB5ZQ+PbPfdW9vmn0s6Y6uyPm758VgZgotI/NGwVXGSP2tIdjK+6COBQOZKgiSirfavqaFYrfzQNgBMPoKv0oP7HYmXqF3xZqbINRmpVdXsfLfCHr9UmvaF6CquOuQoPdqqnULrrervJQpEJlXzXNgnCY6goIdsBzoQ5/A1WbIX8AxzcxN2RUa8apg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604018\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031552642255\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031553556581?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"JL1g3btrhYsOkzbrlZhB9xOtnS7lk8EB\",timestamp=\"1773604018\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"K0AI58UqEhXT3NyGGcXmcYRO9p3HXMweR/M3YrA0m5Cmw7iwAGrljxxCIPe/vlUDa2o1y4Z4x55aZCRhTbjtGTA+zvBtGYHEaGF0TQzcDq6NSon3SxHpM0fznM6Bc7wxxw2VkssE6A5Dwr6qjQMxnlvM7I/ONnGZ+9Jz1TEnkcAoofCfEzEfFN3K3B0ELaaMUnqUXuMCpRVQfZ39+2A+vC6Pi7M63kHd63Hf7ksMt+etjDnNMCptw1Z3LkQsPCho4CpstVZaW3ex0pUU0fiDQfOVUV60l78QhIaQrkFaNZ7RzRDkME2uIFHiP8jUrb00uHShoehK2BfqsUZ8etCpfw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B299DCCD0610A503188DCAC05520F0EB2228DDBB05-0\r\nServer: nginx\r\nWechatpay-Nonce: 2cdb360431e06804e8ad5d4a02f8bebd\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mGustKG+W4nMbGtuhJmr37ogXYYN5WOAXEoYRhq8gAuzjoAZmvcqvxY5Mgmmhs+Jjl+hfw694n4LoX9vB2qaUASmduJCcbeS80RmC33ZtH7VfxCpcHbiG8JDDQEgyklpDohGyPds5HTZNMsoRD26kKf5fxoVQtkRu9zGQQp23UbGstFakjW3elUT2GnTpMWVzBGFEDRo8ngdpeoP59IZR6VRAUS4JbVlAFfERRPsi1Ov6TWhg2E+CNRudE6hWEs8y9obeQwNutRirOEVm59aYPPCQvtFfpfrGufEBIRpLFiaH9Stymx14gs0NGxGLzJGIReAw/2GEL1kJOfqo5ZDYw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604018\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031553556581\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:58+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031554327422?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"eKeulAoQSmWweOAHwBm1CZ4b2OxHgc4F\",timestamp=\"1773604018\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NB4DiNKxBSMX0soNwLZ6bo4dgF4JJu7yRV63EL5Fnqvdj9a4TfKRc1y44uV4OOzqYYvdlZyLd7Tgfb1uIwnH1XuLMQQ5+lnccfpPSFj/t60wyqJhRiE6owgiBREIO6oPgIlM8qxlt77gmJ6q4WQq1MRTMJKISCUYPR4OUJLWYDtxH/Ka0QWfSyj1Pp/Zxo2j+ukiQLLDSkyKCZDKUULl+2p+2X4begCDVbtr/2YP6VMxXE/xAGA3u735T7iASSeF53sTGImJRjGQzmoxEzlMV700Ke/h+76tXclL/zyqRZ/Kk/eVX48cYx30Im7PWGbc/yULJ9g6p8ttmvAWmtvuhw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:58+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:58 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B299DCCD0610F4061891D38C5820B4A03C28C9B402-0\r\nServer: nginx\r\nWechatpay-Nonce: f7aea2ab2d604caceb38e7716e9926c4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: BJHbWIAJD6PQU44qqNamH3eLuhZI6+XWtDVTYEZfyv4Mb+AMvOHWA1M7thmENpQD3YPjiAukK4ZW+LNRlTDQSX8Zt/VNquo8tMDIlUDZBHfrIAvH/3zm2bcMuDQ2mDJIFlITn/WkNE4ibzlXcmkhDurxRm0A3PBzKt0m80vNsSgDeyYMiYPvVf/8CaEwRyuba0S6kRRynuNWctxgsV0GnrD82rIMN3e9P6NytzbZhS+n8BPy0GFyUi3954KCDRWgdqe8/R4BAnA/Iu92BGmcAEJ7UwcyiZF7AGbVrCIGYdpMC8tBRjid6JX0ZcBptJnlVl06gQ57gbDF+vh2gMCebw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604018\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031554327422\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031555128971?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"7s2C85kImnyeAhi5dfflRdkHJXcoYfcs\",timestamp=\"1773604019\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"obqPTvikDaY+k5acezKcoY7scCgW2rUdCXBFHkbgeWITvZDZmsgB5hMvt+2goOQ7RUGygqiOfI7T2rXDQ1xo+xg0coPl3AAf2vzgZhXhmrFx9p3/oteVkazK1NwgfMDh6ocWhZIF19jhrvpax0yhqJic2999tGQFFV9ATNQvyPPnFhfSwjQeILzuwRcFBihTvBvDBnwcUPqM4Gmp03JCI5YPC/ao5GOndpQtYynB7Xmj8bYJb3qdPr7PkYijpR3aa5fRUXS6kbiPuaoDgg62ZmIyNFYwYLw1wtDlVV9w3BmAzccLmLw/aRg63ok12ydNjHf0w5+oaj9xgpSnEzds6w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B399DCCD0610900218D4D78C5820D4A52028969302-0\r\nServer: nginx\r\nWechatpay-Nonce: 92e349dbef22340b817b0d4c167c4eb8\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ygzIUCKNAIs+CWPlEzBv6nuesYlIQaLpnRw1xvGmBnx0DnY/teQPsYlq+IwJWa3p7HondSIwcCbm9Ec8G+/HXvsTG1R/XOdLm17xkxrNvAdIVY27hojX7VhYySkqaeY29zxwzKprCbzF6R81DKUtQxBNphBWl+Bkv1kajuOVrlBVwf6EtDgmTX/udEt840XNIJmTVFAmZKemYegSFmtB044FAdmZc09W/BeZ4bJKnK4HHAdt/qgQNKsfNQiLA8do0opor9oXcOk4xeYMB42h8WnYntwEwIPpJVGRN2M7T3o3E8qDRvt4noHqGX2rUOB79RUbi9ZJmtR3IviMbkgG0Q==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604019\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031555128971\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:46:59+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031556746758?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"106vFR0xlJFmGt0bu9Fpj5cIltB1jSGR\",timestamp=\"1773604019\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Ht4bL/KR9o9D4OHoqENVhRICZkbU2otEz1PXIeAUWk7ueeECZLgeGCpeNIYZyv49dhX8wjaQGdeBsy12XHrIAZcBSqkGT/5QPN/fXu4CAcu2mmO+IhnkXjrfMlwefc11V8jaRFrkVEuR7k38qyTuG1Qv8jafjhQ4AlxtHlS0H5FyCQ7oMxwxXWX5PewDiIdQcziWNT30XmbC2hkS+SCvrjewZz/vZtqrlOoHacRdiR7NHerxbIQlMAETXvyG721xflZ64xg8SJofoafVivfmjJjNz7f0CmBsGHu7nN9+wTt8HtLCFqna8+DFh2w9mh711IY654sa9q32dHLxc+A9/w==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:46:59+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:46:59 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B399DCCD0610D40518ECB2F8AF01209CAE3B28A8B501-0\r\nServer: nginx\r\nWechatpay-Nonce: 80662629d3e16dc272c77d3d862c5c91\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: sMCb6hvjcqlaMHAxAodl6ivRem0Mz4PWDSp+5HKCKT7Zc5dwpyy6hwPUf/VOBqnw0H+dwZAQFTsQqCNWsyI/X1r3/eDVctSf+U7/MzR9haESvxec8XNOYDKmbtjRtz/2r6hZ1LLjOAod1pSnI9dldS4FHJ/1+0oC+QoYiV4J4GKuTSkL5mnwCi+yA3IMajM0ppvEiIcIIwUHfZmSQRJVC4M1LjS4aBOiRG+Luj9NCCkJewqVZQ6t8IexSDJZtDHexPhEyKvZl0qoIGNucCEK/jX37m8lOy0MLBbw2Omton9Ss4yP2FzAiecw1yLUeN6bxRwTzhMlrn4a3+EJ1YPObA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604019\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031556746758\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557599432?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"mmXROFBTylLMXMn7s05eGuo2nmQxki5e\",timestamp=\"1773604019\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wwIeUDk1mCEqQX4wM0Kev91mUZqAD7ZRPvab+LU9gaUCb4BT4rp2+hStcj10UdveYOuRv9He/HpN3JIJ/ng4nLoRqABhjyk79YXPS6fNCDcdz8lJ6q5bIozaxsQKYHeN4PhQz3j2AbKB/yhLg4it9Gyo0culCNmYkaGUw0u9V0pghxyhwhCaqp/z8YGklSILCNkcfCsoqjA5aakQX8grvWT844dd+rroHI39KlLL9DJTxNbyAnTkm9H8VeHwBkPWJcFdeLQOjCEhIMhD0E3S69hkKjAviXk9qmT9HzfzejX5SVdMkzLIBzTXLR8H2PNw9Q7t2cMaPpAxquVgY0Mslw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B499DCCD06106D18A5E7F8AF01209CEE2828CFA803-0\r\nServer: nginx\r\nWechatpay-Nonce: 95decdbae9b64f86703a48b3c54128a4\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: mTaADfJAr0SJKalLj9yTofdwNNaCYY1yBUAL5lDgaCRoFE01oZtbIqJgWoLlFcd8H+4Ov/oGLghAmd73D6rahlWOtEIzLJizfN8Wd52Il6XheQXi6sCZQWHTg4PxLrU0qLmEUukDnOaG5VBoZx6b3EwRoPaGv9yCuYQeqT1cQPgHIZYkDFuPQrguGcl21oo7UCz+Ot/qfA333ZXg8w2pAoDgs12gZfmGbjn8HZ8F5gF2HszGmkvraHgf6MuQ4nGouYxm93Mi8tiHBvY/jov8o1roPQq6CWBpmImy+CmvEOzz6gw7ynn9CAoA+4LdUFeSwgfAa2S+qLoIRH6P+NmLzw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604020\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557599432\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:00+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031557901403?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"6hyXaYbW7fjLslEQbNYS7qqTnNOVdaeC\",timestamp=\"1773604020\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"wlJZvWQmleDMHb7mxahHDEosaLF1+kOzdmmu70NnJiWpyvpoga9lSr2AW24zGZwdRmfDb53tX8uCfUq5154xHIXTxRPu3U4m0xng2qqq0cmtD8mmX5+nm9WJW0N39Y/NWbp7s453ysKE06bcZv0MVNijGAYPPm4kZQjZwd+4KuO/NvO8SEEFKxFBxUBzsoiZKXR3wgSCYeDNnp6O+wtoCz/8tiBmnJgcTqfiHD0w4rT1+e2YXcDIXvQDzSF+/R+0vAsF24ysSOo/eJeB4+1LM72rnIscCi0UGbZvIWZVKVdeQoahmtnwL3jFy6rzxjJxilr4RP8Of0PWbXl9Sobk/g==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:00+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:00 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B499DCCD061096041890BB8C582088ED1928B9F103-0\r\nServer: nginx\r\nWechatpay-Nonce: 090789988ecdcb07d7ace37594d00f58\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: RZEBoCS03z8rkkO36RqGk59q8pIJmjrjetEBSFkU2PRup4fTiKYmI3UDPw2G7B/hp1oEj4CDdqJFO4uK+bGTSmfWNRd5qtc8HL155PoVzok6lTqHflEX4iFpLlZHiQE6PQc3CO13sAktUxzA3Lz6d/7AAnSa73lpPJEjXHCsRgAqaAt0Coa6DrOcQ97uIiOtD+0xrH4Z2qvzO54JSVgTGZ2bHdVLRFyPKo4ZwUybSyL+d912X2YJTb2tHLaisywJ3FKzZykRhZxI5qyoYXodkDXe60Nn84GrSCb2EqXA46BqocC9sGrdJ6MSqOaGLWL2C2DAT9CGZ6vV651Z2Aoclg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604020\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031557901403\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031749226180?mchid=1318592501 request header: { Accept:*/*Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"15wzxvCJjnH1GPd4eD1GPFA5BmmreA0u\",timestamp=\"1773604020\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"B3qY6HU1vJXp/4nHjpQQ6lsKEXWHYWaMwRsrFqtPJ6vZ9GSxj3gUaaukQ+RjJMN9tkXxIyOzk7kteHZSbDeSEYHcgR7YUN3y4wKUemWwZjJqOtgAqgF7BfEihqkDhn/ehZxKtuTCbZwjTV4ZuiGS7vgPBovjzOfvBwNlglr3tB2OqbHFjVCnBFRFRpCNe+eCfSTqqQFBTqT9XXZ/z/De0W11QdxPcUrN8aYH6fZJMOOUNm6xfObbIQayxxtulVzrRkHgsi+W3ZJU14D+zZi1bNWQw+GjSvKMAUNjmyQBaWvXoppVroW03+L2iD7D9U74foXg3+lwffAL9BcVS8ow0w==\"} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B499DCCD0610BC0718DAC1EDF50120EADF0528EC9C03-0\r\nServer: nginx\r\nWechatpay-Nonce: 6f5c003cabba1440a7ad4c794ab01f71\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: gY1ofw8XO07JMgiO8jaojn/2wSsc8VJT4l4CLFRR4LExxX0y5VoejMDD6DoWAHDrCNd+jODwK4KkBQGN3uTt8RKc0127Hs42UGCR53KyHuQsbJ4nUsS8blqiaOhEX/avjld7ZJcQ9Q7uAaH6IIu+YkRx3K6a8ude6ttXELBLpk19aKnQljKxDnY9nSJjtYvXirEcfBk8eVAb/eYcAoa6LgGR6qtNZjcERybB8PAqZ+6N7SNxeqahjaaAd8H0WFXEYlkzUs6ziTG89xbP9C4h3SYPJl5asVthnjCX+lmjC7Z9QlwJ/IyADtg/p08qH5cDXIPwFazKB6fUnBgNlc6ViQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604021\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031749226180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031750371591?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"PCDcjaIshGqjY9Kyucmf03xRta1b18Hd\",timestamp=\"1773604021\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"Mg8E09+85tjv0CuSpp+mg6S8kwDgaY4inE0oTIncDEuGXYrmbEtOQ3p0GSmsA+c40E3SoPclA1gRj/zGj57wVWpbVCtEwT3TpHLU6KL+eV7O9893JQBKNqcmF0V26+m9pKwlG3skL3dg+lDKTBV8e8kwbyqWg/+fSz4hLrcjx1M4xrq+Xv4CLjtBF9eEpa8c3SKXHJvbg4+WCq+O1m4eqvsf5mah13/70HIWL3watGkMxGHdJi7wl+AUfD0jMWkI+2/PW4z/CBTx86mt/Lzmhx4wjDNDuMfc1Ked1qbT6OWYDxFAk8R0I2b/xxgBTuozLOVkHtcX2Y6Nxr5RpKRtUw==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B599DCCD0610AC0118C3B4F8AF0120EEE6232883DC05-0\r\nServer: nginx\r\nWechatpay-Nonce: be73269a7c4efeeb0e5fcd57350d4992\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ydSmQSLGRZ6t8OdAOhsy9MBnypMNNsZgPsrjgKT5R9+/H+thvVeDCLC45ocSmm7FAlxF/PktB/hF9QAHsrKpKoRbpMOUscBQx02VWme4g8feAhkZLxyrGHoTGE5yGIt8Ehm87a3dj7UE68nLskh4QpUCxwo+h7VHAsSWRCLPZexubk6B4YsdrLE9MSVuA/CfpLWXl+ypvcOjYXb8hFSQUxdh86t/QSHxoddNmV96DeYE4rxNiI97xd4ceNBruWHrhRRfon/D7YAxjsVCW3O5PNFmFDioTWzf7BDzungcrUFQt/eHfikYGCWSYjsGbZ9GJgvRe7ncGqyDosPJRs+aGQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604021\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031750371591\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031751056256?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"rmA7EZv77RVHX7VH8nDruhbAhdF1oxWO\",timestamp=\"1773604021\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"zyYpXLlIKsj73jgpar1+iXU2hTvExGTqilTQEgRboyjM53qjIlVrQPWZdtsjmxkvCH+VYVql86W/3dQVMLfxx/oD+cxkoMVYmCmsHg8FcUftRSVN8OFFrQFI4a2a0SUysGVqx+/6oOBxw+nbWkT+ER+DBwkjP6vit9J74XjNy7eWYLdiGYVIzBmMVirNKeb5z8VrupchWN1oUGoVZgeyrj5rGKlhJTGU2fp1MnRYihVi26PFEzNqBwzS4M2SHC6R6S3/Nek/Q1Nc3ONcClmoC3nQNGqBBBZE5Gny4UOKQDjzjCaTSoqol2lW17Notk8kAFNV+ZrDy/lu5/y5aazxBg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B599DCCD0610EB0218DFAEC05520E4D10C28AA74-0\r\nServer: nginx\r\nWechatpay-Nonce: 951c7535a3ea790d31f6db7ed433a370\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: ia3vGGRFXZa7j6T/Qz9JC2ELV7zi28v90lB+WG/gOMA62Hy004iSwfAxnyZg/X3WjYoh8e6ozVID6O00W0wkH4sGi7GkQU6cDIAjzz3jIsgCSDB6YiGsEk6XaLmnJL47zB2E7Zv6akjBIOXbH5Mz4DZdWY/kHS9RK7W00LwU86lLfogc+cp9M4nZYqi26SuDm1OKnGHLaykThNYspSxrAfbiHv+xtkYuxbfM3tupVsO/VNiOJsxvpYBXzITpBnYQYJFy7rwc9VChGhgOvnT8WyeIgnvq594iW5byFLrer1SifRVkgX0NxMJnOQQLhE/fhfkhG3/NhR8ZCrlzNjXI2w==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604021\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031751056256\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753547900?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"fO3Y5iIovEa3kdS1AXMh8bCOUxbbuLZ7\",timestamp=\"1773604021\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"qggcnvTrGpgaAJCOGyAgu8RkutU9BPWvdN7H7WKSTTS9dLlDm42ceEQszqYdO9gv/Sy5ydkWlvQ6M9JBHYY2GjJBy+JYbSOCxy6uzX9a7cdeZdiLVclRtdGr1i2Y7fBTbPU1+31R7kB0yBL439bJObHDVV6abzRmDU6DQqVXMJcIUXnReuS8iqOcZCVhIbgxwaECp/tWXCtGKsNMcN0N/4PgWT0OnKg2R6qhTrXOC4GNON5Ky4nMf3jxaWlseen/EVRr3Te37TBD/jz0/wM/DLyau77eIKWZDTfbh+YGw7Ivywiuei2BV/QBCrgUc6Ngfi6k46JJFNL5y1ytTW7HUQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B599DCCD0610DC0418D58CEEAB0120D4DD1F28E5EE03-0\r\nServer: nginx\r\nWechatpay-Nonce: d33389631406e56c2c89da9bf106dc3c\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: XZsnBaHvGboeUlly4PO3k6ZPhLJVFdaj9iOA0nzlZJAXU3jgRG8/bf3tvhcnmgX/V4j6YUyuuwAmOUlQ698WWfdWbVmWKHyl3ZovL0InCOwAnanGa9fUGVQ3LwaTaf93qPCLbp7TyOLMsK1Dm7hI8TooAWRauav739P2JgaEqjTvHMYMoeCjgauOs3baIurBdo6uwDXops5aHGR4AHoxAxIGylNJIYRqsNtYp4p/IflniCgsPGMy2WUqY68b6bJlHBZJcS32IABYRrizugPS3cQ1ZOqLp6Cxnj1YcCHFBOYt4d8LI6YQaEAOcYtbd6l/r38ehjgey7wuhA8q8i/ebQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604021\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753547900\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031753832436?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Og0MGSVfZVXjNaoFd5VgZlvHdsktETXH\",timestamp=\"1773604021\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UbTJ/F298eUxXYwUInqgaGhEShaKAQBEzut57R7VwpOTYl3o+R9Y8nBvfnmvGHpL8hLFZcUBmTSSqxsdPMbDkRipCKGUkzh94R73+wvNnSrmfrTRcUPy+CbN6OfSFr3FGMj2KU6jCgSkPEPEmM4mBTQO5lyCjZJ5FOnWGqmBStY2ZgvLBLq+dOIx4gEqaoP7SYFNFZl0i3Co7amgKWgG/uDbZ0iMwQyZMfHxwXF0h5dnenWETWFdHPOb3FRCzMskS+1b1qbaGkqNvYuiXzSvvsvkUWcKS9IfTtOmZEGPeGT4toESTQes/3zlhPc7XCkBPrg/75nQP0g7oUI86dZlsA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:01+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:01 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B599DCCD0610A006188DB5F8AF012090D41C28C37C-0\r\nServer: nginx\r\nWechatpay-Nonce: 8d449d45c4e52b74ab9e47afc48539bf\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: Q76DzLpuWRMtxswoSzc8AegZUzdFOqDmJYb6E6xU+mminMtIsIzRgbqwNqSfWtUv/71GUiMjb9rWgkJVdKVLg+mevMBg8jkBmqlUoGrwEkis0wwHAnE3ZyuA79ezNGDAmLWLSlsnNQVcjpmueU/JBI3lpiZREYyIDazQhLZ+FggTrVjFVspBIhr/sLE4ECWcqB8+LhJdFNvTAdjrRq/ZGNh2s2wxa3sh49kctsqI6JCCeexhYxkeoXUVVb/mpMqWf4y/Bd9lnz2fCRrGmnoIZnVXJNrk/2nEZ10m4z2W8RjlxJUL3DPjM5SmeMjkqaH/P4/jwbJYgWdYhpR+l3z1/g==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604021\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031753832436\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754917180?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"yFNJGvrY32EJFkLCxZ8ZZcRrcdWu40EQ\",timestamp=\"1773604021\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"iLooERN7gCPrdlnj9vHKxF+OFi4NwIDXe5EFfBo9qAxbEK3M/80KPR5WzZZoSx94D/pGAQEQe49AAyQhc4124mhhmesd7c8iJbfxqVpO7nkqgvDOktSfWlVdO6yGpZ1umcF6N3+U+EEbqVe1xkmsW/35s5A6x8olHxXANkvGW+1w2tKCsjohZuSF1whczkz+4GxjM/9rwAKQmhMBl03bwBp/3v+tjNX1OUgGimdxwptpfhzXdvIli160Z7t6qZUQ5lEhzWqmCMj+fLOQShGbbn9azDbC0qOW8uDARsWgSjXtUdgGizAiyAhHUmYRg4+F4Blu6jBNbqExrfhoWc89Og==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B599DCCD0610D407188DCAC05520E8D12B2883A801-0\r\nServer: nginx\r\nWechatpay-Nonce: a28dc6c212670a70c869c30e1a3f76a6\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: I6Q6mLLiIGFcxtCgtqVFYEs3Z53VyKRf6kr6Tj+dOUHLe2MyoDqfh9oCueEoQYUJraUFc+MWafPlVivVpOiohKQCOP21GF2WEFV2h68t5IxhdjJNd4/9UnUbtoMg3VN4BVt6AsJqKc1iKAu1sWQ824DXLQJ/6Pla851B6fXQ4HeyCdO0HuH4V/oHXRpaBoy37FCjMBrZXzFvioPPI8ZN1kh3rw8nA7bAARzUj12SLaUjoacvx/aXOGjwgkPHDuO2kmUWm/nVrJdPr5R+pGhGX92OtFFjebHGDfPCKPFP9wDFx2UDgSKzmrpbKQ1TQyRy/9xoGlj3t89/zUzA6A6PTg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604022\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754917180\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316031754026096?mchid=1318592501 request header: { Authorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kj1KMfNSe3W8ntcckjNMyi705Ww8NHFu\",timestamp=\"1773604022\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"NGOtCKOngCPFPJWjf6zgu29MQB+SXqAAklt4zvetvrDp8sLfRomUM6bzjNAJO0jDo2sZ/tNzrqhKU15DPCvRj0ZsBuMUR6Gs7nL9vP00FpQJyVf6vlGCmSBbg/tx9Uqtvq7Ra2GaTBamIWB01xkMkxtdQaaN5itOMlx+LMkrfiU63+qudsbIQg+fHDnRZ09YXX2lOH14meadtjyuCKc+vOyDVc+m9yeQH1SiPhJuXnFa027pP0r9qX5ua5cFOa+53HCuuOSBb0Ft/UfAXJ0BPx6aq21jz5uwPxYEofwQ2jb/gVTmn5I+HPqsxa3ZGlRfByDdPjUxBNzxhxxH1pyRqQ==\"Accept:*/*Content-Type:application/json} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B699DCCD0610F20118BD90F5AF0120B4852328EA73-0\r\nServer: nginx\r\nWechatpay-Nonce: d9f62b536f4f8fcf6731f18a3c52f455\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: id3DGHC4b0zjZqlH1gypEJ5wna3VI4Tp0PB+CKLY4bMipKyMn5Kvqgk0XS+IYy9RptMPA+f2BXJVgZO8hQus8OheEW4aShjqCV3hw5yP+j8fcxlLj89C+HsOEpZcvMdOJRDcmOrm2mbEphn4zzyCTf3L89HymP0G0Z3TY9PDtY7XsDKPpZ+CLW+izw42Ge4uUpCa690tRAwzlYgfscd0sAzTmZkrw68eHFmNnEMOWvdy/iEstaqfYXLzIKxoZoK981uIzjqG4QAr64lIrXX/epRnZOfgpHOkwlwNxj5clzUdipJxXUciFyK8qG/f1/JS59goHR/MgfZaEF1CdkjbjA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604022\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316031754026096\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:47:02+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316033723537989?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"kgaFIyh90YIPng3C23i6fBJDnfmw41VT\",timestamp=\"1773604022\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"UOuAsZcxNakoednC+pAH5skkWTXUf/+X+pjIu8i32Xc8Fj6CIF/fXlWuvjMQwaoV0nm7UIlb4IIZWhsDjxPRie/sFfWEfwKRM7OjKskqg7tXv+9/S8ixnL3Vzcz1Ci3VJ7Ns2Kg8e1L/FBmxpCmwD4nTQ/b1iuBJjQ9m7GfN606dH0MIUdJw2gUeVGO+ftQwvn00PrgLPc7GZAAa7yijFFJfBH2b2EdDYKHrg4LIe3yFYg71eHcVEzdYOuDs7AOiJgQBo2IeG88X6+alStn9bpRQ8bN74Y8V1npQ0MCYq7pxsFp8h9j3WaT6pHOfLz4Oup4Y45UevYg+qo+3EnNgvg==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:47:02+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:47:02 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B699DCCD0610B70318F19FECF501208AC11A288C9503-0\r\nServer: nginx\r\nWechatpay-Nonce: d86e82ded8f9c6efe9003eb6d6fd6ae0\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: o0UsaWLuMpJZJLkCXAYTWs4AfM3drenTdwALH44bnpVt87IVNC6ymu+gqDri+xVhuT77a3eWiJ5PgbgTV3/h9qdUU1LYAtS10zN/VGLPL07hpfPefNi5TQrLeLPuUJxaA73rFeVpvtq9yEKGoqdtzuU5uVWmfBNZAHyFJEJW94KuTUMnCJUQntXgOsBlVtbSzoxGRvR1vZVHZlWIP2A27aOjVAE688GmlkTcB0Vu6EkNBxehs36HN6xab0vl1qIUdNk0B0uDaAayFrVugZoJMAdPABUgYqPTp9ptka4bW1QJIjw08NiB+krGVXGz+oZ9Z1eX5T/xtE23ldCrI5r9ow==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604022\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316033723537989\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:51:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316033723537989?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"0eGUfUnxhmg4TZU77puY9boHHJcGHIVl\",timestamp=\"1773604312\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"BrkLR6W7lu1V5mYiD4fM5Xye2P/dHvVDDPtcewPVVNV7WFOG99iN9kKMms+e/l26iN2BP/93dsQzsOLTAVDhP3a8loFvAGvXmYRUwRJCq8aBOUP/iNL7i72HUDaadLmnz3BkgRc95hQ/Yb2UNX4SIwB0KaZNW2/hF/2+yZPkSGcewsI/y93UDlKwOOM36StScBdKuLStVtl6YIVD2jsfaWLKPs843ff+oihpNdUxMjalLPAPvmp2Fx0/e3Zz9XWJ3brcUNQKBUGtpsTX010jDLTK/tvf/bHNGpQDK+kMXmqPGe6W6edgmi8iBDa72iJot5+pwxneJbaC49Ci/siIHA==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:51:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:51:52 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08D89BDCCD0610B20618C082ECAE0120A2D21C28A1BA01-0\r\nServer: nginx\r\nWechatpay-Nonce: 02afe23d1f81404d08d8c77e8c719909\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: k4gkZy+IzdkIMlBeKLMMhPNViR6Q+T6EhMSRkajhWQ4SDdJQ8MaiCBHBcZ6XgVQhU5kuc4Lpno9LwRmWReSUKmMV5ZlDhAQiUmPdsmQz0a/yA3oAF16jliy3Dp8NdAHRdvFRkqs5avhTsRQ7stRgCheGXC2Z6vIU9Ys9eYrOzTXJLwcpZygpQHmiudk91SEw5T0ZoAJnPIheXHFzEQz0yhcGMxqI/5TXr4krdDHDz8q04uQ2/pAJKjCahx7v2GjK0Azwluwvus5fpn79ntpq2vIQnXBUjy8i5CrkMP6eIf7YM/2PCpLCqLnHxaHphE5kJgLUiBALYcrPalZPSlLGnA==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604312\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316033723537989\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T03:56:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316033723537989?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"xwpxYW4DbCxzNVg9rvvd2pmTa5HJBaQu\",timestamp=\"1773604612\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"3XqUYWfB9+mCw54NJyBEb91SDHqsa6ajLyV6DNeh17jJrHviXuJ+cktzfQJl8nrDAc4HvKADBjBIJX2Z+0kDWri5y0YDCah1pZJOUArfDzYNd/oTtIwp6sUcNln1/bZtmYedLkoEflEZNYLBejj1K9MVXnn5ZBlZUbEFG0atqQ08pLroqWqRCj/beYm2fI14U+LzPZCc4Wgz/qQb2FfanquGdz9xXZVKhTKjn3JBXuTKmMtDx5DzDMHkjdyzVDg7O2u3VxA92EGluqG3fA0naldcVbj5vDIzU7HJwNLYCD5QzxGL7E8xuySrQSxUa0/hfgf+2CY1AelX1TyahPy5EQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T03:56:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 19:56:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08849EDCCD0610EB06189694F5AF0120EAD42528E0DA05-0\r\nServer: nginx\r\nWechatpay-Nonce: da0960403283152a3a189171e8b0f1d5\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: VLDwGonu9H/Yxn7e1QK9ffUmiOkxPpKi+UP59Cf9YS8w7bi//tAxKd62IRhUtG/nzzIr+0HCw+1y+zVGn771xaL4qz2zbMyf1HyK8g4pD9YBMLIkkckuI/bGRF6unJPp08vBKScy9PV3zB6aJcOj8Fgt1wDL7+WMVoZU9YCf5TqH+kpZh1nMrVNtDB40Yyf7BCJzNpGRxZNNPzZAyKb10nN6ykxl9Hr5OGJyrJYJ6+bdwmFbGCAdpk5JDveejeUoGO5r/W2SX1wEGuL4DTZwwES2XkFgI5azKmswe3KNFJ9kzTrXcXLOX6hJ5WMi4Nh27vyFrtqoC1RMsMbtAqjhTQ==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604612\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316033723537989\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T04:01:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316033723537989?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"Ep0XLt0pWtPkD111FCHvUg3q42MJNIki\",timestamp=\"1773604912\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"c7rNFmE8Pakulwf3qtqjObFnuzr0hpdsUXzX9G1wUfomCqO7WBnmdaHc6J81HODiljflf8KHlokZmygZDv3zD9C6KFzMwWDgJ5jyfWSvHkgEI/9SJ+sct79NfsBbkzW13tNMjDTF0Mf0eJX/Sc8dteIAcYMXfHlYKyGrN/Ch9ZDFEaUz1+EZ0/zHoxIuhwWFt0xFKXdH+gI8zU8UfnlKhUoamzL8E23yLFXkuUmRphXiCVTnbLMgv8qdu6Oj5h4dOK2KRoCBQek1p1Tbbs+Z+oQIFFixwTI9XeoCPy6kwi+8FwUysT6kDXJkngUTz9VZ48ve1P0Igyvm4nQ3k9XgIQ==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T04:01:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 20:01:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08B0A0DCCD0610DC0618D58CEEAB0120DAD52528C3EE03-0\r\nServer: nginx\r\nWechatpay-Nonce: efd91e837dff23d33801242227e49924\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: eVwWZemtx1gzee4SwBhzpYVAzulWoZJzoR8EdqNeaETmJAKEtiU9L85irndM7GzmVOl3h6pEcGHRqFHGmGUPK7rqgw1tXTm8slJ9U4gjJTg60yMbfYJ3Vc5mpw/py+1oaJnuoqJ0r+PFn/ouilhiZXq0GNCi1a5bIF2hHRbAidtJyZJNvD1yKiNFbgkedpeyQqJNiRI/SCvKu1UjwygGyX18+4oJODklHE/R40crP4DsuNePOu0okVJLgjiLY/7WlvZR1mrk5Vmv/vu3aDW3aIFgYCrdvMKN+pFZ/BDJgPTVboPklaM3qJZK3NuDx90H0/UnlTCO1lsDWkkgkosqOw==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773604912\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316033723537989\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"} +{"level":"debug","timestamp":"2026-03-16T04:06:52+08:00","caller":"kernel/baseClient.go:457","content":"GET https://api.mch.weixin.qq.com/v3/pay/transactions/out-trade-no/MP20260316033723537989?mchid=1318592501 request header: { Content-Type:application/jsonAuthorization:WECHATPAY2-SHA256-RSA2048 mchid=\"1318592501\",nonce_str=\"IE2Vd7kgEomYNlbrB01BRr7M2U0dZY8E\",timestamp=\"1773605212\",serial_no=\"4A1DB62CD5C9BE0B6FC51C30621D6F99686E75C5\",signature=\"xZVD3dE02eEDJk97sEUXkavVo1YlB5PFjVAGS3qeIFhi+eCHoDG7vqBDGNrTc1WJkg1BQGo+SGh0ZcKfCjVsdJz/siQtNaDQfS9Suyih0hyk9LOzXuYzpX6bSo5JbpomIu2jefgvNg8KMIWrf0FF3UYeAFIl5PI7MZbwyb2RAdtMRA/ckfAIAHCha4gPwo7nRcSat3T3j2rsoFuJapp8AKZLz577WEdoCdoV7QIhfRO5jwIip8yqh2CRp3EqM0GiVb4epF5SbbOGmmiCWkL+CwKhtn0XSX6m/S9MBIPkRyUy0EhjW8oz1iWk3nUtudR3+Epz0AHQWiQrviZA4gpLew==\"Accept:*/*} request body:"} +{"level":"debug","timestamp":"2026-03-16T04:06:52+08:00","caller":"kernel/baseClient.go:459","content":"------------------response content:HTTP/1.1 200 OK\r\nContent-Length: 252\r\nCache-Control: no-cache, must-revalidate\r\nConnection: keep-alive\r\nContent-Language: zh-CN\r\nContent-Type: application/json; charset=utf-8\r\nDate: Sun, 15 Mar 2026 20:06:53 GMT\r\nKeep-Alive: timeout=8\r\nRequest-Id: 08DCA2DCCD0610C90618A68DA85C20C2BE2228A8A002-0\r\nServer: nginx\r\nWechatpay-Nonce: 78084b71a8af28892de69aa65ccc5e0e\r\nWechatpay-Serial: 5F2543BF58239A4EB68FA4433DF1438A88B34B16\r\nWechatpay-Signature: dZ/mMoQZKrLeg7uoZnqblVKGiujvmU2zEgFcMGK1A4SJmuhWU+Zc5edqmkHpnVFMgXXSj46ha6852qe9w/ZIgmYCi4YsksgB8gFXd+BqnmxHkflOupW0VfVOJKU5ZCNrnAlRuuybWIguU9sjQjBrbdEhNsdvdJC5AvmPHt4QFFQWDTkH/7p27TNzJq8Tujr3UrsuYyNocn1WPGozYJh3+GSor7dpiNl0pX8LGxlZSHPtLfmBzj6hJXCIG1T0BlVakOwdrvzUL7pYCB6STJ24Xq1wtcNGFCq0nF77ue0bmg93tP+RUGmGX8Zu5eJijKyvc65tX2hGpCmQ5ZGlKmHZkg==\r\nWechatpay-Signature-Type: WECHATPAY2-SHA256-RSA2048\r\nWechatpay-Timestamp: 1773605212\r\nX-Content-Type-Options: nosniff\r\n\r\n{\"amount\":{\"payer_currency\":\"CNY\",\"total\":198000},\"appid\":\"wxb8bbb2b10dec74aa\",\"mchid\":\"1318592501\",\"out_trade_no\":\"MP20260316033723537989\",\"promotion_detail\":[],\"scene_info\":{\"device_id\":\"\"},\"trade_state\":\"NOTPAY\",\"trade_state_desc\":\"订单未支付\"}"}